12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381(* 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.cloudformationletapiVersion="2010-05-15"letendpointPrefix="cloudformation"letserviceFullName="AWS CloudFormation"letsignatureVersion="v4"letprotocol="query"letglobalEndpoint=endpointPrefix^".amazonaws.com"letxmlNamespace="http://cloudformation.amazonaws.com/doc/2010-05-15/"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[]))])moduleResourceDriftActualValue=structtypenonrect=stringletcontext_="ResourceDriftActualValue"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:"ResourceDriftActualValue"jletto_json=simple_to_jsonto_valueendmoduleResourceDriftPreviousValue=structtypenonrect=stringletcontext_="ResourceDriftPreviousValue"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:"ResourceDriftPreviousValue"jletto_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_valueendmodulePropertyDescription=structtypenonrect=stringletcontext_="PropertyDescription"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:"PropertyDescription"jletto_json=simple_to_jsonto_valueendmodulePropertyPath=structtypenonrect=stringletcontext_="PropertyPath"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:"PropertyPath"jletto_json=simple_to_jsonto_valueendmoduleRequiredProperty=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_valueendmoduleAfterValue=structtypenonrect=stringletcontext_="AfterValue"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:"AfterValue"jletto_json=simple_to_jsonto_valueendmoduleAfterValueFrom=structtypenonrect=|TEMPLATE|Non_static_idofstringletmakei=iletto_string=function|TEMPLATE->"TEMPLATE"|Non_static_ids->sletof_string=function|"TEMPLATE"->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 AfterValueFrom"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AfterValueFrom"j)letto_json=simple_to_jsonto_valueendmoduleAttributeChangeType=structtypenonrect=|Add|Remove|Modify|SyncWithActual|Non_static_idofstringletmakei=iletto_string=function|Add->"Add"|Remove->"Remove"|Modify->"Modify"|SyncWithActual->"SyncWithActual"|Non_static_ids->sletof_string=function|"Add"->Add|"Remove"->Remove|"Modify"->Modify|"SyncWithActual"->SyncWithActual|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 AttributeChangeType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AttributeChangeType"j)letto_json=simple_to_jsonto_valueendmoduleBeforeValue=structtypenonrect=stringletcontext_="BeforeValue"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:"BeforeValue"jletto_json=simple_to_jsonto_valueendmoduleBeforeValueFrom=structtypenonrect=|PREVIOUS_DEPLOYMENT_STATE|ACTUAL_STATE|Non_static_idofstringletmakei=iletto_string=function|PREVIOUS_DEPLOYMENT_STATE->"PREVIOUS_DEPLOYMENT_STATE"|ACTUAL_STATE->"ACTUAL_STATE"|Non_static_ids->sletof_string=function|"PREVIOUS_DEPLOYMENT_STATE"->PREVIOUS_DEPLOYMENT_STATE|"ACTUAL_STATE"->ACTUAL_STATE|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 BeforeValueFrom"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BeforeValueFrom"j)letto_json=simple_to_jsonto_valueendmoduleLiveResourceDrift=structtypenonrect={previousValue:ResourceDriftPreviousValue.toption[@ocaml.doc"The configuration value from the previous CloudFormation deployment."];actualValue:ResourceDriftActualValue.toption[@ocaml.doc"The current live configuration value of the resource property."];driftDetectionTimestamp:Timestamp.toption[@ocaml.doc"The timestamp when drift was detected for this resource property."]}letmake?previousValue=fun?actualValue->fun?driftDetectionTimestamp->fun()->{previousValue;actualValue;driftDetectionTimestamp}letto_valuex=structure_to_value[("PreviousValue",(Option.mapx.previousValue~f:ResourceDriftPreviousValue.to_value));("ActualValue",(Option.mapx.actualValue~f:ResourceDriftActualValue.to_value));("DriftDetectionTimestamp",(Option.mapx.driftDetectionTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdriftDetectionTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"DriftDetectionTimestamp")inletactualValue=(Option.map~f:ResourceDriftActualValue.of_xml)(Xml.childxml_arg0"ActualValue")inletpreviousValue=(Option.map~f:ResourceDriftPreviousValue.of_xml)(Xml.childxml_arg0"PreviousValue")inmake?driftDetectionTimestamp?actualValue?previousValue()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdriftDetectionTimestamp=field_mapjson__"DriftDetectionTimestamp"Timestamp.of_jsoninletactualValue=field_mapjson__"ActualValue"ResourceDriftActualValue.of_jsoninletpreviousValue=field_mapjson__"PreviousValue"ResourceDriftPreviousValue.of_jsoninmake?driftDetectionTimestamp?actualValue?previousValue()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains drift information for a resource property, including actual value, previous deployment value, and drift detection timestamp."]modulePropertyName=structtypenonrect=stringletcontext_="PropertyName"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:"PropertyName"jletto_json=simple_to_jsonto_valueendmoduleRequiresRecreation=structtypenonrect=|Never|Conditionally|Always|Non_static_idofstringletmakei=iletto_string=function|Never->"Never"|Conditionally->"Conditionally"|Always->"Always"|Non_static_ids->sletof_string=function|"Never"->Never|"Conditionally"->Conditionally|"Always"->Always|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 RequiresRecreation"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RequiresRecreation"j)letto_json=simple_to_jsonto_valueendmoduleResourceAttribute=structtypenonrect=|Properties|Metadata|CreationPolicy|UpdatePolicy|DeletionPolicy|UpdateReplacePolicy|Tags|Non_static_idofstringletmakei=iletto_string=function|Properties->"Properties"|Metadata->"Metadata"|CreationPolicy->"CreationPolicy"|UpdatePolicy->"UpdatePolicy"|DeletionPolicy->"DeletionPolicy"|UpdateReplacePolicy->"UpdateReplacePolicy"|Tags->"Tags"|Non_static_ids->sletof_string=function|"Properties"->Properties|"Metadata"->Metadata|"CreationPolicy"->CreationPolicy|"UpdatePolicy"->UpdatePolicy|"DeletionPolicy"->DeletionPolicy|"UpdateReplacePolicy"->UpdateReplacePolicy|"Tags"->Tags|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 ResourceAttribute"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceAttribute"j)letto_json=simple_to_jsonto_valueendmoduleResourcePropertyPath=structtypenonrect=stringletcontext_="ResourcePropertyPath"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:"ResourcePropertyPath"jletto_json=simple_to_jsonto_valueendmoduleArn=structtypenonrect=stringletcontext_="Arn"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:"Arn"jletto_json=simple_to_jsonto_valueendmoduleType=structtypenonrect=stringletcontext_="Type"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:"Type"jletto_json=simple_to_jsonto_valueendmoduleWarningProperty=structtypenonrect={propertyPath:PropertyPath.toption[@ocaml.doc"The path of the property. For example, if this is for the S3Bucket member of the Code property, the property path would be Code/S3Bucket."];required:RequiredProperty.toption[@ocaml.doc"If true, the specified property is required."];description:PropertyDescription.toption[@ocaml.doc"The description of the property from the resource provider schema."]}letmake?propertyPath=fun?required->fun?description->fun()->{propertyPath;required;description}letto_valuex=structure_to_value[("PropertyPath",(Option.mapx.propertyPath~f:PropertyPath.to_value));("Required",(Option.mapx.required~f:RequiredProperty.to_value));("Description",(Option.mapx.description~f:PropertyDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:PropertyDescription.of_xml)(Xml.childxml_arg0"Description")inletrequired=(Option.map~f:RequiredProperty.of_xml)(Xml.childxml_arg0"Required")inletpropertyPath=(Option.map~f:PropertyPath.of_xml)(Xml.childxml_arg0"PropertyPath")inmake?description?required?propertyPath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"PropertyDescription.of_jsoninletrequired=field_mapjson__"Required"RequiredProperty.of_jsoninletpropertyPath=field_mapjson__"PropertyPath"PropertyPath.of_jsoninmake?description?required?propertyPath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A specific property that is impacted by a warning."]moduleCausingEntity=structtypenonrect=stringletcontext_="CausingEntity"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:"CausingEntity"jletto_json=simple_to_jsonto_valueendmoduleChangeSource=structtypenonrect=|ResourceReference|ParameterReference|ResourceAttribute|DirectModification|Automatic|NoModification|Non_static_idofstringletmakei=iletto_string=function|ResourceReference->"ResourceReference"|ParameterReference->"ParameterReference"|ResourceAttribute->"ResourceAttribute"|DirectModification->"DirectModification"|Automatic->"Automatic"|NoModification->"NoModification"|Non_static_ids->sletof_string=function|"ResourceReference"->ResourceReference|"ParameterReference"->ParameterReference|"ResourceAttribute"->ResourceAttribute|"DirectModification"->DirectModification|"Automatic"->Automatic|"NoModification"->NoModification|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 ChangeSource"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ChangeSource"j)letto_json=simple_to_jsonto_valueendmoduleEvaluationType=structtypenonrect=|Static|Dynamic|Non_static_idofstringletmakei=iletto_string=function|Static->"Static"|Dynamic->"Dynamic"|Non_static_ids->sletof_string=function|"Static"->Static|"Dynamic"->Dynamic|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 EvaluationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EvaluationType"j)letto_json=simple_to_jsonto_valueendmoduleResourceTargetDefinition=structtypenonrect={attribute:ResourceAttribute.toption[@ocaml.doc"Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags."];name:PropertyName.toption[@ocaml.doc"If the Attribute value is Properties, the name of the property. For all other attributes, the value is null."];requiresRecreation:RequiresRecreation.toption[@ocaml.doc"If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide."];path:ResourcePropertyPath.toption[@ocaml.doc"The property path of the property."];beforeValue:BeforeValue.toption[@ocaml.doc"The value of the property before the change is executed. Large values can be truncated."];afterValue:AfterValue.toption[@ocaml.doc"The value of the property after the change is executed. Large values can be truncated."];beforeValueFrom:BeforeValueFrom.toption[@ocaml.doc"Indicates the source of the before value. Valid values: ACTUAL_STATE \226\128\147 The before value represents current actual state. PREVIOUS_DEPLOYMENT_STATE \226\128\147 The before value represents the previous CloudFormation deployment state. Only present for drift-aware change sets."];afterValueFrom:AfterValueFrom.toption[@ocaml.doc"Indicates the source of the after value. Valid value: TEMPLATE \226\128\147 The after value comes from the new template. Only present for drift-aware change sets."];drift:LiveResourceDrift.toption[@ocaml.doc"Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps."];attributeChangeType:AttributeChangeType.toption[@ocaml.doc"The type of change to be made to the property if the change is executed. Add The item will be added. Remove The item will be removed. Modify The item will be modified. SyncWithActual The drift status of this item will be reset but the item will not be modified."]}letmake?attribute=fun?name->fun?requiresRecreation->fun?path->fun?beforeValue->fun?afterValue->fun?beforeValueFrom->fun?afterValueFrom->fun?drift->fun?attributeChangeType->fun()->{attribute;name;requiresRecreation;path;beforeValue;afterValue;beforeValueFrom;afterValueFrom;drift;attributeChangeType}letto_valuex=structure_to_value[("Attribute",(Option.mapx.attribute~f:ResourceAttribute.to_value));("Name",(Option.mapx.name~f:PropertyName.to_value));("RequiresRecreation",(Option.mapx.requiresRecreation~f:RequiresRecreation.to_value));("Path",(Option.mapx.path~f:ResourcePropertyPath.to_value));("BeforeValue",(Option.mapx.beforeValue~f:BeforeValue.to_value));("AfterValue",(Option.mapx.afterValue~f:AfterValue.to_value));("BeforeValueFrom",(Option.mapx.beforeValueFrom~f:BeforeValueFrom.to_value));("AfterValueFrom",(Option.mapx.afterValueFrom~f:AfterValueFrom.to_value));("Drift",(Option.mapx.drift~f:LiveResourceDrift.to_value));("AttributeChangeType",(Option.mapx.attributeChangeType~f:AttributeChangeType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributeChangeType=(Option.map~f:AttributeChangeType.of_xml)(Xml.childxml_arg0"AttributeChangeType")inletdrift=(Option.map~f:LiveResourceDrift.of_xml)(Xml.childxml_arg0"Drift")inletafterValueFrom=(Option.map~f:AfterValueFrom.of_xml)(Xml.childxml_arg0"AfterValueFrom")inletbeforeValueFrom=(Option.map~f:BeforeValueFrom.of_xml)(Xml.childxml_arg0"BeforeValueFrom")inletafterValue=(Option.map~f:AfterValue.of_xml)(Xml.childxml_arg0"AfterValue")inletbeforeValue=(Option.map~f:BeforeValue.of_xml)(Xml.childxml_arg0"BeforeValue")inletpath=(Option.map~f:ResourcePropertyPath.of_xml)(Xml.childxml_arg0"Path")inletrequiresRecreation=(Option.map~f:RequiresRecreation.of_xml)(Xml.childxml_arg0"RequiresRecreation")inletname=(Option.map~f:PropertyName.of_xml)(Xml.childxml_arg0"Name")inletattribute=(Option.map~f:ResourceAttribute.of_xml)(Xml.childxml_arg0"Attribute")inmake?attributeChangeType?drift?afterValueFrom?beforeValueFrom?afterValue?beforeValue?path?requiresRecreation?name?attribute()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributeChangeType=field_mapjson__"AttributeChangeType"AttributeChangeType.of_jsoninletdrift=field_mapjson__"Drift"LiveResourceDrift.of_jsoninletafterValueFrom=field_mapjson__"AfterValueFrom"AfterValueFrom.of_jsoninletbeforeValueFrom=field_mapjson__"BeforeValueFrom"BeforeValueFrom.of_jsoninletafterValue=field_mapjson__"AfterValue"AfterValue.of_jsoninletbeforeValue=field_mapjson__"BeforeValue"BeforeValue.of_jsoninletpath=field_mapjson__"Path"ResourcePropertyPath.of_jsoninletrequiresRecreation=field_mapjson__"RequiresRecreation"RequiresRecreation.of_jsoninletname=field_mapjson__"Name"PropertyName.of_jsoninletattribute=field_mapjson__"Attribute"ResourceAttribute.of_jsoninmake?attributeChangeType?drift?afterValueFrom?beforeValueFrom?afterValue?beforeValue?path?requiresRecreation?name?attribute()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated."]moduleDriftIgnoredReason=structtypenonrect=|MANAGED_BY_AWS|WRITE_ONLY_PROPERTY|Non_static_idofstringletmakei=iletto_string=function|MANAGED_BY_AWS->"MANAGED_BY_AWS"|WRITE_ONLY_PROPERTY->"WRITE_ONLY_PROPERTY"|Non_static_ids->sletof_string=function|"MANAGED_BY_AWS"->MANAGED_BY_AWS|"WRITE_ONLY_PROPERTY"->WRITE_ONLY_PROPERTY|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 DriftIgnoredReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DriftIgnoredReason"j)letto_json=simple_to_jsonto_valueendmoduleOperationId=structtypenonrect=stringletcontext_="OperationId"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:"OperationId"jletto_json=simple_to_jsonto_valueendmoduleOperationType=structtypenonrect=|CREATE_STACK|UPDATE_STACK|DELETE_STACK|CONTINUE_ROLLBACK|ROLLBACK|CREATE_CHANGESET|Non_static_idofstringletmakei=iletto_string=function|CREATE_STACK->"CREATE_STACK"|UPDATE_STACK->"UPDATE_STACK"|DELETE_STACK->"DELETE_STACK"|CONTINUE_ROLLBACK->"CONTINUE_ROLLBACK"|ROLLBACK->"ROLLBACK"|CREATE_CHANGESET->"CREATE_CHANGESET"|Non_static_ids->sletof_string=function|"CREATE_STACK"->CREATE_STACK|"UPDATE_STACK"->UPDATE_STACK|"DELETE_STACK"->DELETE_STACK|"CONTINUE_ROLLBACK"->CONTINUE_ROLLBACK|"ROLLBACK"->ROLLBACK|"CREATE_CHANGESET"->CREATE_CHANGESET|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 OperationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OperationType"j)letto_json=simple_to_jsonto_valueendmoduleStackSetARN=structtypenonrect=stringletcontext_="StackSetARN"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:"StackSetARN"jletto_json=simple_to_jsonto_valueendmoduleRegion=structtypenonrect=stringletcontext_="Region"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^[a-zA-Z0-9-]{1,128}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Region"jletto_json=simple_to_jsonto_valueendmoduleLogicalResourceId=structtypenonrect=stringletcontext_="LogicalResourceId"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:"LogicalResourceId"jletto_json=simple_to_jsonto_valueendmoduleStackName=structtypenonrect=stringletcontext_="StackName"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:"StackName"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min: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:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleKey=structtypenonrect=stringletcontext_="Key"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:"Key"jletto_json=simple_to_jsonto_valueendmoduleValue=structtypenonrect=stringletcontext_="Value"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:"Value"jletto_json=simple_to_jsonto_valueendmoduleDifferenceType=structtypenonrect=|ADD|REMOVE|NOT_EQUAL|Non_static_idofstringletmakei=iletto_string=function|ADD->"ADD"|REMOVE->"REMOVE"|NOT_EQUAL->"NOT_EQUAL"|Non_static_ids->sletof_string=function|"ADD"->ADD|"REMOVE"->REMOVE|"NOT_EQUAL"->NOT_EQUAL|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 DifferenceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DifferenceType"j)letto_json=simple_to_jsonto_valueendmodulePropertyValue=structtypenonrect=stringletcontext_="PropertyValue"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:"PropertyValue"jletto_json=simple_to_jsonto_valueendmoduleAllowedValue=structtypenonrect=stringletcontext_="AllowedValue"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:"AllowedValue"jletto_json=simple_to_jsonto_valueendmoduleDescription=structtypenonrect=stringletcontext_="Description"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(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:"Description"jletto_json=simple_to_jsonto_valueendmoduleExportName=structtypenonrect=stringletcontext_="ExportName"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:"ExportName"jletto_json=simple_to_jsonto_valueendmoduleOutputKey=structtypenonrect=stringletcontext_="OutputKey"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:"OutputKey"jletto_json=simple_to_jsonto_valueendmoduleOutputValue=structtypenonrect=stringletcontext_="OutputValue"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:"OutputValue"jletto_json=simple_to_jsonto_valueendmoduleParameterKey=structtypenonrect=stringletcontext_="ParameterKey"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:"ParameterKey"jletto_json=simple_to_jsonto_valueendmoduleParameterValue=structtypenonrect=stringletcontext_="ParameterValue"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:"ParameterValue"jletto_json=simple_to_jsonto_valueendmoduleUsePreviousValue=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_valueendmoduleRollbackTrigger=structtypenonrect={arn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the rollback trigger. If a specified trigger is missing, the entire stack operation fails and is rolled back."];type_:Type.t[@ocaml.doc"The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types."]}letcontext_="RollbackTrigger"letmake~arn=fun~type_->fun()->{arn;type_}letto_valuex=structure_to_value[("Arn",(Some(Arn.to_valuex.arn)));("Type",(Some(Type.to_valuex.type_)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=Type.of_xml(Xml.child_exn~context:context_xml_arg0"Type")inletarn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"Arn")inmake~type_~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_map_exnjson__"Type"Type.of_jsoninletarn=field_map_exnjson__"Arn"Arn.of_jsoninmake~type_~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A rollback trigger CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes to ALARM state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation."]moduleWarningProperties=structtypenonrect=WarningProperty.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:WarningProperty.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:WarningProperty.of_xml)letof_jsonj=list_of_json~kind:"WarningProperties"~of_json:WarningProperty.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleWarningType=structtypenonrect=|MUTUALLY_EXCLUSIVE_PROPERTIES|UNSUPPORTED_PROPERTIES|MUTUALLY_EXCLUSIVE_TYPES|EXCLUDED_PROPERTIES|EXCLUDED_RESOURCES|Non_static_idofstringletmakei=iletto_string=function|MUTUALLY_EXCLUSIVE_PROPERTIES->"MUTUALLY_EXCLUSIVE_PROPERTIES"|UNSUPPORTED_PROPERTIES->"UNSUPPORTED_PROPERTIES"|MUTUALLY_EXCLUSIVE_TYPES->"MUTUALLY_EXCLUSIVE_TYPES"|EXCLUDED_PROPERTIES->"EXCLUDED_PROPERTIES"|EXCLUDED_RESOURCES->"EXCLUDED_RESOURCES"|Non_static_ids->sletof_string=function|"MUTUALLY_EXCLUSIVE_PROPERTIES"->MUTUALLY_EXCLUSIVE_PROPERTIES|"UNSUPPORTED_PROPERTIES"->UNSUPPORTED_PROPERTIES|"MUTUALLY_EXCLUSIVE_TYPES"->MUTUALLY_EXCLUSIVE_TYPES|"EXCLUDED_PROPERTIES"->EXCLUDED_PROPERTIES|"EXCLUDED_RESOURCES"->EXCLUDED_RESOURCES|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 WarningType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"WarningType"j)letto_json=simple_to_jsonto_valueendmoduleLogicalIdHierarchy=structtypenonrect=stringletcontext_="LogicalIdHierarchy"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:"LogicalIdHierarchy"jletto_json=simple_to_jsonto_valueendmoduleTypeHierarchy=structtypenonrect=stringletcontext_="TypeHierarchy"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:"TypeHierarchy"jletto_json=simple_to_jsonto_valueendmoduleResourceChangeDetail=structtypenonrect={target:ResourceTargetDefinition.toption[@ocaml.doc"A ResourceTargetDefinition structure that describes the field that CloudFormation will change and whether the resource will be recreated."];evaluation:EvaluationType.toption[@ocaml.doc"Indicates whether CloudFormation can determine the target value, and whether the target value will change before you execute a change set. For Static evaluations, CloudFormation can determine that the target value will change, and its value. For example, if you directly modify the InstanceType property of an EC2 instance, CloudFormation knows that this property value will change, and its value, so this is a Static evaluation. For Dynamic evaluations, can't determine the target value because it depends on the result of an intrinsic function, such as a Ref or Fn::GetAtt intrinsic function, when the stack is updated. For example, if your template includes a reference to a resource that's conditionally recreated, the value of the reference (the physical ID of the resource) might change, depending on if the resource is recreated. If the resource is recreated, it will have a new physical ID, so all references to that resource will also be updated."];changeSource:ChangeSource.toption[@ocaml.doc"The group to which the CausingEntity value belongs. There are five entity groups: ResourceReference entities are Ref intrinsic functions that refer to resources in the template, such as \\{ \"Ref\" : \"MyEC2InstanceResource\" \\}. ParameterReference entities are Ref intrinsic functions that get template parameter values, such as \\{ \"Ref\" : \"MyPasswordParameter\" \\}. ResourceAttribute entities are Fn::GetAtt intrinsic functions that get resource attribute values, such as \\{ \"Fn::GetAtt\" : \\[ \"MyEC2InstanceResource\", \"PublicDnsName\" \\] \\}. DirectModification entities are changes that are made directly to the template. Automatic entities are AWS::CloudFormation::Stack resource types, which are also known as nested stacks. If you made no changes to the AWS::CloudFormation::Stack resource, CloudFormation sets the ChangeSource to Automatic because the nested stack's template might have changed. Changes to a nested stack's template aren't visible to CloudFormation until you run an update on the parent stack. NoModification entities are changes made to the template that matches the actual state of the resource."];causingEntity:CausingEntity.toption[@ocaml.doc"The identity of the entity that triggered this change. This entity is a member of the group that's specified by the ChangeSource field. For example, if you modified the value of the KeyPairName parameter, the CausingEntity is the name of the parameter (KeyPairName). If the ChangeSource value is DirectModification, no value is given for CausingEntity."]}letmake?target=fun?evaluation->fun?changeSource->fun?causingEntity->fun()->{target;evaluation;changeSource;causingEntity}letto_valuex=structure_to_value[("Target",(Option.mapx.target~f:ResourceTargetDefinition.to_value));("Evaluation",(Option.mapx.evaluation~f:EvaluationType.to_value));("ChangeSource",(Option.mapx.changeSource~f:ChangeSource.to_value));("CausingEntity",(Option.mapx.causingEntity~f:CausingEntity.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcausingEntity=(Option.map~f:CausingEntity.of_xml)(Xml.childxml_arg0"CausingEntity")inletchangeSource=(Option.map~f:ChangeSource.of_xml)(Xml.childxml_arg0"ChangeSource")inletevaluation=(Option.map~f:EvaluationType.of_xml)(Xml.childxml_arg0"Evaluation")inlettarget=(Option.map~f:ResourceTargetDefinition.of_xml)(Xml.childxml_arg0"Target")inmake?causingEntity?changeSource?evaluation?target()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcausingEntity=field_mapjson__"CausingEntity"CausingEntity.of_jsoninletchangeSource=field_mapjson__"ChangeSource"ChangeSource.of_jsoninletevaluation=field_mapjson__"Evaluation"EvaluationType.of_jsoninlettarget=field_mapjson__"Target"ResourceTargetDefinition.of_jsoninmake?causingEntity?changeSource?evaluation?target()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For a resource with Modify as the action, the ResourceChange structure describes the changes CloudFormation will make to that resource."]moduleResourceDriftIgnoredAttribute=structtypenonrect={path:ResourcePropertyPath.toption[@ocaml.doc"Path of the resource attribute for which drift was ignored."];reason:DriftIgnoredReason.toption[@ocaml.doc"Reason why drift was ignored for the attribute, can have 2 possible values: WRITE_ONLY_PROPERTY - Property is not included in read response for the resource\226\128\153s live state. MANAGED_BY_AWS - Property is managed by an Amazon Web Services service and is expected to be dynamically modified."]}letmake?path=fun?reason->fun()->{path;reason}letto_valuex=structure_to_value[("Path",(Option.mapx.path~f:ResourcePropertyPath.to_value));("Reason",(Option.mapx.reason~f:DriftIgnoredReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=(Option.map~f:DriftIgnoredReason.of_xml)(Xml.childxml_arg0"Reason")inletpath=(Option.map~f:ResourcePropertyPath.of_xml)(Xml.childxml_arg0"Path")inmake?reason?path()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_mapjson__"Reason"DriftIgnoredReason.of_jsoninletpath=field_mapjson__"Path"ResourcePropertyPath.of_jsoninmake?reason?path()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ResourceDriftIgnoredAttribute data type."]moduleChangeAction=structtypenonrect=|Add|Modify|Remove|Import|Dynamic|SyncWithActual|Non_static_idofstringletmakei=iletto_string=function|Add->"Add"|Modify->"Modify"|Remove->"Remove"|Import->"Import"|Dynamic->"Dynamic"|SyncWithActual->"SyncWithActual"|Non_static_ids->sletof_string=function|"Add"->Add|"Modify"->Modify|"Remove"->Remove|"Import"->Import|"Dynamic"->Dynamic|"SyncWithActual"->SyncWithActual|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 ChangeAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ChangeAction"j)letto_json=simple_to_jsonto_valueendmoduleHookTargetTypeName=structtypenonrect=stringletcontext_="HookTargetTypeName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HookTargetTypeName"jletto_json=simple_to_jsonto_valueendmoduleResourceIdentifierPropertyKey=structtypenonrect=stringletcontext_="ResourceIdentifierPropertyKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"ResourceIdentifierPropertyKey"jletto_json=simple_to_jsonto_valueendmoduleResourceIdentifierPropertyValue=structtypenonrect=stringletcontext_="ResourceIdentifierPropertyValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"ResourceIdentifierPropertyValue"jletto_json=simple_to_jsonto_valueendmoduleResourceTypeFilter=structtypenonrect=stringletcontext_="ResourceTypeFilter"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:100)>>=(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:"ResourceTypeFilter"jletto_json=simple_to_jsonto_valueendmoduleOperationEntry=structtypenonrect={operationType:OperationType.toption[@ocaml.doc"The type of operation."];operationId:OperationId.toption[@ocaml.doc"The unique identifier for the operation."]}letmake?operationType=fun?operationId->fun()->{operationType;operationId}letto_valuex=structure_to_value[("OperationType",(Option.mapx.operationType~f:OperationType.to_value));("OperationId",(Option.mapx.operationId~f:OperationId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationId=(Option.map~f:OperationId.of_xml)(Xml.childxml_arg0"OperationId")inletoperationType=(Option.map~f:OperationType.of_xml)(Xml.childxml_arg0"OperationType")inmake?operationId?operationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"OperationId.of_jsoninletoperationType=field_mapjson__"OperationType"OperationType.of_jsoninmake?operationId?operationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a CloudFormation operation."]moduleStackDriftStatus=structtypenonrect=|DRIFTED|IN_SYNC|UNKNOWN|NOT_CHECKED|Non_static_idofstringletmakei=iletto_string=function|DRIFTED->"DRIFTED"|IN_SYNC->"IN_SYNC"|UNKNOWN->"UNKNOWN"|NOT_CHECKED->"NOT_CHECKED"|Non_static_ids->sletof_string=function|"DRIFTED"->DRIFTED|"IN_SYNC"->IN_SYNC|"UNKNOWN"->UNKNOWN|"NOT_CHECKED"->NOT_CHECKED|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 StackDriftStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackDriftStatus"j)letto_json=simple_to_jsonto_valueendmoduleAutoDeploymentNullable=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_valueendmoduleRetainStacksOnAccountRemovalNullable=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_valueendmoduleStackSetARNList=structtypenonrect=StackSetARN.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackSetARN.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:StackSetARN.of_xml)letof_jsonj=list_of_json~kind:"StackSetARNList"~of_json:StackSetARN.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleManagedExecutionNullable=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_valueendmoduleConcurrencyMode=structtypenonrect=|STRICT_FAILURE_TOLERANCE|SOFT_FAILURE_TOLERANCE|Non_static_idofstringletmakei=iletto_string=function|STRICT_FAILURE_TOLERANCE->"STRICT_FAILURE_TOLERANCE"|SOFT_FAILURE_TOLERANCE->"SOFT_FAILURE_TOLERANCE"|Non_static_ids->sletof_string=function|"STRICT_FAILURE_TOLERANCE"->STRICT_FAILURE_TOLERANCE|"SOFT_FAILURE_TOLERANCE"->SOFT_FAILURE_TOLERANCE|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 ConcurrencyMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConcurrencyMode"j)letto_json=simple_to_jsonto_valueendmoduleFailureToleranceCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for FailureToleranceCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleFailureTolerancePercentage=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for FailureTolerancePercentage"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleMaxConcurrentCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:1);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxConcurrentCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleMaxConcurrentPercentage=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxConcurrentPercentage"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleRegionConcurrencyType=structtypenonrect=|SEQUENTIAL|PARALLEL|Non_static_idofstringletmakei=iletto_string=function|SEQUENTIAL->"SEQUENTIAL"|PARALLEL->"PARALLEL"|Non_static_ids->sletof_string=function|"SEQUENTIAL"->SEQUENTIAL|"PARALLEL"->PARALLEL|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 RegionConcurrencyType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RegionConcurrencyType"j)letto_json=simple_to_jsonto_valueendmoduleRegionList=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:"RegionList"~of_json:Region.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFailedStackInstancesCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for FailedStackInstancesCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleAccountGateStatus=structtypenonrect=|SUCCEEDED|FAILED|SKIPPED|Non_static_idofstringletmakei=iletto_string=function|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|SKIPPED->"SKIPPED"|Non_static_ids->sletof_string=function|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"SKIPPED"->SKIPPED|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 AccountGateStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AccountGateStatus"j)letto_json=simple_to_jsonto_valueendmoduleAccountGateStatusReason=structtypenonrect=stringletcontext_="AccountGateStatusReason"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:"AccountGateStatusReason"jletto_json=simple_to_jsonto_valueendmoduleStackResourceDriftStatus=structtypenonrect=|IN_SYNC|MODIFIED|DELETED|NOT_CHECKED|UNKNOWN|UNSUPPORTED|Non_static_idofstringletmakei=iletto_string=function|IN_SYNC->"IN_SYNC"|MODIFIED->"MODIFIED"|DELETED->"DELETED"|NOT_CHECKED->"NOT_CHECKED"|UNKNOWN->"UNKNOWN"|UNSUPPORTED->"UNSUPPORTED"|Non_static_ids->sletof_string=function|"IN_SYNC"->IN_SYNC|"MODIFIED"->MODIFIED|"DELETED"->DELETED|"NOT_CHECKED"->NOT_CHECKED|"UNKNOWN"->UNKNOWN|"UNSUPPORTED"->UNSUPPORTED|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 StackResourceDriftStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackResourceDriftStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceLocation=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name associated with the stack."];logicalResourceId:LogicalResourceId.t[@ocaml.doc"The logical name of the resource specified in the template."]}letcontext_="ResourceLocation"letmake~stackName=fun~logicalResourceId->fun()->{stackName;logicalResourceId}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("LogicalResourceId",(Some(LogicalResourceId.to_valuex.logicalResourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogicalResourceId=LogicalResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"LogicalResourceId")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake~logicalResourceId~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogicalResourceId=field_map_exnjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake~logicalResourceId~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The location of the resource in a stack template."]moduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:."];value:TagValue.t[@ocaml.doc"A string that contains the value for this tag. You can specify a maximum of 256 characters for a tag value."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack."]moduleStackInstanceDetailedStatus=structtypenonrect=|PENDING|RUNNING|SUCCEEDED|FAILED|CANCELLED|INOPERABLE|SKIPPED_SUSPENDED_ACCOUNT|FAILED_IMPORT|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|RUNNING->"RUNNING"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|CANCELLED->"CANCELLED"|INOPERABLE->"INOPERABLE"|SKIPPED_SUSPENDED_ACCOUNT->"SKIPPED_SUSPENDED_ACCOUNT"|FAILED_IMPORT->"FAILED_IMPORT"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"RUNNING"->RUNNING|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"CANCELLED"->CANCELLED|"INOPERABLE"->INOPERABLE|"SKIPPED_SUSPENDED_ACCOUNT"->SKIPPED_SUSPENDED_ACCOUNT|"FAILED_IMPORT"->FAILED_IMPORT|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 StackInstanceDetailedStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackInstanceDetailedStatus"j)letto_json=simple_to_jsonto_valueendmodulePhysicalResourceIdContextKeyValuePair=structtypenonrect={key:Key.toption[@ocaml.doc"The resource context key."];value:Value.toption[@ocaml.doc"The resource context value."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:Key.to_value));("Value",(Option.mapx.value~f:Value.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:Value.of_xml)(Xml.childxml_arg0"Value")inletkey=(Option.map~f:Key.of_xml)(Xml.childxml_arg0"Key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"Value.of_jsoninletkey=field_mapjson__"Key"Key.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a resource that contains the targeted resource."]modulePropertyDifference=structtypenonrect={propertyPath:PropertyPath.toption[@ocaml.doc"The fully-qualified path to the resource property."];expectedValue:PropertyValue.toption[@ocaml.doc"The expected property value of the resource property, as defined in the stack template and any values specified as template parameters."];actualValue:PropertyValue.toption[@ocaml.doc"The actual property value of the resource property."];differenceType:DifferenceType.toption[@ocaml.doc"The type of property difference. ADD: A value has been added to a resource property that's an array or list data type. REMOVE: The property has been removed from the current resource configuration. NOT_EQUAL: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters)."]}letmake?propertyPath=fun?expectedValue->fun?actualValue->fun?differenceType->fun()->{propertyPath;expectedValue;actualValue;differenceType}letto_valuex=structure_to_value[("PropertyPath",(Option.mapx.propertyPath~f:PropertyPath.to_value));("ExpectedValue",(Option.mapx.expectedValue~f:PropertyValue.to_value));("ActualValue",(Option.mapx.actualValue~f:PropertyValue.to_value));("DifferenceType",(Option.mapx.differenceType~f:DifferenceType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdifferenceType=(Option.map~f:DifferenceType.of_xml)(Xml.childxml_arg0"DifferenceType")inletactualValue=(Option.map~f:PropertyValue.of_xml)(Xml.childxml_arg0"ActualValue")inletexpectedValue=(Option.map~f:PropertyValue.of_xml)(Xml.childxml_arg0"ExpectedValue")inletpropertyPath=(Option.map~f:PropertyPath.of_xml)(Xml.childxml_arg0"PropertyPath")inmake?differenceType?actualValue?expectedValue?propertyPath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdifferenceType=field_mapjson__"DifferenceType"DifferenceType.of_jsoninletactualValue=field_mapjson__"ActualValue"PropertyValue.of_jsoninletexpectedValue=field_mapjson__"ExpectedValue"PropertyValue.of_jsoninletpropertyPath=field_mapjson__"PropertyPath"PropertyPath.of_jsoninmake?differenceType?actualValue?expectedValue?propertyPath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a resource property whose actual value differs from its expected value, as defined in the stack template and any values specified as template parameters. These will be present only for resources whose StackResourceDriftStatus is MODIFIED. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection."]moduleJazzResourceIdentifierPropertyKey=structtypenonrect=stringletcontext_="JazzResourceIdentifierPropertyKey"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:"JazzResourceIdentifierPropertyKey"jletto_json=simple_to_jsonto_valueendmoduleJazzResourceIdentifierPropertyValue=structtypenonrect=stringletcontext_="JazzResourceIdentifierPropertyValue"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:"JazzResourceIdentifierPropertyValue"jletto_json=simple_to_jsonto_valueendmoduleAllowedValues=structtypenonrect=AllowedValue.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AllowedValue.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:AllowedValue.of_xml)letof_jsonj=list_of_json~kind:"AllowedValues"~of_json:AllowedValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSupportedMajorVersion=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:65535)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for SupportedMajorVersion"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleCapability=structtypenonrect=|CAPABILITY_IAM|CAPABILITY_NAMED_IAM|CAPABILITY_AUTO_EXPAND|Non_static_idofstringletmakei=iletto_string=function|CAPABILITY_IAM->"CAPABILITY_IAM"|CAPABILITY_NAMED_IAM->"CAPABILITY_NAMED_IAM"|CAPABILITY_AUTO_EXPAND->"CAPABILITY_AUTO_EXPAND"|Non_static_ids->sletof_string=function|"CAPABILITY_IAM"->CAPABILITY_IAM|"CAPABILITY_NAMED_IAM"->CAPABILITY_NAMED_IAM|"CAPABILITY_AUTO_EXPAND"->CAPABILITY_AUTO_EXPAND|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration Capability"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Capability"j)letto_json=simple_to_jsonto_valueendmoduleNotificationARN=structtypenonrect=stringletcontext_="NotificationARN"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:"NotificationARN"jletto_json=simple_to_jsonto_valueendmoduleOutput=structtypenonrect={outputKey:OutputKey.toption[@ocaml.doc"The key associated with the output."];outputValue:OutputValue.toption[@ocaml.doc"The value associated with the output."];description:Description.toption[@ocaml.doc"User defined description associated with the output."];exportName:ExportName.toption[@ocaml.doc"The name of the export associated with the output."]}letmake?outputKey=fun?outputValue->fun?description->fun?exportName->fun()->{outputKey;outputValue;description;exportName}letto_valuex=structure_to_value[("OutputKey",(Option.mapx.outputKey~f:OutputKey.to_value));("OutputValue",(Option.mapx.outputValue~f:OutputValue.to_value));("Description",(Option.mapx.description~f:Description.to_value));("ExportName",(Option.mapx.exportName~f:ExportName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexportName=(Option.map~f:ExportName.of_xml)(Xml.childxml_arg0"ExportName")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletoutputValue=(Option.map~f:OutputValue.of_xml)(Xml.childxml_arg0"OutputValue")inletoutputKey=(Option.map~f:OutputKey.of_xml)(Xml.childxml_arg0"OutputKey")inmake?exportName?description?outputValue?outputKey()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexportName=field_mapjson__"ExportName"ExportName.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletoutputValue=field_mapjson__"OutputValue"OutputValue.of_jsoninletoutputKey=field_mapjson__"OutputKey"OutputKey.of_jsoninmake?exportName?description?outputValue?outputKey()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Output data type."]moduleParameter=structtypenonrect={parameterKey:ParameterKey.toption[@ocaml.doc"The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template."];parameterValue:ParameterValue.toption[@ocaml.doc"The input value associated with the parameter."];usePreviousValue:UsePreviousValue.toption[@ocaml.doc"During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value."];resolvedValue:ParameterValue.toption[@ocaml.doc"Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Specify existing resources at runtime with CloudFormation-supplied parameter types in the CloudFormation User Guide."]}letmake?parameterKey=fun?parameterValue->fun?usePreviousValue->fun?resolvedValue->fun()->{parameterKey;parameterValue;usePreviousValue;resolvedValue}letto_valuex=structure_to_value[("ParameterKey",(Option.mapx.parameterKey~f:ParameterKey.to_value));("ParameterValue",(Option.mapx.parameterValue~f:ParameterValue.to_value));("UsePreviousValue",(Option.mapx.usePreviousValue~f:UsePreviousValue.to_value));("ResolvedValue",(Option.mapx.resolvedValue~f:ParameterValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolvedValue=(Option.map~f:ParameterValue.of_xml)(Xml.childxml_arg0"ResolvedValue")inletusePreviousValue=(Option.map~f:UsePreviousValue.of_xml)(Xml.childxml_arg0"UsePreviousValue")inletparameterValue=(Option.map~f:ParameterValue.of_xml)(Xml.childxml_arg0"ParameterValue")inletparameterKey=(Option.map~f:ParameterKey.of_xml)(Xml.childxml_arg0"ParameterKey")inmake?resolvedValue?usePreviousValue?parameterValue?parameterKey()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolvedValue=field_mapjson__"ResolvedValue"ParameterValue.of_jsoninletusePreviousValue=field_mapjson__"UsePreviousValue"UsePreviousValue.of_jsoninletparameterValue=field_mapjson__"ParameterValue"ParameterValue.of_jsoninletparameterKey=field_mapjson__"ParameterKey"ParameterKey.of_jsoninmake?resolvedValue?usePreviousValue?parameterValue?parameterKey()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Parameter data type."]moduleMonitoringTimeInMinutes=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:180)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MonitoringTimeInMinutes"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleRollbackTriggers=structtypenonrect=RollbackTrigger.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:RollbackTrigger.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:RollbackTrigger.of_xml)letof_jsonj=list_of_json~kind:"RollbackTriggers"~of_json:RollbackTrigger.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccount=structtypenonrect=stringletcontext_="Account"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^[0-9]{12}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Account"jletto_json=simple_to_jsonto_valueendmoduleOrganizationalUnitId=structtypenonrect=stringletcontext_="OrganizationalUnitId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OrganizationalUnitId"jletto_json=simple_to_jsonto_valueendmoduleWarningDetail=structtypenonrect={type_:WarningType.toption[@ocaml.doc"The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide. MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. UNSUPPORTED_PROPERTIES - Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. MUTUALLY_EXCLUSIVE_TYPES - One or more required write-only properties are found in the resource, and the type of that property can be any of several types. Currently the resource and property reference documentation does not indicate if a property uses a type of oneOf or anyOf. You need to look at the resource provider schema."];properties:WarningProperties.toption[@ocaml.doc"The properties of the resource that are impacted by this warning."]}letmake?type_=fun?properties->fun()->{type_;properties}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:WarningType.to_value));("Properties",(Option.mapx.properties~f:WarningProperties.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproperties=(Option.map~f:WarningProperties.of_xml)(Xml.childxml_arg0"Properties")inlettype_=(Option.map~f:WarningType.of_xml)(Xml.childxml_arg0"Type")inmake?properties?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproperties=field_mapjson__"Properties"WarningProperties.of_jsoninlettype_=field_mapjson__"Type"WarningType.of_jsoninmake?properties?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The warnings generated for a specific resource for this generated template."]moduleAfterContext=structtypenonrect=stringletcontext_="AfterContext"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:"AfterContext"jletto_json=simple_to_jsonto_valueendmoduleBeforeContext=structtypenonrect=stringletcontext_="BeforeContext"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:"BeforeContext"jletto_json=simple_to_jsonto_valueendmoduleChangeSetId=structtypenonrect=stringletcontext_="ChangeSetId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->check_patterni~pattern:"arn:[-a-zA-Z0-9:/]*"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ChangeSetId"jletto_json=simple_to_jsonto_valueendmoduleModuleInfo=structtypenonrect={typeHierarchy:TypeHierarchy.toption[@ocaml.doc"A concatenated list of the module type or types that contains the resource. Module types are listed starting with the inner-most nested module, and separated by /. In the following example, the resource was created from a module of type AWS::First::Example::MODULE, that's nested inside a parent module of type AWS::Second::Example::MODULE. AWS::First::Example::MODULE/AWS::Second::Example::MODULE"];logicalIdHierarchy:LogicalIdHierarchy.toption[@ocaml.doc"A concatenated list of the logical IDs of the module or modules that contains the resource. Modules are listed starting with the inner-most nested module, and separated by /. In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB. moduleA/moduleB For more information, see Reference module resources in CloudFormation templates in the CloudFormation User Guide."]}letmake?typeHierarchy=fun?logicalIdHierarchy->fun()->{typeHierarchy;logicalIdHierarchy}letto_valuex=structure_to_value[("TypeHierarchy",(Option.mapx.typeHierarchy~f:TypeHierarchy.to_value));("LogicalIdHierarchy",(Option.mapx.logicalIdHierarchy~f:LogicalIdHierarchy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogicalIdHierarchy=(Option.map~f:LogicalIdHierarchy.of_xml)(Xml.childxml_arg0"LogicalIdHierarchy")inlettypeHierarchy=(Option.map~f:TypeHierarchy.of_xml)(Xml.childxml_arg0"TypeHierarchy")inmake?logicalIdHierarchy?typeHierarchy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogicalIdHierarchy=field_mapjson__"LogicalIdHierarchy"LogicalIdHierarchy.of_jsoninlettypeHierarchy=field_mapjson__"TypeHierarchy"TypeHierarchy.of_jsoninmake?logicalIdHierarchy?typeHierarchy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template. For more information about modules, see Create reusable resource configurations that can be included across templates with CloudFormation modules in the CloudFormation User Guide."]modulePhysicalResourceId=structtypenonrect=stringletcontext_="PhysicalResourceId"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:"PhysicalResourceId"jletto_json=simple_to_jsonto_valueendmodulePolicyAction=structtypenonrect=|Delete|Retain|Snapshot|ReplaceAndDelete|ReplaceAndRetain|ReplaceAndSnapshot|Non_static_idofstringletmakei=iletto_string=function|Delete->"Delete"|Retain->"Retain"|Snapshot->"Snapshot"|ReplaceAndDelete->"ReplaceAndDelete"|ReplaceAndRetain->"ReplaceAndRetain"|ReplaceAndSnapshot->"ReplaceAndSnapshot"|Non_static_ids->sletof_string=function|"Delete"->Delete|"Retain"->Retain|"Snapshot"->Snapshot|"ReplaceAndDelete"->ReplaceAndDelete|"ReplaceAndRetain"->ReplaceAndRetain|"ReplaceAndSnapshot"->ReplaceAndSnapshot|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 PolicyAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PolicyAction"j)letto_json=simple_to_jsonto_valueendmodulePreviousDeploymentContext=structtypenonrect=stringletcontext_="PreviousDeploymentContext"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:"PreviousDeploymentContext"jletto_json=simple_to_jsonto_valueendmoduleReplacement=structtypenonrect=|True|False|Conditional|Non_static_idofstringletmakei=iletto_string=function|True->"True"|False->"False"|Conditional->"Conditional"|Non_static_ids->sletof_string=function|"True"->True|"False"->False|"Conditional"->Conditional|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 Replacement"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Replacement"j)letto_json=simple_to_jsonto_valueendmoduleResourceChangeDetails=structtypenonrect=ResourceChangeDetail.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceChangeDetail.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:ResourceChangeDetail.of_xml)letof_jsonj=list_of_json~kind:"ResourceChangeDetails"~of_json:ResourceChangeDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceDriftIgnoredAttributes=structtypenonrect=ResourceDriftIgnoredAttribute.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceDriftIgnoredAttribute.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:ResourceDriftIgnoredAttribute.of_xml)letof_jsonj=list_of_json~kind:"ResourceDriftIgnoredAttributes"~of_json:ResourceDriftIgnoredAttribute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceType=structtypenonrect=stringletcontext_="ResourceType"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(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:"ResourceType"jletto_json=simple_to_jsonto_valueendmoduleScope=structtypenonrect=ResourceAttribute.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceAttribute.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:ResourceAttribute.of_xml)letof_jsonj=list_of_json~kind:"Scope"~of_json:ResourceAttribute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleChangeSetHookResourceTargetDetails=structtypenonrect={logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The resource's logical ID, which is defined in the stack's template."];resourceType:HookTargetTypeName.toption[@ocaml.doc"The type of CloudFormation resource, such as AWS::S3::Bucket."];resourceAction:ChangeAction.toption[@ocaml.doc"Specifies the action of the resource."]}letmake?logicalResourceId=fun?resourceType->fun?resourceAction->fun()->{logicalResourceId;resourceType;resourceAction}letto_valuex=structure_to_value[("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("ResourceType",(Option.mapx.resourceType~f:HookTargetTypeName.to_value));("ResourceAction",(Option.mapx.resourceAction~f:ChangeAction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceAction=(Option.map~f:ChangeAction.of_xml)(Xml.childxml_arg0"ResourceAction")inletresourceType=(Option.map~f:HookTargetTypeName.of_xml)(Xml.childxml_arg0"ResourceType")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inmake?resourceAction?resourceType?logicalResourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceAction=field_mapjson__"ResourceAction"ChangeAction.of_jsoninletresourceType=field_mapjson__"ResourceType"HookTargetTypeName.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninmake?resourceAction?resourceType?logicalResourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies RESOURCE type target details for activated Hooks."]moduleHookTargetType=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 HookTargetType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HookTargetType"j)letto_json=simple_to_jsonto_valueendmoduleThirdPartyType=structtypenonrect=|RESOURCE|MODULE|HOOK|Non_static_idofstringletmakei=iletto_string=function|RESOURCE->"RESOURCE"|MODULE->"MODULE"|HOOK->"HOOK"|Non_static_ids->sletof_string=function|"RESOURCE"->RESOURCE|"MODULE"->MODULE|"HOOK"->HOOK|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 ThirdPartyType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ThirdPartyType"j)letto_json=simple_to_jsonto_valueendmoduleTypeArn=structtypenonrect=stringletcontext_="TypeArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/.+"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TypeArn"jletto_json=simple_to_jsonto_valueendmoduleTypeConfigurationAlias=structtypenonrect=stringletcontext_="TypeConfigurationAlias"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9]{1,256}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TypeConfigurationAlias"jletto_json=simple_to_jsonto_valueendmoduleTypeConfigurationArn=structtypenonrect=stringletcontext_="TypeConfigurationArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type-configuration/.+"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TypeConfigurationArn"jletto_json=simple_to_jsonto_valueendmoduleTypeName=structtypenonrect=stringletcontext_="TypeName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:10)>>=(fun()->(check_string_maxi~max:204)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,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:"TypeName"jletto_json=simple_to_jsonto_valueendmoduleNoEcho=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_valueendmoduleResourceIdentifierProperties=structtypenonrect=(ResourceIdentifierPropertyKey.t*ResourceIdentifierPropertyValue.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:256)>>=(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->((ResourceIdentifierPropertyKey.of_stringchopped),(ResourceIdentifierPropertyValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ResourceIdentifierPropertyKey.to_valuex)|>(funx->(ResourceIdentifierPropertyValue.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:ResourceIdentifierPropertyKey.of_string~of_json:ResourceIdentifierPropertyValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceTypeFilters=structtypenonrect=ResourceTypeFilter.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:100);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceTypeFilter.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:ResourceTypeFilter.of_xml)letof_jsonj=list_of_json~kind:"ResourceTypeFilters"~of_json:ResourceTypeFilter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIdentityProvider=structtypenonrect=|AWS_Marketplace|GitHub|Bitbucket|Non_static_idofstringletmakei=iletto_string=function|AWS_Marketplace->"AWS_Marketplace"|GitHub->"GitHub"|Bitbucket->"Bitbucket"|Non_static_ids->sletof_string=function|"AWS_Marketplace"->AWS_Marketplace|"GitHub"->GitHub|"Bitbucket"->Bitbucket|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 IdentityProvider"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IdentityProvider"j)letto_json=simple_to_jsonto_valueendmoduleIsActivated=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_valueendmodulePublicVersionNumber=structtypenonrect=stringletcontext_="PublicVersionNumber"letmakei=letopenResultinok_or_failwith((check_string_mini~min:5)>>=(fun()->check_patterni~pattern:"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(.*)$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PublicVersionNumber"jletto_json=simple_to_jsonto_valueendmodulePublisherId=structtypenonrect=stringletcontext_="PublisherId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:40)>>=(fun()->check_patterni~pattern:"[0-9a-zA-Z]{12,40}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PublisherId"jletto_json=simple_to_jsonto_valueendmodulePublisherName=structtypenonrect=stringletcontext_="PublisherName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:100)>>=(fun()->check_patterni~pattern:"[\\s\\S]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PublisherName"jletto_json=simple_to_jsonto_valueendmoduleRegistryType=structtypenonrect=|RESOURCE|MODULE|HOOK|Non_static_idofstringletmakei=iletto_string=function|RESOURCE->"RESOURCE"|MODULE->"MODULE"|HOOK->"HOOK"|Non_static_ids->sletof_string=function|"RESOURCE"->RESOURCE|"MODULE"->MODULE|"HOOK"->HOOK|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 RegistryType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RegistryType"j)letto_json=simple_to_jsonto_valueendmoduleTypeVersionId=structtypenonrect=stringletcontext_="TypeVersionId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TypeVersionId"jletto_json=simple_to_jsonto_valueendmoduleIsDefaultVersion=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_valueendmoduleCreationTime=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_valueendmoduleDeletionTime=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_valueendmoduleLastOperations=structtypenonrect=OperationEntry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OperationEntry.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:OperationEntry.of_xml)letof_jsonj=list_of_json~kind:"LastOperations"~of_json:OperationEntry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLastUpdatedTime=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_valueendmoduleStackDriftInformationSummary=structtypenonrect={stackDriftStatus:StackDriftStatus.toption[@ocaml.doc"Status of the stack's actual configuration compared to its expected template configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: CloudFormation could not run drift detection for a resource in the stack."];lastCheckTimestamp:Timestamp.toption[@ocaml.doc"Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection."]}letmake?stackDriftStatus=fun?lastCheckTimestamp->fun()->{stackDriftStatus;lastCheckTimestamp}letto_valuex=structure_to_value[("StackDriftStatus",(Option.mapx.stackDriftStatus~f:StackDriftStatus.to_value));("LastCheckTimestamp",(Option.mapx.lastCheckTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastCheckTimestamp")inletstackDriftStatus=(Option.map~f:StackDriftStatus.of_xml)(Xml.childxml_arg0"StackDriftStatus")inmake?lastCheckTimestamp?stackDriftStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastCheckTimestamp=field_mapjson__"LastCheckTimestamp"Timestamp.of_jsoninletstackDriftStatus=field_mapjson__"StackDriftStatus"StackDriftStatus.of_jsoninmake?lastCheckTimestamp?stackDriftStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about whether the stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted."]moduleStackId=structtypenonrect=stringletcontext_="StackId"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:"StackId"jletto_json=simple_to_jsonto_valueendmoduleStackStatus=structtypenonrect=|CREATE_IN_PROGRESS|CREATE_FAILED|CREATE_COMPLETE|ROLLBACK_IN_PROGRESS|ROLLBACK_FAILED|ROLLBACK_COMPLETE|DELETE_IN_PROGRESS|DELETE_FAILED|DELETE_COMPLETE|UPDATE_IN_PROGRESS|UPDATE_COMPLETE_CLEANUP_IN_PROGRESS|UPDATE_COMPLETE|UPDATE_FAILED|UPDATE_ROLLBACK_IN_PROGRESS|UPDATE_ROLLBACK_FAILED|UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS|UPDATE_ROLLBACK_COMPLETE|REVIEW_IN_PROGRESS|IMPORT_IN_PROGRESS|IMPORT_COMPLETE|IMPORT_ROLLBACK_IN_PROGRESS|IMPORT_ROLLBACK_FAILED|IMPORT_ROLLBACK_COMPLETE|Non_static_idofstringletmakei=iletto_string=function|CREATE_IN_PROGRESS->"CREATE_IN_PROGRESS"|CREATE_FAILED->"CREATE_FAILED"|CREATE_COMPLETE->"CREATE_COMPLETE"|ROLLBACK_IN_PROGRESS->"ROLLBACK_IN_PROGRESS"|ROLLBACK_FAILED->"ROLLBACK_FAILED"|ROLLBACK_COMPLETE->"ROLLBACK_COMPLETE"|DELETE_IN_PROGRESS->"DELETE_IN_PROGRESS"|DELETE_FAILED->"DELETE_FAILED"|DELETE_COMPLETE->"DELETE_COMPLETE"|UPDATE_IN_PROGRESS->"UPDATE_IN_PROGRESS"|UPDATE_COMPLETE_CLEANUP_IN_PROGRESS->"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS"|UPDATE_COMPLETE->"UPDATE_COMPLETE"|UPDATE_FAILED->"UPDATE_FAILED"|UPDATE_ROLLBACK_IN_PROGRESS->"UPDATE_ROLLBACK_IN_PROGRESS"|UPDATE_ROLLBACK_FAILED->"UPDATE_ROLLBACK_FAILED"|UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS->"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS"|UPDATE_ROLLBACK_COMPLETE->"UPDATE_ROLLBACK_COMPLETE"|REVIEW_IN_PROGRESS->"REVIEW_IN_PROGRESS"|IMPORT_IN_PROGRESS->"IMPORT_IN_PROGRESS"|IMPORT_COMPLETE->"IMPORT_COMPLETE"|IMPORT_ROLLBACK_IN_PROGRESS->"IMPORT_ROLLBACK_IN_PROGRESS"|IMPORT_ROLLBACK_FAILED->"IMPORT_ROLLBACK_FAILED"|IMPORT_ROLLBACK_COMPLETE->"IMPORT_ROLLBACK_COMPLETE"|Non_static_ids->sletof_string=function|"CREATE_IN_PROGRESS"->CREATE_IN_PROGRESS|"CREATE_FAILED"->CREATE_FAILED|"CREATE_COMPLETE"->CREATE_COMPLETE|"ROLLBACK_IN_PROGRESS"->ROLLBACK_IN_PROGRESS|"ROLLBACK_FAILED"->ROLLBACK_FAILED|"ROLLBACK_COMPLETE"->ROLLBACK_COMPLETE|"DELETE_IN_PROGRESS"->DELETE_IN_PROGRESS|"DELETE_FAILED"->DELETE_FAILED|"DELETE_COMPLETE"->DELETE_COMPLETE|"UPDATE_IN_PROGRESS"->UPDATE_IN_PROGRESS|"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS"->UPDATE_COMPLETE_CLEANUP_IN_PROGRESS|"UPDATE_COMPLETE"->UPDATE_COMPLETE|"UPDATE_FAILED"->UPDATE_FAILED|"UPDATE_ROLLBACK_IN_PROGRESS"->UPDATE_ROLLBACK_IN_PROGRESS|"UPDATE_ROLLBACK_FAILED"->UPDATE_ROLLBACK_FAILED|"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS"->UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS|"UPDATE_ROLLBACK_COMPLETE"->UPDATE_ROLLBACK_COMPLETE|"REVIEW_IN_PROGRESS"->REVIEW_IN_PROGRESS|"IMPORT_IN_PROGRESS"->IMPORT_IN_PROGRESS|"IMPORT_COMPLETE"->IMPORT_COMPLETE|"IMPORT_ROLLBACK_IN_PROGRESS"->IMPORT_ROLLBACK_IN_PROGRESS|"IMPORT_ROLLBACK_FAILED"->IMPORT_ROLLBACK_FAILED|"IMPORT_ROLLBACK_COMPLETE"->IMPORT_ROLLBACK_COMPLETE|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 StackStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackStatusReason=structtypenonrect=stringletcontext_="StackStatusReason"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:"StackStatusReason"jletto_json=simple_to_jsonto_valueendmoduleTemplateDescription=structtypenonrect=stringletcontext_="TemplateDescription"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:"TemplateDescription"jletto_json=simple_to_jsonto_valueendmoduleAutoDeployment=structtypenonrect={enabled:AutoDeploymentNullable.toption[@ocaml.doc"If set to true, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions."];retainStacksOnAccountRemoval:RetainStacksOnAccountRemovalNullable.toption[@ocaml.doc"If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True."];dependsOn:StackSetARNList.toption[@ocaml.doc"A list of StackSet ARNs that this StackSet depends on for auto-deployment operations. When auto-deployment is triggered, operations will be sequenced to ensure all dependencies complete successfully before this StackSet's operation begins."]}letmake?enabled=fun?retainStacksOnAccountRemoval->fun?dependsOn->fun()->{enabled;retainStacksOnAccountRemoval;dependsOn}letto_valuex=structure_to_value[("Enabled",(Option.mapx.enabled~f:AutoDeploymentNullable.to_value));("RetainStacksOnAccountRemoval",(Option.mapx.retainStacksOnAccountRemoval~f:RetainStacksOnAccountRemovalNullable.to_value));("DependsOn",(Option.mapx.dependsOn~f:StackSetARNList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdependsOn=(Option.map~f:StackSetARNList.of_xml)(Xml.childxml_arg0"DependsOn")inletretainStacksOnAccountRemoval=(Option.map~f:RetainStacksOnAccountRemovalNullable.of_xml)(Xml.childxml_arg0"RetainStacksOnAccountRemoval")inletenabled=(Option.map~f:AutoDeploymentNullable.of_xml)(Xml.childxml_arg0"Enabled")inmake?dependsOn?retainStacksOnAccountRemoval?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdependsOn=field_mapjson__"DependsOn"StackSetARNList.of_jsoninletretainStacksOnAccountRemoval=field_mapjson__"RetainStacksOnAccountRemoval"RetainStacksOnAccountRemovalNullable.of_jsoninletenabled=field_mapjson__"Enabled"AutoDeploymentNullable.of_jsoninmake?dependsOn?retainStacksOnAccountRemoval?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see Enable or disable automatic deployments for StackSets in Organizations in the CloudFormation User Guide."]moduleManagedExecution=structtypenonrect={active:ManagedExecutionNullable.toption[@ocaml.doc"When true, CloudFormation performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, CloudFormation starts queued operations in request order. If there are already running or queued operations, CloudFormation queues all incoming operations even if they are non-conflicting. You can't modify your StackSet's execution configuration while there are running or queued operations for that StackSet. When false (default), StackSets performs one operation at a time in request order."]}letmake?active=fun()->{active}letto_valuex=structure_to_value[("Active",(Option.mapx.active~f:ManagedExecutionNullable.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letactive=(Option.map~f:ManagedExecutionNullable.of_xml)(Xml.childxml_arg0"Active")inmake?active()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letactive=field_mapjson__"Active"ManagedExecutionNullable.of_jsoninmake?active()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations."]modulePermissionModels=structtypenonrect=|SERVICE_MANAGED|SELF_MANAGED|Non_static_idofstringletmakei=iletto_string=function|SERVICE_MANAGED->"SERVICE_MANAGED"|SELF_MANAGED->"SELF_MANAGED"|Non_static_ids->sletof_string=function|"SERVICE_MANAGED"->SERVICE_MANAGED|"SELF_MANAGED"->SELF_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 PermissionModels"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PermissionModels"j)letto_json=simple_to_jsonto_valueendmoduleStackSetId=structtypenonrect=stringletcontext_="StackSetId"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:"StackSetId"jletto_json=simple_to_jsonto_valueendmoduleStackSetName=structtypenonrect=stringletcontext_="StackSetName"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:"StackSetName"jletto_json=simple_to_jsonto_valueendmoduleStackSetStatus=structtypenonrect=|ACTIVE|DELETED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|DELETED->"DELETED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"DELETED"->DELETED|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 StackSetStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackSetStatus"j)letto_json=simple_to_jsonto_valueendmoduleClientRequestToken=structtypenonrect=stringletcontext_="ClientRequestToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[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:"ClientRequestToken"jletto_json=simple_to_jsonto_valueendmoduleStackSetOperationAction=structtypenonrect=|CREATE|UPDATE|DELETE|DETECT_DRIFT|Non_static_idofstringletmakei=iletto_string=function|CREATE->"CREATE"|UPDATE->"UPDATE"|DELETE->"DELETE"|DETECT_DRIFT->"DETECT_DRIFT"|Non_static_ids->sletof_string=function|"CREATE"->CREATE|"UPDATE"->UPDATE|"DELETE"->DELETE|"DETECT_DRIFT"->DETECT_DRIFT|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 StackSetOperationAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackSetOperationAction"j)letto_json=simple_to_jsonto_valueendmoduleStackSetOperationPreferences=structtypenonrect={regionConcurrencyType:RegionConcurrencyType.toption[@ocaml.doc"The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time."];regionOrder:RegionList.toption[@ocaml.doc"The order of the Regions where you want to perform the stack operation."];failureToleranceCount:FailureToleranceCount.toption[@ocaml.doc"The number of accounts per Region this operation can fail in before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions. You can specify either FailureToleranceCount or FailureTolerancePercentage, but not both. By default, 0 is specified."];failureTolerancePercentage:FailureTolerancePercentage.toption[@ocaml.doc"The percentage of accounts per Region this stack operation can fail in before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions. When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. You can specify either FailureToleranceCount or FailureTolerancePercentage, but not both. By default, 0 is specified."];maxConcurrentCount:MaxConcurrentCount.toption[@ocaml.doc"The maximum number of accounts in which to perform this operation at one time. This can depend on the value of FailureToleranceCount depending on your ConcurrencyMode. MaxConcurrentCount is at most one more than the FailureToleranceCount if you're using STRICT_FAILURE_TOLERANCE. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You can specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both. By default, 1 is specified."];maxConcurrentPercentage:MaxConcurrentPercentage.toption[@ocaml.doc"The maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You can specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both. By default, 1 is specified."];concurrencyMode:ConcurrencyMode.toption[@ocaml.doc"Specifies how the concurrency level behaves during the operation execution. STRICT_FAILURE_TOLERANCE: This option dynamically lowers the concurrency level to ensure the number of failed accounts never exceeds the value of FailureToleranceCount +1. The initial actual concurrency is set to the lower of either the value of the MaxConcurrentCount, or the value of FailureToleranceCount +1. The actual concurrency is then reduced proportionally by the number of failures. This is the default behavior. If failure tolerance or Maximum concurrent accounts are set to percentages, the behavior is similar. SOFT_FAILURE_TOLERANCE: This option decouples FailureToleranceCount from the actual concurrency. This allows StackSet operations to run at the concurrency level set by the MaxConcurrentCount value, or MaxConcurrentPercentage, regardless of the number of failures."]}letmake?regionConcurrencyType=fun?regionOrder->fun?failureToleranceCount->fun?failureTolerancePercentage->fun?maxConcurrentCount->fun?maxConcurrentPercentage->fun?concurrencyMode->fun()->{regionConcurrencyType;regionOrder;failureToleranceCount;failureTolerancePercentage;maxConcurrentCount;maxConcurrentPercentage;concurrencyMode}letto_valuex=structure_to_value[("RegionConcurrencyType",(Option.mapx.regionConcurrencyType~f:RegionConcurrencyType.to_value));("RegionOrder",(Option.mapx.regionOrder~f:RegionList.to_value));("FailureToleranceCount",(Option.mapx.failureToleranceCount~f:FailureToleranceCount.to_value));("FailureTolerancePercentage",(Option.mapx.failureTolerancePercentage~f:FailureTolerancePercentage.to_value));("MaxConcurrentCount",(Option.mapx.maxConcurrentCount~f:MaxConcurrentCount.to_value));("MaxConcurrentPercentage",(Option.mapx.maxConcurrentPercentage~f:MaxConcurrentPercentage.to_value));("ConcurrencyMode",(Option.mapx.concurrencyMode~f:ConcurrencyMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconcurrencyMode=(Option.map~f:ConcurrencyMode.of_xml)(Xml.childxml_arg0"ConcurrencyMode")inletmaxConcurrentPercentage=(Option.map~f:MaxConcurrentPercentage.of_xml)(Xml.childxml_arg0"MaxConcurrentPercentage")inletmaxConcurrentCount=(Option.map~f:MaxConcurrentCount.of_xml)(Xml.childxml_arg0"MaxConcurrentCount")inletfailureTolerancePercentage=(Option.map~f:FailureTolerancePercentage.of_xml)(Xml.childxml_arg0"FailureTolerancePercentage")inletfailureToleranceCount=(Option.map~f:FailureToleranceCount.of_xml)(Xml.childxml_arg0"FailureToleranceCount")inletregionOrder=(Option.map~f:RegionList.of_xml)(Xml.childxml_arg0"RegionOrder")inletregionConcurrencyType=(Option.map~f:RegionConcurrencyType.of_xml)(Xml.childxml_arg0"RegionConcurrencyType")inmake?concurrencyMode?maxConcurrentPercentage?maxConcurrentCount?failureTolerancePercentage?failureToleranceCount?regionOrder?regionConcurrencyType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconcurrencyMode=field_mapjson__"ConcurrencyMode"ConcurrencyMode.of_jsoninletmaxConcurrentPercentage=field_mapjson__"MaxConcurrentPercentage"MaxConcurrentPercentage.of_jsoninletmaxConcurrentCount=field_mapjson__"MaxConcurrentCount"MaxConcurrentCount.of_jsoninletfailureTolerancePercentage=field_mapjson__"FailureTolerancePercentage"FailureTolerancePercentage.of_jsoninletfailureToleranceCount=field_mapjson__"FailureToleranceCount"FailureToleranceCount.of_jsoninletregionOrder=field_mapjson__"RegionOrder"RegionList.of_jsoninletregionConcurrencyType=field_mapjson__"RegionConcurrencyType"RegionConcurrencyType.of_jsoninmake?concurrencyMode?maxConcurrentPercentage?maxConcurrentCount?failureTolerancePercentage?failureToleranceCount?regionOrder?regionConcurrencyType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user-specified preferences for how CloudFormation performs a StackSet operation. For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options. StackSetOperationPreferences don't apply to AutoDeployment, even if it's enabled."]moduleStackSetOperationStatus=structtypenonrect=|RUNNING|SUCCEEDED|FAILED|STOPPING|STOPPED|QUEUED|Non_static_idofstringletmakei=iletto_string=function|RUNNING->"RUNNING"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|STOPPING->"STOPPING"|STOPPED->"STOPPED"|QUEUED->"QUEUED"|Non_static_ids->sletof_string=function|"RUNNING"->RUNNING|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"STOPPING"->STOPPING|"STOPPED"->STOPPED|"QUEUED"->QUEUED|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 StackSetOperationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackSetOperationStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackSetOperationStatusDetails=structtypenonrect={failedStackInstancesCount:FailedStackInstancesCount.toption[@ocaml.doc"The number of stack instances for which the StackSet operation failed."]}letmake?failedStackInstancesCount=fun()->{failedStackInstancesCount}letto_valuex=structure_to_value[("FailedStackInstancesCount",(Option.mapx.failedStackInstancesCount~f:FailedStackInstancesCount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailedStackInstancesCount=(Option.map~f:FailedStackInstancesCount.of_xml)(Xml.childxml_arg0"FailedStackInstancesCount")inmake?failedStackInstancesCount()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailedStackInstancesCount=field_mapjson__"FailedStackInstancesCount"FailedStackInstancesCount.of_jsoninmake?failedStackInstancesCount()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about the StackSet operation."]moduleStackSetOperationStatusReason=structtypenonrect=stringletcontext_="StackSetOperationStatusReason"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:"StackSetOperationStatusReason"jletto_json=simple_to_jsonto_valueendmoduleAccountGateResult=structtypenonrect={status:AccountGateStatus.toption[@ocaml.doc"The status of the account gate function. SUCCEEDED: The account gate function has determined that the account and Region passes any requirements for a StackSet operation to occur. CloudFormation proceeds with the stack operation in that account and Region. FAILED: The account gate function has determined that the account and Region doesn't meet the requirements for a StackSet operation to occur. CloudFormation cancels the StackSet operation in that account and Region, and sets the StackSet operation result status for that account and Region to FAILED. SKIPPED: CloudFormation has skipped calling the account gate function for this account and Region, for one of the following reasons: An account gate function hasn't been specified for the account and Region. CloudFormation proceeds with the StackSet operation in this account and Region. The AWSCloudFormationStackSetExecutionRole of the administration account lacks permissions to invoke the function. CloudFormation proceeds with the StackSet operation in this account and Region. Either no action is necessary, or no action is possible, on the stack. CloudFormation skips the StackSet operation in this account and Region."];statusReason:AccountGateStatusReason.toption[@ocaml.doc"The reason for the account gate status assigned to this account and Region for the StackSet operation."]}letmake?status=fun?statusReason->fun()->{status;statusReason}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:AccountGateStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:AccountGateStatusReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusReason=(Option.map~f:AccountGateStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:AccountGateStatus.of_xml)(Xml.childxml_arg0"Status")inmake?statusReason?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusReason=field_mapjson__"StatusReason"AccountGateStatusReason.of_jsoninletstatus=field_mapjson__"Status"AccountGateStatus.of_jsoninmake?statusReason?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Structure that contains the results of the account gate function which CloudFormation invokes, if present, before proceeding with a StackSet operation in an account and Region. For each account and Region, CloudFormation lets you specify a Lambda function that encapsulates any requirements that must be met before CloudFormation can proceed with a StackSet operation in that account and Region. CloudFormation invokes the function each time a StackSet operation is requested for that account and Region; if the function returns FAILED, CloudFormation cancels the operation in that account and Region, and sets the StackSet operation result status for that account and Region to FAILED. For more information, see Prevent failed StackSets deployments using target account gates in the CloudFormation User Guide."]moduleReason=structtypenonrect=stringletcontext_="Reason"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:"Reason"jletto_json=simple_to_jsonto_valueendmoduleStackSetOperationResultStatus=structtypenonrect=|PENDING|RUNNING|SUCCEEDED|FAILED|CANCELLED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|RUNNING->"RUNNING"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|CANCELLED->"CANCELLED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"RUNNING"->RUNNING|"SUCCEEDED"->SUCCEEDED|"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 StackSetOperationResultStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackSetOperationResultStatus"j)letto_json=simple_to_jsonto_valueendmoduleOperationResultFilterName=structtypenonrect=|OPERATION_RESULT_STATUS|Non_static_idofstringletmakei=iletto_string=function|OPERATION_RESULT_STATUS->"OPERATION_RESULT_STATUS"|Non_static_ids->sletof_string=function|"OPERATION_RESULT_STATUS"->OPERATION_RESULT_STATUS|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 OperationResultFilterName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OperationResultFilterName"j)letto_json=simple_to_jsonto_valueendmoduleOperationResultFilterValues=structtypenonrect=stringletcontext_="OperationResultFilterValues"letmakei=letopenResultinok_or_failwith((check_string_mini~min:6)>>=(fun()->(check_string_maxi~max:9)>>=(fun()->check_patterni~pattern:"^\\S{6,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:"OperationResultFilterValues"jletto_json=simple_to_jsonto_valueendmoduleResourceStatus=structtypenonrect=|CREATE_IN_PROGRESS|CREATE_FAILED|CREATE_COMPLETE|DELETE_IN_PROGRESS|DELETE_FAILED|DELETE_COMPLETE|DELETE_SKIPPED|UPDATE_IN_PROGRESS|UPDATE_FAILED|UPDATE_COMPLETE|IMPORT_FAILED|IMPORT_COMPLETE|IMPORT_IN_PROGRESS|IMPORT_ROLLBACK_IN_PROGRESS|IMPORT_ROLLBACK_FAILED|IMPORT_ROLLBACK_COMPLETE|EXPORT_FAILED|EXPORT_COMPLETE|EXPORT_IN_PROGRESS|EXPORT_ROLLBACK_IN_PROGRESS|EXPORT_ROLLBACK_FAILED|EXPORT_ROLLBACK_COMPLETE|UPDATE_ROLLBACK_IN_PROGRESS|UPDATE_ROLLBACK_COMPLETE|UPDATE_ROLLBACK_FAILED|ROLLBACK_IN_PROGRESS|ROLLBACK_COMPLETE|ROLLBACK_FAILED|Non_static_idofstringletmakei=iletto_string=function|CREATE_IN_PROGRESS->"CREATE_IN_PROGRESS"|CREATE_FAILED->"CREATE_FAILED"|CREATE_COMPLETE->"CREATE_COMPLETE"|DELETE_IN_PROGRESS->"DELETE_IN_PROGRESS"|DELETE_FAILED->"DELETE_FAILED"|DELETE_COMPLETE->"DELETE_COMPLETE"|DELETE_SKIPPED->"DELETE_SKIPPED"|UPDATE_IN_PROGRESS->"UPDATE_IN_PROGRESS"|UPDATE_FAILED->"UPDATE_FAILED"|UPDATE_COMPLETE->"UPDATE_COMPLETE"|IMPORT_FAILED->"IMPORT_FAILED"|IMPORT_COMPLETE->"IMPORT_COMPLETE"|IMPORT_IN_PROGRESS->"IMPORT_IN_PROGRESS"|IMPORT_ROLLBACK_IN_PROGRESS->"IMPORT_ROLLBACK_IN_PROGRESS"|IMPORT_ROLLBACK_FAILED->"IMPORT_ROLLBACK_FAILED"|IMPORT_ROLLBACK_COMPLETE->"IMPORT_ROLLBACK_COMPLETE"|EXPORT_FAILED->"EXPORT_FAILED"|EXPORT_COMPLETE->"EXPORT_COMPLETE"|EXPORT_IN_PROGRESS->"EXPORT_IN_PROGRESS"|EXPORT_ROLLBACK_IN_PROGRESS->"EXPORT_ROLLBACK_IN_PROGRESS"|EXPORT_ROLLBACK_FAILED->"EXPORT_ROLLBACK_FAILED"|EXPORT_ROLLBACK_COMPLETE->"EXPORT_ROLLBACK_COMPLETE"|UPDATE_ROLLBACK_IN_PROGRESS->"UPDATE_ROLLBACK_IN_PROGRESS"|UPDATE_ROLLBACK_COMPLETE->"UPDATE_ROLLBACK_COMPLETE"|UPDATE_ROLLBACK_FAILED->"UPDATE_ROLLBACK_FAILED"|ROLLBACK_IN_PROGRESS->"ROLLBACK_IN_PROGRESS"|ROLLBACK_COMPLETE->"ROLLBACK_COMPLETE"|ROLLBACK_FAILED->"ROLLBACK_FAILED"|Non_static_ids->sletof_string=function|"CREATE_IN_PROGRESS"->CREATE_IN_PROGRESS|"CREATE_FAILED"->CREATE_FAILED|"CREATE_COMPLETE"->CREATE_COMPLETE|"DELETE_IN_PROGRESS"->DELETE_IN_PROGRESS|"DELETE_FAILED"->DELETE_FAILED|"DELETE_COMPLETE"->DELETE_COMPLETE|"DELETE_SKIPPED"->DELETE_SKIPPED|"UPDATE_IN_PROGRESS"->UPDATE_IN_PROGRESS|"UPDATE_FAILED"->UPDATE_FAILED|"UPDATE_COMPLETE"->UPDATE_COMPLETE|"IMPORT_FAILED"->IMPORT_FAILED|"IMPORT_COMPLETE"->IMPORT_COMPLETE|"IMPORT_IN_PROGRESS"->IMPORT_IN_PROGRESS|"IMPORT_ROLLBACK_IN_PROGRESS"->IMPORT_ROLLBACK_IN_PROGRESS|"IMPORT_ROLLBACK_FAILED"->IMPORT_ROLLBACK_FAILED|"IMPORT_ROLLBACK_COMPLETE"->IMPORT_ROLLBACK_COMPLETE|"EXPORT_FAILED"->EXPORT_FAILED|"EXPORT_COMPLETE"->EXPORT_COMPLETE|"EXPORT_IN_PROGRESS"->EXPORT_IN_PROGRESS|"EXPORT_ROLLBACK_IN_PROGRESS"->EXPORT_ROLLBACK_IN_PROGRESS|"EXPORT_ROLLBACK_FAILED"->EXPORT_ROLLBACK_FAILED|"EXPORT_ROLLBACK_COMPLETE"->EXPORT_ROLLBACK_COMPLETE|"UPDATE_ROLLBACK_IN_PROGRESS"->UPDATE_ROLLBACK_IN_PROGRESS|"UPDATE_ROLLBACK_COMPLETE"->UPDATE_ROLLBACK_COMPLETE|"UPDATE_ROLLBACK_FAILED"->UPDATE_ROLLBACK_FAILED|"ROLLBACK_IN_PROGRESS"->ROLLBACK_IN_PROGRESS|"ROLLBACK_COMPLETE"->ROLLBACK_COMPLETE|"ROLLBACK_FAILED"->ROLLBACK_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 ResourceStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceStatusReason=structtypenonrect=stringletcontext_="ResourceStatusReason"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:"ResourceStatusReason"jletto_json=simple_to_jsonto_valueendmoduleStackResourceDriftInformationSummary=structtypenonrect={stackResourceDriftStatus:StackResourceDriftStatus.toption[@ocaml.doc"Status of the resource's actual configuration compared to its expected configuration. DELETED: The resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from its expected configuration. NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration. Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information about skipping resources during rollback operations, see Continue rolling back an update in the CloudFormation User Guide. IN_SYNC: The resource's actual configuration matches its expected configuration."];lastCheckTimestamp:Timestamp.toption[@ocaml.doc"When CloudFormation last checked if the resource had drifted from its expected configuration."]}letmake?stackResourceDriftStatus=fun?lastCheckTimestamp->fun()->{stackResourceDriftStatus;lastCheckTimestamp}letto_valuex=structure_to_value[("StackResourceDriftStatus",(Option.mapx.stackResourceDriftStatus~f:StackResourceDriftStatus.to_value));("LastCheckTimestamp",(Option.mapx.lastCheckTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastCheckTimestamp")inletstackResourceDriftStatus=(Option.map~f:StackResourceDriftStatus.of_xml)(Xml.childxml_arg0"StackResourceDriftStatus")inmake?lastCheckTimestamp?stackResourceDriftStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastCheckTimestamp=field_mapjson__"LastCheckTimestamp"Timestamp.of_jsoninletstackResourceDriftStatus=field_mapjson__"StackResourceDriftStatus"StackResourceDriftStatus.of_jsoninmake?lastCheckTimestamp?stackResourceDriftStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summarizes information about whether the resource's actual configuration differs, or has drifted, from its expected configuration."]moduleExecutionStatusReason=structtypenonrect=stringletcontext_="ExecutionStatusReason"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:"ExecutionStatusReason"jletto_json=simple_to_jsonto_valueendmoduleStackRefactorExecutionStatus=structtypenonrect=|UNAVAILABLE|AVAILABLE|OBSOLETE|EXECUTE_IN_PROGRESS|EXECUTE_COMPLETE|EXECUTE_FAILED|ROLLBACK_IN_PROGRESS|ROLLBACK_COMPLETE|ROLLBACK_FAILED|Non_static_idofstringletmakei=iletto_string=function|UNAVAILABLE->"UNAVAILABLE"|AVAILABLE->"AVAILABLE"|OBSOLETE->"OBSOLETE"|EXECUTE_IN_PROGRESS->"EXECUTE_IN_PROGRESS"|EXECUTE_COMPLETE->"EXECUTE_COMPLETE"|EXECUTE_FAILED->"EXECUTE_FAILED"|ROLLBACK_IN_PROGRESS->"ROLLBACK_IN_PROGRESS"|ROLLBACK_COMPLETE->"ROLLBACK_COMPLETE"|ROLLBACK_FAILED->"ROLLBACK_FAILED"|Non_static_ids->sletof_string=function|"UNAVAILABLE"->UNAVAILABLE|"AVAILABLE"->AVAILABLE|"OBSOLETE"->OBSOLETE|"EXECUTE_IN_PROGRESS"->EXECUTE_IN_PROGRESS|"EXECUTE_COMPLETE"->EXECUTE_COMPLETE|"EXECUTE_FAILED"->EXECUTE_FAILED|"ROLLBACK_IN_PROGRESS"->ROLLBACK_IN_PROGRESS|"ROLLBACK_COMPLETE"->ROLLBACK_COMPLETE|"ROLLBACK_FAILED"->ROLLBACK_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 StackRefactorExecutionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackRefactorExecutionStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackRefactorId=structtypenonrect=stringletcontext_="StackRefactorId"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:"StackRefactorId"jletto_json=simple_to_jsonto_valueendmoduleStackRefactorStatus=structtypenonrect=|CREATE_IN_PROGRESS|CREATE_COMPLETE|CREATE_FAILED|DELETE_IN_PROGRESS|DELETE_COMPLETE|DELETE_FAILED|Non_static_idofstringletmakei=iletto_string=function|CREATE_IN_PROGRESS->"CREATE_IN_PROGRESS"|CREATE_COMPLETE->"CREATE_COMPLETE"|CREATE_FAILED->"CREATE_FAILED"|DELETE_IN_PROGRESS->"DELETE_IN_PROGRESS"|DELETE_COMPLETE->"DELETE_COMPLETE"|DELETE_FAILED->"DELETE_FAILED"|Non_static_ids->sletof_string=function|"CREATE_IN_PROGRESS"->CREATE_IN_PROGRESS|"CREATE_COMPLETE"->CREATE_COMPLETE|"CREATE_FAILED"->CREATE_FAILED|"DELETE_IN_PROGRESS"->DELETE_IN_PROGRESS|"DELETE_COMPLETE"->DELETE_COMPLETE|"DELETE_FAILED"->DELETE_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 StackRefactorStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackRefactorStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackRefactorStatusReason=structtypenonrect=stringletcontext_="StackRefactorStatusReason"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:"StackRefactorStatusReason"jletto_json=simple_to_jsonto_valueendmoduleDetectionReason=structtypenonrect=stringletcontext_="DetectionReason"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:"DetectionReason"jletto_json=simple_to_jsonto_valueendmoduleResourceMapping=structtypenonrect={source:ResourceLocation.t[@ocaml.doc"The source stack StackName and LogicalResourceId for the resource being refactored."];destination:ResourceLocation.t[@ocaml.doc"The destination stack StackName and LogicalResourceId for the resource being refactored."]}letcontext_="ResourceMapping"letmake~source=fun~destination->fun()->{source;destination}letto_valuex=structure_to_value[("Source",(Some(ResourceLocation.to_valuex.source)));("Destination",(Some(ResourceLocation.to_valuex.destination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestination=ResourceLocation.of_xml(Xml.child_exn~context:context_xml_arg0"Destination")inletsource=ResourceLocation.of_xml(Xml.child_exn~context:context_xml_arg0"Source")inmake~destination~source()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestination=field_map_exnjson__"Destination"ResourceLocation.of_jsoninletsource=field_map_exnjson__"Source"ResourceLocation.of_jsoninmake~destination~source()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the current source of the resource and the destination of where it will be moved to."]moduleStackRefactorActionEntity=structtypenonrect=|RESOURCE|STACK|Non_static_idofstringletmakei=iletto_string=function|RESOURCE->"RESOURCE"|STACK->"STACK"|Non_static_ids->sletof_string=function|"RESOURCE"->RESOURCE|"STACK"->STACK|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration StackRefactorActionEntity"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackRefactorActionEntity"j)letto_json=simple_to_jsonto_valueendmoduleStackRefactorActionType=structtypenonrect=|MOVE|CREATE|Non_static_idofstringletmakei=iletto_string=function|MOVE->"MOVE"|CREATE->"CREATE"|Non_static_ids->sletof_string=function|"MOVE"->MOVE|"CREATE"->CREATE|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 StackRefactorActionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackRefactorActionType"j)letto_json=simple_to_jsonto_valueendmoduleStackRefactorDetection=structtypenonrect=|AUTO|MANUAL|Non_static_idofstringletmakei=iletto_string=function|AUTO->"AUTO"|MANUAL->"MANUAL"|Non_static_ids->sletof_string=function|"AUTO"->AUTO|"MANUAL"->MANUAL|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 StackRefactorDetection"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackRefactorDetection"j)letto_json=simple_to_jsonto_valueendmoduleStackRefactorResourceIdentifier=structtypenonrect=stringletcontext_="StackRefactorResourceIdentifier"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:"StackRefactorResourceIdentifier"jletto_json=simple_to_jsonto_valueendmoduleStackRefactorTagResources=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:"StackRefactorTagResources"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackRefactorUntagResources=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:"StackRefactorUntagResources"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackInstanceComprehensiveStatus=structtypenonrect={detailedStatus:StackInstanceDetailedStatus.toption[@ocaml.doc"CANCELLED: The operation in the specified account and Region has been canceled. This is either because a user has stopped the StackSet operation, or because the failure tolerance of the StackSet operation has been exceeded. FAILED: The operation in the specified account and Region failed. If the StackSet operation fails in enough accounts within a Region, the failure tolerance for the StackSet operation as a whole might be exceeded. FAILED_IMPORT: The import of the stack instance in the specified account and Region failed and left the stack in an unstable state. Once the issues causing the failure are fixed, the import operation can be retried. If enough StackSet operations fail in enough accounts within a Region, the failure tolerance for the StackSet operation as a whole might be exceeded. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. PENDING: The operation in the specified account and Region has yet to start. RUNNING: The operation in the specified account and Region is currently in progress. SKIPPED_SUSPENDED_ACCOUNT: The operation in the specified account and Region has been skipped because the account was suspended at the time of the operation. SUCCEEDED: The operation in the specified account and Region completed successfully."]}letmake?detailedStatus=fun()->{detailedStatus}letto_valuex=structure_to_value[("DetailedStatus",(Option.mapx.detailedStatus~f:StackInstanceDetailedStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdetailedStatus=(Option.map~f:StackInstanceDetailedStatus.of_xml)(Xml.childxml_arg0"DetailedStatus")inmake?detailedStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdetailedStatus=field_mapjson__"DetailedStatus"StackInstanceDetailedStatus.of_jsoninmake?detailedStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The detailed status of the stack instance."]moduleStackInstanceStatus=structtypenonrect=|CURRENT|OUTDATED|INOPERABLE|Non_static_idofstringletmakei=iletto_string=function|CURRENT->"CURRENT"|OUTDATED->"OUTDATED"|INOPERABLE->"INOPERABLE"|Non_static_ids->sletof_string=function|"CURRENT"->CURRENT|"OUTDATED"->OUTDATED|"INOPERABLE"->INOPERABLE|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 StackInstanceStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackInstanceStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackInstanceFilterName=structtypenonrect=|DETAILED_STATUS|LAST_OPERATION_ID|DRIFT_STATUS|Non_static_idofstringletmakei=iletto_string=function|DETAILED_STATUS->"DETAILED_STATUS"|LAST_OPERATION_ID->"LAST_OPERATION_ID"|DRIFT_STATUS->"DRIFT_STATUS"|Non_static_ids->sletof_string=function|"DETAILED_STATUS"->DETAILED_STATUS|"LAST_OPERATION_ID"->LAST_OPERATION_ID|"DRIFT_STATUS"->DRIFT_STATUS|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 StackInstanceFilterName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackInstanceFilterName"j)letto_json=simple_to_jsonto_valueendmoduleStackInstanceFilterValues=structtypenonrect=stringletcontext_="StackInstanceFilterValues"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^\\S{1,128}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StackInstanceFilterValues"jletto_json=simple_to_jsonto_valueendmodulePhysicalResourceIdContext=structtypenonrect=PhysicalResourceIdContextKeyValuePair.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:PhysicalResourceIdContextKeyValuePair.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:PhysicalResourceIdContextKeyValuePair.of_xml)letof_jsonj=list_of_json~kind:"PhysicalResourceIdContext"~of_json:PhysicalResourceIdContextKeyValuePair.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePropertyDifferences=structtypenonrect=PropertyDifference.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PropertyDifference.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:PropertyDifference.of_xml)letof_jsonj=list_of_json~kind:"PropertyDifferences"~of_json:PropertyDifference.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePercentageCompleted=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_valueendmoduleResourceScanId=structtypenonrect=stringletcontext_="ResourceScanId"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:"ResourceScanId"jletto_json=simple_to_jsonto_valueendmoduleResourceScanStatus=structtypenonrect=|IN_PROGRESS|FAILED|COMPLETE|EXPIRED|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|FAILED->"FAILED"|COMPLETE->"COMPLETE"|EXPIRED->"EXPIRED"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"FAILED"->FAILED|"COMPLETE"->COMPLETE|"EXPIRED"->EXPIRED|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 ResourceScanStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceScanStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceScanStatusReason=structtypenonrect=stringletcontext_="ResourceScanStatusReason"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:"ResourceScanStatusReason"jletto_json=simple_to_jsonto_valueendmoduleScanType=structtypenonrect=|FULL|PARTIAL|Non_static_idofstringletmakei=iletto_string=function|FULL->"FULL"|PARTIAL->"PARTIAL"|Non_static_ids->sletof_string=function|"FULL"->FULL|"PARTIAL"->PARTIAL|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 ScanType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ScanType"j)letto_json=simple_to_jsonto_valueendmoduleJazzResourceIdentifierProperties=structtypenonrect=(JazzResourceIdentifierPropertyKey.t*JazzResourceIdentifierPropertyValue.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((JazzResourceIdentifierPropertyKey.of_stringchopped),(JazzResourceIdentifierPropertyValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(JazzResourceIdentifierPropertyKey.to_valuex)|>(funx->(JazzResourceIdentifierPropertyValue.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:JazzResourceIdentifierPropertyKey.of_string~of_json:JazzResourceIdentifierPropertyValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleManagedByStack=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_valueendmoduleHookFailureMode=structtypenonrect=|FAIL|WARN|Non_static_idofstringletmakei=iletto_string=function|FAIL->"FAIL"|WARN->"WARN"|Non_static_ids->sletof_string=function|"FAIL"->FAIL|"WARN"->WARN|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 HookFailureMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HookFailureMode"j)letto_json=simple_to_jsonto_valueendmoduleHookInvocationId=structtypenonrect=stringletcontext_="HookInvocationId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:36)>>=(fun()->(check_string_maxi~max:36)>>=(fun()->check_patterni~pattern:"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HookInvocationId"jletto_json=simple_to_jsonto_valueendmoduleHookInvocationPoint=structtypenonrect=|PRE_PROVISION|Non_static_idofstringletmakei=iletto_string=function|PRE_PROVISION->"PRE_PROVISION"|Non_static_ids->sletof_string=function|"PRE_PROVISION"->PRE_PROVISION|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 HookInvocationPoint"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HookInvocationPoint"j)letto_json=simple_to_jsonto_valueendmoduleHookResultId=structtypenonrect=stringletcontext_="HookResultId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1600)>>=(fun()->check_patterni~pattern:"[a-zA-Z][-a-zA-Z0-9]*|arn:[-a-zA-Z0-9:/]*|^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HookResultId"jletto_json=simple_to_jsonto_valueendmoduleHookStatus=structtypenonrect=|HOOK_IN_PROGRESS|HOOK_COMPLETE_SUCCEEDED|HOOK_COMPLETE_FAILED|HOOK_FAILED|Non_static_idofstringletmakei=iletto_string=function|HOOK_IN_PROGRESS->"HOOK_IN_PROGRESS"|HOOK_COMPLETE_SUCCEEDED->"HOOK_COMPLETE_SUCCEEDED"|HOOK_COMPLETE_FAILED->"HOOK_COMPLETE_FAILED"|HOOK_FAILED->"HOOK_FAILED"|Non_static_ids->sletof_string=function|"HOOK_IN_PROGRESS"->HOOK_IN_PROGRESS|"HOOK_COMPLETE_SUCCEEDED"->HOOK_COMPLETE_SUCCEEDED|"HOOK_COMPLETE_FAILED"->HOOK_COMPLETE_FAILED|"HOOK_FAILED"->HOOK_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 HookStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HookStatus"j)letto_json=simple_to_jsonto_valueendmoduleHookStatusReason=structtypenonrect=stringletcontext_="HookStatusReason"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(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:"HookStatusReason"jletto_json=simple_to_jsonto_valueendmoduleHookTypeArn=structtypenonrect=stringletcontext_="HookTypeArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/[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:"HookTypeArn"jletto_json=simple_to_jsonto_valueendmoduleHookTypeConfigurationVersionId=structtypenonrect=stringletcontext_="HookTypeConfigurationVersionId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HookTypeConfigurationVersionId"jletto_json=simple_to_jsonto_valueendmoduleHookTypeName=structtypenonrect=stringletcontext_="HookTypeName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:196)>>=(fun()->check_string_mini~min:10));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HookTypeName"jletto_json=simple_to_jsonto_valueendmoduleHookTypeVersionId=structtypenonrect=stringletcontext_="HookTypeVersionId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HookTypeVersionId"jletto_json=simple_to_jsonto_valueendmoduleListHookResultsTargetType=structtypenonrect=|CHANGE_SET|STACK|RESOURCE|CLOUD_CONTROL|Non_static_idofstringletmakei=iletto_string=function|CHANGE_SET->"CHANGE_SET"|STACK->"STACK"|RESOURCE->"RESOURCE"|CLOUD_CONTROL->"CLOUD_CONTROL"|Non_static_ids->sletof_string=function|"CHANGE_SET"->CHANGE_SET|"STACK"->STACK|"RESOURCE"->RESOURCE|"CLOUD_CONTROL"->CLOUD_CONTROL|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 ListHookResultsTargetType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ListHookResultsTargetType"j)letto_json=simple_to_jsonto_valueendmoduleGeneratedTemplateId=structtypenonrect=stringletcontext_="GeneratedTemplateId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(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:"GeneratedTemplateId"jletto_json=simple_to_jsonto_valueendmoduleGeneratedTemplateName=structtypenonrect=stringletcontext_="GeneratedTemplateName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"GeneratedTemplateName"jletto_json=simple_to_jsonto_valueendmoduleGeneratedTemplateStatus=structtypenonrect=|CREATE_PENDING|UPDATE_PENDING|DELETE_PENDING|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|FAILED|COMPLETE|Non_static_idofstringletmakei=iletto_string=function|CREATE_PENDING->"CREATE_PENDING"|UPDATE_PENDING->"UPDATE_PENDING"|DELETE_PENDING->"DELETE_PENDING"|CREATE_IN_PROGRESS->"CREATE_IN_PROGRESS"|UPDATE_IN_PROGRESS->"UPDATE_IN_PROGRESS"|DELETE_IN_PROGRESS->"DELETE_IN_PROGRESS"|FAILED->"FAILED"|COMPLETE->"COMPLETE"|Non_static_ids->sletof_string=function|"CREATE_PENDING"->CREATE_PENDING|"UPDATE_PENDING"->UPDATE_PENDING|"DELETE_PENDING"->DELETE_PENDING|"CREATE_IN_PROGRESS"->CREATE_IN_PROGRESS|"UPDATE_IN_PROGRESS"->UPDATE_IN_PROGRESS|"DELETE_IN_PROGRESS"->DELETE_IN_PROGRESS|"FAILED"->FAILED|"COMPLETE"->COMPLETE|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 GeneratedTemplateStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GeneratedTemplateStatus"j)letto_json=simple_to_jsonto_valueendmoduleNumberOfResources=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for NumberOfResources"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTemplateStatusReason=structtypenonrect=stringletcontext_="TemplateStatusReason"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(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:"TemplateStatusReason"jletto_json=simple_to_jsonto_valueendmoduleExportValue=structtypenonrect=stringletcontext_="ExportValue"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:"ExportValue"jletto_json=simple_to_jsonto_valueendmoduleChangeSetName=structtypenonrect=stringletcontext_="ChangeSetName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[a-zA-Z][-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:"ChangeSetName"jletto_json=simple_to_jsonto_valueendmoduleChangeSetStatus=structtypenonrect=|CREATE_PENDING|CREATE_IN_PROGRESS|CREATE_COMPLETE|DELETE_PENDING|DELETE_IN_PROGRESS|DELETE_COMPLETE|DELETE_FAILED|FAILED|Non_static_idofstringletmakei=iletto_string=function|CREATE_PENDING->"CREATE_PENDING"|CREATE_IN_PROGRESS->"CREATE_IN_PROGRESS"|CREATE_COMPLETE->"CREATE_COMPLETE"|DELETE_PENDING->"DELETE_PENDING"|DELETE_IN_PROGRESS->"DELETE_IN_PROGRESS"|DELETE_COMPLETE->"DELETE_COMPLETE"|DELETE_FAILED->"DELETE_FAILED"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"CREATE_PENDING"->CREATE_PENDING|"CREATE_IN_PROGRESS"->CREATE_IN_PROGRESS|"CREATE_COMPLETE"->CREATE_COMPLETE|"DELETE_PENDING"->DELETE_PENDING|"DELETE_IN_PROGRESS"->DELETE_IN_PROGRESS|"DELETE_COMPLETE"->DELETE_COMPLETE|"DELETE_FAILED"->DELETE_FAILED|"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 ChangeSetStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ChangeSetStatus"j)letto_json=simple_to_jsonto_valueendmoduleChangeSetStatusReason=structtypenonrect=stringletcontext_="ChangeSetStatusReason"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:"ChangeSetStatusReason"jletto_json=simple_to_jsonto_valueendmoduleExecutionStatus=structtypenonrect=|UNAVAILABLE|AVAILABLE|EXECUTE_IN_PROGRESS|EXECUTE_COMPLETE|EXECUTE_FAILED|OBSOLETE|Non_static_idofstringletmakei=iletto_string=function|UNAVAILABLE->"UNAVAILABLE"|AVAILABLE->"AVAILABLE"|EXECUTE_IN_PROGRESS->"EXECUTE_IN_PROGRESS"|EXECUTE_COMPLETE->"EXECUTE_COMPLETE"|EXECUTE_FAILED->"EXECUTE_FAILED"|OBSOLETE->"OBSOLETE"|Non_static_ids->sletof_string=function|"UNAVAILABLE"->UNAVAILABLE|"AVAILABLE"->AVAILABLE|"EXECUTE_IN_PROGRESS"->EXECUTE_IN_PROGRESS|"EXECUTE_COMPLETE"->EXECUTE_COMPLETE|"EXECUTE_FAILED"->EXECUTE_FAILED|"OBSOLETE"->OBSOLETE|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 ExecutionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ExecutionStatus"j)letto_json=simple_to_jsonto_valueendmoduleImportExistingResources=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_valueendmoduleIncludeNestedStacks=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_valueendmoduleParameterConstraints=structtypenonrect={allowedValues:AllowedValues.toption[@ocaml.doc"A list of values that are permitted for a parameter."]}letmake?allowedValues=fun()->{allowedValues}letto_valuex=structure_to_value[("AllowedValues",(Option.mapx.allowedValues~f:AllowedValues.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letallowedValues=(Option.map~f:AllowedValues.of_xml)(Xml.childxml_arg0"AllowedValues")inmake?allowedValues()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letallowedValues=field_mapjson__"AllowedValues"AllowedValues.of_jsoninmake?allowedValues()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A set of criteria that CloudFormation uses to validate parameter values. Although other constraints might be defined in the stack template, CloudFormation returns only the AllowedValues property."]moduleParameterType=structtypenonrect=stringletcontext_="ParameterType"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:"ParameterType"jletto_json=simple_to_jsonto_valueendmoduleLogicalResourceIds=structtypenonrect=LogicalResourceId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(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:LogicalResourceId.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:LogicalResourceId.of_xml)letof_jsonj=list_of_json~kind:"LogicalResourceIds"~of_json:LogicalResourceId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceIdentifiers=structtypenonrect=ResourceIdentifierPropertyKey.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceIdentifierPropertyKey.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:ResourceIdentifierPropertyKey.of_xml)letof_jsonj=list_of_json~kind:"ResourceIdentifiers"~of_json:ResourceIdentifierPropertyKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAnnotationName=structtypenonrect=stringletcontext_="AnnotationName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(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:"AnnotationName"jletto_json=simple_to_jsonto_valueendmoduleAnnotationRemediationLink=structtypenonrect=stringletcontext_="AnnotationRemediationLink"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:5120)>>=(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:"AnnotationRemediationLink"jletto_json=simple_to_jsonto_valueendmoduleAnnotationSeverityLevel=structtypenonrect=|INFORMATIONAL|LOW|MEDIUM|HIGH|CRITICAL|Non_static_idofstringletmakei=iletto_string=function|INFORMATIONAL->"INFORMATIONAL"|LOW->"LOW"|MEDIUM->"MEDIUM"|HIGH->"HIGH"|CRITICAL->"CRITICAL"|Non_static_ids->sletof_string=function|"INFORMATIONAL"->INFORMATIONAL|"LOW"->LOW|"MEDIUM"->MEDIUM|"HIGH"->HIGH|"CRITICAL"->CRITICAL|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 AnnotationSeverityLevel"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AnnotationSeverityLevel"j)letto_json=simple_to_jsonto_valueendmoduleAnnotationStatus=structtypenonrect=|PASSED|FAILED|SKIPPED|Non_static_idofstringletmakei=iletto_string=function|PASSED->"PASSED"|FAILED->"FAILED"|SKIPPED->"SKIPPED"|Non_static_ids->sletof_string=function|"PASSED"->PASSED|"FAILED"->FAILED|"SKIPPED"->SKIPPED|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 AnnotationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AnnotationStatus"j)letto_json=simple_to_jsonto_valueendmoduleRemediationMessageRemediationMessage=structtypenonrect=stringletcontext_="RemediationMessageRemediationMessage"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16384)>>=(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:"RemediationMessageRemediationMessage"jletto_json=simple_to_jsonto_valueendmoduleRemediationMessageStatusMessage=structtypenonrect=stringletcontext_="RemediationMessageStatusMessage"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16384)>>=(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:"RemediationMessageStatusMessage"jletto_json=simple_to_jsonto_valueendmoduleSupportedMajorVersions=structtypenonrect=SupportedMajorVersion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SupportedMajorVersion.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:SupportedMajorVersion.of_xml)letof_jsonj=list_of_json~kind:"SupportedMajorVersions"~of_json:SupportedMajorVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCapabilities=structtypenonrect=Capability.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Capability.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Capability.of_xml)letof_jsonj=list_of_json~kind:"Capabilities"~of_json:Capability.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeletionMode=structtypenonrect=|STANDARD|FORCE_DELETE_STACK|Non_static_idofstringletmakei=iletto_string=function|STANDARD->"STANDARD"|FORCE_DELETE_STACK->"FORCE_DELETE_STACK"|Non_static_ids->sletof_string=function|"STANDARD"->STANDARD|"FORCE_DELETE_STACK"->FORCE_DELETE_STACK|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration DeletionMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeletionMode"j)letto_json=simple_to_jsonto_valueendmoduleDetailedStatus=structtypenonrect=|CONFIGURATION_COMPLETE|VALIDATION_FAILED|Non_static_idofstringletmakei=iletto_string=function|CONFIGURATION_COMPLETE->"CONFIGURATION_COMPLETE"|VALIDATION_FAILED->"VALIDATION_FAILED"|Non_static_ids->sletof_string=function|"CONFIGURATION_COMPLETE"->CONFIGURATION_COMPLETE|"VALIDATION_FAILED"->VALIDATION_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 DetailedStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DetailedStatus"j)letto_json=simple_to_jsonto_valueendmoduleDisableRollback=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_valueendmoduleEnableTerminationProtection=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_valueendmoduleNotificationARNs=structtypenonrect=NotificationARN.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:NotificationARN.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:NotificationARN.of_xml)letof_jsonj=list_of_json~kind:"NotificationARNs"~of_json:NotificationARN.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOutputs=structtypenonrect=Output.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Output.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:Output.of_xml)letof_jsonj=list_of_json~kind:"Outputs"~of_json:Output.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleParameters=structtypenonrect=Parameter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Parameter.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:Parameter.of_xml)letof_jsonj=list_of_json~kind:"Parameters"~of_json:Parameter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRetainExceptOnCreate=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_valueendmoduleRoleARN=structtypenonrect=stringletcontext_="RoleARN"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(fun()->check_string_mini~min:20));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RoleARN"jletto_json=simple_to_jsonto_valueendmoduleRollbackConfiguration=structtypenonrect={rollbackTriggers:RollbackTriggers.toption[@ocaml.doc"The triggers to monitor during stack creation or update actions. By default, CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means: To use the rollback triggers previously specified for this stack, if any, don't specify this parameter. To specify new or updated rollback triggers, you must specify all the triggers that you want used for this stack, even triggers you've specified before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack. To remove all currently specified triggers, specify an empty list for this parameter. If a specified trigger is missing, the entire stack operation fails and is rolled back."];monitoringTimeInMinutes:MonitoringTimeInMinutes.toption[@ocaml.doc"The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources. The default is 0 minutes. If you specify a monitoring period but don't specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources after update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using CancelUpdateStack, for example) as necessary. If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes."]}letmake?rollbackTriggers=fun?monitoringTimeInMinutes->fun()->{rollbackTriggers;monitoringTimeInMinutes}letto_valuex=structure_to_value[("RollbackTriggers",(Option.mapx.rollbackTriggers~f:RollbackTriggers.to_value));("MonitoringTimeInMinutes",(Option.mapx.monitoringTimeInMinutes~f:MonitoringTimeInMinutes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmonitoringTimeInMinutes=(Option.map~f:MonitoringTimeInMinutes.of_xml)(Xml.childxml_arg0"MonitoringTimeInMinutes")inletrollbackTriggers=(Option.map~f:RollbackTriggers.of_xml)(Xml.childxml_arg0"RollbackTriggers")inmake?monitoringTimeInMinutes?rollbackTriggers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmonitoringTimeInMinutes=field_mapjson__"MonitoringTimeInMinutes"MonitoringTimeInMinutes.of_jsoninletrollbackTriggers=field_mapjson__"RollbackTriggers"RollbackTriggers.of_jsoninmake?monitoringTimeInMinutes?rollbackTriggers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Structure that contains the rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards. Rollback triggers enable you to have CloudFormation monitor the state of your application during stack creation and updating, and to roll back that operation if the application breaches the threshold of any of the alarms you've specified. For more information, see Roll back your CloudFormation stack on alarm breach with rollback triggers."]moduleStackDriftInformation=structtypenonrect={stackDriftStatus:StackDriftStatus.toption[@ocaml.doc"Status of the stack's actual configuration compared to its expected template configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: CloudFormation could not run drift detection for a resource in the stack."];lastCheckTimestamp:Timestamp.toption[@ocaml.doc"Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection."]}letmake?stackDriftStatus=fun?lastCheckTimestamp->fun()->{stackDriftStatus;lastCheckTimestamp}letto_valuex=structure_to_value[("StackDriftStatus",(Option.mapx.stackDriftStatus~f:StackDriftStatus.to_value));("LastCheckTimestamp",(Option.mapx.lastCheckTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastCheckTimestamp")inletstackDriftStatus=(Option.map~f:StackDriftStatus.of_xml)(Xml.childxml_arg0"StackDriftStatus")inmake?lastCheckTimestamp?stackDriftStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastCheckTimestamp=field_mapjson__"LastCheckTimestamp"Timestamp.of_jsoninletstackDriftStatus=field_mapjson__"StackDriftStatus"StackDriftStatus.of_jsoninmake?lastCheckTimestamp?stackDriftStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about whether the stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted."]moduleTags=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:50);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:"Tags"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTimeoutMinutes=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:1);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for TimeoutMinutes"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleDriftedStackInstancesCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for DriftedStackInstancesCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleInProgressStackInstancesCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for InProgressStackInstancesCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleInSyncStackInstancesCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for InSyncStackInstancesCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleStackSetDriftDetectionStatus=structtypenonrect=|COMPLETED|FAILED|PARTIAL_SUCCESS|IN_PROGRESS|STOPPED|Non_static_idofstringletmakei=iletto_string=function|COMPLETED->"COMPLETED"|FAILED->"FAILED"|PARTIAL_SUCCESS->"PARTIAL_SUCCESS"|IN_PROGRESS->"IN_PROGRESS"|STOPPED->"STOPPED"|Non_static_ids->sletof_string=function|"COMPLETED"->COMPLETED|"FAILED"->FAILED|"PARTIAL_SUCCESS"->PARTIAL_SUCCESS|"IN_PROGRESS"->IN_PROGRESS|"STOPPED"->STOPPED|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 StackSetDriftDetectionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackSetDriftDetectionStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackSetDriftStatus=structtypenonrect=|DRIFTED|IN_SYNC|NOT_CHECKED|Non_static_idofstringletmakei=iletto_string=function|DRIFTED->"DRIFTED"|IN_SYNC->"IN_SYNC"|NOT_CHECKED->"NOT_CHECKED"|Non_static_ids->sletof_string=function|"DRIFTED"->DRIFTED|"IN_SYNC"->IN_SYNC|"NOT_CHECKED"->NOT_CHECKED|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 StackSetDriftStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackSetDriftStatus"j)letto_json=simple_to_jsonto_valueendmoduleTotalStackInstancesCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for TotalStackInstancesCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleAccountFilterType=structtypenonrect=|NONE|INTERSECTION|DIFFERENCE|UNION|Non_static_idofstringletmakei=iletto_string=function|NONE->"NONE"|INTERSECTION->"INTERSECTION"|DIFFERENCE->"DIFFERENCE"|UNION->"UNION"|Non_static_ids->sletof_string=function|"NONE"->NONE|"INTERSECTION"->INTERSECTION|"DIFFERENCE"->DIFFERENCE|"UNION"->UNION|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 AccountFilterType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AccountFilterType"j)letto_json=simple_to_jsonto_valueendmoduleAccountList=structtypenonrect=Account.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Account.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:Account.of_xml)letof_jsonj=list_of_json~kind:"AccountList"~of_json:Account.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccountsUrl=structtypenonrect=stringletcontext_="AccountsUrl"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:5120)>>=(fun()->check_patterni~pattern:"(s3://|http(s?)://).+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AccountsUrl"jletto_json=simple_to_jsonto_valueendmoduleOrganizationalUnitIdList=structtypenonrect=OrganizationalUnitId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OrganizationalUnitId.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:OrganizationalUnitId.of_xml)letof_jsonj=list_of_json~kind:"OrganizationalUnitIdList"~of_json:OrganizationalUnitId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackResourceDriftInformation=structtypenonrect={stackResourceDriftStatus:StackResourceDriftStatus.toption[@ocaml.doc"Status of the resource's actual configuration compared to its expected configuration DELETED: The resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from its expected configuration. NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration. Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. IN_SYNC: The resource's actual configuration matches its expected configuration."];lastCheckTimestamp:Timestamp.toption[@ocaml.doc"When CloudFormation last checked if the resource had drifted from its expected configuration."]}letmake?stackResourceDriftStatus=fun?lastCheckTimestamp->fun()->{stackResourceDriftStatus;lastCheckTimestamp}letto_valuex=structure_to_value[("StackResourceDriftStatus",(Option.mapx.stackResourceDriftStatus~f:StackResourceDriftStatus.to_value));("LastCheckTimestamp",(Option.mapx.lastCheckTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastCheckTimestamp")inletstackResourceDriftStatus=(Option.map~f:StackResourceDriftStatus.of_xml)(Xml.childxml_arg0"StackResourceDriftStatus")inmake?lastCheckTimestamp?stackResourceDriftStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastCheckTimestamp=field_mapjson__"LastCheckTimestamp"Timestamp.of_jsoninletstackResourceDriftStatus=field_mapjson__"StackResourceDriftStatus"StackResourceDriftStatus.of_jsoninmake?lastCheckTimestamp?stackResourceDriftStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about whether the resource's actual configuration differs, or has drifted, from its expected configuration."]moduleProperties=structtypenonrect=stringletcontext_="Properties"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:"Properties"jletto_json=simple_to_jsonto_valueendmoduleStackResourceDriftStatusReason=structtypenonrect=stringletcontext_="StackResourceDriftStatusReason"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:"StackResourceDriftStatusReason"jletto_json=simple_to_jsonto_valueendmoduleEventId=structtypenonrect=stringletcontext_="EventId"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:"EventId"jletto_json=simple_to_jsonto_valueendmoduleHookType=structtypenonrect=stringletcontext_="HookType"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:"HookType"jletto_json=simple_to_jsonto_valueendmoduleResourceProperties=structtypenonrect=stringletcontext_="ResourceProperties"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceProperties"jletto_json=simple_to_jsonto_valueendmoduleGeneratedTemplateResourceStatus=structtypenonrect=|PENDING|IN_PROGRESS|FAILED|COMPLETE|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|IN_PROGRESS->"IN_PROGRESS"|FAILED->"FAILED"|COMPLETE->"COMPLETE"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"IN_PROGRESS"->IN_PROGRESS|"FAILED"->FAILED|"COMPLETE"->COMPLETE|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 GeneratedTemplateResourceStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GeneratedTemplateResourceStatus"j)letto_json=simple_to_jsonto_valueendmoduleWarningDetails=structtypenonrect=WarningDetail.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:WarningDetail.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:WarningDetail.of_xml)letof_jsonj=list_of_json~kind:"WarningDetails"~of_json:WarningDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBeaconStackOperationStatus=structtypenonrect=|IN_PROGRESS|SUCCEEDED|FAILED|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"SUCCEEDED"->SUCCEEDED|"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 BeaconStackOperationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BeaconStackOperationStatus"j)letto_json=simple_to_jsonto_valueendmoduleEventType=structtypenonrect=|STACK_EVENT|PROGRESS_EVENT|VALIDATION_ERROR|PROVISIONING_ERROR|HOOK_INVOCATION_ERROR|Non_static_idofstringletmakei=iletto_string=function|STACK_EVENT->"STACK_EVENT"|PROGRESS_EVENT->"PROGRESS_EVENT"|VALIDATION_ERROR->"VALIDATION_ERROR"|PROVISIONING_ERROR->"PROVISIONING_ERROR"|HOOK_INVOCATION_ERROR->"HOOK_INVOCATION_ERROR"|Non_static_ids->sletof_string=function|"STACK_EVENT"->STACK_EVENT|"PROGRESS_EVENT"->PROGRESS_EVENT|"VALIDATION_ERROR"->VALIDATION_ERROR|"PROVISIONING_ERROR"->PROVISIONING_ERROR|"HOOK_INVOCATION_ERROR"->HOOK_INVOCATION_ERROR|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_valueendmoduleValidationName=structtypenonrect=stringletcontext_="ValidationName"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:"ValidationName"jletto_json=simple_to_jsonto_valueendmoduleValidationPath=structtypenonrect=stringletcontext_="ValidationPath"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:"ValidationPath"jletto_json=simple_to_jsonto_valueendmoduleValidationStatus=structtypenonrect=|FAILED|SKIPPED|Non_static_idofstringletmakei=iletto_string=function|FAILED->"FAILED"|SKIPPED->"SKIPPED"|Non_static_ids->sletof_string=function|"FAILED"->FAILED|"SKIPPED"->SKIPPED|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 ValidationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ValidationStatus"j)letto_json=simple_to_jsonto_valueendmoduleValidationStatusReason=structtypenonrect=stringletcontext_="ValidationStatusReason"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:"ValidationStatusReason"jletto_json=simple_to_jsonto_valueendmoduleChangeType=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 ChangeType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ChangeType"j)letto_json=simple_to_jsonto_valueendmoduleHookInvocationCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for HookInvocationCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResourceChange=structtypenonrect={policyAction:PolicyAction.toption[@ocaml.doc"The action that will be taken on the physical resource when the change set is executed. Delete The resource will be deleted. Retain The resource will be retained. Snapshot The resource will have a snapshot taken. ReplaceAndDelete The resource will be replaced and then deleted. ReplaceAndRetain The resource will be replaced and then retained. ReplaceAndSnapshot The resource will be replaced and then have a snapshot taken."];action:ChangeAction.toption[@ocaml.doc"The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), Remove (deletes a resource), Import (imports a resource), Dynamic (exact action for the resource can't be determined), or SyncWithActual (resource will not be changed, only CloudFormation metadata will change)."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The resource's logical ID, which is defined in the stack's template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created."];resourceType:ResourceType.toption[@ocaml.doc"The type of CloudFormation resource, such as AWS::S3::Bucket."];replacement:Replacement.toption[@ocaml.doc"For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditional. If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditional, and then Never."];scope:Scope.toption[@ocaml.doc"For the Modify action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags."];resourceDriftStatus:StackResourceDriftStatus.toption[@ocaml.doc"The drift status of the resource. Valid values: IN_SYNC \226\128\147 The resource matches its template definition. MODIFIED \226\128\147 Resource properties were modified outside CloudFormation. DELETED \226\128\147 The resource was deleted outside CloudFormation. NOT_CHECKED \226\128\147 CloudFormation doesn\226\128\153t currently return this value. UNKNOWN \226\128\147 Drift status could not be determined. UNSUPPORTED \226\128\147 Resource type does not support actual state comparison. Only present for drift-aware change sets."];resourceDriftIgnoredAttributes:ResourceDriftIgnoredAttributes.toption[@ocaml.doc"List of resource attributes for which drift was ignored."];details:ResourceChangeDetails.toption[@ocaml.doc"For the Modify action, a list of ResourceChangeDetail structures that describes the changes that CloudFormation will make to the resource."];changeSetId:ChangeSetId.toption[@ocaml.doc"The change set ID of the nested change set."];moduleInfo:ModuleInfo.toption[@ocaml.doc"Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template."];beforeContext:BeforeContext.toption[@ocaml.doc"An encoded JSON string that contains the context of the resource before the change is executed."];afterContext:AfterContext.toption[@ocaml.doc"An encoded JSON string that contains the context of the resource after the change is executed."];previousDeploymentContext:PreviousDeploymentContext.toption[@ocaml.doc"Information about the resource's state from the previous CloudFormation deployment."]}letmake?policyAction=fun?action->fun?logicalResourceId->fun?physicalResourceId->fun?resourceType->fun?replacement->fun?scope->fun?resourceDriftStatus->fun?resourceDriftIgnoredAttributes->fun?details->fun?changeSetId->fun?moduleInfo->fun?beforeContext->fun?afterContext->fun?previousDeploymentContext->fun()->{policyAction;action;logicalResourceId;physicalResourceId;resourceType;replacement;scope;resourceDriftStatus;resourceDriftIgnoredAttributes;details;changeSetId;moduleInfo;beforeContext;afterContext;previousDeploymentContext}letto_valuex=structure_to_value[("PolicyAction",(Option.mapx.policyAction~f:PolicyAction.to_value));("Action",(Option.mapx.action~f:ChangeAction.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("Replacement",(Option.mapx.replacement~f:Replacement.to_value));("Scope",(Option.mapx.scope~f:Scope.to_value));("ResourceDriftStatus",(Option.mapx.resourceDriftStatus~f:StackResourceDriftStatus.to_value));("ResourceDriftIgnoredAttributes",(Option.mapx.resourceDriftIgnoredAttributes~f:ResourceDriftIgnoredAttributes.to_value));("Details",(Option.mapx.details~f:ResourceChangeDetails.to_value));("ChangeSetId",(Option.mapx.changeSetId~f:ChangeSetId.to_value));("ModuleInfo",(Option.mapx.moduleInfo~f:ModuleInfo.to_value));("BeforeContext",(Option.mapx.beforeContext~f:BeforeContext.to_value));("AfterContext",(Option.mapx.afterContext~f:AfterContext.to_value));("PreviousDeploymentContext",(Option.mapx.previousDeploymentContext~f:PreviousDeploymentContext.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpreviousDeploymentContext=(Option.map~f:PreviousDeploymentContext.of_xml)(Xml.childxml_arg0"PreviousDeploymentContext")inletafterContext=(Option.map~f:AfterContext.of_xml)(Xml.childxml_arg0"AfterContext")inletbeforeContext=(Option.map~f:BeforeContext.of_xml)(Xml.childxml_arg0"BeforeContext")inletmoduleInfo=(Option.map~f:ModuleInfo.of_xml)(Xml.childxml_arg0"ModuleInfo")inletchangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"ChangeSetId")inletdetails=(Option.map~f:ResourceChangeDetails.of_xml)(Xml.childxml_arg0"Details")inletresourceDriftIgnoredAttributes=(Option.map~f:ResourceDriftIgnoredAttributes.of_xml)(Xml.childxml_arg0"ResourceDriftIgnoredAttributes")inletresourceDriftStatus=(Option.map~f:StackResourceDriftStatus.of_xml)(Xml.childxml_arg0"ResourceDriftStatus")inletscope=(Option.map~f:Scope.of_xml)(Xml.childxml_arg0"Scope")inletreplacement=(Option.map~f:Replacement.of_xml)(Xml.childxml_arg0"Replacement")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletaction=(Option.map~f:ChangeAction.of_xml)(Xml.childxml_arg0"Action")inletpolicyAction=(Option.map~f:PolicyAction.of_xml)(Xml.childxml_arg0"PolicyAction")inmake?previousDeploymentContext?afterContext?beforeContext?moduleInfo?changeSetId?details?resourceDriftIgnoredAttributes?resourceDriftStatus?scope?replacement?resourceType?physicalResourceId?logicalResourceId?action?policyAction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpreviousDeploymentContext=field_mapjson__"PreviousDeploymentContext"PreviousDeploymentContext.of_jsoninletafterContext=field_mapjson__"AfterContext"AfterContext.of_jsoninletbeforeContext=field_mapjson__"BeforeContext"BeforeContext.of_jsoninletmoduleInfo=field_mapjson__"ModuleInfo"ModuleInfo.of_jsoninletchangeSetId=field_mapjson__"ChangeSetId"ChangeSetId.of_jsoninletdetails=field_mapjson__"Details"ResourceChangeDetails.of_jsoninletresourceDriftIgnoredAttributes=field_mapjson__"ResourceDriftIgnoredAttributes"ResourceDriftIgnoredAttributes.of_jsoninletresourceDriftStatus=field_mapjson__"ResourceDriftStatus"StackResourceDriftStatus.of_jsoninletscope=field_mapjson__"Scope"Scope.of_jsoninletreplacement=field_mapjson__"Replacement"Replacement.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletaction=field_mapjson__"Action"ChangeAction.of_jsoninletpolicyAction=field_mapjson__"PolicyAction"PolicyAction.of_jsoninmake?previousDeploymentContext?afterContext?beforeContext?moduleInfo?changeSetId?details?resourceDriftIgnoredAttributes?resourceDriftStatus?scope?replacement?resourceType?physicalResourceId?logicalResourceId?action?policyAction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ResourceChange structure describes the resource and the action that CloudFormation will perform on it if you execute this change set."]moduleChangeSetHookTargetDetails=structtypenonrect={targetType:HookTargetType.toption[@ocaml.doc"The Hook target type."];resourceTargetDetails:ChangeSetHookResourceTargetDetails.toption[@ocaml.doc"Required if TargetType is RESOURCE."]}letmake?targetType=fun?resourceTargetDetails->fun()->{targetType;resourceTargetDetails}letto_valuex=structure_to_value[("TargetType",(Option.mapx.targetType~f:HookTargetType.to_value));("ResourceTargetDetails",(Option.mapx.resourceTargetDetails~f:ChangeSetHookResourceTargetDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceTargetDetails=(Option.map~f:ChangeSetHookResourceTargetDetails.of_xml)(Xml.childxml_arg0"ResourceTargetDetails")inlettargetType=(Option.map~f:HookTargetType.of_xml)(Xml.childxml_arg0"TargetType")inmake?resourceTargetDetails?targetType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceTargetDetails=field_mapjson__"ResourceTargetDetails"ChangeSetHookResourceTargetDetails.of_jsoninlettargetType=field_mapjson__"TargetType"HookTargetType.of_jsoninmake?resourceTargetDetails?targetType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies target details for an activated Hook."]moduleLimitName=structtypenonrect=stringletcontext_="LimitName"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:"LimitName"jletto_json=simple_to_jsonto_valueendmoduleLimitValue=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 LimitValue"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTemplateBody=structtypenonrect=stringletcontext_="TemplateBody"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:"TemplateBody"jletto_json=simple_to_jsonto_valueendmoduleTemplateURL=structtypenonrect=stringletcontext_="TemplateURL"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:5120)>>=(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:"TemplateURL"jletto_json=simple_to_jsonto_valueendmoduleErrorCode=structtypenonrect=stringletcontext_="ErrorCode"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:3)>>=(fun()->check_string_mini~min: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:"ErrorCode"jletto_json=simple_to_jsonto_valueendmoduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"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:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleTypeConfigurationIdentifier=structtypenonrect={typeArn:TypeArn.toption[@ocaml.doc"The ARN for the extension, in this account and Region. For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region."];typeConfigurationAlias:TypeConfigurationAlias.toption[@ocaml.doc"The alias specified for this configuration, if one was specified when the configuration was set."];typeConfigurationArn:TypeConfigurationArn.toption[@ocaml.doc"The ARN for the configuration, in this account and Region."];type_:ThirdPartyType.toption[@ocaml.doc"The type of extension."];typeName:TypeName.toption[@ocaml.doc"The name of the extension type to which this configuration applies."]}letmake?typeArn=fun?typeConfigurationAlias->fun?typeConfigurationArn->fun?type_->fun?typeName->fun()->{typeArn;typeConfigurationAlias;typeConfigurationArn;type_;typeName}letto_valuex=structure_to_value[("TypeArn",(Option.mapx.typeArn~f:TypeArn.to_value));("TypeConfigurationAlias",(Option.mapx.typeConfigurationAlias~f:TypeConfigurationAlias.to_value));("TypeConfigurationArn",(Option.mapx.typeConfigurationArn~f:TypeConfigurationArn.to_value));("Type",(Option.mapx.type_~f:ThirdPartyType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:ThirdPartyType.of_xml)(Xml.childxml_arg0"Type")inlettypeConfigurationArn=(Option.map~f:TypeConfigurationArn.of_xml)(Xml.childxml_arg0"TypeConfigurationArn")inlettypeConfigurationAlias=(Option.map~f:TypeConfigurationAlias.of_xml)(Xml.childxml_arg0"TypeConfigurationAlias")inlettypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inmake?typeName?type_?typeConfigurationArn?typeConfigurationAlias?typeArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"ThirdPartyType.of_jsoninlettypeConfigurationArn=field_mapjson__"TypeConfigurationArn"TypeConfigurationArn.of_jsoninlettypeConfigurationAlias=field_mapjson__"TypeConfigurationAlias"TypeConfigurationAlias.of_jsoninlettypeArn=field_mapjson__"TypeArn"TypeArn.of_jsoninmake?typeName?type_?typeConfigurationArn?typeConfigurationAlias?typeArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Identifying information for the configuration of a CloudFormation extension."]moduleIsDefaultConfiguration=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_valueendmoduleTypeConfiguration=structtypenonrect=stringletcontext_="TypeConfiguration"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:204800)>>=(fun()->check_patterni~pattern:"[\\s\\S]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TypeConfiguration"jletto_json=simple_to_jsonto_valueendmoduleTemplateParameter=structtypenonrect={parameterKey:ParameterKey.toption[@ocaml.doc"The name associated with the parameter."];defaultValue:ParameterValue.toption[@ocaml.doc"The default value associated with the parameter."];noEcho:NoEcho.toption[@ocaml.doc"Flag indicating whether the parameter should be displayed as plain text in logs and UIs."];description:Description.toption[@ocaml.doc"User defined description associated with the parameter."]}letmake?parameterKey=fun?defaultValue->fun?noEcho->fun?description->fun()->{parameterKey;defaultValue;noEcho;description}letto_valuex=structure_to_value[("ParameterKey",(Option.mapx.parameterKey~f:ParameterKey.to_value));("DefaultValue",(Option.mapx.defaultValue~f:ParameterValue.to_value));("NoEcho",(Option.mapx.noEcho~f:NoEcho.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")inletnoEcho=(Option.map~f:NoEcho.of_xml)(Xml.childxml_arg0"NoEcho")inletdefaultValue=(Option.map~f:ParameterValue.of_xml)(Xml.childxml_arg0"DefaultValue")inletparameterKey=(Option.map~f:ParameterKey.of_xml)(Xml.childxml_arg0"ParameterKey")inmake?description?noEcho?defaultValue?parameterKey()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"Description.of_jsoninletnoEcho=field_mapjson__"NoEcho"NoEcho.of_jsoninletdefaultValue=field_mapjson__"DefaultValue"ParameterValue.of_jsoninletparameterKey=field_mapjson__"ParameterKey"ParameterKey.of_jsoninmake?description?noEcho?defaultValue?parameterKey()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The TemplateParameter data type."]moduleTransformName=structtypenonrect=stringletcontext_="TransformName"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:"TransformName"jletto_json=simple_to_jsonto_valueendmoduleResourceDefinition=structtypenonrect={resourceType:ResourceType.t[@ocaml.doc"The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection in the CloudFormation User Guide"];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical resource id for this resource in the generated template."];resourceIdentifier:ResourceIdentifierProperties.t[@ocaml.doc"A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide."]}letcontext_="ResourceDefinition"letmake?logicalResourceId=fun~resourceType->fun~resourceIdentifier->fun()->{logicalResourceId;resourceType;resourceIdentifier}letto_valuex=structure_to_value[("ResourceType",(Some(ResourceType.to_valuex.resourceType)));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("ResourceIdentifier",(Some(ResourceIdentifierProperties.to_valuex.resourceIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceIdentifier=ResourceIdentifierProperties.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceIdentifier")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletresourceType=ResourceType.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceType")inmake~resourceIdentifier?logicalResourceId~resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceIdentifier=field_map_exnjson__"ResourceIdentifier"ResourceIdentifierProperties.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletresourceType=field_map_exnjson__"ResourceType"ResourceType.of_jsoninmake~resourceIdentifier?logicalResourceId~resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A resource included in a generated template. This data type is used with the CreateGeneratedTemplate and UpdateGeneratedTemplate API actions."]moduleGeneratedTemplateDeletionPolicy=structtypenonrect=|DELETE|RETAIN|Non_static_idofstringletmakei=iletto_string=function|DELETE->"DELETE"|RETAIN->"RETAIN"|Non_static_ids->sletof_string=function|"DELETE"->DELETE|"RETAIN"->RETAIN|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 GeneratedTemplateDeletionPolicy"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GeneratedTemplateDeletionPolicy"j)letto_json=simple_to_jsonto_valueendmoduleGeneratedTemplateUpdateReplacePolicy=structtypenonrect=|DELETE|RETAIN|Non_static_idofstringletmakei=iletto_string=function|DELETE->"DELETE"|RETAIN->"RETAIN"|Non_static_ids->sletof_string=function|"DELETE"->DELETE|"RETAIN"->RETAIN|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 GeneratedTemplateUpdateReplacePolicy"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GeneratedTemplateUpdateReplacePolicy"j)letto_json=simple_to_jsonto_valueendmoduleScanFilter=structtypenonrect={types:ResourceTypeFilters.toption[@ocaml.doc"An array of strings where each string represents an Amazon Web Services resource type you want to scan. Each string defines the resource type using the format AWS::ServiceName::ResourceType, for example, AWS::DynamoDB::Table. For the full list of supported resource types, see the Resource type support table in the CloudFormation User Guide. To scan all resource types within a service, you can use a wildcard, represented by an asterisk (*). You can place an asterisk at only the end of the string, for example, AWS::S3::*."]}letmake?types=fun()->{types}letto_valuex=structure_to_value[("Types",(Option.mapx.types~f:ResourceTypeFilters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:ResourceTypeFilters.of_xml)(Xml.childxml_arg0"Types")inmake?types()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"Types"ResourceTypeFilters.of_jsoninmake?types()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter that is used to specify which resource types to scan."]moduleLogGroupName=structtypenonrect=stringletcontext_="LogGroupName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:"[\\.\\-_/#A-Za-z0-9]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"LogGroupName"jletto_json=simple_to_jsonto_valueendmoduleRoleArn=structtypenonrect=stringletcontext_="RoleArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"arn:.+:iam::[0-9]{12}:role/.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RoleArn"jletto_json=simple_to_jsonto_valueendmoduleTypeSummary=structtypenonrect={type_:RegistryType.toption[@ocaml.doc"The kind of extension."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. If you specified a TypeNameAlias when you call the ActivateType API operation in your account and Region, CloudFormation considers that alias as the type name."];defaultVersionId:TypeVersionId.toption[@ocaml.doc"The ID of the default version of the extension. The default version is used when the extension version isn't specified. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType. To set the default version of an extension, use SetTypeDefaultVersion."];typeArn:TypeArn.toption[@ocaml.doc"The ARN of the extension."];lastUpdated:Timestamp.toption[@ocaml.doc"When the specified extension version was registered. This applies only to: Private extensions you have registered in your account. For more information, see RegisterType. Public extensions you have activated in your account with auto-update specified. For more information, see ActivateType. For all other extension types, CloudFormation returns null."];description:Description.toption[@ocaml.doc"The description of the extension."];publisherId:PublisherId.toption[@ocaml.doc"The ID of the extension publisher, if the extension is published by a third party. Extensions published by Amazon don't return a publisher ID."];originalTypeName:TypeName.toption[@ocaml.doc"For public extensions that have been activated for this account and Region, the type name of the public extension. If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide."];publicVersionNumber:PublicVersionNumber.toption[@ocaml.doc"For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide."];latestPublicVersion:PublicVersionNumber.toption[@ocaml.doc"For public extensions that have been activated for this account and Region, the latest version of the public extension that is available. For any extensions other than activated third-party extensions, CloudFormation returns null. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide."];publisherIdentity:IdentityProvider.toption[@ocaml.doc"The service used to verify the publisher identity. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide."];publisherName:PublisherName.toption[@ocaml.doc"The publisher name, as defined in the public profile for that publisher in the service used to verify the publisher identity."];isActivated:IsActivated.toption[@ocaml.doc"Whether the extension is activated for this account and Region. This applies only to third-party public extensions. Extensions published by Amazon are activated by default."]}letmake?type_=fun?typeName->fun?defaultVersionId->fun?typeArn->fun?lastUpdated->fun?description->fun?publisherId->fun?originalTypeName->fun?publicVersionNumber->fun?latestPublicVersion->fun?publisherIdentity->fun?publisherName->fun?isActivated->fun()->{type_;typeName;defaultVersionId;typeArn;lastUpdated;description;publisherId;originalTypeName;publicVersionNumber;latestPublicVersion;publisherIdentity;publisherName;isActivated}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("DefaultVersionId",(Option.mapx.defaultVersionId~f:TypeVersionId.to_value));("TypeArn",(Option.mapx.typeArn~f:TypeArn.to_value));("LastUpdated",(Option.mapx.lastUpdated~f:Timestamp.to_value));("Description",(Option.mapx.description~f:Description.to_value));("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value));("OriginalTypeName",(Option.mapx.originalTypeName~f:TypeName.to_value));("PublicVersionNumber",(Option.mapx.publicVersionNumber~f:PublicVersionNumber.to_value));("LatestPublicVersion",(Option.mapx.latestPublicVersion~f:PublicVersionNumber.to_value));("PublisherIdentity",(Option.mapx.publisherIdentity~f:IdentityProvider.to_value));("PublisherName",(Option.mapx.publisherName~f:PublisherName.to_value));("IsActivated",(Option.mapx.isActivated~f:IsActivated.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisActivated=(Option.map~f:IsActivated.of_xml)(Xml.childxml_arg0"IsActivated")inletpublisherName=(Option.map~f:PublisherName.of_xml)(Xml.childxml_arg0"PublisherName")inletpublisherIdentity=(Option.map~f:IdentityProvider.of_xml)(Xml.childxml_arg0"PublisherIdentity")inletlatestPublicVersion=(Option.map~f:PublicVersionNumber.of_xml)(Xml.childxml_arg0"LatestPublicVersion")inletpublicVersionNumber=(Option.map~f:PublicVersionNumber.of_xml)(Xml.childxml_arg0"PublicVersionNumber")inletoriginalTypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"OriginalTypeName")inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletlastUpdated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdated")inlettypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inletdefaultVersionId=(Option.map~f:TypeVersionId.of_xml)(Xml.childxml_arg0"DefaultVersionId")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inmake?isActivated?publisherName?publisherIdentity?latestPublicVersion?publicVersionNumber?originalTypeName?publisherId?description?lastUpdated?typeArn?defaultVersionId?typeName?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisActivated=field_mapjson__"IsActivated"IsActivated.of_jsoninletpublisherName=field_mapjson__"PublisherName"PublisherName.of_jsoninletpublisherIdentity=field_mapjson__"PublisherIdentity"IdentityProvider.of_jsoninletlatestPublicVersion=field_mapjson__"LatestPublicVersion"PublicVersionNumber.of_jsoninletpublicVersionNumber=field_mapjson__"PublicVersionNumber"PublicVersionNumber.of_jsoninletoriginalTypeName=field_mapjson__"OriginalTypeName"TypeName.of_jsoninletpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletlastUpdated=field_mapjson__"LastUpdated"Timestamp.of_jsoninlettypeArn=field_mapjson__"TypeArn"TypeArn.of_jsoninletdefaultVersionId=field_mapjson__"DefaultVersionId"TypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninmake?isActivated?publisherName?publisherIdentity?latestPublicVersion?publicVersionNumber?originalTypeName?publisherId?description?lastUpdated?typeArn?defaultVersionId?typeName?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains summary information about the specified CloudFormation extension."]moduleCategory=structtypenonrect=|REGISTERED|ACTIVATED|THIRD_PARTY|AWS_TYPES|Non_static_idofstringletmakei=iletto_string=function|REGISTERED->"REGISTERED"|ACTIVATED->"ACTIVATED"|THIRD_PARTY->"THIRD_PARTY"|AWS_TYPES->"AWS_TYPES"|Non_static_ids->sletof_string=function|"REGISTERED"->REGISTERED|"ACTIVATED"->ACTIVATED|"THIRD_PARTY"->THIRD_PARTY|"AWS_TYPES"->AWS_TYPES|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 Category"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Category"j)letto_json=simple_to_jsonto_valueendmoduleTypeNamePrefix=structtypenonrect=stringletcontext_="TypeNamePrefix"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:204)>>=(fun()->check_patterni~pattern:"([A-Za-z0-9]{2,64}::){0,2}([A-Za-z0-9]{2,64}:?){0,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:"TypeNamePrefix"jletto_json=simple_to_jsonto_valueendmoduleTypeVersionSummary=structtypenonrect={type_:RegistryType.toption[@ocaml.doc"The kind of extension."];typeName:TypeName.toption[@ocaml.doc"The name of the extension."];versionId:TypeVersionId.toption[@ocaml.doc"The ID of a specific version of the extension. The version ID is the value at the end of the ARN assigned to the extension version when it's registered."];isDefaultVersion:IsDefaultVersion.toption[@ocaml.doc"Whether the specified extension version is set as the default version. This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, CloudFormation returns null."];arn:TypeArn.toption[@ocaml.doc"The ARN of the extension version."];timeCreated:Timestamp.toption[@ocaml.doc"When the version was registered."];description:Description.toption[@ocaml.doc"The description of the extension version."];publicVersionNumber:PublicVersionNumber.toption[@ocaml.doc"For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-party extensions, CloudFormation returns null. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide."]}letmake?type_=fun?typeName->fun?versionId->fun?isDefaultVersion->fun?arn->fun?timeCreated->fun?description->fun?publicVersionNumber->fun()->{type_;typeName;versionId;isDefaultVersion;arn;timeCreated;description;publicVersionNumber}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("VersionId",(Option.mapx.versionId~f:TypeVersionId.to_value));("IsDefaultVersion",(Option.mapx.isDefaultVersion~f:IsDefaultVersion.to_value));("Arn",(Option.mapx.arn~f:TypeArn.to_value));("TimeCreated",(Option.mapx.timeCreated~f:Timestamp.to_value));("Description",(Option.mapx.description~f:Description.to_value));("PublicVersionNumber",(Option.mapx.publicVersionNumber~f:PublicVersionNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpublicVersionNumber=(Option.map~f:PublicVersionNumber.of_xml)(Xml.childxml_arg0"PublicVersionNumber")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettimeCreated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"TimeCreated")inletarn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"Arn")inletisDefaultVersion=(Option.map~f:IsDefaultVersion.of_xml)(Xml.childxml_arg0"IsDefaultVersion")inletversionId=(Option.map~f:TypeVersionId.of_xml)(Xml.childxml_arg0"VersionId")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inmake?publicVersionNumber?description?timeCreated?arn?isDefaultVersion?versionId?typeName?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublicVersionNumber=field_mapjson__"PublicVersionNumber"PublicVersionNumber.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettimeCreated=field_mapjson__"TimeCreated"Timestamp.of_jsoninletarn=field_mapjson__"Arn"TypeArn.of_jsoninletisDefaultVersion=field_mapjson__"IsDefaultVersion"IsDefaultVersion.of_jsoninletversionId=field_mapjson__"VersionId"TypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninmake?publicVersionNumber?description?timeCreated?arn?isDefaultVersion?versionId?typeName?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains summary information about a specific version of a CloudFormation extension."]moduleRegistrationToken=structtypenonrect=stringletcontext_="RegistrationToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[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:"RegistrationToken"jletto_json=simple_to_jsonto_valueendmoduleStackSummary=structtypenonrect={stackId:StackId.toption[@ocaml.doc"Unique stack identifier."];stackName:StackName.toption[@ocaml.doc"The name associated with the stack."];templateDescription:TemplateDescription.toption[@ocaml.doc"The template description of the template used to create the stack."];creationTime:CreationTime.toption[@ocaml.doc"The time the stack was created."];lastUpdatedTime:LastUpdatedTime.toption[@ocaml.doc"The time the stack was last updated. This field will only be returned if the stack has been updated at least once."];deletionTime:DeletionTime.toption[@ocaml.doc"The time the stack was deleted."];stackStatus:StackStatus.toption[@ocaml.doc"The current status of the stack."];stackStatusReason:StackStatusReason.toption[@ocaml.doc"Success/Failure message associated with the stack status."];parentId:StackId.toption[@ocaml.doc"For nested stacks, the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack. For more information, see Nested stacks in the CloudFormation User Guide."];rootId:StackId.toption[@ocaml.doc"For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs. For more information, see Nested stacks in the CloudFormation User Guide."];driftInformation:StackDriftInformationSummary.toption[@ocaml.doc"Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection."];lastOperations:LastOperations.toption[@ocaml.doc"Information about the most recent operations performed on this stack."]}letmake?stackId=fun?stackName->fun?templateDescription->fun?creationTime->fun?lastUpdatedTime->fun?deletionTime->fun?stackStatus->fun?stackStatusReason->fun?parentId->fun?rootId->fun?driftInformation->fun?lastOperations->fun()->{stackId;stackName;templateDescription;creationTime;lastUpdatedTime;deletionTime;stackStatus;stackStatusReason;parentId;rootId;driftInformation;lastOperations}letto_valuex=structure_to_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("StackName",(Option.mapx.stackName~f:StackName.to_value));("TemplateDescription",(Option.mapx.templateDescription~f:TemplateDescription.to_value));("CreationTime",(Option.mapx.creationTime~f:CreationTime.to_value));("LastUpdatedTime",(Option.mapx.lastUpdatedTime~f:LastUpdatedTime.to_value));("DeletionTime",(Option.mapx.deletionTime~f:DeletionTime.to_value));("StackStatus",(Option.mapx.stackStatus~f:StackStatus.to_value));("StackStatusReason",(Option.mapx.stackStatusReason~f:StackStatusReason.to_value));("ParentId",(Option.mapx.parentId~f:StackId.to_value));("RootId",(Option.mapx.rootId~f:StackId.to_value));("DriftInformation",(Option.mapx.driftInformation~f:StackDriftInformationSummary.to_value));("LastOperations",(Option.mapx.lastOperations~f:LastOperations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastOperations=(Option.map~f:LastOperations.of_xml)(Xml.childxml_arg0"LastOperations")inletdriftInformation=(Option.map~f:StackDriftInformationSummary.of_xml)(Xml.childxml_arg0"DriftInformation")inletrootId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"RootId")inletparentId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"ParentId")inletstackStatusReason=(Option.map~f:StackStatusReason.of_xml)(Xml.childxml_arg0"StackStatusReason")inletstackStatus=(Option.map~f:StackStatus.of_xml)(Xml.childxml_arg0"StackStatus")inletdeletionTime=(Option.map~f:DeletionTime.of_xml)(Xml.childxml_arg0"DeletionTime")inletlastUpdatedTime=(Option.map~f:LastUpdatedTime.of_xml)(Xml.childxml_arg0"LastUpdatedTime")inletcreationTime=(Option.map~f:CreationTime.of_xml)(Xml.childxml_arg0"CreationTime")inlettemplateDescription=(Option.map~f:TemplateDescription.of_xml)(Xml.childxml_arg0"TemplateDescription")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?lastOperations?driftInformation?rootId?parentId?stackStatusReason?stackStatus?deletionTime?lastUpdatedTime?creationTime?templateDescription?stackName?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastOperations=field_mapjson__"LastOperations"LastOperations.of_jsoninletdriftInformation=field_mapjson__"DriftInformation"StackDriftInformationSummary.of_jsoninletrootId=field_mapjson__"RootId"StackId.of_jsoninletparentId=field_mapjson__"ParentId"StackId.of_jsoninletstackStatusReason=field_mapjson__"StackStatusReason"StackStatusReason.of_jsoninletstackStatus=field_mapjson__"StackStatus"StackStatus.of_jsoninletdeletionTime=field_mapjson__"DeletionTime"DeletionTime.of_jsoninletlastUpdatedTime=field_mapjson__"LastUpdatedTime"LastUpdatedTime.of_jsoninletcreationTime=field_mapjson__"CreationTime"CreationTime.of_jsoninlettemplateDescription=field_mapjson__"TemplateDescription"TemplateDescription.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?lastOperations?driftInformation?rootId?parentId?stackStatusReason?stackStatus?deletionTime?lastUpdatedTime?creationTime?templateDescription?stackName?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The StackSummary Data Type"]moduleStackSetSummary=structtypenonrect={stackSetName:StackSetName.toption[@ocaml.doc"The name of the StackSet."];stackSetId:StackSetId.toption[@ocaml.doc"The ID of the StackSet."];description:Description.toption[@ocaml.doc"A description of the StackSet that you specify when the StackSet is created or updated."];status:StackSetStatus.toption[@ocaml.doc"The status of the StackSet."];autoDeployment:AutoDeployment.toption[@ocaml.doc"\\[Service-managed permissions\\] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organizational unit (OU)."];permissionModel:PermissionModels.toption[@ocaml.doc"Describes how the IAM roles required for StackSet operations are created. With self-managed permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see Grant self-managed permissions. With service-managed permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by Organizations. For more information, see Activate trusted access for StackSets with Organizations."];driftStatus:StackDriftStatus.toption[@ocaml.doc"Status of the StackSet's actual configuration compared to its expected template and parameter configuration. DRIFTED: One or more of the stack instances belonging to the StackSet differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked the StackSet for drift. IN_SYNC: All the stack instances belonging to the StackSet match the expected template and parameter configuration. UNKNOWN: This value is reserved for future use."];lastDriftCheckTimestamp:Timestamp.toption[@ocaml.doc"Most recent time when CloudFormation performed a drift detection operation on the StackSet. This value will be NULL for any StackSet that drift detection hasn't yet been performed on."];managedExecution:ManagedExecution.toption[@ocaml.doc"Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations."]}letmake?stackSetName=fun?stackSetId->fun?description->fun?status->fun?autoDeployment->fun?permissionModel->fun?driftStatus->fun?lastDriftCheckTimestamp->fun?managedExecution->fun()->{stackSetName;stackSetId;description;status;autoDeployment;permissionModel;driftStatus;lastDriftCheckTimestamp;managedExecution}letto_valuex=structure_to_value[("StackSetName",(Option.mapx.stackSetName~f:StackSetName.to_value));("StackSetId",(Option.mapx.stackSetId~f:StackSetId.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Status",(Option.mapx.status~f:StackSetStatus.to_value));("AutoDeployment",(Option.mapx.autoDeployment~f:AutoDeployment.to_value));("PermissionModel",(Option.mapx.permissionModel~f:PermissionModels.to_value));("DriftStatus",(Option.mapx.driftStatus~f:StackDriftStatus.to_value));("LastDriftCheckTimestamp",(Option.mapx.lastDriftCheckTimestamp~f:Timestamp.to_value));("ManagedExecution",(Option.mapx.managedExecution~f:ManagedExecution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanagedExecution=(Option.map~f:ManagedExecution.of_xml)(Xml.childxml_arg0"ManagedExecution")inletlastDriftCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastDriftCheckTimestamp")inletdriftStatus=(Option.map~f:StackDriftStatus.of_xml)(Xml.childxml_arg0"DriftStatus")inletpermissionModel=(Option.map~f:PermissionModels.of_xml)(Xml.childxml_arg0"PermissionModel")inletautoDeployment=(Option.map~f:AutoDeployment.of_xml)(Xml.childxml_arg0"AutoDeployment")inletstatus=(Option.map~f:StackSetStatus.of_xml)(Xml.childxml_arg0"Status")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletstackSetId=(Option.map~f:StackSetId.of_xml)(Xml.childxml_arg0"StackSetId")inletstackSetName=(Option.map~f:StackSetName.of_xml)(Xml.childxml_arg0"StackSetName")inmake?managedExecution?lastDriftCheckTimestamp?driftStatus?permissionModel?autoDeployment?status?description?stackSetId?stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanagedExecution=field_mapjson__"ManagedExecution"ManagedExecution.of_jsoninletlastDriftCheckTimestamp=field_mapjson__"LastDriftCheckTimestamp"Timestamp.of_jsoninletdriftStatus=field_mapjson__"DriftStatus"StackDriftStatus.of_jsoninletpermissionModel=field_mapjson__"PermissionModel"PermissionModels.of_jsoninletautoDeployment=field_mapjson__"AutoDeployment"AutoDeployment.of_jsoninletstatus=field_mapjson__"Status"StackSetStatus.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletstackSetId=field_mapjson__"StackSetId"StackSetId.of_jsoninletstackSetName=field_mapjson__"StackSetName"StackSetName.of_jsoninmake?managedExecution?lastDriftCheckTimestamp?driftStatus?permissionModel?autoDeployment?status?description?stackSetId?stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The structures that contain summary information about the specified StackSet."]moduleStackSetOperationSummary=structtypenonrect={operationId:ClientRequestToken.toption[@ocaml.doc"The unique ID of the StackSet operation."];action:StackSetOperationAction.toption[@ocaml.doc"The type of operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified StackSet. Update operations affect both the StackSet itself and all associated StackSet instances."];status:StackSetOperationStatus.toption[@ocaml.doc"The overall status of the operation. FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions. QUEUED: \\[Service-managed permissions\\] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the StackSet status codes in the CloudFormation User Guide. RUNNING: The operation is currently being performed. STOPPED: The user has canceled the operation. STOPPING: The operation is in the process of stopping, at user request. SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation."];creationTimestamp:Timestamp.toption[@ocaml.doc"The time at which the operation was initiated. Note that the creation times for the StackSet operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks."];endTimestamp:Timestamp.toption[@ocaml.doc"The time at which the StackSet operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the StackSet operation was successful, or even attempted, in each account or Region."];statusReason:StackSetOperationStatusReason.toption[@ocaml.doc"The status of the operation in details."];statusDetails:StackSetOperationStatusDetails.toption[@ocaml.doc"Detailed information about the StackSet operation."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"The user-specified preferences for how CloudFormation performs a StackSet operation. For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options."]}letmake?operationId=fun?action->fun?status->fun?creationTimestamp->fun?endTimestamp->fun?statusReason->fun?statusDetails->fun?operationPreferences->fun()->{operationId;action;status;creationTimestamp;endTimestamp;statusReason;statusDetails;operationPreferences}letto_valuex=structure_to_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("Action",(Option.mapx.action~f:StackSetOperationAction.to_value));("Status",(Option.mapx.status~f:StackSetOperationStatus.to_value));("CreationTimestamp",(Option.mapx.creationTimestamp~f:Timestamp.to_value));("EndTimestamp",(Option.mapx.endTimestamp~f:Timestamp.to_value));("StatusReason",(Option.mapx.statusReason~f:StackSetOperationStatusReason.to_value));("StatusDetails",(Option.mapx.statusDetails~f:StackSetOperationStatusDetails.to_value));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inletstatusDetails=(Option.map~f:StackSetOperationStatusDetails.of_xml)(Xml.childxml_arg0"StatusDetails")inletstatusReason=(Option.map~f:StackSetOperationStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletendTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndTimestamp")inletcreationTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTimestamp")inletstatus=(Option.map~f:StackSetOperationStatus.of_xml)(Xml.childxml_arg0"Status")inletaction=(Option.map~f:StackSetOperationAction.of_xml)(Xml.childxml_arg0"Action")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?operationPreferences?statusDetails?statusReason?endTimestamp?creationTimestamp?status?action?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninletstatusDetails=field_mapjson__"StatusDetails"StackSetOperationStatusDetails.of_jsoninletstatusReason=field_mapjson__"StatusReason"StackSetOperationStatusReason.of_jsoninletendTimestamp=field_mapjson__"EndTimestamp"Timestamp.of_jsoninletcreationTimestamp=field_mapjson__"CreationTimestamp"Timestamp.of_jsoninletstatus=field_mapjson__"Status"StackSetOperationStatus.of_jsoninletaction=field_mapjson__"Action"StackSetOperationAction.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?operationPreferences?statusDetails?statusReason?endTimestamp?creationTimestamp?status?action?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The structures that contain summary information about the specified operation."]moduleStackSetOperationResultSummary=structtypenonrect={account:Account.toption[@ocaml.doc"\\[Self-managed permissions\\] The name of the Amazon Web Services account for this operation result."];region:Region.toption[@ocaml.doc"The name of the Amazon Web Services Region for this operation result."];status:StackSetOperationResultStatus.toption[@ocaml.doc"The result status of the StackSet operation for the given account in the given Region. CANCELLED: The operation in the specified account and Region has been canceled. This is either because a user has stopped the StackSet operation, or because the failure tolerance of the StackSet operation has been exceeded. FAILED: The operation in the specified account and Region failed. If the StackSet operation fails in enough accounts within a Region, the failure tolerance for the StackSet operation as a whole might be exceeded. RUNNING: The operation in the specified account and Region is currently in progress. PENDING: The operation in the specified account and Region has yet to start. SUCCEEDED: The operation in the specified account and Region completed successfully."];statusReason:Reason.toption[@ocaml.doc"The reason for the assigned result status."];accountGateResult:AccountGateResult.toption[@ocaml.doc"The results of the account gate function CloudFormation invokes, if present, before proceeding with StackSet operations in an account."];organizationalUnitId:OrganizationalUnitId.toption[@ocaml.doc"\\[Service-managed permissions\\] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets."]}letmake?account=fun?region->fun?status->fun?statusReason->fun?accountGateResult->fun?organizationalUnitId->fun()->{account;region;status;statusReason;accountGateResult;organizationalUnitId}letto_valuex=structure_to_value[("Account",(Option.mapx.account~f:Account.to_value));("Region",(Option.mapx.region~f:Region.to_value));("Status",(Option.mapx.status~f:StackSetOperationResultStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:Reason.to_value));("AccountGateResult",(Option.mapx.accountGateResult~f:AccountGateResult.to_value));("OrganizationalUnitId",(Option.mapx.organizationalUnitId~f:OrganizationalUnitId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letorganizationalUnitId=(Option.map~f:OrganizationalUnitId.of_xml)(Xml.childxml_arg0"OrganizationalUnitId")inletaccountGateResult=(Option.map~f:AccountGateResult.of_xml)(Xml.childxml_arg0"AccountGateResult")inletstatusReason=(Option.map~f:Reason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:StackSetOperationResultStatus.of_xml)(Xml.childxml_arg0"Status")inletregion=(Option.map~f:Region.of_xml)(Xml.childxml_arg0"Region")inletaccount=(Option.map~f:Account.of_xml)(Xml.childxml_arg0"Account")inmake?organizationalUnitId?accountGateResult?statusReason?status?region?account()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letorganizationalUnitId=field_mapjson__"OrganizationalUnitId"OrganizationalUnitId.of_jsoninletaccountGateResult=field_mapjson__"AccountGateResult"AccountGateResult.of_jsoninletstatusReason=field_mapjson__"StatusReason"Reason.of_jsoninletstatus=field_mapjson__"Status"StackSetOperationResultStatus.of_jsoninletregion=field_mapjson__"Region"Region.of_jsoninletaccount=field_mapjson__"Account"Account.of_jsoninmake?organizationalUnitId?accountGateResult?statusReason?status?region?account()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The structure that contains information about a specified operation's results for a given account in a given Region."]moduleOperationResultFilter=structtypenonrect={name:OperationResultFilterName.toption[@ocaml.doc"The type of filter to apply."];values:OperationResultFilterValues.toption[@ocaml.doc"The value to filter by."]}letmake?name=fun?values->fun()->{name;values}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:OperationResultFilterName.to_value));("Values",(Option.mapx.values~f:OperationResultFilterValues.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalues=(Option.map~f:OperationResultFilterValues.of_xml)(Xml.childxml_arg0"Values")inletname=(Option.map~f:OperationResultFilterName.of_xml)(Xml.childxml_arg0"Name")inmake?values?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalues=field_mapjson__"Values"OperationResultFilterValues.of_jsoninletname=field_mapjson__"Name"OperationResultFilterName.of_jsoninmake?values?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The status that operation results are filtered by."]moduleStackSetAutoDeploymentTargetSummary=structtypenonrect={organizationalUnitId:OrganizationalUnitId.toption[@ocaml.doc"The organization root ID or organizational unit (OU) IDs where the StackSet is targeted."];regions:RegionList.toption[@ocaml.doc"The list of Regions targeted for this organization or OU."]}letmake?organizationalUnitId=fun?regions->fun()->{organizationalUnitId;regions}letto_valuex=structure_to_value[("OrganizationalUnitId",(Option.mapx.organizationalUnitId~f:OrganizationalUnitId.to_value));("Regions",(Option.mapx.regions~f:RegionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregions=(Option.map~f:RegionList.of_xml)(Xml.childxml_arg0"Regions")inletorganizationalUnitId=(Option.map~f:OrganizationalUnitId.of_xml)(Xml.childxml_arg0"OrganizationalUnitId")inmake?regions?organizationalUnitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregions=field_mapjson__"Regions"RegionList.of_jsoninletorganizationalUnitId=field_mapjson__"OrganizationalUnitId"OrganizationalUnitId.of_jsoninmake?regions?organizationalUnitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One of the targets for the StackSet. Returned by the ListStackSetAutoDeploymentTargets API operation."]moduleStackResourceSummary=structtypenonrect={logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier that corresponds to a physical instance ID of the resource."];resourceType:ResourceType.toption[@ocaml.doc"Type of resource. (For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.)"];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"Time the status was updated."];resourceStatus:ResourceStatus.toption[@ocaml.doc"Current status of the resource."];resourceStatusReason:ResourceStatusReason.toption[@ocaml.doc"Success/failure message associated with the resource."];driftInformation:StackResourceDriftInformationSummary.toption[@ocaml.doc"Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection."];moduleInfo:ModuleInfo.toption[@ocaml.doc"Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template."]}letmake?logicalResourceId=fun?physicalResourceId->fun?resourceType->fun?lastUpdatedTimestamp->fun?resourceStatus->fun?resourceStatusReason->fun?driftInformation->fun?moduleInfo->fun()->{logicalResourceId;physicalResourceId;resourceType;lastUpdatedTimestamp;resourceStatus;resourceStatusReason;driftInformation;moduleInfo}letto_valuex=structure_to_value[("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value));("ResourceStatus",(Option.mapx.resourceStatus~f:ResourceStatus.to_value));("ResourceStatusReason",(Option.mapx.resourceStatusReason~f:ResourceStatusReason.to_value));("DriftInformation",(Option.mapx.driftInformation~f:StackResourceDriftInformationSummary.to_value));("ModuleInfo",(Option.mapx.moduleInfo~f:ModuleInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmoduleInfo=(Option.map~f:ModuleInfo.of_xml)(Xml.childxml_arg0"ModuleInfo")inletdriftInformation=(Option.map~f:StackResourceDriftInformationSummary.of_xml)(Xml.childxml_arg0"DriftInformation")inletresourceStatusReason=(Option.map~f:ResourceStatusReason.of_xml)(Xml.childxml_arg0"ResourceStatusReason")inletresourceStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"ResourceStatus")inletlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inmake?moduleInfo?driftInformation?resourceStatusReason?resourceStatus?lastUpdatedTimestamp?resourceType?physicalResourceId?logicalResourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmoduleInfo=field_mapjson__"ModuleInfo"ModuleInfo.of_jsoninletdriftInformation=field_mapjson__"DriftInformation"StackResourceDriftInformationSummary.of_jsoninletresourceStatusReason=field_mapjson__"ResourceStatusReason"ResourceStatusReason.of_jsoninletresourceStatus=field_mapjson__"ResourceStatus"ResourceStatus.of_jsoninletlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninmake?moduleInfo?driftInformation?resourceStatusReason?resourceStatus?lastUpdatedTimestamp?resourceType?physicalResourceId?logicalResourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains high-level information about the specified stack resource."]moduleStackRefactorSummary=structtypenonrect={stackRefactorId:StackRefactorId.toption[@ocaml.doc"The ID associated with the stack refactor created from the CreateStackRefactor action."];description:Description.toption[@ocaml.doc"A description to help you identify the refactor."];executionStatus:StackRefactorExecutionStatus.toption[@ocaml.doc"The operation status that's provided after calling the ExecuteStackRefactor action."];executionStatusReason:ExecutionStatusReason.toption[@ocaml.doc"A detailed explanation for the stack refactor ExecutionStatus."];status:StackRefactorStatus.toption[@ocaml.doc"The stack refactor operation status that's provided after calling the CreateStackRefactor action."];statusReason:StackRefactorStatusReason.toption[@ocaml.doc"A detailed explanation for the stack refactor Status."]}letmake?stackRefactorId=fun?description->fun?executionStatus->fun?executionStatusReason->fun?status->fun?statusReason->fun()->{stackRefactorId;description;executionStatus;executionStatusReason;status;statusReason}letto_valuex=structure_to_value[("StackRefactorId",(Option.mapx.stackRefactorId~f:StackRefactorId.to_value));("Description",(Option.mapx.description~f:Description.to_value));("ExecutionStatus",(Option.mapx.executionStatus~f:StackRefactorExecutionStatus.to_value));("ExecutionStatusReason",(Option.mapx.executionStatusReason~f:ExecutionStatusReason.to_value));("Status",(Option.mapx.status~f:StackRefactorStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:StackRefactorStatusReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusReason=(Option.map~f:StackRefactorStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:StackRefactorStatus.of_xml)(Xml.childxml_arg0"Status")inletexecutionStatusReason=(Option.map~f:ExecutionStatusReason.of_xml)(Xml.childxml_arg0"ExecutionStatusReason")inletexecutionStatus=(Option.map~f:StackRefactorExecutionStatus.of_xml)(Xml.childxml_arg0"ExecutionStatus")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletstackRefactorId=(Option.map~f:StackRefactorId.of_xml)(Xml.childxml_arg0"StackRefactorId")inmake?statusReason?status?executionStatusReason?executionStatus?description?stackRefactorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusReason=field_mapjson__"StatusReason"StackRefactorStatusReason.of_jsoninletstatus=field_mapjson__"Status"StackRefactorStatus.of_jsoninletexecutionStatusReason=field_mapjson__"ExecutionStatusReason"ExecutionStatusReason.of_jsoninletexecutionStatus=field_mapjson__"ExecutionStatus"StackRefactorExecutionStatus.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletstackRefactorId=field_mapjson__"StackRefactorId"StackRefactorId.of_jsoninmake?statusReason?status?executionStatusReason?executionStatus?description?stackRefactorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The summary of a stack refactor operation."]moduleStackRefactorAction=structtypenonrect={action:StackRefactorActionType.toption[@ocaml.doc"The action that CloudFormation takes on the stack."];entity:StackRefactorActionEntity.toption[@ocaml.doc"The type that will be evaluated in the StackRefactorAction. The following are potential Entity types: Stack Resource"];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier associated with the physical instance of the resource."];resourceIdentifier:StackRefactorResourceIdentifier.toption[@ocaml.doc"A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket)."];description:Description.toption[@ocaml.doc"A description to help you identify the refactor."];detection:StackRefactorDetection.toption[@ocaml.doc"The detection type is one of the following: Auto: CloudFormation figured out the mapping on its own. Manual: The customer provided the mapping in the ResourceMapping parameter."];detectionReason:DetectionReason.toption[@ocaml.doc"The description of the detection type."];tagResources:StackRefactorTagResources.toption[@ocaml.doc"Assigns one or more tags to specified resources."];untagResources:StackRefactorUntagResources.toption[@ocaml.doc"Removes one or more tags to specified resources."];resourceMapping:ResourceMapping.toption[@ocaml.doc"The mapping for the stack resource Source and stack resource Destination."]}letmake?action=fun?entity->fun?physicalResourceId->fun?resourceIdentifier->fun?description->fun?detection->fun?detectionReason->fun?tagResources->fun?untagResources->fun?resourceMapping->fun()->{action;entity;physicalResourceId;resourceIdentifier;description;detection;detectionReason;tagResources;untagResources;resourceMapping}letto_valuex=structure_to_value[("Action",(Option.mapx.action~f:StackRefactorActionType.to_value));("Entity",(Option.mapx.entity~f:StackRefactorActionEntity.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("ResourceIdentifier",(Option.mapx.resourceIdentifier~f:StackRefactorResourceIdentifier.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Detection",(Option.mapx.detection~f:StackRefactorDetection.to_value));("DetectionReason",(Option.mapx.detectionReason~f:DetectionReason.to_value));("TagResources",(Option.mapx.tagResources~f:StackRefactorTagResources.to_value));("UntagResources",(Option.mapx.untagResources~f:StackRefactorUntagResources.to_value));("ResourceMapping",(Option.mapx.resourceMapping~f:ResourceMapping.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceMapping=(Option.map~f:ResourceMapping.of_xml)(Xml.childxml_arg0"ResourceMapping")inletuntagResources=(Option.map~f:StackRefactorUntagResources.of_xml)(Xml.childxml_arg0"UntagResources")inlettagResources=(Option.map~f:StackRefactorTagResources.of_xml)(Xml.childxml_arg0"TagResources")inletdetectionReason=(Option.map~f:DetectionReason.of_xml)(Xml.childxml_arg0"DetectionReason")inletdetection=(Option.map~f:StackRefactorDetection.of_xml)(Xml.childxml_arg0"Detection")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletresourceIdentifier=(Option.map~f:StackRefactorResourceIdentifier.of_xml)(Xml.childxml_arg0"ResourceIdentifier")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletentity=(Option.map~f:StackRefactorActionEntity.of_xml)(Xml.childxml_arg0"Entity")inletaction=(Option.map~f:StackRefactorActionType.of_xml)(Xml.childxml_arg0"Action")inmake?resourceMapping?untagResources?tagResources?detectionReason?detection?description?resourceIdentifier?physicalResourceId?entity?action()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceMapping=field_mapjson__"ResourceMapping"ResourceMapping.of_jsoninletuntagResources=field_mapjson__"UntagResources"StackRefactorUntagResources.of_jsoninlettagResources=field_mapjson__"TagResources"StackRefactorTagResources.of_jsoninletdetectionReason=field_mapjson__"DetectionReason"DetectionReason.of_jsoninletdetection=field_mapjson__"Detection"StackRefactorDetection.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletresourceIdentifier=field_mapjson__"ResourceIdentifier"StackRefactorResourceIdentifier.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletentity=field_mapjson__"Entity"StackRefactorActionEntity.of_jsoninletaction=field_mapjson__"Action"StackRefactorActionType.of_jsoninmake?resourceMapping?untagResources?tagResources?detectionReason?detection?description?resourceIdentifier?physicalResourceId?entity?action()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the stack and the action that CloudFormation will perform on it if you execute the stack refactor."]moduleStackInstanceSummary=structtypenonrect={stackSetId:StackSetId.toption[@ocaml.doc"The name or unique ID of the StackSet that the stack instance is associated with."];region:Region.toption[@ocaml.doc"The name of the Amazon Web Services Region that the stack instance is associated with."];account:Account.toption[@ocaml.doc"\\[Self-managed permissions\\] The name of the Amazon Web Services account that the stack instance is associated with."];stackId:StackId.toption[@ocaml.doc"The ID of the stack instance."];status:StackInstanceStatus.toption[@ocaml.doc"The status of the stack instance, in terms of its synchronization with its associated stack set. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. INOPERABLE can be returned here when the cause is a failed import. If it's due to a failed import, the operation can be retried once the failures are fixed. To see if this is due to a failed import, call the DescribeStackInstance API operation, look at the DetailedStatus member returned in the StackInstanceSummary member. OUTDATED: The stack isn't currently up to date with the StackSet because: The associated stack failed during a CreateStackSet or UpdateStackSet operation. The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated. CURRENT: The stack is currently up to date with the StackSet."];statusReason:Reason.toption[@ocaml.doc"The explanation for the specific status code assigned to this stack instance."];stackInstanceStatus:StackInstanceComprehensiveStatus.toption[@ocaml.doc"The detailed status of the stack instance."];organizationalUnitId:OrganizationalUnitId.toption[@ocaml.doc"\\[Service-managed permissions\\] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets."];driftStatus:StackDriftStatus.toption[@ocaml.doc"Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the StackSet it belongs to. DRIFTED: The stack differs from the expected template and parameter configuration of the StackSet it belongs to. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its expected StackSet configuration. IN_SYNC: The stack instance's actual configuration matches its expected StackSet configuration. UNKNOWN: This value is reserved for future use."];lastDriftCheckTimestamp:Timestamp.toption[@ocaml.doc"Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance that drift detection hasn't yet been performed on."];lastOperationId:ClientRequestToken.toption[@ocaml.doc"The last unique ID of a StackSet operation performed on a stack instance."]}letmake?stackSetId=fun?region->fun?account->fun?stackId->fun?status->fun?statusReason->fun?stackInstanceStatus->fun?organizationalUnitId->fun?driftStatus->fun?lastDriftCheckTimestamp->fun?lastOperationId->fun()->{stackSetId;region;account;stackId;status;statusReason;stackInstanceStatus;organizationalUnitId;driftStatus;lastDriftCheckTimestamp;lastOperationId}letto_valuex=structure_to_value[("StackSetId",(Option.mapx.stackSetId~f:StackSetId.to_value));("Region",(Option.mapx.region~f:Region.to_value));("Account",(Option.mapx.account~f:Account.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("Status",(Option.mapx.status~f:StackInstanceStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:Reason.to_value));("StackInstanceStatus",(Option.mapx.stackInstanceStatus~f:StackInstanceComprehensiveStatus.to_value));("OrganizationalUnitId",(Option.mapx.organizationalUnitId~f:OrganizationalUnitId.to_value));("DriftStatus",(Option.mapx.driftStatus~f:StackDriftStatus.to_value));("LastDriftCheckTimestamp",(Option.mapx.lastDriftCheckTimestamp~f:Timestamp.to_value));("LastOperationId",(Option.mapx.lastOperationId~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastOperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"LastOperationId")inletlastDriftCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastDriftCheckTimestamp")inletdriftStatus=(Option.map~f:StackDriftStatus.of_xml)(Xml.childxml_arg0"DriftStatus")inletorganizationalUnitId=(Option.map~f:OrganizationalUnitId.of_xml)(Xml.childxml_arg0"OrganizationalUnitId")inletstackInstanceStatus=(Option.map~f:StackInstanceComprehensiveStatus.of_xml)(Xml.childxml_arg0"StackInstanceStatus")inletstatusReason=(Option.map~f:Reason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:StackInstanceStatus.of_xml)(Xml.childxml_arg0"Status")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletaccount=(Option.map~f:Account.of_xml)(Xml.childxml_arg0"Account")inletregion=(Option.map~f:Region.of_xml)(Xml.childxml_arg0"Region")inletstackSetId=(Option.map~f:StackSetId.of_xml)(Xml.childxml_arg0"StackSetId")inmake?lastOperationId?lastDriftCheckTimestamp?driftStatus?organizationalUnitId?stackInstanceStatus?statusReason?status?stackId?account?region?stackSetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastOperationId=field_mapjson__"LastOperationId"ClientRequestToken.of_jsoninletlastDriftCheckTimestamp=field_mapjson__"LastDriftCheckTimestamp"Timestamp.of_jsoninletdriftStatus=field_mapjson__"DriftStatus"StackDriftStatus.of_jsoninletorganizationalUnitId=field_mapjson__"OrganizationalUnitId"OrganizationalUnitId.of_jsoninletstackInstanceStatus=field_mapjson__"StackInstanceStatus"StackInstanceComprehensiveStatus.of_jsoninletstatusReason=field_mapjson__"StatusReason"Reason.of_jsoninletstatus=field_mapjson__"Status"StackInstanceStatus.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninletaccount=field_mapjson__"Account"Account.of_jsoninletregion=field_mapjson__"Region"Region.of_jsoninletstackSetId=field_mapjson__"StackSetId"StackSetId.of_jsoninmake?lastOperationId?lastDriftCheckTimestamp?driftStatus?organizationalUnitId?stackInstanceStatus?statusReason?status?stackId?account?region?stackSetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The structure that contains summary information about a stack instance."]moduleStackInstanceFilter=structtypenonrect={name:StackInstanceFilterName.toption[@ocaml.doc"The type of filter to apply."];values:StackInstanceFilterValues.toption[@ocaml.doc"The status to filter by."]}letmake?name=fun?values->fun()->{name;values}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:StackInstanceFilterName.to_value));("Values",(Option.mapx.values~f:StackInstanceFilterValues.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalues=(Option.map~f:StackInstanceFilterValues.of_xml)(Xml.childxml_arg0"Values")inletname=(Option.map~f:StackInstanceFilterName.of_xml)(Xml.childxml_arg0"Name")inmake?values?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalues=field_mapjson__"Values"StackInstanceFilterValues.of_jsoninletname=field_mapjson__"Name"StackInstanceFilterName.of_jsoninmake?values?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The filter to apply to stack instances"]moduleStackInstanceResourceDriftsSummary=structtypenonrect={stackId:StackId.toption[@ocaml.doc"The ID of the stack instance."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation."];physicalResourceIdContext:PhysicalResourceIdContext.toption[@ocaml.doc"Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource."];resourceType:ResourceType.toption[@ocaml.doc"Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide."];propertyDifferences:PropertyDifferences.toption[@ocaml.doc"Status of the actual configuration of the resource compared to its expected configuration. These will be present only for resources whose StackInstanceResourceDriftStatus is MODIFIED."];stackResourceDriftStatus:StackResourceDriftStatus.toption[@ocaml.doc"The drift status of the resource in a stack instance. DELETED: The resource differs from its expected template configuration in that the resource has been deleted. MODIFIED: One or more resource properties differ from their expected template values. IN_SYNC: The resource's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation doesn't currently return this value."];timestamp:Timestamp.toption[@ocaml.doc"Time at which the stack instance drift detection operation was initiated."]}letmake?stackId=fun?logicalResourceId->fun?physicalResourceId->fun?physicalResourceIdContext->fun?resourceType->fun?propertyDifferences->fun?stackResourceDriftStatus->fun?timestamp->fun()->{stackId;logicalResourceId;physicalResourceId;physicalResourceIdContext;resourceType;propertyDifferences;stackResourceDriftStatus;timestamp}letto_valuex=structure_to_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("PhysicalResourceIdContext",(Option.mapx.physicalResourceIdContext~f:PhysicalResourceIdContext.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("PropertyDifferences",(Option.mapx.propertyDifferences~f:PropertyDifferences.to_value));("StackResourceDriftStatus",(Option.mapx.stackResourceDriftStatus~f:StackResourceDriftStatus.to_value));("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inletstackResourceDriftStatus=(Option.map~f:StackResourceDriftStatus.of_xml)(Xml.childxml_arg0"StackResourceDriftStatus")inletpropertyDifferences=(Option.map~f:PropertyDifferences.of_xml)(Xml.childxml_arg0"PropertyDifferences")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceIdContext=(Option.map~f:PhysicalResourceIdContext.of_xml)(Xml.childxml_arg0"PhysicalResourceIdContext")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?timestamp?stackResourceDriftStatus?propertyDifferences?resourceType?physicalResourceIdContext?physicalResourceId?logicalResourceId?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninletstackResourceDriftStatus=field_mapjson__"StackResourceDriftStatus"StackResourceDriftStatus.of_jsoninletpropertyDifferences=field_mapjson__"PropertyDifferences"PropertyDifferences.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceIdContext=field_mapjson__"PhysicalResourceIdContext"PhysicalResourceIdContext.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?timestamp?stackResourceDriftStatus?propertyDifferences?resourceType?physicalResourceIdContext?physicalResourceId?logicalResourceId?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The structure containing summary information about resource drifts for a stack instance."]moduleResourceScanSummary=structtypenonrect={resourceScanId:ResourceScanId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource scan."];status:ResourceScanStatus.toption[@ocaml.doc"Status of the resource scan. IN_PROGRESS The resource scan is still in progress. COMPLETE The resource scan is complete. EXPIRED The resource scan has expired. FAILED The resource scan has failed."];statusReason:ResourceScanStatusReason.toption[@ocaml.doc"The reason for the resource scan status, providing more information if a failure happened."];startTime:Timestamp.toption[@ocaml.doc"The time that the resource scan was started."];endTime:Timestamp.toption[@ocaml.doc"The time that the resource scan was finished."];percentageCompleted:PercentageCompleted.toption[@ocaml.doc"The percentage of the resource scan that has been completed."];scanType:ScanType.toption[@ocaml.doc"The scan type that has been completed."]}letmake?resourceScanId=fun?status->fun?statusReason->fun?startTime->fun?endTime->fun?percentageCompleted->fun?scanType->fun()->{resourceScanId;status;statusReason;startTime;endTime;percentageCompleted;scanType}letto_valuex=structure_to_value[("ResourceScanId",(Option.mapx.resourceScanId~f:ResourceScanId.to_value));("Status",(Option.mapx.status~f:ResourceScanStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:ResourceScanStatusReason.to_value));("StartTime",(Option.mapx.startTime~f:Timestamp.to_value));("EndTime",(Option.mapx.endTime~f:Timestamp.to_value));("PercentageCompleted",(Option.mapx.percentageCompleted~f:PercentageCompleted.to_value));("ScanType",(Option.mapx.scanType~f:ScanType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscanType=(Option.map~f:ScanType.of_xml)(Xml.childxml_arg0"ScanType")inletpercentageCompleted=(Option.map~f:PercentageCompleted.of_xml)(Xml.childxml_arg0"PercentageCompleted")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"StartTime")inletstatusReason=(Option.map~f:ResourceScanStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:ResourceScanStatus.of_xml)(Xml.childxml_arg0"Status")inletresourceScanId=(Option.map~f:ResourceScanId.of_xml)(Xml.childxml_arg0"ResourceScanId")inmake?scanType?percentageCompleted?endTime?startTime?statusReason?status?resourceScanId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscanType=field_mapjson__"ScanType"ScanType.of_jsoninletpercentageCompleted=field_mapjson__"PercentageCompleted"PercentageCompleted.of_jsoninletendTime=field_mapjson__"EndTime"Timestamp.of_jsoninletstartTime=field_mapjson__"StartTime"Timestamp.of_jsoninletstatusReason=field_mapjson__"StatusReason"ResourceScanStatusReason.of_jsoninletstatus=field_mapjson__"Status"ResourceScanStatus.of_jsoninletresourceScanId=field_mapjson__"ResourceScanId"ResourceScanId.of_jsoninmake?scanType?percentageCompleted?endTime?startTime?statusReason?status?resourceScanId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary of the resource scan. This is returned by the ListResourceScan API action."]moduleScannedResource=structtypenonrect={resourceType:ResourceType.toption[@ocaml.doc"The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide"];resourceIdentifier:JazzResourceIdentifierProperties.toption[@ocaml.doc"A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide."];managedByStack:ManagedByStack.toption[@ocaml.doc"If true, the resource is managed by a CloudFormation stack."]}letmake?resourceType=fun?resourceIdentifier->fun?managedByStack->fun()->{resourceType;resourceIdentifier;managedByStack}letto_valuex=structure_to_value[("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("ResourceIdentifier",(Option.mapx.resourceIdentifier~f:JazzResourceIdentifierProperties.to_value));("ManagedByStack",(Option.mapx.managedByStack~f:ManagedByStack.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanagedByStack=(Option.map~f:ManagedByStack.of_xml)(Xml.childxml_arg0"ManagedByStack")inletresourceIdentifier=(Option.map~f:JazzResourceIdentifierProperties.of_xml)(Xml.childxml_arg0"ResourceIdentifier")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inmake?managedByStack?resourceIdentifier?resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanagedByStack=field_mapjson__"ManagedByStack"ManagedByStack.of_jsoninletresourceIdentifier=field_mapjson__"ResourceIdentifier"JazzResourceIdentifierProperties.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninmake?managedByStack?resourceIdentifier?resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A scanned resource returned by ListResourceScanResources or ListResourceScanRelatedResources."]moduleScannedResourceIdentifier=structtypenonrect={resourceType:ResourceType.t[@ocaml.doc"The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide."];resourceIdentifier:JazzResourceIdentifierProperties.t[@ocaml.doc"A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide."]}letcontext_="ScannedResourceIdentifier"letmake~resourceType=fun~resourceIdentifier->fun()->{resourceType;resourceIdentifier}letto_valuex=structure_to_value[("ResourceType",(Some(ResourceType.to_valuex.resourceType)));("ResourceIdentifier",(Some(JazzResourceIdentifierProperties.to_valuex.resourceIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceIdentifier=JazzResourceIdentifierProperties.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceIdentifier")inletresourceType=ResourceType.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceType")inmake~resourceIdentifier~resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceIdentifier=field_map_exnjson__"ResourceIdentifier"JazzResourceIdentifierProperties.of_jsoninletresourceType=field_map_exnjson__"ResourceType"ResourceType.of_jsoninmake~resourceIdentifier~resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Identifies a scanned resource. This is used with the ListResourceScanRelatedResources API action."]moduleHookResultSummary=structtypenonrect={hookResultId:HookInvocationId.toption[@ocaml.doc"The unique identifier for this Hook invocation result."];invocationPoint:HookInvocationPoint.toption[@ocaml.doc"The specific point in the provisioning process where the Hook is invoked."];failureMode:HookFailureMode.toption[@ocaml.doc"The failure mode of the invocation."];typeName:HookTypeName.toption[@ocaml.doc"The name of the Hook that was invoked."];typeVersionId:HookTypeVersionId.toption[@ocaml.doc"The version of the Hook that was invoked."];typeConfigurationVersionId:HookTypeConfigurationVersionId.toption[@ocaml.doc"The version of the Hook configuration."];status:HookStatus.toption[@ocaml.doc"The status of the Hook invocation. The following statuses are possible: HOOK_IN_PROGRESS: The Hook is currently running. HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully. HOOK_COMPLETE_FAILED: The Hook completed but failed validation. HOOK_FAILED: The Hook encountered an error during execution."];hookStatusReason:HookStatusReason.toption[@ocaml.doc"A description of the Hook results status. For example, if the Hook result is in a failed state, this may contain additional information for the failed state."];invokedAt:Timestamp.toption[@ocaml.doc"The timestamp when the Hook was invoked. Only shown in responses when the request does not specify TargetType and TargetId filters."];targetType:ListHookResultsTargetType.toption[@ocaml.doc"The target type that the Hook was invoked against."];targetId:HookResultId.toption[@ocaml.doc"The unique identifier of the Hook invocation target."];typeArn:HookTypeArn.toption[@ocaml.doc"The ARN of the Hook that was invoked."];hookExecutionTarget:HookResultId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the target stack or request token of the Cloud Control API operation. Only shown in responses when the request does not specify TargetType and TargetId filters."]}letmake?hookResultId=fun?invocationPoint->fun?failureMode->fun?typeName->fun?typeVersionId->fun?typeConfigurationVersionId->fun?status->fun?hookStatusReason->fun?invokedAt->fun?targetType->fun?targetId->fun?typeArn->fun?hookExecutionTarget->fun()->{hookResultId;invocationPoint;failureMode;typeName;typeVersionId;typeConfigurationVersionId;status;hookStatusReason;invokedAt;targetType;targetId;typeArn;hookExecutionTarget}letto_valuex=structure_to_value[("HookResultId",(Option.mapx.hookResultId~f:HookInvocationId.to_value));("InvocationPoint",(Option.mapx.invocationPoint~f:HookInvocationPoint.to_value));("FailureMode",(Option.mapx.failureMode~f:HookFailureMode.to_value));("TypeName",(Option.mapx.typeName~f:HookTypeName.to_value));("TypeVersionId",(Option.mapx.typeVersionId~f:HookTypeVersionId.to_value));("TypeConfigurationVersionId",(Option.mapx.typeConfigurationVersionId~f:HookTypeConfigurationVersionId.to_value));("Status",(Option.mapx.status~f:HookStatus.to_value));("HookStatusReason",(Option.mapx.hookStatusReason~f:HookStatusReason.to_value));("InvokedAt",(Option.mapx.invokedAt~f:Timestamp.to_value));("TargetType",(Option.mapx.targetType~f:ListHookResultsTargetType.to_value));("TargetId",(Option.mapx.targetId~f:HookResultId.to_value));("TypeArn",(Option.mapx.typeArn~f:HookTypeArn.to_value));("HookExecutionTarget",(Option.mapx.hookExecutionTarget~f:HookResultId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethookExecutionTarget=(Option.map~f:HookResultId.of_xml)(Xml.childxml_arg0"HookExecutionTarget")inlettypeArn=(Option.map~f:HookTypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inlettargetId=(Option.map~f:HookResultId.of_xml)(Xml.childxml_arg0"TargetId")inlettargetType=(Option.map~f:ListHookResultsTargetType.of_xml)(Xml.childxml_arg0"TargetType")inletinvokedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"InvokedAt")inlethookStatusReason=(Option.map~f:HookStatusReason.of_xml)(Xml.childxml_arg0"HookStatusReason")inletstatus=(Option.map~f:HookStatus.of_xml)(Xml.childxml_arg0"Status")inlettypeConfigurationVersionId=(Option.map~f:HookTypeConfigurationVersionId.of_xml)(Xml.childxml_arg0"TypeConfigurationVersionId")inlettypeVersionId=(Option.map~f:HookTypeVersionId.of_xml)(Xml.childxml_arg0"TypeVersionId")inlettypeName=(Option.map~f:HookTypeName.of_xml)(Xml.childxml_arg0"TypeName")inletfailureMode=(Option.map~f:HookFailureMode.of_xml)(Xml.childxml_arg0"FailureMode")inletinvocationPoint=(Option.map~f:HookInvocationPoint.of_xml)(Xml.childxml_arg0"InvocationPoint")inlethookResultId=(Option.map~f:HookInvocationId.of_xml)(Xml.childxml_arg0"HookResultId")inmake?hookExecutionTarget?typeArn?targetId?targetType?invokedAt?hookStatusReason?status?typeConfigurationVersionId?typeVersionId?typeName?failureMode?invocationPoint?hookResultId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethookExecutionTarget=field_mapjson__"HookExecutionTarget"HookResultId.of_jsoninlettypeArn=field_mapjson__"TypeArn"HookTypeArn.of_jsoninlettargetId=field_mapjson__"TargetId"HookResultId.of_jsoninlettargetType=field_mapjson__"TargetType"ListHookResultsTargetType.of_jsoninletinvokedAt=field_mapjson__"InvokedAt"Timestamp.of_jsoninlethookStatusReason=field_mapjson__"HookStatusReason"HookStatusReason.of_jsoninletstatus=field_mapjson__"Status"HookStatus.of_jsoninlettypeConfigurationVersionId=field_mapjson__"TypeConfigurationVersionId"HookTypeConfigurationVersionId.of_jsoninlettypeVersionId=field_mapjson__"TypeVersionId"HookTypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"HookTypeName.of_jsoninletfailureMode=field_mapjson__"FailureMode"HookFailureMode.of_jsoninletinvocationPoint=field_mapjson__"InvocationPoint"HookInvocationPoint.of_jsoninlethookResultId=field_mapjson__"HookResultId"HookInvocationId.of_jsoninmake?hookExecutionTarget?typeArn?targetId?targetType?invokedAt?hookStatusReason?status?typeConfigurationVersionId?typeVersionId?typeName?failureMode?invocationPoint?hookResultId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A ListHookResults call returns a summary of a Hook invocation."]moduleTemplateSummary=structtypenonrect={generatedTemplateId:GeneratedTemplateId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the generated template. The format is arn:$\\{Partition\\}:cloudformation:$\\{Region\\}:$\\{Account\\}:generatedtemplate/$\\{Id\\}. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc ."];generatedTemplateName:GeneratedTemplateName.toption[@ocaml.doc"The name of the generated template."];status:GeneratedTemplateStatus.toption[@ocaml.doc"The status of the template generation. Supported values are: CreatePending - the creation of the template is pending. CreateInProgress - the creation of the template is in progress. DeletePending - the deletion of the template is pending. DeleteInProgress - the deletion of the template is in progress. UpdatePending - the update of the template is pending. UpdateInProgress - the update of the template is in progress. Failed - the template operation failed. Complete - the template operation is complete."];statusReason:TemplateStatusReason.toption[@ocaml.doc"The reason for the current template generation status. This will provide more details if a failure happened."];creationTime:CreationTime.toption[@ocaml.doc"The time the generated template was created."];lastUpdatedTime:LastUpdatedTime.toption[@ocaml.doc"The time the generated template was last updated."];numberOfResources:NumberOfResources.toption[@ocaml.doc"The number of resources in the generated template. This is a total of resources in pending, in-progress, completed, and failed states."]}letmake?generatedTemplateId=fun?generatedTemplateName->fun?status->fun?statusReason->fun?creationTime->fun?lastUpdatedTime->fun?numberOfResources->fun()->{generatedTemplateId;generatedTemplateName;status;statusReason;creationTime;lastUpdatedTime;numberOfResources}letto_valuex=structure_to_value[("GeneratedTemplateId",(Option.mapx.generatedTemplateId~f:GeneratedTemplateId.to_value));("GeneratedTemplateName",(Option.mapx.generatedTemplateName~f:GeneratedTemplateName.to_value));("Status",(Option.mapx.status~f:GeneratedTemplateStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:TemplateStatusReason.to_value));("CreationTime",(Option.mapx.creationTime~f:CreationTime.to_value));("LastUpdatedTime",(Option.mapx.lastUpdatedTime~f:LastUpdatedTime.to_value));("NumberOfResources",(Option.mapx.numberOfResources~f:NumberOfResources.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnumberOfResources=(Option.map~f:NumberOfResources.of_xml)(Xml.childxml_arg0"NumberOfResources")inletlastUpdatedTime=(Option.map~f:LastUpdatedTime.of_xml)(Xml.childxml_arg0"LastUpdatedTime")inletcreationTime=(Option.map~f:CreationTime.of_xml)(Xml.childxml_arg0"CreationTime")inletstatusReason=(Option.map~f:TemplateStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:GeneratedTemplateStatus.of_xml)(Xml.childxml_arg0"Status")inletgeneratedTemplateName=(Option.map~f:GeneratedTemplateName.of_xml)(Xml.childxml_arg0"GeneratedTemplateName")inletgeneratedTemplateId=(Option.map~f:GeneratedTemplateId.of_xml)(Xml.childxml_arg0"GeneratedTemplateId")inmake?numberOfResources?lastUpdatedTime?creationTime?statusReason?status?generatedTemplateName?generatedTemplateId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnumberOfResources=field_mapjson__"NumberOfResources"NumberOfResources.of_jsoninletlastUpdatedTime=field_mapjson__"LastUpdatedTime"LastUpdatedTime.of_jsoninletcreationTime=field_mapjson__"CreationTime"CreationTime.of_jsoninletstatusReason=field_mapjson__"StatusReason"TemplateStatusReason.of_jsoninletstatus=field_mapjson__"Status"GeneratedTemplateStatus.of_jsoninletgeneratedTemplateName=field_mapjson__"GeneratedTemplateName"GeneratedTemplateName.of_jsoninletgeneratedTemplateId=field_mapjson__"GeneratedTemplateId"GeneratedTemplateId.of_jsoninmake?numberOfResources?lastUpdatedTime?creationTime?statusReason?status?generatedTemplateName?generatedTemplateId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The summary of a generated template."]moduleExport=structtypenonrect={exportingStackId:StackId.toption[@ocaml.doc"The stack that contains the exported output name and value."];name:ExportName.toption[@ocaml.doc"The name of exported output value. Use this name and the Fn::ImportValue function to import the associated value into other stacks. The name is defined in the Export field in the associated stack's Outputs section."];value:ExportValue.toption[@ocaml.doc"The value of the exported output, such as a resource physical ID. This value is defined in the Export field in the associated stack's Outputs section."]}letmake?exportingStackId=fun?name->fun?value->fun()->{exportingStackId;name;value}letto_valuex=structure_to_value[("ExportingStackId",(Option.mapx.exportingStackId~f:StackId.to_value));("Name",(Option.mapx.name~f:ExportName.to_value));("Value",(Option.mapx.value~f:ExportValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:ExportValue.of_xml)(Xml.childxml_arg0"Value")inletname=(Option.map~f:ExportName.of_xml)(Xml.childxml_arg0"Name")inletexportingStackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"ExportingStackId")inmake?value?name?exportingStackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"ExportValue.of_jsoninletname=field_mapjson__"Name"ExportName.of_jsoninletexportingStackId=field_mapjson__"ExportingStackId"StackId.of_jsoninmake?value?name?exportingStackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Export structure describes the exported output values for a stack. For more information, see Get exported outputs from a deployed CloudFormation stack."]moduleChangeSetSummary=structtypenonrect={stackId:StackId.toption[@ocaml.doc"The ID of the stack with which the change set is associated."];stackName:StackName.toption[@ocaml.doc"The name of the stack with which the change set is associated."];changeSetId:ChangeSetId.toption[@ocaml.doc"The ID of the change set."];changeSetName:ChangeSetName.toption[@ocaml.doc"The name of the change set."];executionStatus:ExecutionStatus.toption[@ocaml.doc"If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated."];status:ChangeSetStatus.toption[@ocaml.doc"The state of the change set, such as CREATE_PENDING, CREATE_COMPLETE, or FAILED."];statusReason:ChangeSetStatusReason.toption[@ocaml.doc"A description of the change set's status. For example, if your change set is in the FAILED state, CloudFormation shows the error message."];creationTime:CreationTime.toption[@ocaml.doc"The start time when the change set was created, in UTC."];description:Description.toption[@ocaml.doc"Descriptive information about the change set."];includeNestedStacks:IncludeNestedStacks.toption[@ocaml.doc"Specifies the current setting of IncludeNestedStacks for the change set."];parentChangeSetId:ChangeSetId.toption[@ocaml.doc"The parent change set ID."];rootChangeSetId:ChangeSetId.toption[@ocaml.doc"The root change set ID."];importExistingResources:ImportExistingResources.toption[@ocaml.doc"Indicates if the change set imports resources that already exist."]}letmake?stackId=fun?stackName->fun?changeSetId->fun?changeSetName->fun?executionStatus->fun?status->fun?statusReason->fun?creationTime->fun?description->fun?includeNestedStacks->fun?parentChangeSetId->fun?rootChangeSetId->fun?importExistingResources->fun()->{stackId;stackName;changeSetId;changeSetName;executionStatus;status;statusReason;creationTime;description;includeNestedStacks;parentChangeSetId;rootChangeSetId;importExistingResources}letto_valuex=structure_to_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("StackName",(Option.mapx.stackName~f:StackName.to_value));("ChangeSetId",(Option.mapx.changeSetId~f:ChangeSetId.to_value));("ChangeSetName",(Option.mapx.changeSetName~f:ChangeSetName.to_value));("ExecutionStatus",(Option.mapx.executionStatus~f:ExecutionStatus.to_value));("Status",(Option.mapx.status~f:ChangeSetStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:ChangeSetStatusReason.to_value));("CreationTime",(Option.mapx.creationTime~f:CreationTime.to_value));("Description",(Option.mapx.description~f:Description.to_value));("IncludeNestedStacks",(Option.mapx.includeNestedStacks~f:IncludeNestedStacks.to_value));("ParentChangeSetId",(Option.mapx.parentChangeSetId~f:ChangeSetId.to_value));("RootChangeSetId",(Option.mapx.rootChangeSetId~f:ChangeSetId.to_value));("ImportExistingResources",(Option.mapx.importExistingResources~f:ImportExistingResources.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimportExistingResources=(Option.map~f:ImportExistingResources.of_xml)(Xml.childxml_arg0"ImportExistingResources")inletrootChangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"RootChangeSetId")inletparentChangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"ParentChangeSetId")inletincludeNestedStacks=(Option.map~f:IncludeNestedStacks.of_xml)(Xml.childxml_arg0"IncludeNestedStacks")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletcreationTime=(Option.map~f:CreationTime.of_xml)(Xml.childxml_arg0"CreationTime")inletstatusReason=(Option.map~f:ChangeSetStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:ChangeSetStatus.of_xml)(Xml.childxml_arg0"Status")inletexecutionStatus=(Option.map~f:ExecutionStatus.of_xml)(Xml.childxml_arg0"ExecutionStatus")inletchangeSetName=(Option.map~f:ChangeSetName.of_xml)(Xml.childxml_arg0"ChangeSetName")inletchangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"ChangeSetId")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?importExistingResources?rootChangeSetId?parentChangeSetId?includeNestedStacks?description?creationTime?statusReason?status?executionStatus?changeSetName?changeSetId?stackName?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimportExistingResources=field_mapjson__"ImportExistingResources"ImportExistingResources.of_jsoninletrootChangeSetId=field_mapjson__"RootChangeSetId"ChangeSetId.of_jsoninletparentChangeSetId=field_mapjson__"ParentChangeSetId"ChangeSetId.of_jsoninletincludeNestedStacks=field_mapjson__"IncludeNestedStacks"IncludeNestedStacks.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletcreationTime=field_mapjson__"CreationTime"CreationTime.of_jsoninletstatusReason=field_mapjson__"StatusReason"ChangeSetStatusReason.of_jsoninletstatus=field_mapjson__"Status"ChangeSetStatus.of_jsoninletexecutionStatus=field_mapjson__"ExecutionStatus"ExecutionStatus.of_jsoninletchangeSetName=field_mapjson__"ChangeSetName"ChangeSetName.of_jsoninletchangeSetId=field_mapjson__"ChangeSetId"ChangeSetId.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?importExistingResources?rootChangeSetId?parentChangeSetId?includeNestedStacks?description?creationTime?statusReason?status?executionStatus?changeSetName?changeSetId?stackName?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ChangeSetSummary structure describes a change set, its status, and the stack with which it's associated."]moduleParameterDeclaration=structtypenonrect={parameterKey:ParameterKey.toption[@ocaml.doc"The name that's associated with the parameter."];defaultValue:ParameterValue.toption[@ocaml.doc"The default value of the parameter."];parameterType:ParameterType.toption[@ocaml.doc"The type of parameter."];noEcho:NoEcho.toption[@ocaml.doc"Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console."];description:Description.toption[@ocaml.doc"The description that's associate with the parameter."];parameterConstraints:ParameterConstraints.toption[@ocaml.doc"The criteria that CloudFormation uses to validate parameter values."]}letmake?parameterKey=fun?defaultValue->fun?parameterType->fun?noEcho->fun?description->fun?parameterConstraints->fun()->{parameterKey;defaultValue;parameterType;noEcho;description;parameterConstraints}letto_valuex=structure_to_value[("ParameterKey",(Option.mapx.parameterKey~f:ParameterKey.to_value));("DefaultValue",(Option.mapx.defaultValue~f:ParameterValue.to_value));("ParameterType",(Option.mapx.parameterType~f:ParameterType.to_value));("NoEcho",(Option.mapx.noEcho~f:NoEcho.to_value));("Description",(Option.mapx.description~f:Description.to_value));("ParameterConstraints",(Option.mapx.parameterConstraints~f:ParameterConstraints.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameterConstraints=(Option.map~f:ParameterConstraints.of_xml)(Xml.childxml_arg0"ParameterConstraints")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletnoEcho=(Option.map~f:NoEcho.of_xml)(Xml.childxml_arg0"NoEcho")inletparameterType=(Option.map~f:ParameterType.of_xml)(Xml.childxml_arg0"ParameterType")inletdefaultValue=(Option.map~f:ParameterValue.of_xml)(Xml.childxml_arg0"DefaultValue")inletparameterKey=(Option.map~f:ParameterKey.of_xml)(Xml.childxml_arg0"ParameterKey")inmake?parameterConstraints?description?noEcho?parameterType?defaultValue?parameterKey()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameterConstraints=field_mapjson__"ParameterConstraints"ParameterConstraints.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletnoEcho=field_mapjson__"NoEcho"NoEcho.of_jsoninletparameterType=field_mapjson__"ParameterType"ParameterType.of_jsoninletdefaultValue=field_mapjson__"DefaultValue"ParameterValue.of_jsoninletparameterKey=field_mapjson__"ParameterKey"ParameterKey.of_jsoninmake?parameterConstraints?description?noEcho?parameterType?defaultValue?parameterKey()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ParameterDeclaration data type."]moduleResourceIdentifierSummary=structtypenonrect={resourceType:ResourceType.toption[@ocaml.doc"The template resource type of the target resources, such as AWS::S3::Bucket."];logicalResourceIds:LogicalResourceIds.toption[@ocaml.doc"The logical IDs of the target resources of the specified ResourceType, as defined in the import template."];resourceIdentifiers:ResourceIdentifiers.toption[@ocaml.doc"The resource properties you can provide during the import to identify your target resources. For example, BucketName is a possible identifier property for AWS::S3::Bucket resources."]}letmake?resourceType=fun?logicalResourceIds->fun?resourceIdentifiers->fun()->{resourceType;logicalResourceIds;resourceIdentifiers}letto_valuex=structure_to_value[("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("LogicalResourceIds",(Option.mapx.logicalResourceIds~f:LogicalResourceIds.to_value));("ResourceIdentifiers",(Option.mapx.resourceIdentifiers~f:ResourceIdentifiers.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceIdentifiers=(Option.map~f:ResourceIdentifiers.of_xml)(Xml.childxml_arg0"ResourceIdentifiers")inletlogicalResourceIds=(Option.map~f:LogicalResourceIds.of_xml)(Xml.childxml_arg0"LogicalResourceIds")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inmake?resourceIdentifiers?logicalResourceIds?resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceIdentifiers=field_mapjson__"ResourceIdentifiers"ResourceIdentifiers.of_jsoninletlogicalResourceIds=field_mapjson__"LogicalResourceIds"LogicalResourceIds.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninmake?resourceIdentifiers?logicalResourceIds?resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the target resources of a specific type in your import template (for example, all AWS::S3::Bucket resources) and the properties you can provide during the import to identify resources of that type."]moduleResourceTypes=structtypenonrect=ResourceType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceType.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:ResourceType.of_xml)letof_jsonj=list_of_json~kind:"ResourceTypes"~of_json:ResourceType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTreatUnrecognizedResourceTypesAsWarnings=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_valueendmoduleTemplateStage=structtypenonrect=|Original|Processed|Non_static_idofstringletmakei=iletto_string=function|Original->"Original"|Processed->"Processed"|Non_static_ids->sletof_string=function|"Original"->Original|"Processed"->Processed|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 TemplateStage"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TemplateStage"j)letto_json=simple_to_jsonto_valueendmoduleAnnotation=structtypenonrect={annotationName:AnnotationName.toption[@ocaml.doc"An identifier for the evaluation logic that was used when invoking the Hook. For Control Tower, this is the control ID. For Guard, this is the rule ID. For Lambda and custom Hooks, this is a user-defined identifier."];status:AnnotationStatus.toption[@ocaml.doc"The status of the Hook invocation from the downstream service."];statusMessage:RemediationMessageStatusMessage.toption[@ocaml.doc"The explanation for the specific status assigned to this Hook invocation. For example, \"Bucket does not block public access\"."];remediationMessage:RemediationMessageRemediationMessage.toption[@ocaml.doc"Suggests what to change if your Hook returns a FAILED status. For example, \"Block public access to the bucket\"."];remediationLink:AnnotationRemediationLink.toption[@ocaml.doc"A URL that you can access for additional remediation guidance."];severityLevel:AnnotationSeverityLevel.toption[@ocaml.doc"The relative risk associated with any violations of this type."]}letmake?annotationName=fun?status->fun?statusMessage->fun?remediationMessage->fun?remediationLink->fun?severityLevel->fun()->{annotationName;status;statusMessage;remediationMessage;remediationLink;severityLevel}letto_valuex=structure_to_value[("AnnotationName",(Option.mapx.annotationName~f:AnnotationName.to_value));("Status",(Option.mapx.status~f:AnnotationStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:RemediationMessageStatusMessage.to_value));("RemediationMessage",(Option.mapx.remediationMessage~f:RemediationMessageRemediationMessage.to_value));("RemediationLink",(Option.mapx.remediationLink~f:AnnotationRemediationLink.to_value));("SeverityLevel",(Option.mapx.severityLevel~f:AnnotationSeverityLevel.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letseverityLevel=(Option.map~f:AnnotationSeverityLevel.of_xml)(Xml.childxml_arg0"SeverityLevel")inletremediationLink=(Option.map~f:AnnotationRemediationLink.of_xml)(Xml.childxml_arg0"RemediationLink")inletremediationMessage=(Option.map~f:RemediationMessageRemediationMessage.of_xml)(Xml.childxml_arg0"RemediationMessage")inletstatusMessage=(Option.map~f:RemediationMessageStatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:AnnotationStatus.of_xml)(Xml.childxml_arg0"Status")inletannotationName=(Option.map~f:AnnotationName.of_xml)(Xml.childxml_arg0"AnnotationName")inmake?severityLevel?remediationLink?remediationMessage?statusMessage?status?annotationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letseverityLevel=field_mapjson__"SeverityLevel"AnnotationSeverityLevel.of_jsoninletremediationLink=field_mapjson__"RemediationLink"AnnotationRemediationLink.of_jsoninletremediationMessage=field_mapjson__"RemediationMessage"RemediationMessageRemediationMessage.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"RemediationMessageStatusMessage.of_jsoninletstatus=field_mapjson__"Status"AnnotationStatus.of_jsoninletannotationName=field_mapjson__"AnnotationName"AnnotationName.of_jsoninmake?severityLevel?remediationLink?remediationMessage?statusMessage?status?annotationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Annotation data type. A GetHookResult call returns detailed information and remediation guidance from Control Tower, Guard, Lambda, or custom Hooks for a Hook invocation result."]moduleHookTargetAction=structtypenonrect=|CREATE|UPDATE|DELETE|IMPORT|Non_static_idofstringletmakei=iletto_string=function|CREATE->"CREATE"|UPDATE->"UPDATE"|DELETE->"DELETE"|IMPORT->"IMPORT"|Non_static_ids->sletof_string=function|"CREATE"->CREATE|"UPDATE"->UPDATE|"DELETE"->DELETE|"IMPORT"->IMPORT|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 HookTargetAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HookTargetAction"j)letto_json=simple_to_jsonto_valueendmoduleHookTargetId=structtypenonrect=stringletcontext_="HookTargetId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(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:"HookTargetId"jletto_json=simple_to_jsonto_valueendmoduleRequiredActivatedType=structtypenonrect={typeNameAlias:TypeName.toption[@ocaml.doc"An alias assigned to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console."];originalTypeName:TypeName.toption[@ocaml.doc"The type name of the public extension. If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide."];publisherId:PublisherId.toption[@ocaml.doc"The publisher ID of the extension publisher."];supportedMajorVersions:SupportedMajorVersions.toption[@ocaml.doc"A list of the major versions of the extension type that the macro supports."]}letmake?typeNameAlias=fun?originalTypeName->fun?publisherId->fun?supportedMajorVersions->fun()->{typeNameAlias;originalTypeName;publisherId;supportedMajorVersions}letto_valuex=structure_to_value[("TypeNameAlias",(Option.mapx.typeNameAlias~f:TypeName.to_value));("OriginalTypeName",(Option.mapx.originalTypeName~f:TypeName.to_value));("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value));("SupportedMajorVersions",(Option.mapx.supportedMajorVersions~f:SupportedMajorVersions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportedMajorVersions=(Option.map~f:SupportedMajorVersions.of_xml)(Xml.childxml_arg0"SupportedMajorVersions")inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inletoriginalTypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"OriginalTypeName")inlettypeNameAlias=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeNameAlias")inmake?supportedMajorVersions?publisherId?originalTypeName?typeNameAlias()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportedMajorVersions=field_mapjson__"SupportedMajorVersions"SupportedMajorVersions.of_jsoninletpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninletoriginalTypeName=field_mapjson__"OriginalTypeName"TypeName.of_jsoninlettypeNameAlias=field_mapjson__"TypeNameAlias"TypeName.of_jsoninmake?supportedMajorVersions?publisherId?originalTypeName?typeNameAlias()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For extensions that are modules, a public third-party extension that must be activated in your account in order for the module itself to be activated. For more information, see Requirements for activating third-party public modules in the CloudFormation User Guide."]moduleStack=structtypenonrect={stackId:StackId.toption[@ocaml.doc"Unique identifier of the stack."];stackName:StackName.toption[@ocaml.doc"The name associated with the stack."];changeSetId:ChangeSetId.toption[@ocaml.doc"The unique ID of the change set."];description:Description.toption[@ocaml.doc"A user-defined description associated with the stack."];parameters:Parameters.toption[@ocaml.doc"A list of Parameter structures."];creationTime:CreationTime.toption[@ocaml.doc"The time at which the stack was created."];deletionTime:DeletionTime.toption[@ocaml.doc"The time the stack was deleted."];lastUpdatedTime:LastUpdatedTime.toption[@ocaml.doc"The time the stack was last updated. This field will only be returned if the stack has been updated at least once."];rollbackConfiguration:RollbackConfiguration.toption[@ocaml.doc"The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards."];stackStatus:StackStatus.toption[@ocaml.doc"Current status of the stack."];stackStatusReason:StackStatusReason.toption[@ocaml.doc"Success/failure message associated with the stack status."];disableRollback:DisableRollback.toption[@ocaml.doc"Boolean to enable or disable rollback on stack creation failures: true: disable rollback. false: enable rollback."];notificationARNs:NotificationARNs.toption[@ocaml.doc"Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published."];timeoutInMinutes:TimeoutMinutes.toption[@ocaml.doc"The amount of time within which stack creation should complete."];capabilities:Capabilities.toption[@ocaml.doc"The capabilities allowed in the stack."];outputs:Outputs.toption[@ocaml.doc"A list of output structures."];roleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf."];tags:Tags.toption[@ocaml.doc"A list of Tags that specify information about the stack."];enableTerminationProtection:EnableTerminationProtection.toption[@ocaml.doc"Whether termination protection is enabled for the stack. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide."];parentId:StackId.toption[@ocaml.doc"For nested stacks, the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack. For more information, see Nested stacks in the CloudFormation User Guide."];rootId:StackId.toption[@ocaml.doc"For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs. For more information, see Nested stacks in the CloudFormation User Guide."];driftInformation:StackDriftInformation.toption[@ocaml.doc"Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection."];retainExceptOnCreate:RetainExceptOnCreate.toption[@ocaml.doc"When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false"];deletionMode:DeletionMode.toption[@ocaml.doc"Specifies the deletion mode for the stack. Possible values are: STANDARD - Use the standard behavior. Specifying this value is the same as not specifying this parameter. FORCE_DELETE_STACK - Delete the stack if it's stuck in a DELETE_FAILED state due to resource deletion failure."];detailedStatus:DetailedStatus.toption[@ocaml.doc"The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The StackSets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide."];lastOperations:LastOperations.toption[@ocaml.doc"Information about the most recent operations performed on this stack."]}letmake?stackId=fun?stackName->fun?changeSetId->fun?description->fun?parameters->fun?creationTime->fun?deletionTime->fun?lastUpdatedTime->fun?rollbackConfiguration->fun?stackStatus->fun?stackStatusReason->fun?disableRollback->fun?notificationARNs->fun?timeoutInMinutes->fun?capabilities->fun?outputs->fun?roleARN->fun?tags->fun?enableTerminationProtection->fun?parentId->fun?rootId->fun?driftInformation->fun?retainExceptOnCreate->fun?deletionMode->fun?detailedStatus->fun?lastOperations->fun()->{stackId;stackName;changeSetId;description;parameters;creationTime;deletionTime;lastUpdatedTime;rollbackConfiguration;stackStatus;stackStatusReason;disableRollback;notificationARNs;timeoutInMinutes;capabilities;outputs;roleARN;tags;enableTerminationProtection;parentId;rootId;driftInformation;retainExceptOnCreate;deletionMode;detailedStatus;lastOperations}letto_valuex=structure_to_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("StackName",(Option.mapx.stackName~f:StackName.to_value));("ChangeSetId",(Option.mapx.changeSetId~f:ChangeSetId.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("CreationTime",(Option.mapx.creationTime~f:CreationTime.to_value));("DeletionTime",(Option.mapx.deletionTime~f:DeletionTime.to_value));("LastUpdatedTime",(Option.mapx.lastUpdatedTime~f:LastUpdatedTime.to_value));("RollbackConfiguration",(Option.mapx.rollbackConfiguration~f:RollbackConfiguration.to_value));("StackStatus",(Option.mapx.stackStatus~f:StackStatus.to_value));("StackStatusReason",(Option.mapx.stackStatusReason~f:StackStatusReason.to_value));("DisableRollback",(Option.mapx.disableRollback~f:DisableRollback.to_value));("NotificationARNs",(Option.mapx.notificationARNs~f:NotificationARNs.to_value));("TimeoutInMinutes",(Option.mapx.timeoutInMinutes~f:TimeoutMinutes.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("Outputs",(Option.mapx.outputs~f:Outputs.to_value));("RoleARN",(Option.mapx.roleARN~f:RoleARN.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("EnableTerminationProtection",(Option.mapx.enableTerminationProtection~f:EnableTerminationProtection.to_value));("ParentId",(Option.mapx.parentId~f:StackId.to_value));("RootId",(Option.mapx.rootId~f:StackId.to_value));("DriftInformation",(Option.mapx.driftInformation~f:StackDriftInformation.to_value));("RetainExceptOnCreate",(Option.mapx.retainExceptOnCreate~f:RetainExceptOnCreate.to_value));("DeletionMode",(Option.mapx.deletionMode~f:DeletionMode.to_value));("DetailedStatus",(Option.mapx.detailedStatus~f:DetailedStatus.to_value));("LastOperations",(Option.mapx.lastOperations~f:LastOperations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastOperations=(Option.map~f:LastOperations.of_xml)(Xml.childxml_arg0"LastOperations")inletdetailedStatus=(Option.map~f:DetailedStatus.of_xml)(Xml.childxml_arg0"DetailedStatus")inletdeletionMode=(Option.map~f:DeletionMode.of_xml)(Xml.childxml_arg0"DeletionMode")inletretainExceptOnCreate=(Option.map~f:RetainExceptOnCreate.of_xml)(Xml.childxml_arg0"RetainExceptOnCreate")inletdriftInformation=(Option.map~f:StackDriftInformation.of_xml)(Xml.childxml_arg0"DriftInformation")inletrootId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"RootId")inletparentId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"ParentId")inletenableTerminationProtection=(Option.map~f:EnableTerminationProtection.of_xml)(Xml.childxml_arg0"EnableTerminationProtection")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletroleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"RoleARN")inletoutputs=(Option.map~f:Outputs.of_xml)(Xml.childxml_arg0"Outputs")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inlettimeoutInMinutes=(Option.map~f:TimeoutMinutes.of_xml)(Xml.childxml_arg0"TimeoutInMinutes")inletnotificationARNs=(Option.map~f:NotificationARNs.of_xml)(Xml.childxml_arg0"NotificationARNs")inletdisableRollback=(Option.map~f:DisableRollback.of_xml)(Xml.childxml_arg0"DisableRollback")inletstackStatusReason=(Option.map~f:StackStatusReason.of_xml)(Xml.childxml_arg0"StackStatusReason")inletstackStatus=(Option.map~f:StackStatus.of_xml)(Xml.childxml_arg0"StackStatus")inletrollbackConfiguration=(Option.map~f:RollbackConfiguration.of_xml)(Xml.childxml_arg0"RollbackConfiguration")inletlastUpdatedTime=(Option.map~f:LastUpdatedTime.of_xml)(Xml.childxml_arg0"LastUpdatedTime")inletdeletionTime=(Option.map~f:DeletionTime.of_xml)(Xml.childxml_arg0"DeletionTime")inletcreationTime=(Option.map~f:CreationTime.of_xml)(Xml.childxml_arg0"CreationTime")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletchangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"ChangeSetId")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?lastOperations?detailedStatus?deletionMode?retainExceptOnCreate?driftInformation?rootId?parentId?enableTerminationProtection?tags?roleARN?outputs?capabilities?timeoutInMinutes?notificationARNs?disableRollback?stackStatusReason?stackStatus?rollbackConfiguration?lastUpdatedTime?deletionTime?creationTime?parameters?description?changeSetId?stackName?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastOperations=field_mapjson__"LastOperations"LastOperations.of_jsoninletdetailedStatus=field_mapjson__"DetailedStatus"DetailedStatus.of_jsoninletdeletionMode=field_mapjson__"DeletionMode"DeletionMode.of_jsoninletretainExceptOnCreate=field_mapjson__"RetainExceptOnCreate"RetainExceptOnCreate.of_jsoninletdriftInformation=field_mapjson__"DriftInformation"StackDriftInformation.of_jsoninletrootId=field_mapjson__"RootId"StackId.of_jsoninletparentId=field_mapjson__"ParentId"StackId.of_jsoninletenableTerminationProtection=field_mapjson__"EnableTerminationProtection"EnableTerminationProtection.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletroleARN=field_mapjson__"RoleARN"RoleARN.of_jsoninletoutputs=field_mapjson__"Outputs"Outputs.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninlettimeoutInMinutes=field_mapjson__"TimeoutInMinutes"TimeoutMinutes.of_jsoninletnotificationARNs=field_mapjson__"NotificationARNs"NotificationARNs.of_jsoninletdisableRollback=field_mapjson__"DisableRollback"DisableRollback.of_jsoninletstackStatusReason=field_mapjson__"StackStatusReason"StackStatusReason.of_jsoninletstackStatus=field_mapjson__"StackStatus"StackStatus.of_jsoninletrollbackConfiguration=field_mapjson__"RollbackConfiguration"RollbackConfiguration.of_jsoninletlastUpdatedTime=field_mapjson__"LastUpdatedTime"LastUpdatedTime.of_jsoninletdeletionTime=field_mapjson__"DeletionTime"DeletionTime.of_jsoninletcreationTime=field_mapjson__"CreationTime"CreationTime.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletchangeSetId=field_mapjson__"ChangeSetId"ChangeSetId.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?lastOperations?detailedStatus?deletionMode?retainExceptOnCreate?driftInformation?rootId?parentId?enableTerminationProtection?tags?roleARN?outputs?capabilities?timeoutInMinutes?notificationARNs?disableRollback?stackStatusReason?stackStatus?rollbackConfiguration?lastUpdatedTime?deletionTime?creationTime?parameters?description?changeSetId?stackName?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Stack data type."]moduleExecutionRoleName=structtypenonrect=stringletcontext_="ExecutionRoleName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"[a-zA-Z_0-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:"ExecutionRoleName"jletto_json=simple_to_jsonto_valueendmoduleStackSetDriftDetectionDetails=structtypenonrect={driftStatus:StackSetDriftStatus.toption[@ocaml.doc"Status of the StackSet's actual configuration compared to its expected template and parameter configuration. DRIFTED: One or more of the stack instances belonging to the StackSet differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked the StackSet for drift. IN_SYNC: All of the stack instances belonging to the StackSet stack match the expected template and parameter configuration."];driftDetectionStatus:StackSetDriftDetectionStatus.toption[@ocaml.doc"The status of the StackSet drift detection operation. COMPLETED: The drift detection operation completed without failing on any stack instances. FAILED: The drift detection operation exceeded the specified failure tolerance. PARTIAL_SUCCESS: The drift detection operation completed without exceeding the failure tolerance for the operation. IN_PROGRESS: The drift detection operation is currently being performed. STOPPED: The user has canceled the drift detection operation."];lastDriftCheckTimestamp:Timestamp.toption[@ocaml.doc"Most recent time when CloudFormation performed a drift detection operation on the StackSet. This value will be NULL for any StackSet that drift detection hasn't yet been performed on."];totalStackInstancesCount:TotalStackInstancesCount.toption[@ocaml.doc"The total number of stack instances belonging to this StackSet. The total number of stack instances is equal to the total of: Stack instances that match the StackSet configuration. Stack instances that have drifted from the StackSet configuration. Stack instances where the drift detection operation has failed. Stack instances currently being checked for drift."];driftedStackInstancesCount:DriftedStackInstancesCount.toption[@ocaml.doc"The number of stack instances that have drifted from the expected template and parameter configuration of the StackSet. A stack instance is considered to have drifted if one or more of the resources in the associated stack don't match their expected configuration."];inSyncStackInstancesCount:InSyncStackInstancesCount.toption[@ocaml.doc"The number of stack instances which match the expected template and parameter configuration of the StackSet."];inProgressStackInstancesCount:InProgressStackInstancesCount.toption[@ocaml.doc"The number of stack instances that are currently being checked for drift."];failedStackInstancesCount:FailedStackInstancesCount.toption[@ocaml.doc"The number of stack instances for which the drift detection operation failed."]}letmake?driftStatus=fun?driftDetectionStatus->fun?lastDriftCheckTimestamp->fun?totalStackInstancesCount->fun?driftedStackInstancesCount->fun?inSyncStackInstancesCount->fun?inProgressStackInstancesCount->fun?failedStackInstancesCount->fun()->{driftStatus;driftDetectionStatus;lastDriftCheckTimestamp;totalStackInstancesCount;driftedStackInstancesCount;inSyncStackInstancesCount;inProgressStackInstancesCount;failedStackInstancesCount}letto_valuex=structure_to_value[("DriftStatus",(Option.mapx.driftStatus~f:StackSetDriftStatus.to_value));("DriftDetectionStatus",(Option.mapx.driftDetectionStatus~f:StackSetDriftDetectionStatus.to_value));("LastDriftCheckTimestamp",(Option.mapx.lastDriftCheckTimestamp~f:Timestamp.to_value));("TotalStackInstancesCount",(Option.mapx.totalStackInstancesCount~f:TotalStackInstancesCount.to_value));("DriftedStackInstancesCount",(Option.mapx.driftedStackInstancesCount~f:DriftedStackInstancesCount.to_value));("InSyncStackInstancesCount",(Option.mapx.inSyncStackInstancesCount~f:InSyncStackInstancesCount.to_value));("InProgressStackInstancesCount",(Option.mapx.inProgressStackInstancesCount~f:InProgressStackInstancesCount.to_value));("FailedStackInstancesCount",(Option.mapx.failedStackInstancesCount~f:FailedStackInstancesCount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailedStackInstancesCount=(Option.map~f:FailedStackInstancesCount.of_xml)(Xml.childxml_arg0"FailedStackInstancesCount")inletinProgressStackInstancesCount=(Option.map~f:InProgressStackInstancesCount.of_xml)(Xml.childxml_arg0"InProgressStackInstancesCount")inletinSyncStackInstancesCount=(Option.map~f:InSyncStackInstancesCount.of_xml)(Xml.childxml_arg0"InSyncStackInstancesCount")inletdriftedStackInstancesCount=(Option.map~f:DriftedStackInstancesCount.of_xml)(Xml.childxml_arg0"DriftedStackInstancesCount")inlettotalStackInstancesCount=(Option.map~f:TotalStackInstancesCount.of_xml)(Xml.childxml_arg0"TotalStackInstancesCount")inletlastDriftCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastDriftCheckTimestamp")inletdriftDetectionStatus=(Option.map~f:StackSetDriftDetectionStatus.of_xml)(Xml.childxml_arg0"DriftDetectionStatus")inletdriftStatus=(Option.map~f:StackSetDriftStatus.of_xml)(Xml.childxml_arg0"DriftStatus")inmake?failedStackInstancesCount?inProgressStackInstancesCount?inSyncStackInstancesCount?driftedStackInstancesCount?totalStackInstancesCount?lastDriftCheckTimestamp?driftDetectionStatus?driftStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailedStackInstancesCount=field_mapjson__"FailedStackInstancesCount"FailedStackInstancesCount.of_jsoninletinProgressStackInstancesCount=field_mapjson__"InProgressStackInstancesCount"InProgressStackInstancesCount.of_jsoninletinSyncStackInstancesCount=field_mapjson__"InSyncStackInstancesCount"InSyncStackInstancesCount.of_jsoninletdriftedStackInstancesCount=field_mapjson__"DriftedStackInstancesCount"DriftedStackInstancesCount.of_jsoninlettotalStackInstancesCount=field_mapjson__"TotalStackInstancesCount"TotalStackInstancesCount.of_jsoninletlastDriftCheckTimestamp=field_mapjson__"LastDriftCheckTimestamp"Timestamp.of_jsoninletdriftDetectionStatus=field_mapjson__"DriftDetectionStatus"StackSetDriftDetectionStatus.of_jsoninletdriftStatus=field_mapjson__"DriftStatus"StackSetDriftStatus.of_jsoninmake?failedStackInstancesCount?inProgressStackInstancesCount?inSyncStackInstancesCount?driftedStackInstancesCount?totalStackInstancesCount?lastDriftCheckTimestamp?driftDetectionStatus?driftStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about the drift status of the StackSet. For StackSets, contains information about the last completed drift operation performed on the StackSet. Information about drift operations in-progress isn't included. For StackSet operations, includes information about drift operations currently being performed on the StackSet. For more information, see Performing drift detection on CloudFormation StackSets in the CloudFormation User Guide."]moduleDeploymentTargets=structtypenonrect={accounts:AccountList.toption[@ocaml.doc"The Amazon Web Services account IDs where you want to perform stack operations. How these accounts are used depends on the AccountFilterType property. If you have many account numbers, you can provide those accounts using the AccountsUrl property instead."];accountsUrl:AccountsUrl.toption[@ocaml.doc"The Amazon S3 URL path to a file that contains a list of Amazon Web Services account IDs. The file format must be either .csv or .txt, and the data can be comma-separated or new-line-separated. There is currently a 10MB limit for the data (approximately 800,000 accounts). This property serves the same purpose as Accounts but allows you to specify a large number of accounts."];organizationalUnitIds:OrganizationalUnitIdList.toption[@ocaml.doc"The organization root ID or organizational unit (OU) IDs where you want to perform stack operations. CloudFormation will perform operations on accounts within these OUs and their child OUs."];accountFilterType:AccountFilterType.toption[@ocaml.doc"Refines which accounts will have stack operations performed on them by specifying how to use the Accounts and OrganizationalUnitIds properties together. The following values determine how CloudFormation selects target accounts: INTERSECTION: Performs stack operations only on specific individual accounts within the selected OUs. Only accounts that are both specified in the Accounts property and belong to the specified OUs will be targeted. DIFFERENCE: Performs stack operations on all accounts in the selected OUs except for specific accounts listed in the Accounts property. This enables you to exclude certain accounts within an OU, such as suspended accounts. UNION: Performs stack operations on the specified OUs plus additional individual accounts listed in the Accounts property. This is the default value if AccountFilterType is not provided. This lets you target an entire OU and individual accounts from a different OU in one request. Note that UNION is not supported for CreateStackInstances operations. NONE: Performs stack operations on all accounts in the specified organizational units (OUs)."]}letmake?accounts=fun?accountsUrl->fun?organizationalUnitIds->fun?accountFilterType->fun()->{accounts;accountsUrl;organizationalUnitIds;accountFilterType}letto_valuex=structure_to_value[("Accounts",(Option.mapx.accounts~f:AccountList.to_value));("AccountsUrl",(Option.mapx.accountsUrl~f:AccountsUrl.to_value));("OrganizationalUnitIds",(Option.mapx.organizationalUnitIds~f:OrganizationalUnitIdList.to_value));("AccountFilterType",(Option.mapx.accountFilterType~f:AccountFilterType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountFilterType=(Option.map~f:AccountFilterType.of_xml)(Xml.childxml_arg0"AccountFilterType")inletorganizationalUnitIds=(Option.map~f:OrganizationalUnitIdList.of_xml)(Xml.childxml_arg0"OrganizationalUnitIds")inletaccountsUrl=(Option.map~f:AccountsUrl.of_xml)(Xml.childxml_arg0"AccountsUrl")inletaccounts=(Option.map~f:AccountList.of_xml)(Xml.childxml_arg0"Accounts")inmake?accountFilterType?organizationalUnitIds?accountsUrl?accounts()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountFilterType=field_mapjson__"AccountFilterType"AccountFilterType.of_jsoninletorganizationalUnitIds=field_mapjson__"OrganizationalUnitIds"OrganizationalUnitIdList.of_jsoninletaccountsUrl=field_mapjson__"AccountsUrl"AccountsUrl.of_jsoninletaccounts=field_mapjson__"Accounts"AccountList.of_jsoninmake?accountFilterType?organizationalUnitIds?accountsUrl?accounts()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the Organizations accounts where you want to create, update, or delete stack instances. You can target either your entire organization or specific accounts using organizational units (OUs) and account filter options. CloudFormation doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. When performing create operations, if you specify both OrganizationalUnitIds and Accounts, you must also specify the AccountFilterType property."]moduleRetainStacksNullable=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_valueendmoduleStackResource=structtypenonrect={stackName:StackName.toption[@ocaml.doc"The name associated with the stack."];stackId:StackId.toption[@ocaml.doc"Unique identifier of the stack."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation."];resourceType:ResourceType.toption[@ocaml.doc"Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide."];timestamp:Timestamp.toption[@ocaml.doc"Time the status was updated."];resourceStatus:ResourceStatus.toption[@ocaml.doc"Current status of the resource."];resourceStatusReason:ResourceStatusReason.toption[@ocaml.doc"Success/failure message associated with the resource."];description:Description.toption[@ocaml.doc"User defined description associated with the resource."];driftInformation:StackResourceDriftInformation.toption[@ocaml.doc"Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection."];moduleInfo:ModuleInfo.toption[@ocaml.doc"Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template."]}letmake?stackName=fun?stackId->fun?logicalResourceId->fun?physicalResourceId->fun?resourceType->fun?timestamp->fun?resourceStatus->fun?resourceStatusReason->fun?description->fun?driftInformation->fun?moduleInfo->fun()->{stackName;stackId;logicalResourceId;physicalResourceId;resourceType;timestamp;resourceStatus;resourceStatusReason;description;driftInformation;moduleInfo}letto_valuex=structure_to_value[("StackName",(Option.mapx.stackName~f:StackName.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value));("ResourceStatus",(Option.mapx.resourceStatus~f:ResourceStatus.to_value));("ResourceStatusReason",(Option.mapx.resourceStatusReason~f:ResourceStatusReason.to_value));("Description",(Option.mapx.description~f:Description.to_value));("DriftInformation",(Option.mapx.driftInformation~f:StackResourceDriftInformation.to_value));("ModuleInfo",(Option.mapx.moduleInfo~f:ModuleInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmoduleInfo=(Option.map~f:ModuleInfo.of_xml)(Xml.childxml_arg0"ModuleInfo")inletdriftInformation=(Option.map~f:StackResourceDriftInformation.of_xml)(Xml.childxml_arg0"DriftInformation")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletresourceStatusReason=(Option.map~f:ResourceStatusReason.of_xml)(Xml.childxml_arg0"ResourceStatusReason")inletresourceStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"ResourceStatus")inlettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inmake?moduleInfo?driftInformation?description?resourceStatusReason?resourceStatus?timestamp?resourceType?physicalResourceId?logicalResourceId?stackId?stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmoduleInfo=field_mapjson__"ModuleInfo"ModuleInfo.of_jsoninletdriftInformation=field_mapjson__"DriftInformation"StackResourceDriftInformation.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletresourceStatusReason=field_mapjson__"ResourceStatusReason"ResourceStatusReason.of_jsoninletresourceStatus=field_mapjson__"ResourceStatus"ResourceStatus.of_jsoninlettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninmake?moduleInfo?driftInformation?description?resourceStatusReason?resourceStatus?timestamp?resourceType?physicalResourceId?logicalResourceId?stackId?stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The StackResource data type."]moduleMetadata=structtypenonrect=stringletcontext_="Metadata"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:"Metadata"jletto_json=simple_to_jsonto_valueendmoduleStackResourceDrift=structtypenonrect={stackId:StackId.toption[@ocaml.doc"The ID of the stack."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation."];physicalResourceIdContext:PhysicalResourceIdContext.toption[@ocaml.doc"Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource."];resourceType:ResourceType.toption[@ocaml.doc"The type of the resource."];expectedProperties:Properties.toption[@ocaml.doc"A JSON structure that contains the expected property values of the stack resource, as defined in the stack template and any values specified as template parameters. For resources whose StackResourceDriftStatus is DELETED, this structure will not be present."];actualProperties:Properties.toption[@ocaml.doc"A JSON structure that contains the actual property values of the stack resource. For resources whose StackResourceDriftStatus is DELETED, this structure will not be present."];propertyDifferences:PropertyDifferences.toption[@ocaml.doc"A collection of the resource properties whose actual values differ from their expected values. These will be present only for resources whose StackResourceDriftStatus is MODIFIED."];stackResourceDriftStatus:StackResourceDriftStatus.toption[@ocaml.doc"Status of the resource's actual configuration compared to its expected configuration. DELETED: The resource differs from its expected template configuration because the resource has been deleted. MODIFIED: One or more resource properties differ from their expected values (as defined in the stack template and any values specified as template parameters). IN_SYNC: The resource's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation does not currently return this value. UNKNOWN: CloudFormation could not run drift detection for the resource. See the DriftStatusReason for details."];timestamp:Timestamp.toption[@ocaml.doc"Time at which CloudFormation performed drift detection on the stack resource."];moduleInfo:ModuleInfo.toption[@ocaml.doc"Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template."];driftStatusReason:StackResourceDriftStatusReason.toption[@ocaml.doc"The reason for the drift status."]}letmake?stackId=fun?logicalResourceId->fun?physicalResourceId->fun?physicalResourceIdContext->fun?resourceType->fun?expectedProperties->fun?actualProperties->fun?propertyDifferences->fun?stackResourceDriftStatus->fun?timestamp->fun?moduleInfo->fun?driftStatusReason->fun()->{stackId;logicalResourceId;physicalResourceId;physicalResourceIdContext;resourceType;expectedProperties;actualProperties;propertyDifferences;stackResourceDriftStatus;timestamp;moduleInfo;driftStatusReason}letto_valuex=structure_to_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("PhysicalResourceIdContext",(Option.mapx.physicalResourceIdContext~f:PhysicalResourceIdContext.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("ExpectedProperties",(Option.mapx.expectedProperties~f:Properties.to_value));("ActualProperties",(Option.mapx.actualProperties~f:Properties.to_value));("PropertyDifferences",(Option.mapx.propertyDifferences~f:PropertyDifferences.to_value));("StackResourceDriftStatus",(Option.mapx.stackResourceDriftStatus~f:StackResourceDriftStatus.to_value));("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value));("ModuleInfo",(Option.mapx.moduleInfo~f:ModuleInfo.to_value));("DriftStatusReason",(Option.mapx.driftStatusReason~f:StackResourceDriftStatusReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdriftStatusReason=(Option.map~f:StackResourceDriftStatusReason.of_xml)(Xml.childxml_arg0"DriftStatusReason")inletmoduleInfo=(Option.map~f:ModuleInfo.of_xml)(Xml.childxml_arg0"ModuleInfo")inlettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inletstackResourceDriftStatus=(Option.map~f:StackResourceDriftStatus.of_xml)(Xml.childxml_arg0"StackResourceDriftStatus")inletpropertyDifferences=(Option.map~f:PropertyDifferences.of_xml)(Xml.childxml_arg0"PropertyDifferences")inletactualProperties=(Option.map~f:Properties.of_xml)(Xml.childxml_arg0"ActualProperties")inletexpectedProperties=(Option.map~f:Properties.of_xml)(Xml.childxml_arg0"ExpectedProperties")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceIdContext=(Option.map~f:PhysicalResourceIdContext.of_xml)(Xml.childxml_arg0"PhysicalResourceIdContext")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?driftStatusReason?moduleInfo?timestamp?stackResourceDriftStatus?propertyDifferences?actualProperties?expectedProperties?resourceType?physicalResourceIdContext?physicalResourceId?logicalResourceId?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdriftStatusReason=field_mapjson__"DriftStatusReason"StackResourceDriftStatusReason.of_jsoninletmoduleInfo=field_mapjson__"ModuleInfo"ModuleInfo.of_jsoninlettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninletstackResourceDriftStatus=field_mapjson__"StackResourceDriftStatus"StackResourceDriftStatus.of_jsoninletpropertyDifferences=field_mapjson__"PropertyDifferences"PropertyDifferences.of_jsoninletactualProperties=field_mapjson__"ActualProperties"Properties.of_jsoninletexpectedProperties=field_mapjson__"ExpectedProperties"Properties.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceIdContext=field_mapjson__"PhysicalResourceIdContext"PhysicalResourceIdContext.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?driftStatusReason?moduleInfo?timestamp?stackResourceDriftStatus?propertyDifferences?actualProperties?expectedProperties?resourceType?physicalResourceIdContext?physicalResourceId?logicalResourceId?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the drift information for a resource that has been checked for drift. This includes actual and expected property values for resources in which CloudFormation has detected drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection. Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resource type support for imports and drift detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection."]moduleStackEvent=structtypenonrect={stackId:StackId.toption[@ocaml.doc"The unique ID name of the instance of the stack."];eventId:EventId.toption[@ocaml.doc"The unique identifier of this event."];stackName:StackName.toption[@ocaml.doc"The name associated with a stack."];operationId:OperationId.toption[@ocaml.doc"The unique identifier of the operation that generated this stack event."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier associated with the physical instance of the resource."];resourceType:ResourceType.toption[@ocaml.doc"Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide."];timestamp:Timestamp.toption[@ocaml.doc"Time the status was updated."];resourceStatus:ResourceStatus.toption[@ocaml.doc"Current status of the resource."];resourceStatusReason:ResourceStatusReason.toption[@ocaml.doc"Success/failure message associated with the resource."];resourceProperties:ResourceProperties.toption[@ocaml.doc"BLOB of the properties used to create the resource."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"The token passed to the operation that generated this event. All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002."];hookType:HookType.toption[@ocaml.doc"The name of the Hook."];hookStatus:HookStatus.toption[@ocaml.doc"Provides the status of the change set Hook."];hookStatusReason:HookStatusReason.toption[@ocaml.doc"Provides the reason for the Hook status."];hookInvocationPoint:HookInvocationPoint.toption[@ocaml.doc"The specific point in the provisioning process where the Hook is invoked."];hookInvocationId:HookInvocationId.toption[@ocaml.doc"The unique identifier of the Hook invocation."];hookFailureMode:HookFailureMode.toption[@ocaml.doc"Specify the Hook failure mode for non-compliant resources in the followings ways. FAIL Stops provisioning resources. WARN Allows provisioning to continue with a warning message."];detailedStatus:DetailedStatus.toption[@ocaml.doc"An optional field that contains information about the detailed status of the stack event. CONFIGURATION_COMPLETE - all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide. VALIDATION_FAILED - template validation failed because of invalid properties in the template. The ResourceStatusReason field shows what properties are defined incorrectly."]}letmake?stackId=fun?eventId->fun?stackName->fun?operationId->fun?logicalResourceId->fun?physicalResourceId->fun?resourceType->fun?timestamp->fun?resourceStatus->fun?resourceStatusReason->fun?resourceProperties->fun?clientRequestToken->fun?hookType->fun?hookStatus->fun?hookStatusReason->fun?hookInvocationPoint->fun?hookInvocationId->fun?hookFailureMode->fun?detailedStatus->fun()->{stackId;eventId;stackName;operationId;logicalResourceId;physicalResourceId;resourceType;timestamp;resourceStatus;resourceStatusReason;resourceProperties;clientRequestToken;hookType;hookStatus;hookStatusReason;hookInvocationPoint;hookInvocationId;hookFailureMode;detailedStatus}letto_valuex=structure_to_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("EventId",(Option.mapx.eventId~f:EventId.to_value));("StackName",(Option.mapx.stackName~f:StackName.to_value));("OperationId",(Option.mapx.operationId~f:OperationId.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value));("ResourceStatus",(Option.mapx.resourceStatus~f:ResourceStatus.to_value));("ResourceStatusReason",(Option.mapx.resourceStatusReason~f:ResourceStatusReason.to_value));("ResourceProperties",(Option.mapx.resourceProperties~f:ResourceProperties.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("HookType",(Option.mapx.hookType~f:HookType.to_value));("HookStatus",(Option.mapx.hookStatus~f:HookStatus.to_value));("HookStatusReason",(Option.mapx.hookStatusReason~f:HookStatusReason.to_value));("HookInvocationPoint",(Option.mapx.hookInvocationPoint~f:HookInvocationPoint.to_value));("HookInvocationId",(Option.mapx.hookInvocationId~f:HookInvocationId.to_value));("HookFailureMode",(Option.mapx.hookFailureMode~f:HookFailureMode.to_value));("DetailedStatus",(Option.mapx.detailedStatus~f:DetailedStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdetailedStatus=(Option.map~f:DetailedStatus.of_xml)(Xml.childxml_arg0"DetailedStatus")inlethookFailureMode=(Option.map~f:HookFailureMode.of_xml)(Xml.childxml_arg0"HookFailureMode")inlethookInvocationId=(Option.map~f:HookInvocationId.of_xml)(Xml.childxml_arg0"HookInvocationId")inlethookInvocationPoint=(Option.map~f:HookInvocationPoint.of_xml)(Xml.childxml_arg0"HookInvocationPoint")inlethookStatusReason=(Option.map~f:HookStatusReason.of_xml)(Xml.childxml_arg0"HookStatusReason")inlethookStatus=(Option.map~f:HookStatus.of_xml)(Xml.childxml_arg0"HookStatus")inlethookType=(Option.map~f:HookType.of_xml)(Xml.childxml_arg0"HookType")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletresourceProperties=(Option.map~f:ResourceProperties.of_xml)(Xml.childxml_arg0"ResourceProperties")inletresourceStatusReason=(Option.map~f:ResourceStatusReason.of_xml)(Xml.childxml_arg0"ResourceStatusReason")inletresourceStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"ResourceStatus")inlettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletoperationId=(Option.map~f:OperationId.of_xml)(Xml.childxml_arg0"OperationId")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inleteventId=(Option.map~f:EventId.of_xml)(Xml.childxml_arg0"EventId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?detailedStatus?hookFailureMode?hookInvocationId?hookInvocationPoint?hookStatusReason?hookStatus?hookType?clientRequestToken?resourceProperties?resourceStatusReason?resourceStatus?timestamp?resourceType?physicalResourceId?logicalResourceId?operationId?stackName?eventId?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdetailedStatus=field_mapjson__"DetailedStatus"DetailedStatus.of_jsoninlethookFailureMode=field_mapjson__"HookFailureMode"HookFailureMode.of_jsoninlethookInvocationId=field_mapjson__"HookInvocationId"HookInvocationId.of_jsoninlethookInvocationPoint=field_mapjson__"HookInvocationPoint"HookInvocationPoint.of_jsoninlethookStatusReason=field_mapjson__"HookStatusReason"HookStatusReason.of_jsoninlethookStatus=field_mapjson__"HookStatus"HookStatus.of_jsoninlethookType=field_mapjson__"HookType"HookType.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletresourceProperties=field_mapjson__"ResourceProperties"ResourceProperties.of_jsoninletresourceStatusReason=field_mapjson__"ResourceStatusReason"ResourceStatusReason.of_jsoninletresourceStatus=field_mapjson__"ResourceStatus"ResourceStatus.of_jsoninlettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletoperationId=field_mapjson__"OperationId"OperationId.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninleteventId=field_mapjson__"EventId"EventId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?detailedStatus?hookFailureMode?hookInvocationId?hookInvocationPoint?hookStatusReason?hookStatus?hookType?clientRequestToken?resourceProperties?resourceStatusReason?resourceStatus?timestamp?resourceType?physicalResourceId?logicalResourceId?operationId?stackName?eventId?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The StackEvent data type."]moduleResourceDetail=structtypenonrect={resourceType:ResourceType.toption[@ocaml.doc"The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide"];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical id for this resource in the final generated template."];resourceIdentifier:ResourceIdentifierProperties.toption[@ocaml.doc"A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be \"TableName\": \"MyDDBTable\". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide."];resourceStatus:GeneratedTemplateResourceStatus.toption[@ocaml.doc"Status of the processing of a resource in a generated template. InProgress The resource processing is still in progress. Complete The resource processing is complete. Pending The resource processing is pending. Failed The resource processing has failed."];resourceStatusReason:ResourceStatusReason.toption[@ocaml.doc"The reason for the resource detail, providing more information if a failure happened."];warnings:WarningDetails.toption[@ocaml.doc"The warnings generated for this resource."]}letmake?resourceType=fun?logicalResourceId->fun?resourceIdentifier->fun?resourceStatus->fun?resourceStatusReason->fun?warnings->fun()->{resourceType;logicalResourceId;resourceIdentifier;resourceStatus;resourceStatusReason;warnings}letto_valuex=structure_to_value[("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("ResourceIdentifier",(Option.mapx.resourceIdentifier~f:ResourceIdentifierProperties.to_value));("ResourceStatus",(Option.mapx.resourceStatus~f:GeneratedTemplateResourceStatus.to_value));("ResourceStatusReason",(Option.mapx.resourceStatusReason~f:ResourceStatusReason.to_value));("Warnings",(Option.mapx.warnings~f:WarningDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwarnings=(Option.map~f:WarningDetails.of_xml)(Xml.childxml_arg0"Warnings")inletresourceStatusReason=(Option.map~f:ResourceStatusReason.of_xml)(Xml.childxml_arg0"ResourceStatusReason")inletresourceStatus=(Option.map~f:GeneratedTemplateResourceStatus.of_xml)(Xml.childxml_arg0"ResourceStatus")inletresourceIdentifier=(Option.map~f:ResourceIdentifierProperties.of_xml)(Xml.childxml_arg0"ResourceIdentifier")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inmake?warnings?resourceStatusReason?resourceStatus?resourceIdentifier?logicalResourceId?resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwarnings=field_mapjson__"Warnings"WarningDetails.of_jsoninletresourceStatusReason=field_mapjson__"ResourceStatusReason"ResourceStatusReason.of_jsoninletresourceStatus=field_mapjson__"ResourceStatus"GeneratedTemplateResourceStatus.of_jsoninletresourceIdentifier=field_mapjson__"ResourceIdentifier"ResourceIdentifierProperties.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninmake?warnings?resourceStatusReason?resourceStatus?resourceIdentifier?logicalResourceId?resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about a resource in a generated template"]moduleResourcesFailed=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ResourcesFailed"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResourcesPending=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ResourcesPending"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResourcesProcessing=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ResourcesProcessing"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResourcesSucceeded=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ResourcesSucceeded"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleOperationEvent=structtypenonrect={eventId:EventId.toption[@ocaml.doc"A unique identifier for this event."];stackId:StackId.toption[@ocaml.doc"The unique ID name of the instance of the stack."];operationId:OperationId.toption[@ocaml.doc"The unique identifier of the operation this event belongs to."];operationType:OperationType.toption[@ocaml.doc"The type of operation."];operationStatus:BeaconStackOperationStatus.toption[@ocaml.doc"The current status of the operation."];eventType:EventType.toption[@ocaml.doc"The type of event."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource as specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier that corresponds to a physical instance ID of a resource."];resourceType:ResourceType.toption[@ocaml.doc"Type of resource."];timestamp:Timestamp.toption[@ocaml.doc"Time the status was updated."];startTime:Timestamp.toption[@ocaml.doc"The time when the event started."];endTime:Timestamp.toption[@ocaml.doc"The time when the event ended."];resourceStatus:ResourceStatus.toption[@ocaml.doc"Current status of the resource."];resourceStatusReason:ResourceStatusReason.toption[@ocaml.doc"Success or failure message associated with the resource."];resourceProperties:ResourceProperties.toption[@ocaml.doc"The properties used to create the resource."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for the request that initiated this operation."];hookType:HookType.toption[@ocaml.doc"The type name of the Hook that was invoked."];hookStatus:HookStatus.toption[@ocaml.doc"The status of the Hook invocation."];hookStatusReason:HookStatusReason.toption[@ocaml.doc"Additional information about the Hook status."];hookInvocationPoint:HookInvocationPoint.toption[@ocaml.doc"The point in the operation lifecycle when the Hook was invoked."];hookFailureMode:HookFailureMode.toption[@ocaml.doc"Specifies how Hook failures are handled."];detailedStatus:DetailedStatus.toption[@ocaml.doc"Additional status information about the operation."];validationFailureMode:HookFailureMode.toption[@ocaml.doc"Specifies how validation failures are handled."];validationName:ValidationName.toption[@ocaml.doc"The name of the validation that was performed."];validationStatus:ValidationStatus.toption[@ocaml.doc"The status of the validation."];validationStatusReason:ValidationStatusReason.toption[@ocaml.doc"Additional information about the validation status."];validationPath:ValidationPath.toption[@ocaml.doc"The path within the resource where the validation was applied."]}letmake?eventId=fun?stackId->fun?operationId->fun?operationType->fun?operationStatus->fun?eventType->fun?logicalResourceId->fun?physicalResourceId->fun?resourceType->fun?timestamp->fun?startTime->fun?endTime->fun?resourceStatus->fun?resourceStatusReason->fun?resourceProperties->fun?clientRequestToken->fun?hookType->fun?hookStatus->fun?hookStatusReason->fun?hookInvocationPoint->fun?hookFailureMode->fun?detailedStatus->fun?validationFailureMode->fun?validationName->fun?validationStatus->fun?validationStatusReason->fun?validationPath->fun()->{eventId;stackId;operationId;operationType;operationStatus;eventType;logicalResourceId;physicalResourceId;resourceType;timestamp;startTime;endTime;resourceStatus;resourceStatusReason;resourceProperties;clientRequestToken;hookType;hookStatus;hookStatusReason;hookInvocationPoint;hookFailureMode;detailedStatus;validationFailureMode;validationName;validationStatus;validationStatusReason;validationPath}letto_valuex=structure_to_value[("EventId",(Option.mapx.eventId~f:EventId.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("OperationId",(Option.mapx.operationId~f:OperationId.to_value));("OperationType",(Option.mapx.operationType~f:OperationType.to_value));("OperationStatus",(Option.mapx.operationStatus~f:BeaconStackOperationStatus.to_value));("EventType",(Option.mapx.eventType~f:EventType.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value));("StartTime",(Option.mapx.startTime~f:Timestamp.to_value));("EndTime",(Option.mapx.endTime~f:Timestamp.to_value));("ResourceStatus",(Option.mapx.resourceStatus~f:ResourceStatus.to_value));("ResourceStatusReason",(Option.mapx.resourceStatusReason~f:ResourceStatusReason.to_value));("ResourceProperties",(Option.mapx.resourceProperties~f:ResourceProperties.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("HookType",(Option.mapx.hookType~f:HookType.to_value));("HookStatus",(Option.mapx.hookStatus~f:HookStatus.to_value));("HookStatusReason",(Option.mapx.hookStatusReason~f:HookStatusReason.to_value));("HookInvocationPoint",(Option.mapx.hookInvocationPoint~f:HookInvocationPoint.to_value));("HookFailureMode",(Option.mapx.hookFailureMode~f:HookFailureMode.to_value));("DetailedStatus",(Option.mapx.detailedStatus~f:DetailedStatus.to_value));("ValidationFailureMode",(Option.mapx.validationFailureMode~f:HookFailureMode.to_value));("ValidationName",(Option.mapx.validationName~f:ValidationName.to_value));("ValidationStatus",(Option.mapx.validationStatus~f:ValidationStatus.to_value));("ValidationStatusReason",(Option.mapx.validationStatusReason~f:ValidationStatusReason.to_value));("ValidationPath",(Option.mapx.validationPath~f:ValidationPath.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationPath=(Option.map~f:ValidationPath.of_xml)(Xml.childxml_arg0"ValidationPath")inletvalidationStatusReason=(Option.map~f:ValidationStatusReason.of_xml)(Xml.childxml_arg0"ValidationStatusReason")inletvalidationStatus=(Option.map~f:ValidationStatus.of_xml)(Xml.childxml_arg0"ValidationStatus")inletvalidationName=(Option.map~f:ValidationName.of_xml)(Xml.childxml_arg0"ValidationName")inletvalidationFailureMode=(Option.map~f:HookFailureMode.of_xml)(Xml.childxml_arg0"ValidationFailureMode")inletdetailedStatus=(Option.map~f:DetailedStatus.of_xml)(Xml.childxml_arg0"DetailedStatus")inlethookFailureMode=(Option.map~f:HookFailureMode.of_xml)(Xml.childxml_arg0"HookFailureMode")inlethookInvocationPoint=(Option.map~f:HookInvocationPoint.of_xml)(Xml.childxml_arg0"HookInvocationPoint")inlethookStatusReason=(Option.map~f:HookStatusReason.of_xml)(Xml.childxml_arg0"HookStatusReason")inlethookStatus=(Option.map~f:HookStatus.of_xml)(Xml.childxml_arg0"HookStatus")inlethookType=(Option.map~f:HookType.of_xml)(Xml.childxml_arg0"HookType")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletresourceProperties=(Option.map~f:ResourceProperties.of_xml)(Xml.childxml_arg0"ResourceProperties")inletresourceStatusReason=(Option.map~f:ResourceStatusReason.of_xml)(Xml.childxml_arg0"ResourceStatusReason")inletresourceStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"ResourceStatus")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"StartTime")inlettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inleteventType=(Option.map~f:EventType.of_xml)(Xml.childxml_arg0"EventType")inletoperationStatus=(Option.map~f:BeaconStackOperationStatus.of_xml)(Xml.childxml_arg0"OperationStatus")inletoperationType=(Option.map~f:OperationType.of_xml)(Xml.childxml_arg0"OperationType")inletoperationId=(Option.map~f:OperationId.of_xml)(Xml.childxml_arg0"OperationId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inleteventId=(Option.map~f:EventId.of_xml)(Xml.childxml_arg0"EventId")inmake?validationPath?validationStatusReason?validationStatus?validationName?validationFailureMode?detailedStatus?hookFailureMode?hookInvocationPoint?hookStatusReason?hookStatus?hookType?clientRequestToken?resourceProperties?resourceStatusReason?resourceStatus?endTime?startTime?timestamp?resourceType?physicalResourceId?logicalResourceId?eventType?operationStatus?operationType?operationId?stackId?eventId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationPath=field_mapjson__"ValidationPath"ValidationPath.of_jsoninletvalidationStatusReason=field_mapjson__"ValidationStatusReason"ValidationStatusReason.of_jsoninletvalidationStatus=field_mapjson__"ValidationStatus"ValidationStatus.of_jsoninletvalidationName=field_mapjson__"ValidationName"ValidationName.of_jsoninletvalidationFailureMode=field_mapjson__"ValidationFailureMode"HookFailureMode.of_jsoninletdetailedStatus=field_mapjson__"DetailedStatus"DetailedStatus.of_jsoninlethookFailureMode=field_mapjson__"HookFailureMode"HookFailureMode.of_jsoninlethookInvocationPoint=field_mapjson__"HookInvocationPoint"HookInvocationPoint.of_jsoninlethookStatusReason=field_mapjson__"HookStatusReason"HookStatusReason.of_jsoninlethookStatus=field_mapjson__"HookStatus"HookStatus.of_jsoninlethookType=field_mapjson__"HookType"HookType.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletresourceProperties=field_mapjson__"ResourceProperties"ResourceProperties.of_jsoninletresourceStatusReason=field_mapjson__"ResourceStatusReason"ResourceStatusReason.of_jsoninletresourceStatus=field_mapjson__"ResourceStatus"ResourceStatus.of_jsoninletendTime=field_mapjson__"EndTime"Timestamp.of_jsoninletstartTime=field_mapjson__"StartTime"Timestamp.of_jsoninlettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninleteventType=field_mapjson__"EventType"EventType.of_jsoninletoperationStatus=field_mapjson__"OperationStatus"BeaconStackOperationStatus.of_jsoninletoperationType=field_mapjson__"OperationType"OperationType.of_jsoninletoperationId=field_mapjson__"OperationId"OperationId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninleteventId=field_mapjson__"EventId"EventId.of_jsoninmake?validationPath?validationStatusReason?validationStatus?validationName?validationFailureMode?detailedStatus?hookFailureMode?hookInvocationPoint?hookStatusReason?hookStatus?hookType?clientRequestToken?resourceProperties?resourceStatusReason?resourceStatus?endTime?startTime?timestamp?resourceType?physicalResourceId?logicalResourceId?eventType?operationStatus?operationType?operationId?stackId?eventId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains detailed information about an event that occurred during a CloudFormation operation."]moduleFailedEventsFilter=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_valueendmoduleChange=structtypenonrect={type_:ChangeType.toption[@ocaml.doc"The type of entity that CloudFormation changes. Resource This change is for a resource."];hookInvocationCount:HookInvocationCount.toption[@ocaml.doc"Is either null, if no Hooks invoke for the resource, or contains the number of Hooks that will invoke for the resource."];resourceChange:ResourceChange.toption[@ocaml.doc"A ResourceChange structure that describes the resource and action that CloudFormation will perform."]}letmake?type_=fun?hookInvocationCount->fun?resourceChange->fun()->{type_;hookInvocationCount;resourceChange}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:ChangeType.to_value));("HookInvocationCount",(Option.mapx.hookInvocationCount~f:HookInvocationCount.to_value));("ResourceChange",(Option.mapx.resourceChange~f:ResourceChange.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceChange=(Option.map~f:ResourceChange.of_xml)(Xml.childxml_arg0"ResourceChange")inlethookInvocationCount=(Option.map~f:HookInvocationCount.of_xml)(Xml.childxml_arg0"HookInvocationCount")inlettype_=(Option.map~f:ChangeType.of_xml)(Xml.childxml_arg0"Type")inmake?resourceChange?hookInvocationCount?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceChange=field_mapjson__"ResourceChange"ResourceChange.of_jsoninlethookInvocationCount=field_mapjson__"HookInvocationCount"HookInvocationCount.of_jsoninlettype_=field_mapjson__"Type"ChangeType.of_jsoninmake?resourceChange?hookInvocationCount?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Change structure describes the changes CloudFormation will perform if you execute the change set."]moduleChangeSetHook=structtypenonrect={invocationPoint:HookInvocationPoint.toption[@ocaml.doc"The specific point in the provisioning process where the Hook is invoked."];failureMode:HookFailureMode.toption[@ocaml.doc"Specify the Hook failure mode for non-compliant resources in the followings ways. FAIL Stops provisioning resources. WARN Allows provisioning to continue with a warning message."];typeName:HookTypeName.toption[@ocaml.doc"The unique name for your Hook. Specifies a three-part namespace for your Hook, with a recommended pattern of Organization::Service::Hook. The following organization namespaces are reserved and can't be used in your Hook type names: Alexa AMZN Amazon ASK AWS Custom Dev"];typeVersionId:HookTypeVersionId.toption[@ocaml.doc"The version ID of the type specified."];typeConfigurationVersionId:HookTypeConfigurationVersionId.toption[@ocaml.doc"The version ID of the type configuration."];targetDetails:ChangeSetHookTargetDetails.toption[@ocaml.doc"Specifies details about the target that the Hook will run against."]}letmake?invocationPoint=fun?failureMode->fun?typeName->fun?typeVersionId->fun?typeConfigurationVersionId->fun?targetDetails->fun()->{invocationPoint;failureMode;typeName;typeVersionId;typeConfigurationVersionId;targetDetails}letto_valuex=structure_to_value[("InvocationPoint",(Option.mapx.invocationPoint~f:HookInvocationPoint.to_value));("FailureMode",(Option.mapx.failureMode~f:HookFailureMode.to_value));("TypeName",(Option.mapx.typeName~f:HookTypeName.to_value));("TypeVersionId",(Option.mapx.typeVersionId~f:HookTypeVersionId.to_value));("TypeConfigurationVersionId",(Option.mapx.typeConfigurationVersionId~f:HookTypeConfigurationVersionId.to_value));("TargetDetails",(Option.mapx.targetDetails~f:ChangeSetHookTargetDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDetails=(Option.map~f:ChangeSetHookTargetDetails.of_xml)(Xml.childxml_arg0"TargetDetails")inlettypeConfigurationVersionId=(Option.map~f:HookTypeConfigurationVersionId.of_xml)(Xml.childxml_arg0"TypeConfigurationVersionId")inlettypeVersionId=(Option.map~f:HookTypeVersionId.of_xml)(Xml.childxml_arg0"TypeVersionId")inlettypeName=(Option.map~f:HookTypeName.of_xml)(Xml.childxml_arg0"TypeName")inletfailureMode=(Option.map~f:HookFailureMode.of_xml)(Xml.childxml_arg0"FailureMode")inletinvocationPoint=(Option.map~f:HookInvocationPoint.of_xml)(Xml.childxml_arg0"InvocationPoint")inmake?targetDetails?typeConfigurationVersionId?typeVersionId?typeName?failureMode?invocationPoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDetails=field_mapjson__"TargetDetails"ChangeSetHookTargetDetails.of_jsoninlettypeConfigurationVersionId=field_mapjson__"TypeConfigurationVersionId"HookTypeConfigurationVersionId.of_jsoninlettypeVersionId=field_mapjson__"TypeVersionId"HookTypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"HookTypeName.of_jsoninletfailureMode=field_mapjson__"FailureMode"HookFailureMode.of_jsoninletinvocationPoint=field_mapjson__"InvocationPoint"HookInvocationPoint.of_jsoninmake?targetDetails?typeConfigurationVersionId?typeVersionId?typeName?failureMode?invocationPoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the resource, the Hook, and the Hook version to be invoked."]moduleAccountLimit=structtypenonrect={name:LimitName.toption[@ocaml.doc"The name of the account limit. Values: ConcurrentResourcesLimit | StackLimit | StackOutputsLimit"];value:LimitValue.toption[@ocaml.doc"The value that's associated with the account limit name."]}letmake?name=fun?value->fun()->{name;value}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:LimitName.to_value));("Value",(Option.mapx.value~f:LimitValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:LimitValue.of_xml)(Xml.childxml_arg0"Value")inletname=(Option.map~f:LimitName.of_xml)(Xml.childxml_arg0"Name")inmake?value?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"LimitValue.of_jsoninletname=field_mapjson__"Name"LimitName.of_jsoninmake?value?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the current CloudFormation limits for your account. CloudFormation has the following limits per account: Number of concurrent resources Number of stacks Number of stack outputs For more information, see Understand CloudFormation quotas in the CloudFormation User Guide."]moduleStackDefinition=structtypenonrect={stackName:StackName.toption[@ocaml.doc"The name associated with the stack."];templateBody:TemplateBody.toption[@ocaml.doc"The file path for the stack template file."];templateURL:TemplateURL.toption[@ocaml.doc"The desired final state of the stack template."]}letmake?stackName=fun?templateBody->fun?templateURL->fun()->{stackName;templateBody;templateURL}letto_valuex=structure_to_value[("StackName",(Option.mapx.stackName~f:StackName.to_value));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inmake?templateURL?templateBody?stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninmake?templateURL?templateBody?stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the stack and the template used by the stack."]moduleResourceToImport=structtypenonrect={resourceType:ResourceType.t[@ocaml.doc"The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide."];logicalResourceId:LogicalResourceId.t[@ocaml.doc"The logical ID of the target resource as specified in the template."];resourceIdentifier:ResourceIdentifierProperties.t[@ocaml.doc"A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket)."]}letcontext_="ResourceToImport"letmake~resourceType=fun~logicalResourceId->fun~resourceIdentifier->fun()->{resourceType;logicalResourceId;resourceIdentifier}letto_valuex=structure_to_value[("ResourceType",(Some(ResourceType.to_valuex.resourceType)));("LogicalResourceId",(Some(LogicalResourceId.to_valuex.logicalResourceId)));("ResourceIdentifier",(Some(ResourceIdentifierProperties.to_valuex.resourceIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceIdentifier=ResourceIdentifierProperties.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceIdentifier")inletlogicalResourceId=LogicalResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"LogicalResourceId")inletresourceType=ResourceType.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceType")inmake~resourceIdentifier~logicalResourceId~resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceIdentifier=field_map_exnjson__"ResourceIdentifier"ResourceIdentifierProperties.of_jsoninletlogicalResourceId=field_map_exnjson__"LogicalResourceId"LogicalResourceId.of_jsoninletresourceType=field_map_exnjson__"ResourceType"ResourceType.of_jsoninmake~resourceIdentifier~logicalResourceId~resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the target resource of an import operation."]moduleResourceToSkip=structtypenonrect=stringletcontext_="ResourceToSkip"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[a-zA-Z0-9]+|[a-zA-Z][-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:"ResourceToSkip"jletto_json=simple_to_jsonto_valueendmoduleBatchDescribeTypeConfigurationsError=structtypenonrect={errorCode:ErrorCode.toption[@ocaml.doc"The error code."];errorMessage:ErrorMessage.toption[@ocaml.doc"The error message."];typeConfigurationIdentifier:TypeConfigurationIdentifier.toption[@ocaml.doc"Identifying information for the configuration of a CloudFormation extension."]}letmake?errorCode=fun?errorMessage->fun?typeConfigurationIdentifier->fun()->{errorCode;errorMessage;typeConfigurationIdentifier}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("ErrorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value));("TypeConfigurationIdentifier",(Option.mapx.typeConfigurationIdentifier~f:TypeConfigurationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypeConfigurationIdentifier=(Option.map~f:TypeConfigurationIdentifier.of_xml)(Xml.childxml_arg0"TypeConfigurationIdentifier")inleterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"ErrorMessage")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?typeConfigurationIdentifier?errorMessage?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeConfigurationIdentifier=field_mapjson__"TypeConfigurationIdentifier"TypeConfigurationIdentifier.of_jsoninleterrorMessage=field_mapjson__"ErrorMessage"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?typeConfigurationIdentifier?errorMessage?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information concerning an error generated during the setting of configuration data for a CloudFormation extension."]moduleTypeConfigurationDetails=structtypenonrect={arn:TypeConfigurationArn.toption[@ocaml.doc"The ARN for the configuration data, in this account and Region."];alias:TypeConfigurationAlias.toption[@ocaml.doc"The alias specified for this configuration, if one was specified when the configuration was set."];configuration:TypeConfiguration.toption[@ocaml.doc"A JSON string specifying the configuration data for the extension, in this account and Region. If a configuration hasn't been set for a specified extension, CloudFormation returns \\{\\}."];lastUpdated:Timestamp.toption[@ocaml.doc"When the configuration data was last updated for this extension. If a configuration hasn't been set for a specified extension, CloudFormation returns null."];typeArn:TypeArn.toption[@ocaml.doc"The ARN for the extension, in this account and Region. For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region."];typeName:TypeName.toption[@ocaml.doc"The name of the extension."];isDefaultConfiguration:IsDefaultConfiguration.toption[@ocaml.doc"Whether this configuration data is the default configuration for the extension."]}letmake?arn=fun?alias->fun?configuration->fun?lastUpdated->fun?typeArn->fun?typeName->fun?isDefaultConfiguration->fun()->{arn;alias;configuration;lastUpdated;typeArn;typeName;isDefaultConfiguration}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:TypeConfigurationArn.to_value));("Alias",(Option.mapx.alias~f:TypeConfigurationAlias.to_value));("Configuration",(Option.mapx.configuration~f:TypeConfiguration.to_value));("LastUpdated",(Option.mapx.lastUpdated~f:Timestamp.to_value));("TypeArn",(Option.mapx.typeArn~f:TypeArn.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("IsDefaultConfiguration",(Option.mapx.isDefaultConfiguration~f:IsDefaultConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisDefaultConfiguration=(Option.map~f:IsDefaultConfiguration.of_xml)(Xml.childxml_arg0"IsDefaultConfiguration")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inletlastUpdated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdated")inletconfiguration=(Option.map~f:TypeConfiguration.of_xml)(Xml.childxml_arg0"Configuration")inletalias=(Option.map~f:TypeConfigurationAlias.of_xml)(Xml.childxml_arg0"Alias")inletarn=(Option.map~f:TypeConfigurationArn.of_xml)(Xml.childxml_arg0"Arn")inmake?isDefaultConfiguration?typeName?typeArn?lastUpdated?configuration?alias?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisDefaultConfiguration=field_mapjson__"IsDefaultConfiguration"IsDefaultConfiguration.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettypeArn=field_mapjson__"TypeArn"TypeArn.of_jsoninletlastUpdated=field_mapjson__"LastUpdated"Timestamp.of_jsoninletconfiguration=field_mapjson__"Configuration"TypeConfiguration.of_jsoninletalias=field_mapjson__"Alias"TypeConfigurationAlias.of_jsoninletarn=field_mapjson__"Arn"TypeConfigurationArn.of_jsoninmake?isDefaultConfiguration?typeName?typeArn?lastUpdated?configuration?alias?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information concerning the specification of a CloudFormation extension in a given account and Region. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide."]moduleCapabilitiesReason=structtypenonrect=stringletcontext_="CapabilitiesReason"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:"CapabilitiesReason"jletto_json=simple_to_jsonto_valueendmoduleTemplateParameters=structtypenonrect=TemplateParameter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TemplateParameter.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:TemplateParameter.of_xml)letof_jsonj=list_of_json~kind:"TemplateParameters"~of_json:TemplateParameter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTransformsList=structtypenonrect=TransformName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TransformName.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:TransformName.of_xml)letof_jsonj=list_of_json~kind:"TransformsList"~of_json:TransformName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackNameOrId=structtypenonrect=stringletcontext_="StackNameOrId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->check_patterni~pattern:"([a-zA-Z][-a-zA-Z0-9]*)|(arn:\\b(aws|aws-us-gov|aws-cn)\\b:[-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:"StackNameOrId"jletto_json=simple_to_jsonto_valueendmoduleInvalidOperationException=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 operation isn't valid."]moduleOperationIdAlreadyExistsException=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 operation ID already exists."]moduleOperationInProgressException=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"Another operation is currently in progress for this StackSet. Only one operation can be performed for a stack set at a given time."]moduleStackInstanceNotFoundException=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 stack instance doesn't exist."]moduleStackSetNotFoundException=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 StackSet doesn't exist."]moduleStaleRequestException=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"Another operation has been performed on this StackSet since the specified operation was performed."]moduleCallAs=structtypenonrect=|SELF|DELEGATED_ADMIN|Non_static_idofstringletmakei=iletto_string=function|SELF->"SELF"|DELEGATED_ADMIN->"DELEGATED_ADMIN"|Non_static_ids->sletof_string=function|"SELF"->SELF|"DELEGATED_ADMIN"->DELEGATED_ADMIN|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 CallAs"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CallAs"j)letto_json=simple_to_jsonto_valueendmoduleUsePreviousTemplate=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_valueendmoduleInsufficientCapabilitiesException=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 template contains resources with capabilities that weren't specified in the Capabilities parameter."]moduleTokenAlreadyExistsException=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 client request token already exists."]moduleStackSetNameOrId=structtypenonrect=stringletcontext_="StackSetNameOrId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[a-zA-Z][-a-zA-Z0-9]*(?::[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})?");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StackSetNameOrId"jletto_json=simple_to_jsonto_valueendmoduleStackPolicyBody=structtypenonrect=stringletcontext_="StackPolicyBody"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16384)>>=(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:"StackPolicyBody"jletto_json=simple_to_jsonto_valueendmoduleStackPolicyDuringUpdateBody=structtypenonrect=stringletcontext_="StackPolicyDuringUpdateBody"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16384)>>=(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:"StackPolicyDuringUpdateBody"jletto_json=simple_to_jsonto_valueendmoduleStackPolicyDuringUpdateURL=structtypenonrect=stringletcontext_="StackPolicyDuringUpdateURL"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:5120)>>=(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:"StackPolicyDuringUpdateURL"jletto_json=simple_to_jsonto_valueendmoduleStackPolicyURL=structtypenonrect=stringletcontext_="StackPolicyURL"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:5120)>>=(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:"StackPolicyURL"jletto_json=simple_to_jsonto_valueendmoduleAlreadyExistsException=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 with the name requested already exists."]moduleGeneratedTemplateNotFoundException=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 generated template was not found."]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"The quota for the resource has already been reached. For information about resource and stack limitations, see CloudFormation quotas in the CloudFormation User Guide."]moduleJazzLogicalResourceIds=structtypenonrect=LogicalResourceId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:500)>>=(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:LogicalResourceId.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:LogicalResourceId.of_xml)letof_jsonj=list_of_json~kind:"JazzLogicalResourceIds"~of_json:LogicalResourceId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRefreshAllResources=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_valueendmoduleResourceDefinitions=structtypenonrect=ResourceDefinition.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:500)>>=(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:ResourceDefinition.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:ResourceDefinition.of_xml)letof_jsonj=list_of_json~kind:"ResourceDefinitions"~of_json:ResourceDefinition.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTemplateConfiguration=structtypenonrect={deletionPolicy:GeneratedTemplateDeletionPolicy.toption[@ocaml.doc"The DeletionPolicy assigned to resources in the generated template. Supported values are: DELETE - delete all resources when the stack is deleted. RETAIN - retain all resources when the stack is deleted. For more information, see DeletionPolicy attribute in the CloudFormation User Guide."];updateReplacePolicy:GeneratedTemplateUpdateReplacePolicy.toption[@ocaml.doc"The UpdateReplacePolicy assigned to resources in the generated template. Supported values are: DELETE - delete all resources when the resource is replaced during an update operation. RETAIN - retain all resources when the resource is replaced during an update operation. For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide."]}letmake?deletionPolicy=fun?updateReplacePolicy->fun()->{deletionPolicy;updateReplacePolicy}letto_valuex=structure_to_value[("DeletionPolicy",(Option.mapx.deletionPolicy~f:GeneratedTemplateDeletionPolicy.to_value));("UpdateReplacePolicy",(Option.mapx.updateReplacePolicy~f:GeneratedTemplateUpdateReplacePolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateReplacePolicy=(Option.map~f:GeneratedTemplateUpdateReplacePolicy.of_xml)(Xml.childxml_arg0"UpdateReplacePolicy")inletdeletionPolicy=(Option.map~f:GeneratedTemplateDeletionPolicy.of_xml)(Xml.childxml_arg0"DeletionPolicy")inmake?updateReplacePolicy?deletionPolicy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateReplacePolicy=field_mapjson__"UpdateReplacePolicy"GeneratedTemplateUpdateReplacePolicy.of_jsoninletdeletionPolicy=field_mapjson__"DeletionPolicy"GeneratedTemplateDeletionPolicy.of_jsoninmake?updateReplacePolicy?deletionPolicy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration details of a generated template."]moduleCFNRegistryException=structtypenonrect={message:ErrorMessage.toption[@ocaml.doc"A message with details about the error that occurred."]}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An error occurred during a CloudFormation registry operation."]moduleTypeNotFoundException=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 extension doesn't exist in the CloudFormation registry."]moduleS3Bucket=structtypenonrect=stringletcontext_="S3Bucket"letmakei=letopenResultinok_or_failwith((check_string_mini~min:3)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[\\s\\S]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"S3Bucket"jletto_json=simple_to_jsonto_valueendmoduleOperationNotFoundException=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 ID refers to an operation that doesn't exist."]moduleResourceScanInProgressException=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 resource scan is currently in progress. Only one can be run at a time for an account in a Region."]moduleResourceScanLimitExceededException=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 limit on resource scans has been exceeded. Reasons include: Exceeded the daily quota for resource scans. A resource scan recently failed. You must wait 10 minutes before starting a new resource scan. The last resource scan failed after exceeding 100,000 resources. When this happens, you must wait 24 hours before starting a new resource scan."]moduleScanFilters=structtypenonrect=ScanFilter.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ScanFilter.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:ScanFilter.of_xml)letof_jsonj=list_of_json~kind:"ScanFilters"~of_json:ScanFilter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceSignalStatus=structtypenonrect=|SUCCESS|FAILURE|Non_static_idofstringletmakei=iletto_string=function|SUCCESS->"SUCCESS"|FAILURE->"FAILURE"|Non_static_ids->sletof_string=function|"SUCCESS"->SUCCESS|"FAILURE"->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 ResourceSignalStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceSignalStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceSignalUniqueId=structtypenonrect=stringletcontext_="ResourceSignalUniqueId"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:"ResourceSignalUniqueId"jletto_json=simple_to_jsonto_valueendmodulePrivateTypeArn=structtypenonrect=stringletcontext_="PrivateTypeArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:[0-9]{12}:type/.+"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PrivateTypeArn"jletto_json=simple_to_jsonto_valueendmoduleLoggingConfig=structtypenonrect={logRoleArn:RoleArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs."];logGroupName:LogGroupName.t[@ocaml.doc"The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers."]}letcontext_="LoggingConfig"letmake~logRoleArn=fun~logGroupName->fun()->{logRoleArn;logGroupName}letto_valuex=structure_to_value[("LogRoleArn",(Some(RoleArn.to_valuex.logRoleArn)));("LogGroupName",(Some(LogGroupName.to_valuex.logGroupName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogGroupName=LogGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"LogGroupName")inletlogRoleArn=RoleArn.of_xml(Xml.child_exn~context:context_xml_arg0"LogRoleArn")inmake~logGroupName~logRoleArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogGroupName=field_map_exnjson__"LogGroupName"LogGroupName.of_jsoninletlogRoleArn=field_map_exnjson__"LogRoleArn"RoleArn.of_jsoninmake~logGroupName~logRoleArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains logging configuration information for an extension."]moduleRequestToken=structtypenonrect=stringletcontext_="RequestToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[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:"RequestToken"jletto_json=simple_to_jsonto_valueendmoduleS3Url=structtypenonrect=stringletcontext_="S3Url"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:4096)>>=(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:"S3Url"jletto_json=simple_to_jsonto_valueendmoduleAcceptTermsAndConditions=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_valueendmoduleConnectionArn=structtypenonrect=stringletcontext_="ConnectionArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionArn"jletto_json=simple_to_jsonto_valueendmoduleInvalidStateTransitionException=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"Error reserved for use by the CloudFormation CLI. CloudFormation doesn't return this error to users."]moduleOperationStatusCheckFailedException=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"Error reserved for use by the CloudFormation CLI. CloudFormation doesn't return this error to users."]moduleClientToken=structtypenonrect=stringletcontext_="ClientToken"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ClientToken"jletto_json=simple_to_jsonto_valueendmoduleHandlerErrorCode=structtypenonrect=|NotUpdatable|InvalidRequest|AccessDenied|InvalidCredentials|AlreadyExists|NotFound|ResourceConflict|Throttling|ServiceLimitExceeded|NotStabilized|GeneralServiceException|ServiceInternalError|NetworkFailure|InternalFailure|InvalidTypeConfiguration|HandlerInternalFailure|NonCompliant|Unknown|UnsupportedTarget|Non_static_idofstringletmakei=iletto_string=function|NotUpdatable->"NotUpdatable"|InvalidRequest->"InvalidRequest"|AccessDenied->"AccessDenied"|InvalidCredentials->"InvalidCredentials"|AlreadyExists->"AlreadyExists"|NotFound->"NotFound"|ResourceConflict->"ResourceConflict"|Throttling->"Throttling"|ServiceLimitExceeded->"ServiceLimitExceeded"|NotStabilized->"NotStabilized"|GeneralServiceException->"GeneralServiceException"|ServiceInternalError->"ServiceInternalError"|NetworkFailure->"NetworkFailure"|InternalFailure->"InternalFailure"|InvalidTypeConfiguration->"InvalidTypeConfiguration"|HandlerInternalFailure->"HandlerInternalFailure"|NonCompliant->"NonCompliant"|Unknown->"Unknown"|UnsupportedTarget->"UnsupportedTarget"|Non_static_ids->sletof_string=function|"NotUpdatable"->NotUpdatable|"InvalidRequest"->InvalidRequest|"AccessDenied"->AccessDenied|"InvalidCredentials"->InvalidCredentials|"AlreadyExists"->AlreadyExists|"NotFound"->NotFound|"ResourceConflict"->ResourceConflict|"Throttling"->Throttling|"ServiceLimitExceeded"->ServiceLimitExceeded|"NotStabilized"->NotStabilized|"GeneralServiceException"->GeneralServiceException|"ServiceInternalError"->ServiceInternalError|"NetworkFailure"->NetworkFailure|"InternalFailure"->InternalFailure|"InvalidTypeConfiguration"->InvalidTypeConfiguration|"HandlerInternalFailure"->HandlerInternalFailure|"NonCompliant"->NonCompliant|"Unknown"->Unknown|"UnsupportedTarget"->UnsupportedTarget|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 HandlerErrorCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HandlerErrorCode"j)letto_json=simple_to_jsonto_valueendmoduleOperationStatus=structtypenonrect=|PENDING|IN_PROGRESS|SUCCESS|FAILED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|IN_PROGRESS->"IN_PROGRESS"|SUCCESS->"SUCCESS"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"IN_PROGRESS"->IN_PROGRESS|"SUCCESS"->SUCCESS|"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 OperationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OperationStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceModel=structtypenonrect=stringletcontext_="ResourceModel"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16384)>>=(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:"ResourceModel"jletto_json=simple_to_jsonto_valueendmoduleStatusMessage=structtypenonrect=stringletcontext_="StatusMessage"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:1024);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StatusMessage"jletto_json=simple_to_jsonto_valueendmoduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(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:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleTypeSummaries=structtypenonrect=TypeSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TypeSummary.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:TypeSummary.of_xml)letof_jsonj=list_of_json~kind:"TypeSummaries"~of_json:TypeSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeprecatedStatus=structtypenonrect=|LIVE|DEPRECATED|Non_static_idofstringletmakei=iletto_string=function|LIVE->"LIVE"|DEPRECATED->"DEPRECATED"|Non_static_ids->sletof_string=function|"LIVE"->LIVE|"DEPRECATED"->DEPRECATED|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 DeprecatedStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeprecatedStatus"j)letto_json=simple_to_jsonto_valueendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProvisioningType=structtypenonrect=|NON_PROVISIONABLE|IMMUTABLE|FULLY_MUTABLE|Non_static_idofstringletmakei=iletto_string=function|NON_PROVISIONABLE->"NON_PROVISIONABLE"|IMMUTABLE->"IMMUTABLE"|FULLY_MUTABLE->"FULLY_MUTABLE"|Non_static_ids->sletof_string=function|"NON_PROVISIONABLE"->NON_PROVISIONABLE|"IMMUTABLE"->IMMUTABLE|"FULLY_MUTABLE"->FULLY_MUTABLE|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 ProvisioningType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProvisioningType"j)letto_json=simple_to_jsonto_valueendmoduleTypeFilters=structtypenonrect={category:Category.toption[@ocaml.doc"The category of extensions to return. REGISTERED: Private extensions that have been registered for this account and Region. ACTIVATED: Public extensions that have been activated for this account and Region. THIRD_PARTY: Extensions available for use from publishers other than Amazon. This includes: Private extensions registered in the account. Public extensions from publishers other than Amazon, whether activated or not. AWS_TYPES: Extensions available for use from Amazon."];publisherId:PublisherId.toption[@ocaml.doc"The id of the publisher of the extension. Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES category to specify a list of types published by Amazon."];typeNamePrefix:TypeNamePrefix.toption[@ocaml.doc"A prefix to use as a filter for results."]}letmake?category=fun?publisherId->fun?typeNamePrefix->fun()->{category;publisherId;typeNamePrefix}letto_valuex=structure_to_value[("Category",(Option.mapx.category~f:Category.to_value));("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value));("TypeNamePrefix",(Option.mapx.typeNamePrefix~f:TypeNamePrefix.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypeNamePrefix=(Option.map~f:TypeNamePrefix.of_xml)(Xml.childxml_arg0"TypeNamePrefix")inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inletcategory=(Option.map~f:Category.of_xml)(Xml.childxml_arg0"Category")inmake?typeNamePrefix?publisherId?category()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeNamePrefix=field_mapjson__"TypeNamePrefix"TypeNamePrefix.of_jsoninletpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninletcategory=field_mapjson__"Category"Category.of_jsoninmake?typeNamePrefix?publisherId?category()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Filter criteria to use in determining which extensions to return."]moduleVisibility=structtypenonrect=|PUBLIC|PRIVATE|Non_static_idofstringletmakei=iletto_string=function|PUBLIC->"PUBLIC"|PRIVATE->"PRIVATE"|Non_static_ids->sletof_string=function|"PUBLIC"->PUBLIC|"PRIVATE"->PRIVATE|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 Visibility"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Visibility"j)letto_json=simple_to_jsonto_valueendmoduleTypeVersionSummaries=structtypenonrect=TypeVersionSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TypeVersionSummary.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:TypeVersionSummary.of_xml)letof_jsonj=list_of_json~kind:"TypeVersionSummaries"~of_json:TypeVersionSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRegistrationTokenList=structtypenonrect=RegistrationToken.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RegistrationToken.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:RegistrationToken.of_xml)letof_jsonj=list_of_json~kind:"RegistrationTokenList"~of_json:RegistrationToken.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRegistrationStatus=structtypenonrect=|COMPLETE|IN_PROGRESS|FAILED|Non_static_idofstringletmakei=iletto_string=function|COMPLETE->"COMPLETE"|IN_PROGRESS->"IN_PROGRESS"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"COMPLETE"->COMPLETE|"IN_PROGRESS"->IN_PROGRESS|"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 RegistrationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RegistrationStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackSummaries=structtypenonrect=StackSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackSummary.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:StackSummary.of_xml)letof_jsonj=list_of_json~kind:"StackSummaries"~of_json:StackSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackStatusFilter=structtypenonrect=StackStatus.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackStatus.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:StackStatus.of_xml)letof_jsonj=list_of_json~kind:"StackStatusFilter"~of_json:StackStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackSetSummaries=structtypenonrect=StackSetSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackSetSummary.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:StackSetSummary.of_xml)letof_jsonj=list_of_json~kind:"StackSetSummaries"~of_json:StackSetSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackSetOperationSummaries=structtypenonrect=StackSetOperationSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackSetOperationSummary.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:StackSetOperationSummary.of_xml)letof_jsonj=list_of_json~kind:"StackSetOperationSummaries"~of_json:StackSetOperationSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackSetOperationResultSummaries=structtypenonrect=StackSetOperationResultSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackSetOperationResultSummary.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:StackSetOperationResultSummary.of_xml)letof_jsonj=list_of_json~kind:"StackSetOperationResultSummaries"~of_json:StackSetOperationResultSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOperationResultFilters=structtypenonrect=OperationResultFilter.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:OperationResultFilter.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:OperationResultFilter.of_xml)letof_jsonj=list_of_json~kind:"OperationResultFilters"~of_json:OperationResultFilter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackSetAutoDeploymentTargetSummaries=structtypenonrect=StackSetAutoDeploymentTargetSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackSetAutoDeploymentTargetSummary.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:StackSetAutoDeploymentTargetSummary.of_xml)letof_jsonj=list_of_json~kind:"StackSetAutoDeploymentTargetSummaries"~of_json:StackSetAutoDeploymentTargetSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackResourceSummaries=structtypenonrect=StackResourceSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackResourceSummary.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:StackResourceSummary.of_xml)letof_jsonj=list_of_json~kind:"StackResourceSummaries"~of_json:StackResourceSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackRefactorSummaries=structtypenonrect=StackRefactorSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackRefactorSummary.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:StackRefactorSummary.of_xml)letof_jsonj=list_of_json~kind:"StackRefactorSummaries"~of_json:StackRefactorSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackRefactorExecutionStatusFilter=structtypenonrect=StackRefactorExecutionStatus.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackRefactorExecutionStatus.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:StackRefactorExecutionStatus.of_xml)letof_jsonj=list_of_json~kind:"StackRefactorExecutionStatusFilter"~of_json:StackRefactorExecutionStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackRefactorActions=structtypenonrect=StackRefactorAction.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackRefactorAction.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:StackRefactorAction.of_xml)letof_jsonj=list_of_json~kind:"StackRefactorActions"~of_json:StackRefactorAction.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackInstanceSummaries=structtypenonrect=StackInstanceSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackInstanceSummary.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:StackInstanceSummary.of_xml)letof_jsonj=list_of_json~kind:"StackInstanceSummaries"~of_json:StackInstanceSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackInstanceFilters=structtypenonrect=StackInstanceFilter.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:3);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackInstanceFilter.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:StackInstanceFilter.of_xml)letof_jsonj=list_of_json~kind:"StackInstanceFilters"~of_json:StackInstanceFilter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackInstanceResourceDriftsSummaries=structtypenonrect=StackInstanceResourceDriftsSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackInstanceResourceDriftsSummary.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:StackInstanceResourceDriftsSummary.of_xml)letof_jsonj=list_of_json~kind:"StackInstanceResourceDriftsSummaries"~of_json:StackInstanceResourceDriftsSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackResourceDriftStatusFilters=structtypenonrect=StackResourceDriftStatus.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:StackResourceDriftStatus.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:StackResourceDriftStatus.of_xml)letof_jsonj=list_of_json~kind:"StackResourceDriftStatusFilters"~of_json:StackResourceDriftStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceScanSummaries=structtypenonrect=ResourceScanSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceScanSummary.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:ResourceScanSummary.of_xml)letof_jsonj=list_of_json~kind:"ResourceScanSummaries"~of_json:ResourceScanSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceScannerMaxResults=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 ResourceScannerMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResourceScanNotFoundException=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 scan was not found."]moduleScannedResources=structtypenonrect=ScannedResource.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ScannedResource.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:ScannedResource.of_xml)letof_jsonj=list_of_json~kind:"ScannedResources"~of_json:ScannedResource.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceIdentifier=structtypenonrect=stringletcontext_="ResourceIdentifier"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:"ResourceIdentifier"jletto_json=simple_to_jsonto_valueendmoduleResourceTypePrefix=structtypenonrect=stringletcontext_="ResourceTypePrefix"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:"ResourceTypePrefix"jletto_json=simple_to_jsonto_valueendmoduleRelatedResources=structtypenonrect=ScannedResource.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ScannedResource.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:ScannedResource.of_xml)letof_jsonj=list_of_json~kind:"RelatedResources"~of_json:ScannedResource.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBoxedMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for BoxedMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleScannedResourceIdentifiers=structtypenonrect=ScannedResourceIdentifier.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ScannedResourceIdentifier.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:ScannedResourceIdentifier.of_xml)letof_jsonj=list_of_json~kind:"ScannedResourceIdentifiers"~of_json:ScannedResourceIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImports=structtypenonrect=StackName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackName.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:StackName.of_xml)letof_jsonj=list_of_json~kind:"Imports"~of_json:StackName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleHookResultNotFoundException=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 target doesn't have any requested Hook invocations."]moduleHookResultSummaries=structtypenonrect=HookResultSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:HookResultSummary.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:HookResultSummary.of_xml)letof_jsonj=list_of_json~kind:"HookResultSummaries"~of_json:HookResultSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTemplateSummaries=structtypenonrect=TemplateSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TemplateSummary.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:TemplateSummary.of_xml)letof_jsonj=list_of_json~kind:"TemplateSummaries"~of_json:TemplateSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleExports=structtypenonrect=Export.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Export.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:Export.of_xml)letof_jsonj=list_of_json~kind:"Exports"~of_json:Export.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleChangeSetSummaries=structtypenonrect=ChangeSetSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ChangeSetSummary.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:ChangeSetSummary.of_xml)letof_jsonj=list_of_json~kind:"ChangeSetSummaries"~of_json:ChangeSetSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackNotFoundException=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 stack ARN doesn't exist or stack doesn't exist corresponding to the ARN in input."]moduleStackIdList=structtypenonrect=StackId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackId.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:StackId.of_xml)letof_jsonj=list_of_json~kind:"StackIdList"~of_json:StackId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackIdsUrl=structtypenonrect=stringletcontext_="StackIdsUrl"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:5120)>>=(fun()->check_patterni~pattern:"(s3://|http(s?)://).+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StackIdsUrl"jletto_json=simple_to_jsonto_valueendmoduleParameterDeclarations=structtypenonrect=ParameterDeclaration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ParameterDeclaration.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:ParameterDeclaration.of_xml)letof_jsonj=list_of_json~kind:"ParameterDeclarations"~of_json:ParameterDeclaration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceIdentifierSummaries=structtypenonrect=ResourceIdentifierSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceIdentifierSummary.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:ResourceIdentifierSummary.of_xml)letof_jsonj=list_of_json~kind:"ResourceIdentifierSummaries"~of_json:ResourceIdentifierSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVersion=structtypenonrect=stringletcontext_="Version"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:"Version"jletto_json=simple_to_jsonto_valueendmoduleWarnings=structtypenonrect={unrecognizedResourceTypes:ResourceTypes.toption[@ocaml.doc"A list of all of the unrecognized resource types. This is only returned if the TemplateSummaryConfig parameter has the TreatUnrecognizedResourceTypesAsWarning configuration set to True."]}letmake?unrecognizedResourceTypes=fun()->{unrecognizedResourceTypes}letto_valuex=structure_to_value[("UnrecognizedResourceTypes",(Option.mapx.unrecognizedResourceTypes~f:ResourceTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letunrecognizedResourceTypes=(Option.map~f:ResourceTypes.of_xml)(Xml.childxml_arg0"UnrecognizedResourceTypes")inmake?unrecognizedResourceTypes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letunrecognizedResourceTypes=field_mapjson__"UnrecognizedResourceTypes"ResourceTypes.of_jsoninmake?unrecognizedResourceTypes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains any warnings returned by the GetTemplateSummary API action."]moduleTemplateSummaryConfig=structtypenonrect={treatUnrecognizedResourceTypesAsWarnings:TreatUnrecognizedResourceTypesAsWarnings.toption[@ocaml.doc"If set to True, any unrecognized resource types generate warnings and not an error. Any unrecognized resource types are returned in the Warnings output parameter."]}letmake?treatUnrecognizedResourceTypesAsWarnings=fun()->{treatUnrecognizedResourceTypesAsWarnings}letto_valuex=structure_to_value[("TreatUnrecognizedResourceTypesAsWarnings",(Option.mapx.treatUnrecognizedResourceTypesAsWarnings~f:TreatUnrecognizedResourceTypesAsWarnings.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettreatUnrecognizedResourceTypesAsWarnings=(Option.map~f:TreatUnrecognizedResourceTypesAsWarnings.of_xml)(Xml.childxml_arg0"TreatUnrecognizedResourceTypesAsWarnings")inmake?treatUnrecognizedResourceTypesAsWarnings()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettreatUnrecognizedResourceTypesAsWarnings=field_mapjson__"TreatUnrecognizedResourceTypesAsWarnings"TreatUnrecognizedResourceTypesAsWarnings.of_jsoninmake?treatUnrecognizedResourceTypesAsWarnings()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Options for the GetTemplateSummary API action."]moduleChangeSetNotFoundException=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 change set name or ID doesn't exit. To view valid change sets for a stack, use the ListChangeSets operation."]moduleStageList=structtypenonrect=TemplateStage.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TemplateStage.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:TemplateStage.of_xml)letof_jsonj=list_of_json~kind:"StageList"~of_json:TemplateStage.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleChangeSetNameOrId=structtypenonrect=stringletcontext_="ChangeSetNameOrId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1600)>>=(fun()->check_patterni~pattern:"[a-zA-Z][-a-zA-Z0-9]*|arn:[-a-zA-Z0-9:/]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ChangeSetNameOrId"jletto_json=simple_to_jsonto_valueendmoduleAnnotationList=structtypenonrect=Annotation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Annotation.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:Annotation.of_xml)letof_jsonj=list_of_json~kind:"AnnotationList"~of_json:Annotation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleHookTarget=structtypenonrect={targetType:HookTargetType.toption[@ocaml.doc"The target type."];targetTypeName:HookTargetTypeName.toption[@ocaml.doc"The target name, for example, AWS::S3::Bucket."];targetId:HookTargetId.toption[@ocaml.doc"The unique identifier of the Hook invocation target."];action:HookTargetAction.toption[@ocaml.doc"The action that invoked the Hook."]}letmake?targetType=fun?targetTypeName->fun?targetId->fun?action->fun()->{targetType;targetTypeName;targetId;action}letto_valuex=structure_to_value[("TargetType",(Option.mapx.targetType~f:HookTargetType.to_value));("TargetTypeName",(Option.mapx.targetTypeName~f:HookTargetTypeName.to_value));("TargetId",(Option.mapx.targetId~f:HookTargetId.to_value));("Action",(Option.mapx.action~f:HookTargetAction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaction=(Option.map~f:HookTargetAction.of_xml)(Xml.childxml_arg0"Action")inlettargetId=(Option.map~f:HookTargetId.of_xml)(Xml.childxml_arg0"TargetId")inlettargetTypeName=(Option.map~f:HookTargetTypeName.of_xml)(Xml.childxml_arg0"TargetTypeName")inlettargetType=(Option.map~f:HookTargetType.of_xml)(Xml.childxml_arg0"TargetType")inmake?action?targetId?targetTypeName?targetType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaction=field_mapjson__"Action"HookTargetAction.of_jsoninlettargetId=field_mapjson__"TargetId"HookTargetId.of_jsoninlettargetTypeName=field_mapjson__"TargetTypeName"HookTargetTypeName.of_jsoninlettargetType=field_mapjson__"TargetType"HookTargetType.of_jsoninmake?action?targetId?targetTypeName?targetType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The HookTarget data type."]moduleTemplateFormat=structtypenonrect=|JSON|YAML|Non_static_idofstringletmakei=iletto_string=function|JSON->"JSON"|YAML->"YAML"|Non_static_ids->sletof_string=function|"JSON"->JSON|"YAML"->YAML|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 TemplateFormat"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TemplateFormat"j)letto_json=simple_to_jsonto_valueendmoduleInvalidChangeSetStatusException=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 change set can't be used to update the stack. For example, the change set status might be CREATE_IN_PROGRESS, or the stack status might be UPDATE_IN_PROGRESS."]moduleUrl=structtypenonrect=stringletcontext_="Url"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:"Url"jletto_json=simple_to_jsonto_valueendmoduleStackDriftDetectionId=structtypenonrect=stringletcontext_="StackDriftDetectionId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:36)>>=(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:"StackDriftDetectionId"jletto_json=simple_to_jsonto_valueendmoduleAutoUpdate=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_valueendmoduleConfigurationSchema=structtypenonrect=stringletcontext_="ConfigurationSchema"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:60000)>>=(fun()->check_patterni~pattern:"[\\s\\S]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConfigurationSchema"jletto_json=simple_to_jsonto_valueendmoduleOptionalSecureUrl=structtypenonrect=stringletcontext_="OptionalSecureUrl"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:4096);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OptionalSecureUrl"jletto_json=simple_to_jsonto_valueendmoduleRequiredActivatedTypes=structtypenonrect=RequiredActivatedType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RequiredActivatedType.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:RequiredActivatedType.of_xml)letof_jsonj=list_of_json~kind:"RequiredActivatedTypes"~of_json:RequiredActivatedType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTypeSchema=structtypenonrect=stringletcontext_="TypeSchema"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16777216)>>=(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:"TypeSchema"jletto_json=simple_to_jsonto_valueendmoduleTypeTestsStatus=structtypenonrect=|PASSED|FAILED|IN_PROGRESS|NOT_TESTED|Non_static_idofstringletmakei=iletto_string=function|PASSED->"PASSED"|FAILED->"FAILED"|IN_PROGRESS->"IN_PROGRESS"|NOT_TESTED->"NOT_TESTED"|Non_static_ids->sletof_string=function|"PASSED"->PASSED|"FAILED"->FAILED|"IN_PROGRESS"->IN_PROGRESS|"NOT_TESTED"->NOT_TESTED|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 TypeTestsStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TypeTestsStatus"j)letto_json=simple_to_jsonto_valueendmoduleTypeTestsStatusDescription=structtypenonrect=stringletcontext_="TypeTestsStatusDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"[\\s\\S]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TypeTestsStatusDescription"jletto_json=simple_to_jsonto_valueendmoduleStacks=structtypenonrect=Stack.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Stack.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:Stack.of_xml)letof_jsonj=list_of_json~kind:"Stacks"~of_json:Stack.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackSet=structtypenonrect={stackSetName:StackSetName.toption[@ocaml.doc"The name that's associated with the StackSet."];stackSetId:StackSetId.toption[@ocaml.doc"The ID of the StackSet."];description:Description.toption[@ocaml.doc"A description of the StackSet that you specify when the StackSet is created or updated."];status:StackSetStatus.toption[@ocaml.doc"The status of the StackSet."];templateBody:TemplateBody.toption[@ocaml.doc"The structure that contains the body of the template that was used to create or update the StackSet."];parameters:Parameters.toption[@ocaml.doc"A list of input parameters for a StackSet."];capabilities:Capabilities.toption[@ocaml.doc"The capabilities that are allowed in the StackSet. Some StackSet templates might include resources that can affect permissions in your Amazon Web Services account\226\128\148for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM resources in CloudFormation templates."];tags:Tags.toption[@ocaml.doc"A list of tags that specify information about the StackSet. A maximum number of 50 tags can be specified."];stackSetARN:StackSetARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the StackSet."];administrationRoleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role used to create or update the stack set. Use customized administrator roles to control which users or groups can manage specific StackSets within the same administrator account. For more information, see Prerequisites for using CloudFormation StackSets in the CloudFormation User Guide."];executionRoleName:ExecutionRoleName.toption[@ocaml.doc"The name of the IAM execution role used to create or update the StackSet. Use customized execution roles to control which stack resources users and groups can include in their StackSets."];stackSetDriftDetectionDetails:StackSetDriftDetectionDetails.toption[@ocaml.doc"Detailed information about the drift status of the StackSet. For StackSets, contains information about the last completed drift operation performed on the StackSet. Information about drift operations currently in progress isn't included."];autoDeployment:AutoDeployment.toption[@ocaml.doc"Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU). Valid only if the StackSet uses service-managed permissions."];permissionModel:PermissionModels.toption[@ocaml.doc"Describes how the IAM roles required for StackSet operations are created. With self-managed permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see Grant self-managed permissions. With service-managed permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by Organizations. For more information, see Activate trusted access for StackSets with Organizations."];organizationalUnitIds:OrganizationalUnitIdList.toption[@ocaml.doc"\\[Service-managed permissions\\] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets."];managedExecution:ManagedExecution.toption[@ocaml.doc"Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations."];regions:RegionList.toption[@ocaml.doc"Returns a list of all Amazon Web Services Regions the given StackSet has stack instances deployed in. The Amazon Web Services Regions list output is in no particular order."]}letmake?stackSetName=fun?stackSetId->fun?description->fun?status->fun?templateBody->fun?parameters->fun?capabilities->fun?tags->fun?stackSetARN->fun?administrationRoleARN->fun?executionRoleName->fun?stackSetDriftDetectionDetails->fun?autoDeployment->fun?permissionModel->fun?organizationalUnitIds->fun?managedExecution->fun?regions->fun()->{stackSetName;stackSetId;description;status;templateBody;parameters;capabilities;tags;stackSetARN;administrationRoleARN;executionRoleName;stackSetDriftDetectionDetails;autoDeployment;permissionModel;organizationalUnitIds;managedExecution;regions}letto_valuex=structure_to_value[("StackSetName",(Option.mapx.stackSetName~f:StackSetName.to_value));("StackSetId",(Option.mapx.stackSetId~f:StackSetId.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Status",(Option.mapx.status~f:StackSetStatus.to_value));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("StackSetARN",(Option.mapx.stackSetARN~f:StackSetARN.to_value));("AdministrationRoleARN",(Option.mapx.administrationRoleARN~f:RoleARN.to_value));("ExecutionRoleName",(Option.mapx.executionRoleName~f:ExecutionRoleName.to_value));("StackSetDriftDetectionDetails",(Option.mapx.stackSetDriftDetectionDetails~f:StackSetDriftDetectionDetails.to_value));("AutoDeployment",(Option.mapx.autoDeployment~f:AutoDeployment.to_value));("PermissionModel",(Option.mapx.permissionModel~f:PermissionModels.to_value));("OrganizationalUnitIds",(Option.mapx.organizationalUnitIds~f:OrganizationalUnitIdList.to_value));("ManagedExecution",(Option.mapx.managedExecution~f:ManagedExecution.to_value));("Regions",(Option.mapx.regions~f:RegionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregions=(Option.map~f:RegionList.of_xml)(Xml.childxml_arg0"Regions")inletmanagedExecution=(Option.map~f:ManagedExecution.of_xml)(Xml.childxml_arg0"ManagedExecution")inletorganizationalUnitIds=(Option.map~f:OrganizationalUnitIdList.of_xml)(Xml.childxml_arg0"OrganizationalUnitIds")inletpermissionModel=(Option.map~f:PermissionModels.of_xml)(Xml.childxml_arg0"PermissionModel")inletautoDeployment=(Option.map~f:AutoDeployment.of_xml)(Xml.childxml_arg0"AutoDeployment")inletstackSetDriftDetectionDetails=(Option.map~f:StackSetDriftDetectionDetails.of_xml)(Xml.childxml_arg0"StackSetDriftDetectionDetails")inletexecutionRoleName=(Option.map~f:ExecutionRoleName.of_xml)(Xml.childxml_arg0"ExecutionRoleName")inletadministrationRoleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"AdministrationRoleARN")inletstackSetARN=(Option.map~f:StackSetARN.of_xml)(Xml.childxml_arg0"StackSetARN")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletstatus=(Option.map~f:StackSetStatus.of_xml)(Xml.childxml_arg0"Status")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletstackSetId=(Option.map~f:StackSetId.of_xml)(Xml.childxml_arg0"StackSetId")inletstackSetName=(Option.map~f:StackSetName.of_xml)(Xml.childxml_arg0"StackSetName")inmake?regions?managedExecution?organizationalUnitIds?permissionModel?autoDeployment?stackSetDriftDetectionDetails?executionRoleName?administrationRoleARN?stackSetARN?tags?capabilities?parameters?templateBody?status?description?stackSetId?stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregions=field_mapjson__"Regions"RegionList.of_jsoninletmanagedExecution=field_mapjson__"ManagedExecution"ManagedExecution.of_jsoninletorganizationalUnitIds=field_mapjson__"OrganizationalUnitIds"OrganizationalUnitIdList.of_jsoninletpermissionModel=field_mapjson__"PermissionModel"PermissionModels.of_jsoninletautoDeployment=field_mapjson__"AutoDeployment"AutoDeployment.of_jsoninletstackSetDriftDetectionDetails=field_mapjson__"StackSetDriftDetectionDetails"StackSetDriftDetectionDetails.of_jsoninletexecutionRoleName=field_mapjson__"ExecutionRoleName"ExecutionRoleName.of_jsoninletadministrationRoleARN=field_mapjson__"AdministrationRoleARN"RoleARN.of_jsoninletstackSetARN=field_mapjson__"StackSetARN"StackSetARN.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletstatus=field_mapjson__"Status"StackSetStatus.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletstackSetId=field_mapjson__"StackSetId"StackSetId.of_jsoninletstackSetName=field_mapjson__"StackSetName"StackSetName.of_jsoninmake?regions?managedExecution?organizationalUnitIds?permissionModel?autoDeployment?stackSetDriftDetectionDetails?executionRoleName?administrationRoleARN?stackSetARN?tags?capabilities?parameters?templateBody?status?description?stackSetId?stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that contains information about a StackSet. With StackSets, you can provision stacks across Amazon Web Services accounts and Regions from a single CloudFormation template. Each stack is based on the same CloudFormation template, but you can customize individual stacks using parameters."]moduleStackSetOperation=structtypenonrect={operationId:ClientRequestToken.toption[@ocaml.doc"The unique ID of a StackSet operation."];stackSetId:StackSetId.toption[@ocaml.doc"The ID of the StackSet."];action:StackSetOperationAction.toption[@ocaml.doc"The type of StackSet operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified StackSet. Update operations affect both the StackSet itself, in addition to all associated stack instances."];status:StackSetOperationStatus.toption[@ocaml.doc"The status of the operation. FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions. QUEUED: \\[Service-managed permissions\\] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the StackSets status codes in the CloudFormation User Guide. RUNNING: The operation is currently being performed. STOPPED: The user has canceled the operation. STOPPING: The operation is in the process of stopping, at user request. SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"The preferences for how CloudFormation performs this StackSet operation."];retainStacks:RetainStacksNullable.toption[@ocaml.doc"For StackSet operations of action type DELETE, specifies whether to remove the stack instances from the specified StackSet, but doesn't delete the stacks. You can't re-associate a retained stack, or add an existing, saved stack to a new StackSet."];administrationRoleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role used to perform this StackSet operation. Use customized administrator roles to control which users or groups can manage specific StackSets within the same administrator account. For more information, see Grant self-managed permissions in the CloudFormation User Guide."];executionRoleName:ExecutionRoleName.toption[@ocaml.doc"The name of the IAM execution role used to create or update the StackSet. Use customized execution roles to control which stack resources users and groups can include in their StackSets."];creationTimestamp:Timestamp.toption[@ocaml.doc"The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks."];endTimestamp:Timestamp.toption[@ocaml.doc"The time at which the StackSet operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the StackSet operation was successful, or even attempted, in each account or Region."];deploymentTargets:DeploymentTargets.toption[@ocaml.doc"The Organizations accounts affected by the stack operation. Valid only if the StackSet uses service-managed permissions."];stackSetDriftDetectionDetails:StackSetDriftDetectionDetails.toption[@ocaml.doc"Detailed information about the drift status of the StackSet. This includes information about drift operations currently being performed on the StackSet. This information will only be present for StackSet operations whose Action type is DETECT_DRIFT. For more information, see Performing drift detection on CloudFormation StackSets in the CloudFormation User Guide."];statusReason:StackSetOperationStatusReason.toption[@ocaml.doc"The status of the operation in details."];statusDetails:StackSetOperationStatusDetails.toption[@ocaml.doc"Detailed information about the StackSet operation."]}letmake?operationId=fun?stackSetId->fun?action->fun?status->fun?operationPreferences->fun?retainStacks->fun?administrationRoleARN->fun?executionRoleName->fun?creationTimestamp->fun?endTimestamp->fun?deploymentTargets->fun?stackSetDriftDetectionDetails->fun?statusReason->fun?statusDetails->fun()->{operationId;stackSetId;action;status;operationPreferences;retainStacks;administrationRoleARN;executionRoleName;creationTimestamp;endTimestamp;deploymentTargets;stackSetDriftDetectionDetails;statusReason;statusDetails}letto_valuex=structure_to_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("StackSetId",(Option.mapx.stackSetId~f:StackSetId.to_value));("Action",(Option.mapx.action~f:StackSetOperationAction.to_value));("Status",(Option.mapx.status~f:StackSetOperationStatus.to_value));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value));("RetainStacks",(Option.mapx.retainStacks~f:RetainStacksNullable.to_value));("AdministrationRoleARN",(Option.mapx.administrationRoleARN~f:RoleARN.to_value));("ExecutionRoleName",(Option.mapx.executionRoleName~f:ExecutionRoleName.to_value));("CreationTimestamp",(Option.mapx.creationTimestamp~f:Timestamp.to_value));("EndTimestamp",(Option.mapx.endTimestamp~f:Timestamp.to_value));("DeploymentTargets",(Option.mapx.deploymentTargets~f:DeploymentTargets.to_value));("StackSetDriftDetectionDetails",(Option.mapx.stackSetDriftDetectionDetails~f:StackSetDriftDetectionDetails.to_value));("StatusReason",(Option.mapx.statusReason~f:StackSetOperationStatusReason.to_value));("StatusDetails",(Option.mapx.statusDetails~f:StackSetOperationStatusDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusDetails=(Option.map~f:StackSetOperationStatusDetails.of_xml)(Xml.childxml_arg0"StatusDetails")inletstatusReason=(Option.map~f:StackSetOperationStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstackSetDriftDetectionDetails=(Option.map~f:StackSetDriftDetectionDetails.of_xml)(Xml.childxml_arg0"StackSetDriftDetectionDetails")inletdeploymentTargets=(Option.map~f:DeploymentTargets.of_xml)(Xml.childxml_arg0"DeploymentTargets")inletendTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndTimestamp")inletcreationTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTimestamp")inletexecutionRoleName=(Option.map~f:ExecutionRoleName.of_xml)(Xml.childxml_arg0"ExecutionRoleName")inletadministrationRoleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"AdministrationRoleARN")inletretainStacks=(Option.map~f:RetainStacksNullable.of_xml)(Xml.childxml_arg0"RetainStacks")inletoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inletstatus=(Option.map~f:StackSetOperationStatus.of_xml)(Xml.childxml_arg0"Status")inletaction=(Option.map~f:StackSetOperationAction.of_xml)(Xml.childxml_arg0"Action")inletstackSetId=(Option.map~f:StackSetId.of_xml)(Xml.childxml_arg0"StackSetId")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?statusDetails?statusReason?stackSetDriftDetectionDetails?deploymentTargets?endTimestamp?creationTimestamp?executionRoleName?administrationRoleARN?retainStacks?operationPreferences?status?action?stackSetId?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusDetails=field_mapjson__"StatusDetails"StackSetOperationStatusDetails.of_jsoninletstatusReason=field_mapjson__"StatusReason"StackSetOperationStatusReason.of_jsoninletstackSetDriftDetectionDetails=field_mapjson__"StackSetDriftDetectionDetails"StackSetDriftDetectionDetails.of_jsoninletdeploymentTargets=field_mapjson__"DeploymentTargets"DeploymentTargets.of_jsoninletendTimestamp=field_mapjson__"EndTimestamp"Timestamp.of_jsoninletcreationTimestamp=field_mapjson__"CreationTimestamp"Timestamp.of_jsoninletexecutionRoleName=field_mapjson__"ExecutionRoleName"ExecutionRoleName.of_jsoninletadministrationRoleARN=field_mapjson__"AdministrationRoleARN"RoleARN.of_jsoninletretainStacks=field_mapjson__"RetainStacks"RetainStacksNullable.of_jsoninletoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninletstatus=field_mapjson__"Status"StackSetOperationStatus.of_jsoninletaction=field_mapjson__"Action"StackSetOperationAction.of_jsoninletstackSetId=field_mapjson__"StackSetId"StackSetId.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?statusDetails?statusReason?stackSetDriftDetectionDetails?deploymentTargets?endTimestamp?creationTimestamp?executionRoleName?administrationRoleARN?retainStacks?operationPreferences?status?action?stackSetId?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The structure that contains information about a StackSet operation."]moduleStackResources=structtypenonrect=StackResource.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackResource.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:StackResource.of_xml)letof_jsonj=list_of_json~kind:"StackResources"~of_json:StackResource.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackResourceDetail=structtypenonrect={stackName:StackName.toption[@ocaml.doc"The name associated with the stack."];stackId:StackId.toption[@ocaml.doc"Unique identifier of the stack."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation."];resourceType:ResourceType.toption[@ocaml.doc"Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"Time the status was updated."];resourceStatus:ResourceStatus.toption[@ocaml.doc"Current status of the resource."];resourceStatusReason:ResourceStatusReason.toption[@ocaml.doc"Success/failure message associated with the resource."];description:Description.toption[@ocaml.doc"User defined description associated with the resource."];metadata:Metadata.toption[@ocaml.doc"The content of the Metadata attribute declared for the resource. For more information, see Metadata attribute in the CloudFormation User Guide."];driftInformation:StackResourceDriftInformation.toption[@ocaml.doc"Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection."];moduleInfo:ModuleInfo.toption[@ocaml.doc"Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template."]}letmake?stackName=fun?stackId->fun?logicalResourceId->fun?physicalResourceId->fun?resourceType->fun?lastUpdatedTimestamp->fun?resourceStatus->fun?resourceStatusReason->fun?description->fun?metadata->fun?driftInformation->fun?moduleInfo->fun()->{stackName;stackId;logicalResourceId;physicalResourceId;resourceType;lastUpdatedTimestamp;resourceStatus;resourceStatusReason;description;metadata;driftInformation;moduleInfo}letto_valuex=structure_to_value[("StackName",(Option.mapx.stackName~f:StackName.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value));("ResourceStatus",(Option.mapx.resourceStatus~f:ResourceStatus.to_value));("ResourceStatusReason",(Option.mapx.resourceStatusReason~f:ResourceStatusReason.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Metadata",(Option.mapx.metadata~f:Metadata.to_value));("DriftInformation",(Option.mapx.driftInformation~f:StackResourceDriftInformation.to_value));("ModuleInfo",(Option.mapx.moduleInfo~f:ModuleInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmoduleInfo=(Option.map~f:ModuleInfo.of_xml)(Xml.childxml_arg0"ModuleInfo")inletdriftInformation=(Option.map~f:StackResourceDriftInformation.of_xml)(Xml.childxml_arg0"DriftInformation")inletmetadata=(Option.map~f:Metadata.of_xml)(Xml.childxml_arg0"Metadata")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletresourceStatusReason=(Option.map~f:ResourceStatusReason.of_xml)(Xml.childxml_arg0"ResourceStatusReason")inletresourceStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"ResourceStatus")inletlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inmake?moduleInfo?driftInformation?metadata?description?resourceStatusReason?resourceStatus?lastUpdatedTimestamp?resourceType?physicalResourceId?logicalResourceId?stackId?stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmoduleInfo=field_mapjson__"ModuleInfo"ModuleInfo.of_jsoninletdriftInformation=field_mapjson__"DriftInformation"StackResourceDriftInformation.of_jsoninletmetadata=field_mapjson__"Metadata"Metadata.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletresourceStatusReason=field_mapjson__"ResourceStatusReason"ResourceStatusReason.of_jsoninletresourceStatus=field_mapjson__"ResourceStatus"ResourceStatus.of_jsoninletlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninmake?moduleInfo?driftInformation?metadata?description?resourceStatusReason?resourceStatus?lastUpdatedTimestamp?resourceType?physicalResourceId?logicalResourceId?stackId?stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains detailed information about the specified stack resource."]moduleStackResourceDrifts=structtypenonrect=StackResourceDrift.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackResourceDrift.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:StackResourceDrift.of_xml)letof_jsonj=list_of_json~kind:"StackResourceDrifts"~of_json:StackResourceDrift.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackIds=structtypenonrect=StackId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackId.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:StackId.of_xml)letof_jsonj=list_of_json~kind:"StackIds"~of_json:StackId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackRefactorNotFoundException=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 stack refactor can't be found."]moduleStackInstance=structtypenonrect={stackSetId:StackSetId.toption[@ocaml.doc"The name or unique ID of the StackSet that the stack instance is associated with."];region:Region.toption[@ocaml.doc"The name of the Amazon Web Services Region that the stack instance is associated with."];account:Account.toption[@ocaml.doc"\\[Self-managed permissions\\] The name of the Amazon Web Services account that the stack instance is associated with."];stackId:StackId.toption[@ocaml.doc"The ID of the stack instance."];parameterOverrides:Parameters.toption[@ocaml.doc"A list of parameters from the StackSet template whose values have been overridden in this stack instance."];status:StackInstanceStatus.toption[@ocaml.doc"The status of the stack instance, in terms of its synchronization with its associated stack set. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. INOPERABLE can be returned here when the cause is a failed import. If it's due to a failed import, the operation can be retried once the failures are fixed. To see if this is due to a failed import, look at the DetailedStatus member in the StackInstanceSummary member that is a peer to this Status member. OUTDATED: The stack isn't currently up to date with the StackSet because: The associated stack failed during a CreateStackSet or UpdateStackSet operation. The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated. CURRENT: The stack is currently up to date with the StackSet."];stackInstanceStatus:StackInstanceComprehensiveStatus.toption[@ocaml.doc"The detailed status of the stack instance."];statusReason:Reason.toption[@ocaml.doc"The explanation for the specific status code that's assigned to this stack instance."];organizationalUnitId:OrganizationalUnitId.toption[@ocaml.doc"\\[Service-managed permissions\\] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets."];driftStatus:StackDriftStatus.toption[@ocaml.doc"Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the StackSet it belongs to. DRIFTED: The stack differs from the expected template and parameter configuration of the StackSet it belongs to. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its expected StackSet configuration. IN_SYNC: The stack instance's actual configuration matches its expected StackSset configuration. UNKNOWN: This value is reserved for future use."];lastDriftCheckTimestamp:Timestamp.toption[@ocaml.doc"Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance that drift detection hasn't yet been performed on."];lastOperationId:ClientRequestToken.toption[@ocaml.doc"The last unique ID of a StackSet operation performed on a stack instance."]}letmake?stackSetId=fun?region->fun?account->fun?stackId->fun?parameterOverrides->fun?status->fun?stackInstanceStatus->fun?statusReason->fun?organizationalUnitId->fun?driftStatus->fun?lastDriftCheckTimestamp->fun?lastOperationId->fun()->{stackSetId;region;account;stackId;parameterOverrides;status;stackInstanceStatus;statusReason;organizationalUnitId;driftStatus;lastDriftCheckTimestamp;lastOperationId}letto_valuex=structure_to_value[("StackSetId",(Option.mapx.stackSetId~f:StackSetId.to_value));("Region",(Option.mapx.region~f:Region.to_value));("Account",(Option.mapx.account~f:Account.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("ParameterOverrides",(Option.mapx.parameterOverrides~f:Parameters.to_value));("Status",(Option.mapx.status~f:StackInstanceStatus.to_value));("StackInstanceStatus",(Option.mapx.stackInstanceStatus~f:StackInstanceComprehensiveStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:Reason.to_value));("OrganizationalUnitId",(Option.mapx.organizationalUnitId~f:OrganizationalUnitId.to_value));("DriftStatus",(Option.mapx.driftStatus~f:StackDriftStatus.to_value));("LastDriftCheckTimestamp",(Option.mapx.lastDriftCheckTimestamp~f:Timestamp.to_value));("LastOperationId",(Option.mapx.lastOperationId~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastOperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"LastOperationId")inletlastDriftCheckTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastDriftCheckTimestamp")inletdriftStatus=(Option.map~f:StackDriftStatus.of_xml)(Xml.childxml_arg0"DriftStatus")inletorganizationalUnitId=(Option.map~f:OrganizationalUnitId.of_xml)(Xml.childxml_arg0"OrganizationalUnitId")inletstatusReason=(Option.map~f:Reason.of_xml)(Xml.childxml_arg0"StatusReason")inletstackInstanceStatus=(Option.map~f:StackInstanceComprehensiveStatus.of_xml)(Xml.childxml_arg0"StackInstanceStatus")inletstatus=(Option.map~f:StackInstanceStatus.of_xml)(Xml.childxml_arg0"Status")inletparameterOverrides=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"ParameterOverrides")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletaccount=(Option.map~f:Account.of_xml)(Xml.childxml_arg0"Account")inletregion=(Option.map~f:Region.of_xml)(Xml.childxml_arg0"Region")inletstackSetId=(Option.map~f:StackSetId.of_xml)(Xml.childxml_arg0"StackSetId")inmake?lastOperationId?lastDriftCheckTimestamp?driftStatus?organizationalUnitId?statusReason?stackInstanceStatus?status?parameterOverrides?stackId?account?region?stackSetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastOperationId=field_mapjson__"LastOperationId"ClientRequestToken.of_jsoninletlastDriftCheckTimestamp=field_mapjson__"LastDriftCheckTimestamp"Timestamp.of_jsoninletdriftStatus=field_mapjson__"DriftStatus"StackDriftStatus.of_jsoninletorganizationalUnitId=field_mapjson__"OrganizationalUnitId"OrganizationalUnitId.of_jsoninletstatusReason=field_mapjson__"StatusReason"Reason.of_jsoninletstackInstanceStatus=field_mapjson__"StackInstanceStatus"StackInstanceComprehensiveStatus.of_jsoninletstatus=field_mapjson__"Status"StackInstanceStatus.of_jsoninletparameterOverrides=field_mapjson__"ParameterOverrides"Parameters.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninletaccount=field_mapjson__"Account"Account.of_jsoninletregion=field_mapjson__"Region"Region.of_jsoninletstackSetId=field_mapjson__"StackSetId"StackSetId.of_jsoninmake?lastOperationId?lastDriftCheckTimestamp?driftStatus?organizationalUnitId?statusReason?stackInstanceStatus?status?parameterOverrides?stackId?account?region?stackSetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A CloudFormation stack, in a specific account and Region, that's part of a StackSet operation. A stack instance is a reference to an attempted or actual stack in a given account within a given Region. A stack instance can exist without a stack\226\128\148for example, if the stack couldn't be created for some reason. A stack instance is associated with only one StackSet. Each stack instance contains the ID of its associated StackSet, in addition to the ID of the actual stack and the stack status."]moduleStackEvents=structtypenonrect=StackEvent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackEvent.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:StackEvent.of_xml)letof_jsonj=list_of_json~kind:"StackEvents"~of_json:StackEvent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBoxedInteger=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 BoxedInteger"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleStackDriftDetectionStatus=structtypenonrect=|DETECTION_IN_PROGRESS|DETECTION_FAILED|DETECTION_COMPLETE|Non_static_idofstringletmakei=iletto_string=function|DETECTION_IN_PROGRESS->"DETECTION_IN_PROGRESS"|DETECTION_FAILED->"DETECTION_FAILED"|DETECTION_COMPLETE->"DETECTION_COMPLETE"|Non_static_ids->sletof_string=function|"DETECTION_IN_PROGRESS"->DETECTION_IN_PROGRESS|"DETECTION_FAILED"->DETECTION_FAILED|"DETECTION_COMPLETE"->DETECTION_COMPLETE|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 StackDriftDetectionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StackDriftDetectionStatus"j)letto_json=simple_to_jsonto_valueendmoduleStackDriftDetectionStatusReason=structtypenonrect=stringletcontext_="StackDriftDetectionStatusReason"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:"StackDriftDetectionStatusReason"jletto_json=simple_to_jsonto_valueendmoduleResourcesRead=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 ResourcesRead"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResourcesScanned=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 ResourcesScanned"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmodulePublisherProfile=structtypenonrect=stringletcontext_="PublisherProfile"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"(http:|https:)+[^\\s]+[\\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:"PublisherProfile"jletto_json=simple_to_jsonto_valueendmodulePublisherStatus=structtypenonrect=|VERIFIED|UNVERIFIED|Non_static_idofstringletmakei=iletto_string=function|VERIFIED->"VERIFIED"|UNVERIFIED->"UNVERIFIED"|Non_static_ids->sletof_string=function|"VERIFIED"->VERIFIED|"UNVERIFIED"->UNVERIFIED|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 PublisherStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PublisherStatus"j)letto_json=simple_to_jsonto_valueendmoduleOrganizationStatus=structtypenonrect=|ENABLED|DISABLED|DISABLED_PERMANENTLY|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|DISABLED_PERMANENTLY->"DISABLED_PERMANENTLY"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|"DISABLED_PERMANENTLY"->DISABLED_PERMANENTLY|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 OrganizationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OrganizationStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceDetails=structtypenonrect=ResourceDetail.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:500)>>=(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:ResourceDetail.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:ResourceDetail.of_xml)letof_jsonj=list_of_json~kind:"ResourceDetails"~of_json:ResourceDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTemplateProgress=structtypenonrect={resourcesSucceeded:ResourcesSucceeded.toption[@ocaml.doc"The number of resources that succeeded the template generation."];resourcesFailed:ResourcesFailed.toption[@ocaml.doc"The number of resources that failed the template generation."];resourcesProcessing:ResourcesProcessing.toption[@ocaml.doc"The number of resources that are in-process for the template generation."];resourcesPending:ResourcesPending.toption[@ocaml.doc"The number of resources that are still pending the template generation."]}letmake?resourcesSucceeded=fun?resourcesFailed->fun?resourcesProcessing->fun?resourcesPending->fun()->{resourcesSucceeded;resourcesFailed;resourcesProcessing;resourcesPending}letto_valuex=structure_to_value[("ResourcesSucceeded",(Option.mapx.resourcesSucceeded~f:ResourcesSucceeded.to_value));("ResourcesFailed",(Option.mapx.resourcesFailed~f:ResourcesFailed.to_value));("ResourcesProcessing",(Option.mapx.resourcesProcessing~f:ResourcesProcessing.to_value));("ResourcesPending",(Option.mapx.resourcesPending~f:ResourcesPending.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourcesPending=(Option.map~f:ResourcesPending.of_xml)(Xml.childxml_arg0"ResourcesPending")inletresourcesProcessing=(Option.map~f:ResourcesProcessing.of_xml)(Xml.childxml_arg0"ResourcesProcessing")inletresourcesFailed=(Option.map~f:ResourcesFailed.of_xml)(Xml.childxml_arg0"ResourcesFailed")inletresourcesSucceeded=(Option.map~f:ResourcesSucceeded.of_xml)(Xml.childxml_arg0"ResourcesSucceeded")inmake?resourcesPending?resourcesProcessing?resourcesFailed?resourcesSucceeded()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourcesPending=field_mapjson__"ResourcesPending"ResourcesPending.of_jsoninletresourcesProcessing=field_mapjson__"ResourcesProcessing"ResourcesProcessing.of_jsoninletresourcesFailed=field_mapjson__"ResourcesFailed"ResourcesFailed.of_jsoninletresourcesSucceeded=field_mapjson__"ResourcesSucceeded"ResourcesSucceeded.of_jsoninmake?resourcesPending?resourcesProcessing?resourcesFailed?resourcesSucceeded()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary of the progress of the template generation."]moduleTotalWarnings=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for TotalWarnings"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleOperationEvents=structtypenonrect=OperationEvent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OperationEvent.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:OperationEvent.of_xml)letof_jsonj=list_of_json~kind:"OperationEvents"~of_json:OperationEvent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEventFilter=structtypenonrect={failedEvents:FailedEventsFilter.toption[@ocaml.doc"When set to true, only returns failed events within the operation. This helps quickly identify root causes for a failed operation."]}letmake?failedEvents=fun()->{failedEvents}letto_valuex=structure_to_value[("FailedEvents",(Option.mapx.failedEvents~f:FailedEventsFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailedEvents=(Option.map~f:FailedEventsFilter.of_xml)(Xml.childxml_arg0"FailedEvents")inmake?failedEvents()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailedEvents=field_mapjson__"FailedEvents"FailedEventsFilter.of_jsoninmake?failedEvents()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Event filter allows you to focus on specific events in an operation."]moduleChanges=structtypenonrect=Change.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Change.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:Change.of_xml)letof_jsonj=list_of_json~kind:"Changes"~of_json:Change.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeploymentMode=structtypenonrect=|REVERT_DRIFT|Non_static_idofstringletmakei=iletto_string=function|REVERT_DRIFT->"REVERT_DRIFT"|Non_static_ids->sletof_string=function|"REVERT_DRIFT"->REVERT_DRIFT|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 DeploymentMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeploymentMode"j)letto_json=simple_to_jsonto_valueendmoduleOnStackFailure=structtypenonrect=|DO_NOTHING|ROLLBACK|DELETE|Non_static_idofstringletmakei=iletto_string=function|DO_NOTHING->"DO_NOTHING"|ROLLBACK->"ROLLBACK"|DELETE->"DELETE"|Non_static_ids->sletof_string=function|"DO_NOTHING"->DO_NOTHING|"ROLLBACK"->ROLLBACK|"DELETE"->DELETE|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 OnStackFailure"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OnStackFailure"j)letto_json=simple_to_jsonto_valueendmoduleIncludePropertyValues=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_valueendmoduleChangeSetHooks=structtypenonrect=ChangeSetHook.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ChangeSetHook.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:ChangeSetHook.of_xml)letof_jsonj=list_of_json~kind:"ChangeSetHooks"~of_json:ChangeSetHook.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleChangeSetHooksStatus=structtypenonrect=|PLANNING|PLANNED|UNAVAILABLE|Non_static_idofstringletmakei=iletto_string=function|PLANNING->"PLANNING"|PLANNED->"PLANNED"|UNAVAILABLE->"UNAVAILABLE"|Non_static_ids->sletof_string=function|"PLANNING"->PLANNING|"PLANNED"->PLANNED|"UNAVAILABLE"->UNAVAILABLE|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 ChangeSetHooksStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ChangeSetHooksStatus"j)letto_json=simple_to_jsonto_valueendmoduleAccountLimitList=structtypenonrect=AccountLimit.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AccountLimit.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:AccountLimit.of_xml)letof_jsonj=list_of_json~kind:"AccountLimitList"~of_json:AccountLimit.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackSetNotEmptyException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can't yet delete this StackSet, because it still contains one or more stack instances. Delete all stack instances from the StackSet before deleting the StackSet."]moduleRetainStacks=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_valueendmoduleRetainResources=structtypenonrect=LogicalResourceId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LogicalResourceId.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:LogicalResourceId.of_xml)letof_jsonj=list_of_json~kind:"RetainResources"~of_json:LogicalResourceId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCreatedButModifiedException=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 resource exists, but has been changed."]moduleNameAlreadyExistsException=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 name is already in use."]moduleEnableStackCreation=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_valueendmoduleResourceMappings=structtypenonrect=ResourceMapping.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceMapping.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:ResourceMapping.of_xml)letof_jsonj=list_of_json~kind:"ResourceMappings"~of_json:ResourceMapping.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStackDefinitions=structtypenonrect=StackDefinition.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StackDefinition.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:StackDefinition.of_xml)letof_jsonj=list_of_json~kind:"StackDefinitions"~of_json:StackDefinition.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOnFailure=structtypenonrect=|DO_NOTHING|ROLLBACK|DELETE|Non_static_idofstringletmakei=iletto_string=function|DO_NOTHING->"DO_NOTHING"|ROLLBACK->"ROLLBACK"|DELETE->"DELETE"|Non_static_ids->sletof_string=function|"DO_NOTHING"->DO_NOTHING|"ROLLBACK"->ROLLBACK|"DELETE"->DELETE|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 OnFailure"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OnFailure"j)letto_json=simple_to_jsonto_valueendmoduleConcurrentResourcesLimitExceededException=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"No more than 5 generated templates can be in an InProgress or Pending status at one time. This error is also returned if a generated template that is in an InProgress or Pending status is attempted to be updated or deleted."]moduleChangeSetType=structtypenonrect=|CREATE|UPDATE|IMPORT|Non_static_idofstringletmakei=iletto_string=function|CREATE->"CREATE"|UPDATE->"UPDATE"|IMPORT->"IMPORT"|Non_static_ids->sletof_string=function|"CREATE"->CREATE|"UPDATE"->UPDATE|"IMPORT"->IMPORT|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 ChangeSetType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ChangeSetType"j)letto_json=simple_to_jsonto_valueendmoduleResourcesToImport=structtypenonrect=ResourceToImport.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:200);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceToImport.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:ResourceToImport.of_xml)letof_jsonj=list_of_json~kind:"ResourcesToImport"~of_json:ResourceToImport.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourcesToSkip=structtypenonrect=ResourceToSkip.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceToSkip.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:ResourceToSkip.of_xml)letof_jsonj=list_of_json~kind:"ResourcesToSkip"~of_json:ResourceToSkip.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBatchDescribeTypeConfigurationsErrors=structtypenonrect=BatchDescribeTypeConfigurationsError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BatchDescribeTypeConfigurationsError.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:BatchDescribeTypeConfigurationsError.of_xml)letof_jsonj=list_of_json~kind:"BatchDescribeTypeConfigurationsErrors"~of_json:BatchDescribeTypeConfigurationsError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTypeConfigurationDetailsList=structtypenonrect=TypeConfigurationDetails.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TypeConfigurationDetails.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:TypeConfigurationDetails.of_xml)letof_jsonj=list_of_json~kind:"TypeConfigurationDetailsList"~of_json:TypeConfigurationDetails.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTypeConfigurationNotFoundException=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 extension configuration can't be found."]moduleUnprocessedTypeConfigurations=structtypenonrect=TypeConfigurationIdentifier.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TypeConfigurationIdentifier.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:TypeConfigurationIdentifier.of_xml)letof_jsonj=list_of_json~kind:"UnprocessedTypeConfigurations"~of_json:TypeConfigurationIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTypeConfigurationIdentifiers=structtypenonrect=TypeConfigurationIdentifier.tlistletmakei=letopenResultinok_or_failwith(check_list_mini~min:1);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TypeConfigurationIdentifier.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:TypeConfigurationIdentifier.of_xml)letof_jsonj=list_of_json~kind:"TypeConfigurationIdentifiers"~of_json:TypeConfigurationIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMajorVersion=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith((check_int64_maxi~max:100000L)>>=(fun()->check_int64_mini~min:1L));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_valueendmoduleThirdPartyTypeArn=structtypenonrect=stringletcontext_="ThirdPartyTypeArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}::type/.+/[0-9a-zA-Z]{12,40}/.+"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ThirdPartyTypeArn"jletto_json=simple_to_jsonto_valueendmoduleVersionBump=structtypenonrect=|MAJOR|MINOR|Non_static_idofstringletmakei=iletto_string=function|MAJOR->"MAJOR"|MINOR->"MINOR"|Non_static_ids->sletof_string=function|"MAJOR"->MAJOR|"MINOR"->MINOR|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 VersionBump"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VersionBump"j)letto_json=simple_to_jsonto_valueendmoduleValidateTemplateOutput=structtypevalidateTemplateResult={parameters:TemplateParameters.toption[@ocaml.doc"A list of TemplateParameter structures."];description:Description.toption[@ocaml.doc"The description found within the template."];capabilities:Capabilities.toption[@ocaml.doc"The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see Acknowledging IAM resources in CloudFormation templates."];capabilitiesReason:CapabilitiesReason.toption[@ocaml.doc"The list of resources that generated the values in the Capabilities response element."];declaredTransforms:TransformsList.toption[@ocaml.doc"A list of the transforms that are declared in the template."]}andresponseMetaData=unitandt={validateTemplateResult:validateTemplateResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ValidateTemplateOutput"letmake?parameters=fun?description->fun?capabilities->fun?capabilitiesReason->fun?declaredTransforms->fun()->{validateTemplateResult={parameters;description;capabilities;capabilitiesReason;declaredTransforms};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.validateTemplateResultinstructure_to_wrapped_value[("Parameters",(Option.mapx.parameters~f:TemplateParameters.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("CapabilitiesReason",(Option.mapx.capabilitiesReason~f:CapabilitiesReason.to_value));("DeclaredTransforms",(Option.mapx.declaredTransforms~f:TransformsList.to_value))]~wrapper:"ValidateTemplateResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ValidateTemplateResult"inletdeclaredTransforms=(Option.map~f:TransformsList.of_xml)(Xml.childxml_arg0"DeclaredTransforms")inletcapabilitiesReason=(Option.map~f:CapabilitiesReason.of_xml)(Xml.childxml_arg0"CapabilitiesReason")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletparameters=(Option.map~f:TemplateParameters.of_xml)(Xml.childxml_arg0"Parameters")inmake?declaredTransforms?capabilitiesReason?capabilities?description?parameters()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeclaredTransforms=field_mapjson__"DeclaredTransforms"TransformsList.of_jsoninletcapabilitiesReason=field_mapjson__"CapabilitiesReason"CapabilitiesReason.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletparameters=field_mapjson__"Parameters"TemplateParameters.of_jsoninmake?declaredTransforms?capabilitiesReason?capabilities?description?parameters()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for ValidateTemplate action."]moduleValidateTemplateInput=structtypenonrect={templateBody:TemplateBody.toption[@ocaml.doc"Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of a file that contains the template body. The URL must point to a template (max size: 1 MB) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used."]}letmake?templateBody=fun?templateURL->fun()->{templateBody;templateURL}letto_valuex=structure_to_value[("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inmake?templateURL?templateBody()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninmake?templateURL?templateBody()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for ValidateTemplate action."]moduleUpdateTerminationProtectionOutput=structtypeupdateTerminationProtectionResult={stackId:StackId.toption[@ocaml.doc"The unique ID of the stack."]}andresponseMetaData=unitandt={updateTerminationProtectionResult:updateTerminationProtectionResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="UpdateTerminationProtectionOutput"letmake?stackId=fun()->{updateTerminationProtectionResult={stackId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.updateTerminationProtectionResultinstructure_to_wrapped_value[("StackId",(Option.mapx.stackId~f:StackId.to_value))]~wrapper:"UpdateTerminationProtectionResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"UpdateTerminationProtectionResult"inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackId=field_mapjson__"StackId"StackId.of_jsoninmake?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack."]moduleUpdateTerminationProtectionInput=structtypenonrect={enableTerminationProtection:EnableTerminationProtection.t[@ocaml.doc"Whether to enable termination protection on the specified stack."];stackName:StackNameOrId.t[@ocaml.doc"The name or unique ID of the stack for which you want to set termination protection."]}letcontext_="UpdateTerminationProtectionInput"letmake~enableTerminationProtection=fun~stackName->fun()->{enableTerminationProtection;stackName}letto_valuex=structure_to_value[("EnableTerminationProtection",(Some(EnableTerminationProtection.to_valuex.enableTerminationProtection)));("StackName",(Some(StackNameOrId.to_valuex.stackName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inletenableTerminationProtection=EnableTerminationProtection.of_xml(Xml.child_exn~context:context_xml_arg0"EnableTerminationProtection")inmake~stackName~enableTerminationProtection()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninletenableTerminationProtection=field_map_exnjson__"EnableTerminationProtection"EnableTerminationProtection.of_jsoninmake~stackName~enableTerminationProtection()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack."]moduleUpdateStackSetOutput=structtypeupdateStackSetResult={operationId:ClientRequestToken.toption[@ocaml.doc"The unique ID for this StackSet operation."]}andresponseMetaData=unitandt={updateStackSetResult:updateStackSetResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationIdAlreadyExistsExceptionofOperationIdAlreadyExistsException.t|`OperationInProgressExceptionofOperationInProgressException.t|`StackInstanceNotFoundExceptionofStackInstanceNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`StaleRequestExceptionofStaleRequestException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="UpdateStackSetOutput"letmake?operationId=fun()->{updateStackSetResult={operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_jsonjson)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_jsonjson)|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_xmlxml)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_xmlxml)|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationIdAlreadyExistsExceptione->`Assoc[("error",(`String"OperationIdAlreadyExistsException"));("details",(OperationIdAlreadyExistsException.to_jsone))]|`OperationInProgressExceptione->`Assoc[("error",(`String"OperationInProgressException"));("details",(OperationInProgressException.to_jsone))]|`StackInstanceNotFoundExceptione->`Assoc[("error",(`String"StackInstanceNotFoundException"));("details",(StackInstanceNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`StaleRequestExceptione->`Assoc[("error",(`String"StaleRequestException"));("details",(StaleRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.updateStackSetResultinstructure_to_wrapped_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value))]~wrapper:"UpdateStackSetResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"UpdateStackSetResult"inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the StackSet and associated stack instances in the specified accounts and Amazon Web Services Regions. Even if the StackSet operation created by updating the StackSet fails (completely or partially, below or above a specified failure tolerance), the StackSet is updated with your changes. Subsequent CreateStackInstances calls on the specified StackSet use the updated StackSet. The maximum number of organizational unit (OUs) supported by a UpdateStackSet operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleUpdateStackSetInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you want to update."];description:Description.toption[@ocaml.doc"A brief description of updates that you are making."];templateBody:TemplateBody.toption[@ocaml.doc"The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL\226\128\148or set UsePreviousTemplate to true."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of a file that contains the template body. The URL must point to a template (maximum size: 1 MB) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. S3 static website URLs are not supported. Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL\226\128\148or set UsePreviousTemplate to true."];usePreviousTemplate:UsePreviousTemplate.toption[@ocaml.doc"Use the existing template that's associated with the StackSet that you're updating. Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL\226\128\148or set UsePreviousTemplate to true."];parameters:Parameters.toption[@ocaml.doc"A list of input parameters for the StackSet template."];capabilities:Capabilities.toption[@ocaml.doc"In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the StackSet and its associated stack instances. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM resources in CloudFormation templates. CAPABILITY_AUTO_EXPAND Some templates reference macros. If your StackSet template references one or more macros, you must update the StackSet directly from the processed template, without first reviewing the resulting changes in a change set. To update the StackSet directly, you must acknowledge this capability. For more information, see Perform custom processing on CloudFormation templates with template macros. StackSets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a StackSet with service-managed permissions, if you reference a macro in your template the StackSet operation will fail."];tags:Tags.toption[@ocaml.doc"The key-value pairs to associate with this StackSet and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags. If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this StackSet. This means: If you don't specify this parameter, CloudFormation doesn't modify the stack's tags. If you specify any tags using this parameter, you must specify all the tags that you want associated with this StackSet, even tags you've specified before (for example, when creating the StackSet or during a previous update of the StackSet.). Any tags that you don't include in the updated list of tags are removed from the StackSet, and therefore from the stacks and resources as well. If you specify an empty value, CloudFormation removes all currently associated tags. If you specify new tags as part of an UpdateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you omit tags that are currently associated with the StackSet from the list of tags you specify, CloudFormation assumes that you want to remove those tags from the StackSet, and checks to see if you have permission to untag resources. If you don't have the necessary permission(s), the entire UpdateStackSet action fails with an access denied error, and the StackSet is not updated."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"Preferences for how CloudFormation performs this StackSet operation."];administrationRoleARN:RoleARN.toption[@ocaml.doc"\\[Self-managed permissions\\] The Amazon Resource Name (ARN) of the IAM role to use to update this StackSet. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific StackSets within the same administrator account. For more information, see Grant self-managed permissions in the CloudFormation User Guide. If you specified a customized administrator role when you created the StackSet, you must specify a customized administrator role, even if it is the same customized administrator role used with this StackSet previously."];executionRoleName:ExecutionRoleName.toption[@ocaml.doc"\\[Self-managed permissions\\] The name of the IAM execution role to use to update the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the StackSet operation. Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their StackSets. If you specify a customized execution role, CloudFormation uses that role to update the stack. If you do not specify a customized execution role, CloudFormation performs the update using the role previously associated with the StackSet, so long as you have permissions to perform operations on the StackSet."];deploymentTargets:DeploymentTargets.toption[@ocaml.doc"\\[Service-managed permissions\\] The Organizations accounts in which to update associated stack instances. To update all the stack instances associated with this StackSet, do not specify DeploymentTargets or Regions. If the StackSet update includes changes to the template (that is, if TemplateBody or TemplateURL is specified), or the Parameters, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Amazon Web Services Regions. If the StackSet update doesn't include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status."];permissionModel:PermissionModels.toption[@ocaml.doc"Describes how the IAM roles required for StackSet operations are created. You cannot modify PermissionModel if there are stack instances associated with your stack set. With self-managed permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see Grant self-managed permissions. With service-managed permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by Organizations. For more information, see Activate trusted access for StackSets with Organizations."];autoDeployment:AutoDeployment.toption[@ocaml.doc"\\[Service-managed permissions\\] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see Enable or disable automatic deployments for StackSets in Organizations in the CloudFormation User Guide. If you specify AutoDeployment, don't specify DeploymentTargets or Regions."];operationId:ClientRequestToken.toption[@ocaml.doc"The unique ID for this StackSet operation. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the StackSet operation only once, even if you retry the request multiple times. You might retry StackSet operation requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, CloudFormation generates one automatically. Repeating this StackSet operation with a new operation ID retries all stack instances whose status is OUTDATED."];accounts:AccountList.toption[@ocaml.doc"\\[Self-managed permissions\\] The accounts in which to update associated stack instances. If you specify accounts, you must also specify the Amazon Web Services Regions in which to update StackSet instances. To update all the stack instances associated with this StackSet, don't specify the Accounts or Regions properties. If the StackSet update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Amazon Web Services Regions. If the StackSet update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Amazon Web Services Regions, while leaving all other stack instances with their existing stack instance status."];regions:RegionList.toption[@ocaml.doc"The Amazon Web Services Regions in which to update associated stack instances. If you specify Regions, you must also specify accounts in which to update StackSet instances. To update all the stack instances associated with this StackSet, do not specify the Accounts or Regions properties. If the StackSet update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the StackSet update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."];managedExecution:ManagedExecution.toption[@ocaml.doc"Describes whether CloudFormation performs non-conflicting operations concurrently and queues conflicting operations."]}letcontext_="UpdateStackSetInput"letmake?description=fun?templateBody->fun?templateURL->fun?usePreviousTemplate->fun?parameters->fun?capabilities->fun?tags->fun?operationPreferences->fun?administrationRoleARN->fun?executionRoleName->fun?deploymentTargets->fun?permissionModel->fun?autoDeployment->fun?operationId->fun?accounts->fun?regions->fun?callAs->fun?managedExecution->fun~stackSetName->fun()->{description;templateBody;templateURL;usePreviousTemplate;parameters;capabilities;tags;operationPreferences;administrationRoleARN;executionRoleName;deploymentTargets;permissionModel;autoDeployment;operationId;accounts;regions;callAs;managedExecution;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("Description",(Option.mapx.description~f:Description.to_value));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value));("UsePreviousTemplate",(Option.mapx.usePreviousTemplate~f:UsePreviousTemplate.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value));("AdministrationRoleARN",(Option.mapx.administrationRoleARN~f:RoleARN.to_value));("ExecutionRoleName",(Option.mapx.executionRoleName~f:ExecutionRoleName.to_value));("DeploymentTargets",(Option.mapx.deploymentTargets~f:DeploymentTargets.to_value));("PermissionModel",(Option.mapx.permissionModel~f:PermissionModels.to_value));("AutoDeployment",(Option.mapx.autoDeployment~f:AutoDeployment.to_value));("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("Accounts",(Option.mapx.accounts~f:AccountList.to_value));("Regions",(Option.mapx.regions~f:RegionList.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value));("ManagedExecution",(Option.mapx.managedExecution~f:ManagedExecution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanagedExecution=(Option.map~f:ManagedExecution.of_xml)(Xml.childxml_arg0"ManagedExecution")inletcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletregions=(Option.map~f:RegionList.of_xml)(Xml.childxml_arg0"Regions")inletaccounts=(Option.map~f:AccountList.of_xml)(Xml.childxml_arg0"Accounts")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inletautoDeployment=(Option.map~f:AutoDeployment.of_xml)(Xml.childxml_arg0"AutoDeployment")inletpermissionModel=(Option.map~f:PermissionModels.of_xml)(Xml.childxml_arg0"PermissionModel")inletdeploymentTargets=(Option.map~f:DeploymentTargets.of_xml)(Xml.childxml_arg0"DeploymentTargets")inletexecutionRoleName=(Option.map~f:ExecutionRoleName.of_xml)(Xml.childxml_arg0"ExecutionRoleName")inletadministrationRoleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"AdministrationRoleARN")inletoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inletusePreviousTemplate=(Option.map~f:UsePreviousTemplate.of_xml)(Xml.childxml_arg0"UsePreviousTemplate")inlettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?managedExecution?callAs?regions?accounts?operationId?autoDeployment?permissionModel?deploymentTargets?executionRoleName?administrationRoleARN?operationPreferences?tags?capabilities?parameters?usePreviousTemplate?templateURL?templateBody?description~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanagedExecution=field_mapjson__"ManagedExecution"ManagedExecution.of_jsoninletcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletregions=field_mapjson__"Regions"RegionList.of_jsoninletaccounts=field_mapjson__"Accounts"AccountList.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninletautoDeployment=field_mapjson__"AutoDeployment"AutoDeployment.of_jsoninletpermissionModel=field_mapjson__"PermissionModel"PermissionModels.of_jsoninletdeploymentTargets=field_mapjson__"DeploymentTargets"DeploymentTargets.of_jsoninletexecutionRoleName=field_mapjson__"ExecutionRoleName"ExecutionRoleName.of_jsoninletadministrationRoleARN=field_mapjson__"AdministrationRoleARN"RoleARN.of_jsoninletoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninletusePreviousTemplate=field_mapjson__"UsePreviousTemplate"UsePreviousTemplate.of_jsoninlettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?managedExecution?callAs?regions?accounts?operationId?autoDeployment?permissionModel?deploymentTargets?executionRoleName?administrationRoleARN?operationPreferences?tags?capabilities?parameters?usePreviousTemplate?templateURL?templateBody?description~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the StackSet and associated stack instances in the specified accounts and Amazon Web Services Regions. Even if the StackSet operation created by updating the StackSet fails (completely or partially, below or above a specified failure tolerance), the StackSet is updated with your changes. Subsequent CreateStackInstances calls on the specified StackSet use the updated StackSet. The maximum number of organizational unit (OUs) supported by a UpdateStackSet operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleUpdateStackOutput=structtypeupdateStackResult={stackId:StackId.toption[@ocaml.doc"Unique identifier of the stack."];operationId:OperationId.toption[@ocaml.doc"A unique identifier for this update operation that can be used to track the operation's progress and events."]}andresponseMetaData=unitandt={updateStackResult:updateStackResult;responseMetaData:responseMetaData}typeerror=[`InsufficientCapabilitiesExceptionofInsufficientCapabilitiesException.t|`TokenAlreadyExistsExceptionofTokenAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="UpdateStackOutput"letmake?stackId=fun?operationId->fun()->{updateStackResult={stackId;operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_jsonjson)|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_xmlxml)|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapabilitiesExceptione->`Assoc[("error",(`String"InsufficientCapabilitiesException"));("details",(InsufficientCapabilitiesException.to_jsone))]|`TokenAlreadyExistsExceptione->`Assoc[("error",(`String"TokenAlreadyExistsException"));("details",(TokenAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.updateStackResultinstructure_to_wrapped_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("OperationId",(Option.mapx.operationId~f:OperationId.to_value))]~wrapper:"UpdateStackResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"UpdateStackResult"inletoperationId=(Option.map~f:OperationId.of_xml)(Xml.childxml_arg0"OperationId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?operationId?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"OperationId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?operationId?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for an UpdateStack action."]moduleUpdateStackInstancesOutput=structtypeupdateStackInstancesResult={operationId:ClientRequestToken.toption[@ocaml.doc"The unique identifier for this StackSet operation."]}andresponseMetaData=unitandt={updateStackInstancesResult:updateStackInstancesResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationIdAlreadyExistsExceptionofOperationIdAlreadyExistsException.t|`OperationInProgressExceptionofOperationInProgressException.t|`StackInstanceNotFoundExceptionofStackInstanceNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`StaleRequestExceptionofStaleRequestException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="UpdateStackInstancesOutput"letmake?operationId=fun()->{updateStackInstancesResult={operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_jsonjson)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_jsonjson)|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_xmlxml)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_xmlxml)|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationIdAlreadyExistsExceptione->`Assoc[("error",(`String"OperationIdAlreadyExistsException"));("details",(OperationIdAlreadyExistsException.to_jsone))]|`OperationInProgressExceptione->`Assoc[("error",(`String"OperationInProgressException"));("details",(OperationInProgressException.to_jsone))]|`StackInstanceNotFoundExceptione->`Assoc[("error",(`String"StackInstanceNotFoundException"));("details",(StackInstanceNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`StaleRequestExceptione->`Assoc[("error",(`String"StaleRequestException"));("details",(StaleRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.updateStackInstancesResultinstructure_to_wrapped_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value))]~wrapper:"UpdateStackInstancesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"UpdateStackInstancesResult"inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the parameter values for stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You can only update stack instances in Amazon Web Services Regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances. During StackSet updates, any parameters overridden for a stack instance aren't updated, but retain their overridden value. You can only update the parameter values that are specified in the StackSet. To add or delete a parameter itself, use UpdateStackSet to update the StackSet template. If you add a parameter to a template, before you can override the parameter value specified in the StackSet you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the StackSet. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. The maximum number of organizational unit (OUs) supported by a UpdateStackInstances operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleUpdateStackInstancesInput=structtypenonrect={stackSetName:StackSetNameOrId.t[@ocaml.doc"The name or unique ID of the StackSet associated with the stack instances."];accounts:AccountList.toption[@ocaml.doc"\\[Self-managed permissions\\] The account IDs of one or more Amazon Web Services accounts in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. You can specify Accounts or DeploymentTargets, but not both."];deploymentTargets:DeploymentTargets.toption[@ocaml.doc"\\[Service-managed permissions\\] The Organizations accounts in which you want to update parameter values for stack instances. If your update targets OUs, the overridden parameter values only apply to the accounts that are currently in the target OUs and their child OUs. Accounts added to the target OUs and their child OUs in the future won't use the overridden values. You can specify Accounts or DeploymentTargets, but not both."];regions:RegionList.t[@ocaml.doc"The names of one or more Amazon Web Services Regions in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions."];parameterOverrides:Parameters.toption[@ocaml.doc"A list of input parameters whose values you want to update for the specified stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance update operations: To override the current value for a parameter, include the parameter and specify its value. To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You can't specify both a value and set UsePreviousValue to true.) To set an overridden parameter back to the value specified in the StackSet, specify a parameter list but don't include the parameter in the list. To leave all parameters set to their present values, don't specify this property at all. During StackSet updates, any parameter values overridden for a stack instance aren't updated, but retain their overridden value. You can only override the parameter values that are specified in the StackSet. To add or delete a parameter itself, use UpdateStackSet to update the StackSet template. If you add a parameter to a template, before you can override the parameter value specified in the StackSet you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the StackSet. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"Preferences for how CloudFormation performs this StackSet operation."];operationId:ClientRequestToken.toption[@ocaml.doc"The unique identifier for this StackSet operation. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the StackSet operation only once, even if you retry the request multiple times. You might retry StackSet operation requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, the SDK generates one automatically."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="UpdateStackInstancesInput"letmake?accounts=fun?deploymentTargets->fun?parameterOverrides->fun?operationPreferences->fun?operationId->fun?callAs->fun~stackSetName->fun~regions->fun()->{accounts;deploymentTargets;parameterOverrides;operationPreferences;operationId;callAs;stackSetName;regions}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetNameOrId.to_valuex.stackSetName)));("Accounts",(Option.mapx.accounts~f:AccountList.to_value));("DeploymentTargets",(Option.mapx.deploymentTargets~f:DeploymentTargets.to_value));("Regions",(Some(RegionList.to_valuex.regions)));("ParameterOverrides",(Option.mapx.parameterOverrides~f:Parameters.to_value));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value));("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inletoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inletparameterOverrides=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"ParameterOverrides")inletregions=RegionList.of_xml(Xml.child_exn~context:context_xml_arg0"Regions")inletdeploymentTargets=(Option.map~f:DeploymentTargets.of_xml)(Xml.childxml_arg0"DeploymentTargets")inletaccounts=(Option.map~f:AccountList.of_xml)(Xml.childxml_arg0"Accounts")inletstackSetName=StackSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?operationId?operationPreferences?parameterOverrides~regions?deploymentTargets?accounts~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninletoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninletparameterOverrides=field_mapjson__"ParameterOverrides"Parameters.of_jsoninletregions=field_map_exnjson__"Regions"RegionList.of_jsoninletdeploymentTargets=field_mapjson__"DeploymentTargets"DeploymentTargets.of_jsoninletaccounts=field_mapjson__"Accounts"AccountList.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetNameOrId.of_jsoninmake?callAs?operationId?operationPreferences?parameterOverrides~regions?deploymentTargets?accounts~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the parameter values for stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You can only update stack instances in Amazon Web Services Regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances. During StackSet updates, any parameters overridden for a stack instance aren't updated, but retain their overridden value. You can only update the parameter values that are specified in the StackSet. To add or delete a parameter itself, use UpdateStackSet to update the StackSet template. If you add a parameter to a template, before you can override the parameter value specified in the StackSet you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the StackSet. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. The maximum number of organizational unit (OUs) supported by a UpdateStackInstances operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleUpdateStackInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name or unique stack ID of the stack to update."];templateBody:TemplateBody.toption[@ocaml.doc"Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of a file that contains the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true."];usePreviousTemplate:UsePreviousTemplate.toption[@ocaml.doc"Reuse the existing template that is associated with the stack that you are updating. When using templates with the AWS::LanguageExtensions transform, provide the template instead of using UsePreviousTemplate to ensure new parameter values and Systems Manager parameter updates are applied correctly. For more information, see AWS::LanguageExtensions transform. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true."];stackPolicyDuringUpdateBody:StackPolicyDuringUpdateBody.toption[@ocaml.doc"Structure that contains the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both. If you want to update protected resources, specify a temporary overriding stack policy during this update. If you don't specify a stack policy, the current policy that is associated with the stack will be used."];stackPolicyDuringUpdateURL:StackPolicyDuringUpdateURL.toption[@ocaml.doc"Location of a file that contains the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both. If you want to update protected resources, specify a temporary overriding stack policy during this update. If you don't specify a stack policy, the current policy that is associated with the stack will be used."];parameters:Parameters.toption[@ocaml.doc"A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type."];capabilities:Capabilities.toption[@ocaml.doc"In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we suggest that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::ManagedPolicy AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM resources in CloudFormation templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually updating the stack. If your stack template contains one or more macros, and you choose to update a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. If you want to update a stack from a stack template that contains macros and nested stacks, you must update the stack directly from the template using this capability. You should only update stacks directly from a stack template that contains macros if you know what processing the macro performs. Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified. For more information, see Perform custom processing on CloudFormation templates with template macros. Only one of the Capabilities and ResourceType parameters can be specified."];resourceTypes:ResourceTypes.toption[@ocaml.doc"Specifies which resource types you can work with, such as AWS::EC2::Instance or Custom::MyCustomInstance. If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control CloudFormation access with Identity and Access Management. Only one of the Capabilities and ResourceType parameters can be specified."];roleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials."];rollbackConfiguration:RollbackConfiguration.toption[@ocaml.doc"The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards."];stackPolicyBody:StackPolicyBody.toption[@ocaml.doc"Structure that contains a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you don't specify a stack policy, the current policy that is associated with the stack is unchanged."];stackPolicyURL:StackPolicyURL.toption[@ocaml.doc"Location of a file that contains the updated stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you don't specify a stack policy, the current policy that is associated with the stack is unchanged."];notificationARNs:NotificationARNs.toption[@ocaml.doc"Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that CloudFormation associates with the stack. Specify an empty list to remove all notification topics."];tags:Tags.toption[@ocaml.doc"Key-value pairs to associate with this stack. CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 50 tags. If you don't specify this parameter, CloudFormation doesn't modify the stack's tags. If you specify an empty value, CloudFormation removes all associated tags."];disableRollback:DisableRollback.toption[@ocaml.doc"Preserve the state of previously provisioned resources when an operation fails. Default: False"];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this UpdateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to update a stack with the same name. You might retry UpdateStack requests to ensure that CloudFormation successfully received them. All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002."];retainExceptOnCreate:RetainExceptOnCreate.toption[@ocaml.doc"When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false"]}letcontext_="UpdateStackInput"letmake?templateBody=fun?templateURL->fun?usePreviousTemplate->fun?stackPolicyDuringUpdateBody->fun?stackPolicyDuringUpdateURL->fun?parameters->fun?capabilities->fun?resourceTypes->fun?roleARN->fun?rollbackConfiguration->fun?stackPolicyBody->fun?stackPolicyURL->fun?notificationARNs->fun?tags->fun?disableRollback->fun?clientRequestToken->fun?retainExceptOnCreate->fun~stackName->fun()->{templateBody;templateURL;usePreviousTemplate;stackPolicyDuringUpdateBody;stackPolicyDuringUpdateURL;parameters;capabilities;resourceTypes;roleARN;rollbackConfiguration;stackPolicyBody;stackPolicyURL;notificationARNs;tags;disableRollback;clientRequestToken;retainExceptOnCreate;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value));("UsePreviousTemplate",(Option.mapx.usePreviousTemplate~f:UsePreviousTemplate.to_value));("StackPolicyDuringUpdateBody",(Option.mapx.stackPolicyDuringUpdateBody~f:StackPolicyDuringUpdateBody.to_value));("StackPolicyDuringUpdateURL",(Option.mapx.stackPolicyDuringUpdateURL~f:StackPolicyDuringUpdateURL.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("ResourceTypes",(Option.mapx.resourceTypes~f:ResourceTypes.to_value));("RoleARN",(Option.mapx.roleARN~f:RoleARN.to_value));("RollbackConfiguration",(Option.mapx.rollbackConfiguration~f:RollbackConfiguration.to_value));("StackPolicyBody",(Option.mapx.stackPolicyBody~f:StackPolicyBody.to_value));("StackPolicyURL",(Option.mapx.stackPolicyURL~f:StackPolicyURL.to_value));("NotificationARNs",(Option.mapx.notificationARNs~f:NotificationARNs.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("DisableRollback",(Option.mapx.disableRollback~f:DisableRollback.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("RetainExceptOnCreate",(Option.mapx.retainExceptOnCreate~f:RetainExceptOnCreate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretainExceptOnCreate=(Option.map~f:RetainExceptOnCreate.of_xml)(Xml.childxml_arg0"RetainExceptOnCreate")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletdisableRollback=(Option.map~f:DisableRollback.of_xml)(Xml.childxml_arg0"DisableRollback")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletnotificationARNs=(Option.map~f:NotificationARNs.of_xml)(Xml.childxml_arg0"NotificationARNs")inletstackPolicyURL=(Option.map~f:StackPolicyURL.of_xml)(Xml.childxml_arg0"StackPolicyURL")inletstackPolicyBody=(Option.map~f:StackPolicyBody.of_xml)(Xml.childxml_arg0"StackPolicyBody")inletrollbackConfiguration=(Option.map~f:RollbackConfiguration.of_xml)(Xml.childxml_arg0"RollbackConfiguration")inletroleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"RoleARN")inletresourceTypes=(Option.map~f:ResourceTypes.of_xml)(Xml.childxml_arg0"ResourceTypes")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inletstackPolicyDuringUpdateURL=(Option.map~f:StackPolicyDuringUpdateURL.of_xml)(Xml.childxml_arg0"StackPolicyDuringUpdateURL")inletstackPolicyDuringUpdateBody=(Option.map~f:StackPolicyDuringUpdateBody.of_xml)(Xml.childxml_arg0"StackPolicyDuringUpdateBody")inletusePreviousTemplate=(Option.map~f:UsePreviousTemplate.of_xml)(Xml.childxml_arg0"UsePreviousTemplate")inlettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?retainExceptOnCreate?clientRequestToken?disableRollback?tags?notificationARNs?stackPolicyURL?stackPolicyBody?rollbackConfiguration?roleARN?resourceTypes?capabilities?parameters?stackPolicyDuringUpdateURL?stackPolicyDuringUpdateBody?usePreviousTemplate?templateURL?templateBody~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretainExceptOnCreate=field_mapjson__"RetainExceptOnCreate"RetainExceptOnCreate.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletdisableRollback=field_mapjson__"DisableRollback"DisableRollback.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletnotificationARNs=field_mapjson__"NotificationARNs"NotificationARNs.of_jsoninletstackPolicyURL=field_mapjson__"StackPolicyURL"StackPolicyURL.of_jsoninletstackPolicyBody=field_mapjson__"StackPolicyBody"StackPolicyBody.of_jsoninletrollbackConfiguration=field_mapjson__"RollbackConfiguration"RollbackConfiguration.of_jsoninletroleARN=field_mapjson__"RoleARN"RoleARN.of_jsoninletresourceTypes=field_mapjson__"ResourceTypes"ResourceTypes.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninletstackPolicyDuringUpdateURL=field_mapjson__"StackPolicyDuringUpdateURL"StackPolicyDuringUpdateURL.of_jsoninletstackPolicyDuringUpdateBody=field_mapjson__"StackPolicyDuringUpdateBody"StackPolicyDuringUpdateBody.of_jsoninletusePreviousTemplate=field_mapjson__"UsePreviousTemplate"UsePreviousTemplate.of_jsoninlettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake?retainExceptOnCreate?clientRequestToken?disableRollback?tags?notificationARNs?stackPolicyURL?stackPolicyBody?rollbackConfiguration?roleARN?resourceTypes?capabilities?parameters?stackPolicyDuringUpdateURL?stackPolicyDuringUpdateBody?usePreviousTemplate?templateURL?templateBody~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for an UpdateStack action."]moduleUpdateGeneratedTemplateOutput=structtypeupdateGeneratedTemplateResult={generatedTemplateId:GeneratedTemplateId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the generated template. The format is arn:$\\{Partition\\}:cloudformation:$\\{Region\\}:$\\{Account\\}:generatedtemplate/$\\{Id\\}. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc ."]}andresponseMetaData=unitandt={updateGeneratedTemplateResult:updateGeneratedTemplateResult;responseMetaData:responseMetaData}typeerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`GeneratedTemplateNotFoundExceptionofGeneratedTemplateNotFoundException.t|`LimitExceededExceptionofLimitExceededException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="UpdateGeneratedTemplateOutput"letmake?generatedTemplateId=fun()->{updateGeneratedTemplateResult={generatedTemplateId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"GeneratedTemplateNotFoundException"->`GeneratedTemplateNotFoundException(GeneratedTemplateNotFoundException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"GeneratedTemplateNotFoundException"->`GeneratedTemplateNotFoundException(GeneratedTemplateNotFoundException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`GeneratedTemplateNotFoundExceptione->`Assoc[("error",(`String"GeneratedTemplateNotFoundException"));("details",(GeneratedTemplateNotFoundException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.updateGeneratedTemplateResultinstructure_to_wrapped_value[("GeneratedTemplateId",(Option.mapx.generatedTemplateId~f:GeneratedTemplateId.to_value))]~wrapper:"UpdateGeneratedTemplateResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"UpdateGeneratedTemplateResult"inletgeneratedTemplateId=(Option.map~f:GeneratedTemplateId.of_xml)(Xml.childxml_arg0"GeneratedTemplateId")inmake?generatedTemplateId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeneratedTemplateId=field_mapjson__"GeneratedTemplateId"GeneratedTemplateId.of_jsoninmake?generatedTemplateId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a generated template. This can be used to change the name, add and remove resources, refresh resources, and change the DeletionPolicy and UpdateReplacePolicy settings. You can check the status of the update to the generated template using the DescribeGeneratedTemplate API action."]moduleUpdateGeneratedTemplateInput=structtypenonrect={generatedTemplateName:GeneratedTemplateName.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of a generated template."];newGeneratedTemplateName:GeneratedTemplateName.toption[@ocaml.doc"An optional new name to assign to the generated template."];addResources:ResourceDefinitions.toption[@ocaml.doc"An optional list of resources to be added to the generated template."];removeResources:JazzLogicalResourceIds.toption[@ocaml.doc"A list of logical ids for resources to remove from the generated template."];refreshAllResources:RefreshAllResources.toption[@ocaml.doc"If true, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template."];templateConfiguration:TemplateConfiguration.toption[@ocaml.doc"The configuration details of the generated template, including the DeletionPolicy and UpdateReplacePolicy."]}letcontext_="UpdateGeneratedTemplateInput"letmake?newGeneratedTemplateName=fun?addResources->fun?removeResources->fun?refreshAllResources->fun?templateConfiguration->fun~generatedTemplateName->fun()->{newGeneratedTemplateName;addResources;removeResources;refreshAllResources;templateConfiguration;generatedTemplateName}letto_valuex=structure_to_value[("GeneratedTemplateName",(Some(GeneratedTemplateName.to_valuex.generatedTemplateName)));("NewGeneratedTemplateName",(Option.mapx.newGeneratedTemplateName~f:GeneratedTemplateName.to_value));("AddResources",(Option.mapx.addResources~f:ResourceDefinitions.to_value));("RemoveResources",(Option.mapx.removeResources~f:JazzLogicalResourceIds.to_value));("RefreshAllResources",(Option.mapx.refreshAllResources~f:RefreshAllResources.to_value));("TemplateConfiguration",(Option.mapx.templateConfiguration~f:TemplateConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateConfiguration=(Option.map~f:TemplateConfiguration.of_xml)(Xml.childxml_arg0"TemplateConfiguration")inletrefreshAllResources=(Option.map~f:RefreshAllResources.of_xml)(Xml.childxml_arg0"RefreshAllResources")inletremoveResources=(Option.map~f:JazzLogicalResourceIds.of_xml)(Xml.childxml_arg0"RemoveResources")inletaddResources=(Option.map~f:ResourceDefinitions.of_xml)(Xml.childxml_arg0"AddResources")inletnewGeneratedTemplateName=(Option.map~f:GeneratedTemplateName.of_xml)(Xml.childxml_arg0"NewGeneratedTemplateName")inletgeneratedTemplateName=GeneratedTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"GeneratedTemplateName")inmake?templateConfiguration?refreshAllResources?removeResources?addResources?newGeneratedTemplateName~generatedTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateConfiguration=field_mapjson__"TemplateConfiguration"TemplateConfiguration.of_jsoninletrefreshAllResources=field_mapjson__"RefreshAllResources"RefreshAllResources.of_jsoninletremoveResources=field_mapjson__"RemoveResources"JazzLogicalResourceIds.of_jsoninletaddResources=field_mapjson__"AddResources"ResourceDefinitions.of_jsoninletnewGeneratedTemplateName=field_mapjson__"NewGeneratedTemplateName"GeneratedTemplateName.of_jsoninletgeneratedTemplateName=field_map_exnjson__"GeneratedTemplateName"GeneratedTemplateName.of_jsoninmake?templateConfiguration?refreshAllResources?removeResources?addResources?newGeneratedTemplateName~generatedTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a generated template. This can be used to change the name, add and remove resources, refresh resources, and change the DeletionPolicy and UpdateReplacePolicy settings. You can check the status of the update to the generated template using the DescribeGeneratedTemplate API action."]moduleTestTypeOutput=structtypetestTypeResult={typeVersionArn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension."]}andresponseMetaData=unitandt={testTypeResult:testTypeResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="TestTypeOutput"letmake?typeVersionArn=fun()->{testTypeResult={typeVersionArn};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.testTypeResultinstructure_to_wrapped_value[("TypeVersionArn",(Option.mapx.typeVersionArn~f:TypeArn.to_value))]~wrapper:"TestTypeResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"TestTypeResult"inlettypeVersionArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeVersionArn")inmake?typeVersionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeVersionArn=field_mapjson__"TypeVersionArn"TypeArn.of_jsoninmake?typeVersionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry. For resource types, this includes passing all contracts tests defined for the type. For modules, this includes determining if the module's model meets all necessary requirements. For more information, see Testing your public extension before publishing in the CloudFormation Command Line Interface (CLI) User Guide. If you don't specify a version, CloudFormation uses the default version of the extension in your account and Region for testing. To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more information, see RegisterType. Once you've initiated testing on an extension using TestType, you can pass the returned TypeVersionArn into DescribeType to monitor the current test status and test status description for the extension. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide."]moduleTestTypeInput=structtypenonrect={arn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension. Conditional: You must specify Arn, or TypeName and Type."];type_:ThirdPartyType.toption[@ocaml.doc"The type of the extension to test. Conditional: You must specify Arn, or TypeName and Type."];typeName:TypeName.toption[@ocaml.doc"The name of the extension to test. Conditional: You must specify Arn, or TypeName and Type."];versionId:TypeVersionId.toption[@ocaml.doc"The version of the extension to test. You can specify the version id with either Arn, or with TypeName and Type. If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing."];logDeliveryBucket:S3Bucket.toption[@ocaml.doc"The S3 bucket to which CloudFormation delivers the contract test execution logs. CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED. The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions: GetObject PutObject For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide."]}letmake?arn=fun?type_->fun?typeName->fun?versionId->fun?logDeliveryBucket->fun()->{arn;type_;typeName;versionId;logDeliveryBucket}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:TypeArn.to_value));("Type",(Option.mapx.type_~f:ThirdPartyType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("VersionId",(Option.mapx.versionId~f:TypeVersionId.to_value));("LogDeliveryBucket",(Option.mapx.logDeliveryBucket~f:S3Bucket.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogDeliveryBucket=(Option.map~f:S3Bucket.of_xml)(Xml.childxml_arg0"LogDeliveryBucket")inletversionId=(Option.map~f:TypeVersionId.of_xml)(Xml.childxml_arg0"VersionId")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:ThirdPartyType.of_xml)(Xml.childxml_arg0"Type")inletarn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"Arn")inmake?logDeliveryBucket?versionId?typeName?type_?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogDeliveryBucket=field_mapjson__"LogDeliveryBucket"S3Bucket.of_jsoninletversionId=field_mapjson__"VersionId"TypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"ThirdPartyType.of_jsoninletarn=field_mapjson__"Arn"TypeArn.of_jsoninmake?logDeliveryBucket?versionId?typeName?type_?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry. For resource types, this includes passing all contracts tests defined for the type. For modules, this includes determining if the module's model meets all necessary requirements. For more information, see Testing your public extension before publishing in the CloudFormation Command Line Interface (CLI) User Guide. If you don't specify a version, CloudFormation uses the default version of the extension in your account and Region for testing. To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more information, see RegisterType. Once you've initiated testing on an extension using TestType, you can pass the returned TypeVersionArn into DescribeType to monitor the current test status and test status description for the extension. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide."]moduleStopStackSetOperationOutput=structtypestopStackSetOperationResult=unitandresponseMetaData=unitandt={stopStackSetOperationResult:stopStackSetOperationResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationNotFoundExceptionofOperationNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={stopStackSetOperationResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationNotFoundExceptione->`Assoc[("error",(`String"OperationNotFoundException"));("details",(OperationNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.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"Stops an in-progress operation on a StackSet and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete."]moduleStopStackSetOperationInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you want to stop the operation for."];operationId:ClientRequestToken.t[@ocaml.doc"The ID of the stack operation."];callAs:CallAs.toption[@ocaml.doc"Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid only if the StackSet uses service-managed permissions. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="StopStackSetOperationInput"letmake?callAs=fun~stackSetName->fun~operationId->fun()->{callAs;stackSetName;operationId}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("OperationId",(Some(ClientRequestToken.to_valuex.operationId)));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=ClientRequestToken.of_xml(Xml.child_exn~context:context_xml_arg0"OperationId")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs~operationId~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_map_exnjson__"OperationId"ClientRequestToken.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs~operationId~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops an in-progress operation on a StackSet and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete."]moduleStartResourceScanOutput=structtypestartResourceScanResult={resourceScanId:ResourceScanId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource scan. The format is arn:$\\{Partition\\}:cloudformation:$\\{Region\\}:$\\{Account\\}:resourceScan/$\\{Id\\}. An example is arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772 ."]}andresponseMetaData=unitandt={startResourceScanResult:startResourceScanResult;responseMetaData:responseMetaData}typeerror=[`ResourceScanInProgressExceptionofResourceScanInProgressException.t|`ResourceScanLimitExceededExceptionofResourceScanLimitExceededException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StartResourceScanOutput"letmake?resourceScanId=fun()->{startResourceScanResult={resourceScanId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ResourceScanInProgressException"->`ResourceScanInProgressException(ResourceScanInProgressException.of_jsonjson)|"ResourceScanLimitExceededException"->`ResourceScanLimitExceededException(ResourceScanLimitExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceScanInProgressException"->`ResourceScanInProgressException(ResourceScanInProgressException.of_xmlxml)|"ResourceScanLimitExceededException"->`ResourceScanLimitExceededException(ResourceScanLimitExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceScanInProgressExceptione->`Assoc[("error",(`String"ResourceScanInProgressException"));("details",(ResourceScanInProgressException.to_jsone))]|`ResourceScanLimitExceededExceptione->`Assoc[("error",(`String"ResourceScanLimitExceededException"));("details",(ResourceScanLimitExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.startResourceScanResultinstructure_to_wrapped_value[("ResourceScanId",(Option.mapx.resourceScanId~f:ResourceScanId.to_value))]~wrapper:"StartResourceScanResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StartResourceScanResult"inletresourceScanId=(Option.map~f:ResourceScanId.of_xml)(Xml.childxml_arg0"ResourceScanId")inmake?resourceScanId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceScanId=field_mapjson__"ResourceScanId"ResourceScanId.of_jsoninmake?resourceScanId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a scan of the resources in this account in this Region. You can the status of a scan using the ListResourceScans API action."]moduleStartResourceScanInput=structtypenonrect={clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this StartResourceScan request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to start a new resource scan."];scanFilters:ScanFilters.toption[@ocaml.doc"The scan filters to use."]}letmake?clientRequestToken=fun?scanFilters->fun()->{clientRequestToken;scanFilters}letto_valuex=structure_to_value[("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("ScanFilters",(Option.mapx.scanFilters~f:ScanFilters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscanFilters=(Option.map~f:ScanFilters.of_xml)(Xml.childxml_arg0"ScanFilters")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inmake?scanFilters?clientRequestToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscanFilters=field_mapjson__"ScanFilters"ScanFilters.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninmake?scanFilters?clientRequestToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a scan of the resources in this account in this Region. You can the status of a scan using the ListResourceScans API action."]moduleSignalResourceInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The stack name or unique stack ID that includes the resource that you want to signal."];logicalResourceId:LogicalResourceId.t[@ocaml.doc"The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template."];uniqueId:ResourceSignalUniqueId.t[@ocaml.doc"A unique ID of the signal. When you signal Amazon EC2 instances or Amazon EC2 Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID."];status:ResourceSignalStatus.t[@ocaml.doc"The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update."]}letcontext_="SignalResourceInput"letmake~stackName=fun~logicalResourceId->fun~uniqueId->fun~status->fun()->{stackName;logicalResourceId;uniqueId;status}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("LogicalResourceId",(Some(LogicalResourceId.to_valuex.logicalResourceId)));("UniqueId",(Some(ResourceSignalUniqueId.to_valuex.uniqueId)));("Status",(Some(ResourceSignalStatus.to_valuex.status)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=ResourceSignalStatus.of_xml(Xml.child_exn~context:context_xml_arg0"Status")inletuniqueId=ResourceSignalUniqueId.of_xml(Xml.child_exn~context:context_xml_arg0"UniqueId")inletlogicalResourceId=LogicalResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"LogicalResourceId")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake~status~uniqueId~logicalResourceId~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_map_exnjson__"Status"ResourceSignalStatus.of_jsoninletuniqueId=field_map_exnjson__"UniqueId"ResourceSignalUniqueId.of_jsoninletlogicalResourceId=field_map_exnjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake~status~uniqueId~logicalResourceId~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the SignalResource action."]moduleSetTypeDefaultVersionOutput=structtypesetTypeDefaultVersionResult=unitandresponseMetaData=unitandt={setTypeDefaultVersionResult:setTypeDefaultVersionResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={setTypeDefaultVersionResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.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"Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations."]moduleSetTypeDefaultVersionInput=structtypenonrect={arn:PrivateTypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension for which you want version summary information. Conditional: You must specify either TypeName and Type, or Arn."];type_:RegistryType.toption[@ocaml.doc"The kind of extension. Conditional: You must specify either TypeName and Type, or Arn."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. Conditional: You must specify either TypeName and Type, or Arn."];versionId:TypeVersionId.toption[@ocaml.doc"The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered."]}letmake?arn=fun?type_->fun?typeName->fun?versionId->fun()->{arn;type_;typeName;versionId}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:PrivateTypeArn.to_value));("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("VersionId",(Option.mapx.versionId~f:TypeVersionId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversionId=(Option.map~f:TypeVersionId.of_xml)(Xml.childxml_arg0"VersionId")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inletarn=(Option.map~f:PrivateTypeArn.of_xml)(Xml.childxml_arg0"Arn")inmake?versionId?typeName?type_?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversionId=field_mapjson__"VersionId"TypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninletarn=field_mapjson__"Arn"PrivateTypeArn.of_jsoninmake?versionId?typeName?type_?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations."]moduleSetTypeConfigurationOutput=structtypesetTypeConfigurationResult={configurationArn:TypeConfigurationArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the configuration data in this account and Region. Conditional: You must specify ConfigurationArn, or Type and TypeName."]}andresponseMetaData=unitandt={setTypeConfigurationResult:setTypeConfigurationResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="SetTypeConfigurationOutput"letmake?configurationArn=fun()->{setTypeConfigurationResult={configurationArn};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.setTypeConfigurationResultinstructure_to_wrapped_value[("ConfigurationArn",(Option.mapx.configurationArn~f:TypeConfigurationArn.to_value))]~wrapper:"SetTypeConfigurationResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"SetTypeConfigurationResult"inletconfigurationArn=(Option.map~f:TypeConfigurationArn.of_xml)(Xml.childxml_arg0"ConfigurationArn")inmake?configurationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationArn=field_mapjson__"ConfigurationArn"TypeConfigurationArn.of_jsoninmake?configurationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the configuration data for a CloudFormation extension, such as a resource or Hook, in the given account and Region. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide. To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more information, see Specify values stored in other services using dynamic references in the CloudFormation User Guide. For more information about setting the configuration data for resource types, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide. For more information about setting the configuration data for Hooks, see the CloudFormation Hooks User Guide."]moduleSetTypeConfigurationInput=structtypenonrect={typeArn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the extension in this account and Region. For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region. Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version."];configuration:TypeConfiguration.t[@ocaml.doc"The configuration data for the extension in this account and Region. The configuration data must be formatted as JSON and validate against the extension's schema returned in the Schema response element of DescribeType."];configurationAlias:TypeConfigurationAlias.toption[@ocaml.doc"An alias by which to refer to this extension configuration data. Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. Conditional: You must specify ConfigurationArn, or Type and TypeName."];type_:ThirdPartyType.toption[@ocaml.doc"The type of extension. Conditional: You must specify ConfigurationArn, or Type and TypeName."]}letcontext_="SetTypeConfigurationInput"letmake?typeArn=fun?configurationAlias->fun?typeName->fun?type_->fun~configuration->fun()->{typeArn;configurationAlias;typeName;type_;configuration}letto_valuex=structure_to_value[("TypeArn",(Option.mapx.typeArn~f:TypeArn.to_value));("Configuration",(Some(TypeConfiguration.to_valuex.configuration)));("ConfigurationAlias",(Option.mapx.configurationAlias~f:TypeConfigurationAlias.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("Type",(Option.mapx.type_~f:ThirdPartyType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:ThirdPartyType.of_xml)(Xml.childxml_arg0"Type")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inletconfigurationAlias=(Option.map~f:TypeConfigurationAlias.of_xml)(Xml.childxml_arg0"ConfigurationAlias")inletconfiguration=TypeConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"Configuration")inlettypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inmake?type_?typeName?configurationAlias~configuration?typeArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"ThirdPartyType.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninletconfigurationAlias=field_mapjson__"ConfigurationAlias"TypeConfigurationAlias.of_jsoninletconfiguration=field_map_exnjson__"Configuration"TypeConfiguration.of_jsoninlettypeArn=field_mapjson__"TypeArn"TypeArn.of_jsoninmake?type_?typeName?configurationAlias~configuration?typeArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the configuration data for a CloudFormation extension, such as a resource or Hook, in the given account and Region. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide. To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more information, see Specify values stored in other services using dynamic references in the CloudFormation User Guide. For more information about setting the configuration data for resource types, see Defining the account-level configuration of an extension in the CloudFormation Command Line Interface (CLI) User Guide. For more information about setting the configuration data for Hooks, see the CloudFormation Hooks User Guide."]moduleSetStackPolicyInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name or unique stack ID that you want to associate a policy with."];stackPolicyBody:StackPolicyBody.toption[@ocaml.doc"Structure that contains the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both."];stackPolicyURL:StackPolicyURL.toption[@ocaml.doc"Location of a file that contains the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both."]}letcontext_="SetStackPolicyInput"letmake?stackPolicyBody=fun?stackPolicyURL->fun~stackName->fun()->{stackPolicyBody;stackPolicyURL;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("StackPolicyBody",(Option.mapx.stackPolicyBody~f:StackPolicyBody.to_value));("StackPolicyURL",(Option.mapx.stackPolicyURL~f:StackPolicyURL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackPolicyURL=(Option.map~f:StackPolicyURL.of_xml)(Xml.childxml_arg0"StackPolicyURL")inletstackPolicyBody=(Option.map~f:StackPolicyBody.of_xml)(Xml.childxml_arg0"StackPolicyBody")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?stackPolicyURL?stackPolicyBody~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackPolicyURL=field_mapjson__"StackPolicyURL"StackPolicyURL.of_jsoninletstackPolicyBody=field_mapjson__"StackPolicyBody"StackPolicyBody.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake?stackPolicyURL?stackPolicyBody~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the SetStackPolicy action."]moduleRollbackStackOutput=structtyperollbackStackResult={stackId:StackId.toption[@ocaml.doc"Unique identifier of the stack."];operationId:OperationId.toption[@ocaml.doc"A unique identifier for this rollback operation that can be used to track the operation's progress and events."]}andresponseMetaData=unitandt={rollbackStackResult:rollbackStackResult;responseMetaData:responseMetaData}typeerror=[`TokenAlreadyExistsExceptionofTokenAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RollbackStackOutput"letmake?stackId=fun?operationId->fun()->{rollbackStackResult={stackId;operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`TokenAlreadyExistsExceptione->`Assoc[("error",(`String"TokenAlreadyExistsException"));("details",(TokenAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.rollbackStackResultinstructure_to_wrapped_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("OperationId",(Option.mapx.operationId~f:OperationId.to_value))]~wrapper:"RollbackStackResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RollbackStackResult"inletoperationId=(Option.map~f:OperationId.of_xml)(Xml.childxml_arg0"OperationId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?operationId?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"OperationId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?operationId?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"When specifying RollbackStack, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the DescribeStacks operation. Rolls back the specified stack to the last known stable state from CREATE_FAILED or UPDATE_FAILED stack statuses. This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a *_COMPLETE. This includes the following stack statuses. CREATE_COMPLETE UPDATE_COMPLETE UPDATE_ROLLBACK_COMPLETE IMPORT_COMPLETE IMPORT_ROLLBACK_COMPLETE"]moduleRollbackStackInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The name that's associated with the stack."];roleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this RollbackStack request."];retainExceptOnCreate:RetainExceptOnCreate.toption[@ocaml.doc"When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false"]}letcontext_="RollbackStackInput"letmake?roleARN=fun?clientRequestToken->fun?retainExceptOnCreate->fun~stackName->fun()->{roleARN;clientRequestToken;retainExceptOnCreate;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("RoleARN",(Option.mapx.roleARN~f:RoleARN.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("RetainExceptOnCreate",(Option.mapx.retainExceptOnCreate~f:RetainExceptOnCreate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretainExceptOnCreate=(Option.map~f:RetainExceptOnCreate.of_xml)(Xml.childxml_arg0"RetainExceptOnCreate")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletroleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"RoleARN")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?retainExceptOnCreate?clientRequestToken?roleARN~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretainExceptOnCreate=field_mapjson__"RetainExceptOnCreate"RetainExceptOnCreate.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletroleARN=field_mapjson__"RoleARN"RoleARN.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake?retainExceptOnCreate?clientRequestToken?roleARN~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"When specifying RollbackStack, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the DescribeStacks operation. Rolls back the specified stack to the last known stable state from CREATE_FAILED or UPDATE_FAILED stack statuses. This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a *_COMPLETE. This includes the following stack statuses. CREATE_COMPLETE UPDATE_COMPLETE UPDATE_ROLLBACK_COMPLETE IMPORT_COMPLETE IMPORT_ROLLBACK_COMPLETE"]moduleRegisterTypeOutput=structtyperegisterTypeResult={registrationToken:RegistrationToken.toption[@ocaml.doc"The identifier for this registration request. Use this registration token when calling DescribeTypeRegistration, which returns information about the status and IDs of the extension registration."]}andresponseMetaData=unitandt={registerTypeResult:registerTypeResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RegisterTypeOutput"letmake?registrationToken=fun()->{registerTypeResult={registrationToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.registerTypeResultinstructure_to_wrapped_value[("RegistrationToken",(Option.mapx.registrationToken~f:RegistrationToken.to_value))]~wrapper:"RegisterTypeResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RegisterTypeResult"inletregistrationToken=(Option.map~f:RegistrationToken.of_xml)(Xml.childxml_arg0"RegistrationToken")inmake?registrationToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregistrationToken=field_mapjson__"RegistrationToken"RegistrationToken.of_jsoninmake?registrationToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Registers an extension with the CloudFormation service. Registering an extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes: Validating the extension schema. Determining which handlers, if any, have been specified for the extension. Making the extension available for use in your account. For more information about how to develop extensions and ready them for registration, see Creating resource types using the CloudFormation CLI in the CloudFormation Command Line Interface (CLI) User Guide. You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and per Region. Use DeregisterType to deregister specific extension versions if necessary. Once you have initiated a registration request using RegisterType, you can use DescribeTypeRegistration to monitor the progress of the registration request. Once you have registered a private extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide."]moduleRegisterTypeInput=structtypenonrect={type_:RegistryType.toption[@ocaml.doc"The kind of extension."];typeName:TypeName.t[@ocaml.doc"The name of the extension being registered. We suggest that extension names adhere to the following patterns: For resource types, company_or_organization::service::type. For modules, company_or_organization::service::type::MODULE. For Hooks, MyCompany::Testing::MyTestHook. The following organization namespaces are reserved and can't be used in your extension names: Alexa AMZN Amazon AWS Custom Dev"];schemaHandlerPackage:S3Url.t[@ocaml.doc"A URL to the S3 bucket that contains the extension project package that contains the necessary files for the extension you want to register. For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide. The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide."];loggingConfig:LoggingConfig.toption[@ocaml.doc"Specifies logging configuration information for an extension."];executionRoleArn:RoleArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension. For CloudFormation to assume the specified execution role, the role must contain a trust relationship with the CloudFormation service principal (resources.cloudformation.amazonaws.com). For more information about adding trust relationships, see Modifying a role trust policy in the Identity and Access Management User Guide. If your extension calls Amazon Web Services APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. When CloudFormation needs to invoke the resource type handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the resource type handler, thereby supplying your resource type with the appropriate credentials."];clientRequestToken:RequestToken.toption[@ocaml.doc"A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of an extension from the same registration request, even if the request is submitted multiple times."]}letcontext_="RegisterTypeInput"letmake?type_=fun?loggingConfig->fun?executionRoleArn->fun?clientRequestToken->fun~typeName->fun~schemaHandlerPackage->fun()->{type_;loggingConfig;executionRoleArn;clientRequestToken;typeName;schemaHandlerPackage}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Some(TypeName.to_valuex.typeName)));("SchemaHandlerPackage",(Some(S3Url.to_valuex.schemaHandlerPackage)));("LoggingConfig",(Option.mapx.loggingConfig~f:LoggingConfig.to_value));("ExecutionRoleArn",(Option.mapx.executionRoleArn~f:RoleArn.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:RequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:RequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletexecutionRoleArn=(Option.map~f:RoleArn.of_xml)(Xml.childxml_arg0"ExecutionRoleArn")inletloggingConfig=(Option.map~f:LoggingConfig.of_xml)(Xml.childxml_arg0"LoggingConfig")inletschemaHandlerPackage=S3Url.of_xml(Xml.child_exn~context:context_xml_arg0"SchemaHandlerPackage")inlettypeName=TypeName.of_xml(Xml.child_exn~context:context_xml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inmake?clientRequestToken?executionRoleArn?loggingConfig~schemaHandlerPackage~typeName?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"ClientRequestToken"RequestToken.of_jsoninletexecutionRoleArn=field_mapjson__"ExecutionRoleArn"RoleArn.of_jsoninletloggingConfig=field_mapjson__"LoggingConfig"LoggingConfig.of_jsoninletschemaHandlerPackage=field_map_exnjson__"SchemaHandlerPackage"S3Url.of_jsoninlettypeName=field_map_exnjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninmake?clientRequestToken?executionRoleArn?loggingConfig~schemaHandlerPackage~typeName?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Registers an extension with the CloudFormation service. Registering an extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes: Validating the extension schema. Determining which handlers, if any, have been specified for the extension. Making the extension available for use in your account. For more information about how to develop extensions and ready them for registration, see Creating resource types using the CloudFormation CLI in the CloudFormation Command Line Interface (CLI) User Guide. You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and per Region. Use DeregisterType to deregister specific extension versions if necessary. Once you have initiated a registration request using RegisterType, you can use DescribeTypeRegistration to monitor the progress of the registration request. Once you have registered a private extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide."]moduleRegisterPublisherOutput=structtyperegisterPublisherResult={publisherId:PublisherId.toption[@ocaml.doc"The ID assigned this account by CloudFormation for publishing extensions."]}andresponseMetaData=unitandt={registerPublisherResult:registerPublisherResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RegisterPublisherOutput"letmake?publisherId=fun()->{registerPublisherResult={publisherId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.registerPublisherResultinstructure_to_wrapped_value[("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value))]~wrapper:"RegisterPublisherResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RegisterPublisherResult"inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inmake?publisherId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninmake?publisherId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are available for use by all CloudFormation users. This publisher ID applies to your account in all Amazon Web Services Regions. For information about requirements for registering as a public extension publisher, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide."]moduleRegisterPublisherInput=structtypenonrect={acceptTermsAndConditions:AcceptTermsAndConditions.toption[@ocaml.doc"Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry. The default is false."];connectionArn:ConnectionArn.toption[@ocaml.doc"If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide."]}letmake?acceptTermsAndConditions=fun?connectionArn->fun()->{acceptTermsAndConditions;connectionArn}letto_valuex=structure_to_value[("AcceptTermsAndConditions",(Option.mapx.acceptTermsAndConditions~f:AcceptTermsAndConditions.to_value));("ConnectionArn",(Option.mapx.connectionArn~f:ConnectionArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectionArn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"ConnectionArn")inletacceptTermsAndConditions=(Option.map~f:AcceptTermsAndConditions.of_xml)(Xml.childxml_arg0"AcceptTermsAndConditions")inmake?connectionArn?acceptTermsAndConditions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectionArn=field_mapjson__"ConnectionArn"ConnectionArn.of_jsoninletacceptTermsAndConditions=field_mapjson__"AcceptTermsAndConditions"AcceptTermsAndConditions.of_jsoninmake?connectionArn?acceptTermsAndConditions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are available for use by all CloudFormation users. This publisher ID applies to your account in all Amazon Web Services Regions. For information about requirements for registering as a public extension publisher, see Prerequisite: Registering your account to publish CloudFormation extensions in the CloudFormation Command Line Interface (CLI) User Guide."]moduleRecordHandlerProgressOutput=structtyperecordHandlerProgressResult=unitandresponseMetaData=unitandt={recordHandlerProgressResult:recordHandlerProgressResult;responseMetaData:responseMetaData}typeerror=[`InvalidStateTransitionExceptionofInvalidStateTransitionException.t|`OperationStatusCheckFailedExceptionofOperationStatusCheckFailedException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={recordHandlerProgressResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidStateTransitionException"->`InvalidStateTransitionException(InvalidStateTransitionException.of_jsonjson)|"OperationStatusCheckFailedException"->`OperationStatusCheckFailedException(OperationStatusCheckFailedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidStateTransitionException"->`InvalidStateTransitionException(InvalidStateTransitionException.of_xmlxml)|"OperationStatusCheckFailedException"->`OperationStatusCheckFailedException(OperationStatusCheckFailedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidStateTransitionExceptione->`Assoc[("error",(`String"InvalidStateTransitionException"));("details",(InvalidStateTransitionException.to_jsone))]|`OperationStatusCheckFailedExceptione->`Assoc[("error",(`String"OperationStatusCheckFailedException"));("details",(OperationStatusCheckFailedException.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"Reports progress of a resource handler to CloudFormation. Reserved for use by the CloudFormation CLI. Don't use this API in your code."]moduleRecordHandlerProgressInput=structtypenonrect={bearerToken:ClientToken.t[@ocaml.doc"Reserved for use by the CloudFormation CLI."];operationStatus:OperationStatus.t[@ocaml.doc"Reserved for use by the CloudFormation CLI."];currentOperationStatus:OperationStatus.toption[@ocaml.doc"Reserved for use by the CloudFormation CLI."];statusMessage:StatusMessage.toption[@ocaml.doc"Reserved for use by the CloudFormation CLI."];errorCode:HandlerErrorCode.toption[@ocaml.doc"Reserved for use by the CloudFormation CLI."];resourceModel:ResourceModel.toption[@ocaml.doc"Reserved for use by the CloudFormation CLI."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"Reserved for use by the CloudFormation CLI."]}letcontext_="RecordHandlerProgressInput"letmake?currentOperationStatus=fun?statusMessage->fun?errorCode->fun?resourceModel->fun?clientRequestToken->fun~bearerToken->fun~operationStatus->fun()->{currentOperationStatus;statusMessage;errorCode;resourceModel;clientRequestToken;bearerToken;operationStatus}letto_valuex=structure_to_value[("BearerToken",(Some(ClientToken.to_valuex.bearerToken)));("OperationStatus",(Some(OperationStatus.to_valuex.operationStatus)));("CurrentOperationStatus",(Option.mapx.currentOperationStatus~f:OperationStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("ErrorCode",(Option.mapx.errorCode~f:HandlerErrorCode.to_value));("ResourceModel",(Option.mapx.resourceModel~f:ResourceModel.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletresourceModel=(Option.map~f:ResourceModel.of_xml)(Xml.childxml_arg0"ResourceModel")inleterrorCode=(Option.map~f:HandlerErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletcurrentOperationStatus=(Option.map~f:OperationStatus.of_xml)(Xml.childxml_arg0"CurrentOperationStatus")inletoperationStatus=OperationStatus.of_xml(Xml.child_exn~context:context_xml_arg0"OperationStatus")inletbearerToken=ClientToken.of_xml(Xml.child_exn~context:context_xml_arg0"BearerToken")inmake?clientRequestToken?resourceModel?errorCode?statusMessage?currentOperationStatus~operationStatus~bearerToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletresourceModel=field_mapjson__"ResourceModel"ResourceModel.of_jsoninleterrorCode=field_mapjson__"ErrorCode"HandlerErrorCode.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletcurrentOperationStatus=field_mapjson__"CurrentOperationStatus"OperationStatus.of_jsoninletoperationStatus=field_map_exnjson__"OperationStatus"OperationStatus.of_jsoninletbearerToken=field_map_exnjson__"BearerToken"ClientToken.of_jsoninmake?clientRequestToken?resourceModel?errorCode?statusMessage?currentOperationStatus~operationStatus~bearerToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Reports progress of a resource handler to CloudFormation. Reserved for use by the CloudFormation CLI. Don't use this API in your code."]modulePublishTypeOutput=structtypepublishTypeResult={publicTypeArn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) assigned to the public extension upon publication."]}andresponseMetaData=unitandt={publishTypeResult:publishTypeResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="PublishTypeOutput"letmake?publicTypeArn=fun()->{publishTypeResult={publicTypeArn};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.publishTypeResultinstructure_to_wrapped_value[("PublicTypeArn",(Option.mapx.publicTypeArn~f:TypeArn.to_value))]~wrapper:"PublishTypeResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"PublishTypeResult"inletpublicTypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"PublicTypeArn")inmake?publicTypeArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublicTypeArn=field_mapjson__"PublicTypeArn"TypeArn.of_jsoninmake?publicTypeArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Publishes the specified extension to the CloudFormation registry as a public extension in this Region. Public extensions are available for use by all CloudFormation users. For more information about publishing extensions, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide. To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher."]modulePublishTypeInput=structtypenonrect={type_:ThirdPartyType.toption[@ocaml.doc"The type of the extension. Conditional: You must specify Arn, or TypeName and Type."];arn:PrivateTypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension. Conditional: You must specify Arn, or TypeName and Type."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. Conditional: You must specify Arn, or TypeName and Type."];publicVersionNumber:PublicVersionNumber.toption[@ocaml.doc"The version number to assign to this version of the extension. Use the following format, and adhere to semantic versioning when assigning a version number to your extension: MAJOR.MINOR.PATCH For more information, see Semantic Versioning 2.0.0. If you don't specify a version number, CloudFormation increments the version number by one minor version release. You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be 1.0.0."]}letmake?type_=fun?arn->fun?typeName->fun?publicVersionNumber->fun()->{type_;arn;typeName;publicVersionNumber}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:ThirdPartyType.to_value));("Arn",(Option.mapx.arn~f:PrivateTypeArn.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("PublicVersionNumber",(Option.mapx.publicVersionNumber~f:PublicVersionNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpublicVersionNumber=(Option.map~f:PublicVersionNumber.of_xml)(Xml.childxml_arg0"PublicVersionNumber")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inletarn=(Option.map~f:PrivateTypeArn.of_xml)(Xml.childxml_arg0"Arn")inlettype_=(Option.map~f:ThirdPartyType.of_xml)(Xml.childxml_arg0"Type")inmake?publicVersionNumber?typeName?arn?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublicVersionNumber=field_mapjson__"PublicVersionNumber"PublicVersionNumber.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninletarn=field_mapjson__"Arn"PrivateTypeArn.of_jsoninlettype_=field_mapjson__"Type"ThirdPartyType.of_jsoninmake?publicVersionNumber?typeName?arn?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Publishes the specified extension to the CloudFormation registry as a public extension in this Region. Public extensions are available for use by all CloudFormation users. For more information about publishing extensions, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide. To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher."]moduleListTypesOutput=structtypelistTypesResult={typeSummaries:TypeSummaries.toption[@ocaml.doc"A list of TypeSummary structures that contain information about the specified extensions."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={listTypesResult:listTypesResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListTypesOutput"letmake?typeSummaries=fun?nextToken->fun()->{listTypesResult={typeSummaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listTypesResultinstructure_to_wrapped_value[("TypeSummaries",(Option.mapx.typeSummaries~f:TypeSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListTypesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListTypesResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlettypeSummaries=(Option.map~f:TypeSummaries.of_xml)(Xml.childxml_arg0"TypeSummaries")inmake?nextToken?typeSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlettypeSummaries=field_mapjson__"TypeSummaries"TypeSummaries.of_jsoninmake?nextToken?typeSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about all extensions, including your private resource types, modules, and Hooks as well as all public extensions from Amazon Web Services and third-party publishers."]moduleListTypesInput=structtypenonrect={visibility:Visibility.toption[@ocaml.doc"The scope at which the extensions are visible and usable in CloudFormation operations. Valid values include: PRIVATE: Extensions that are visible and usable within this account and Region. This includes: Private extensions you have registered in this account and Region. Public extensions that you have activated in this account and Region. PUBLIC: Extensions that are publicly visible and available to be activated within any Amazon Web Services account. This includes extensions from Amazon Web Services and third-party publishers. The default is PRIVATE."];provisioningType:ProvisioningType.toption[@ocaml.doc"For resource types, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. Valid values include: FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations. IMMUTABLE: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations. NON_PROVISIONABLE: The resource type doesn't include create, read, and delete handlers, and therefore can't actually be provisioned. The default is FULLY_MUTABLE."];deprecatedStatus:DeprecatedStatus.toption[@ocaml.doc"The deprecation status of the extension that you want to get summary information about. Valid values include: LIVE: The extension is registered for use in CloudFormation operations. DEPRECATED: The extension has been deregistered and can no longer be used in CloudFormation operations."];type_:RegistryType.toption[@ocaml.doc"The type of extension."];filters:TypeFilters.toption[@ocaml.doc"Filter criteria to use in determining which extensions to return. Filters must be compatible with Visibility to return valid results. For example, specifying AWS_TYPES for Category and PRIVATE for Visibility returns an empty list of types, but specifying PUBLIC for Visibility returns the desired list."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letmake?visibility=fun?provisioningType->fun?deprecatedStatus->fun?type_->fun?filters->fun?maxResults->fun?nextToken->fun()->{visibility;provisioningType;deprecatedStatus;type_;filters;maxResults;nextToken}letto_valuex=structure_to_value[("Visibility",(Option.mapx.visibility~f:Visibility.to_value));("ProvisioningType",(Option.mapx.provisioningType~f:ProvisioningType.to_value));("DeprecatedStatus",(Option.mapx.deprecatedStatus~f:DeprecatedStatus.to_value));("Type",(Option.mapx.type_~f:RegistryType.to_value));("Filters",(Option.mapx.filters~f:TypeFilters.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletfilters=(Option.map~f:TypeFilters.of_xml)(Xml.childxml_arg0"Filters")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inletdeprecatedStatus=(Option.map~f:DeprecatedStatus.of_xml)(Xml.childxml_arg0"DeprecatedStatus")inletprovisioningType=(Option.map~f:ProvisioningType.of_xml)(Xml.childxml_arg0"ProvisioningType")inletvisibility=(Option.map~f:Visibility.of_xml)(Xml.childxml_arg0"Visibility")inmake?nextToken?maxResults?filters?type_?deprecatedStatus?provisioningType?visibility()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletfilters=field_mapjson__"Filters"TypeFilters.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninletdeprecatedStatus=field_mapjson__"DeprecatedStatus"DeprecatedStatus.of_jsoninletprovisioningType=field_mapjson__"ProvisioningType"ProvisioningType.of_jsoninletvisibility=field_mapjson__"Visibility"Visibility.of_jsoninmake?nextToken?maxResults?filters?type_?deprecatedStatus?provisioningType?visibility()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about all extensions, including your private resource types, modules, and Hooks as well as all public extensions from Amazon Web Services and third-party publishers."]moduleListTypeVersionsOutput=structtypelistTypeVersionsResult={typeVersionSummaries:TypeVersionSummaries.toption[@ocaml.doc"A list of TypeVersionSummary structures that contain information about the specified extension's versions."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={listTypeVersionsResult:listTypeVersionsResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListTypeVersionsOutput"letmake?typeVersionSummaries=fun?nextToken->fun()->{listTypeVersionsResult={typeVersionSummaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listTypeVersionsResultinstructure_to_wrapped_value[("TypeVersionSummaries",(Option.mapx.typeVersionSummaries~f:TypeVersionSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListTypeVersionsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListTypeVersionsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlettypeVersionSummaries=(Option.map~f:TypeVersionSummaries.of_xml)(Xml.childxml_arg0"TypeVersionSummaries")inmake?nextToken?typeVersionSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlettypeVersionSummaries=field_mapjson__"TypeVersionSummaries"TypeVersionSummaries.of_jsoninmake?nextToken?typeVersionSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about the versions of an extension."]moduleListTypeVersionsInput=structtypenonrect={type_:RegistryType.toption[@ocaml.doc"The kind of the extension. Conditional: You must specify either TypeName and Type, or Arn."];typeName:TypeName.toption[@ocaml.doc"The name of the extension for which you want version summary information. Conditional: You must specify either TypeName and Type, or Arn."];arn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension for which you want version summary information. Conditional: You must specify either TypeName and Type, or Arn."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];deprecatedStatus:DeprecatedStatus.toption[@ocaml.doc"The deprecation status of the extension versions that you want to get summary information about. Valid values include: LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations. The default is LIVE."];publisherId:PublisherId.toption[@ocaml.doc"The publisher ID of the extension publisher. Extensions published by Amazon aren't assigned a publisher ID."]}letmake?type_=fun?typeName->fun?arn->fun?maxResults->fun?nextToken->fun?deprecatedStatus->fun?publisherId->fun()->{type_;typeName;arn;maxResults;nextToken;deprecatedStatus;publisherId}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("Arn",(Option.mapx.arn~f:TypeArn.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("DeprecatedStatus",(Option.mapx.deprecatedStatus~f:DeprecatedStatus.to_value));("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inletdeprecatedStatus=(Option.map~f:DeprecatedStatus.of_xml)(Xml.childxml_arg0"DeprecatedStatus")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletarn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"Arn")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inmake?publisherId?deprecatedStatus?nextToken?maxResults?arn?typeName?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninletdeprecatedStatus=field_mapjson__"DeprecatedStatus"DeprecatedStatus.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletarn=field_mapjson__"Arn"TypeArn.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninmake?publisherId?deprecatedStatus?nextToken?maxResults?arn?typeName?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about the versions of an extension."]moduleListTypeRegistrationsOutput=structtypelistTypeRegistrationsResult={registrationTokenList:RegistrationTokenList.toption[@ocaml.doc"A list of extension registration tokens. Use DescribeTypeRegistration to return detailed information about a type registration request."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={listTypeRegistrationsResult:listTypeRegistrationsResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListTypeRegistrationsOutput"letmake?registrationTokenList=fun?nextToken->fun()->{listTypeRegistrationsResult={registrationTokenList;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listTypeRegistrationsResultinstructure_to_wrapped_value[("RegistrationTokenList",(Option.mapx.registrationTokenList~f:RegistrationTokenList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListTypeRegistrationsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListTypeRegistrationsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletregistrationTokenList=(Option.map~f:RegistrationTokenList.of_xml)(Xml.childxml_arg0"RegistrationTokenList")inmake?nextToken?registrationTokenList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletregistrationTokenList=field_mapjson__"RegistrationTokenList"RegistrationTokenList.of_jsoninmake?nextToken?registrationTokenList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of registration tokens for the specified extension(s)."]moduleListTypeRegistrationsInput=structtypenonrect={type_:RegistryType.toption[@ocaml.doc"The kind of extension. Conditional: You must specify either TypeName and Type, or Arn."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. Conditional: You must specify either TypeName and Type, or Arn."];typeArn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension. Conditional: You must specify either TypeName and Type, or Arn."];registrationStatusFilter:RegistrationStatus.toption[@ocaml.doc"The current status of the extension registration request. The default is IN_PROGRESS."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letmake?type_=fun?typeName->fun?typeArn->fun?registrationStatusFilter->fun?maxResults->fun?nextToken->fun()->{type_;typeName;typeArn;registrationStatusFilter;maxResults;nextToken}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("TypeArn",(Option.mapx.typeArn~f:TypeArn.to_value));("RegistrationStatusFilter",(Option.mapx.registrationStatusFilter~f:RegistrationStatus.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletregistrationStatusFilter=(Option.map~f:RegistrationStatus.of_xml)(Xml.childxml_arg0"RegistrationStatusFilter")inlettypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inmake?nextToken?maxResults?registrationStatusFilter?typeArn?typeName?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletregistrationStatusFilter=field_mapjson__"RegistrationStatusFilter"RegistrationStatus.of_jsoninlettypeArn=field_mapjson__"TypeArn"TypeArn.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninmake?nextToken?maxResults?registrationStatusFilter?typeArn?typeName?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of registration tokens for the specified extension(s)."]moduleListStacksOutput=structtypelistStacksResult={stackSummaries:StackSummaries.toption[@ocaml.doc"A list of StackSummary structures that contains information about the specified stacks."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null."]}andresponseMetaData=unitandt={listStacksResult:listStacksResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStacksOutput"letmake?stackSummaries=fun?nextToken->fun()->{listStacksResult={stackSummaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStacksResultinstructure_to_wrapped_value[("StackSummaries",(Option.mapx.stackSummaries~f:StackSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStacksResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStacksResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackSummaries=(Option.map~f:StackSummaries.of_xml)(Xml.childxml_arg0"StackSummaries")inmake?nextToken?stackSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackSummaries=field_mapjson__"StackSummaries"StackSummaries.of_jsoninmake?nextToken?stackSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for ListStacks action."]moduleListStacksInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];stackStatusFilter:StackStatusFilter.toption[@ocaml.doc"Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type."]}letmake?nextToken=fun?stackStatusFilter->fun()->{nextToken;stackStatusFilter}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("StackStatusFilter",(Option.mapx.stackStatusFilter~f:StackStatusFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackStatusFilter=(Option.map~f:StackStatusFilter.of_xml)(Xml.childxml_arg0"StackStatusFilter")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?stackStatusFilter?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackStatusFilter=field_mapjson__"StackStatusFilter"StackStatusFilter.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?stackStatusFilter?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for ListStacks action."]moduleListStackSetsOutput=structtypelistStackSetsResult={summaries:StackSetSummaries.toption[@ocaml.doc"A list of StackSetSummary structures that contain information about the user's StackSets."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={listStackSetsResult:listStackSetsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackSetsOutput"letmake?summaries=fun?nextToken->fun()->{listStackSetsResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackSetsResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:StackSetSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackSetsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackSetsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:StackSetSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"StackSetSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about StackSets that are associated with the user. This API provides strongly consistent reads meaning it will always return the most up-to-date data. \\[Self-managed permissions\\] If you set the CallAs parameter to SELF while signed in to your Amazon Web Services account, ListStackSets returns all self-managed StackSets in your Amazon Web Services account. \\[Service-managed permissions\\] If you set the CallAs parameter to SELF while signed in to the organization's management account, ListStackSets returns all StackSets in the management account. \\[Service-managed permissions\\] If you set the CallAs parameter to DELEGATED_ADMIN while signed in to your member account, ListStackSets returns all StackSets with service-managed permissions in the management account."]moduleListStackSetsInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];status:StackSetStatus.toption[@ocaml.doc"The status of the StackSets that you want to get summary information about."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letmake?nextToken=fun?maxResults->fun?status->fun?callAs->fun()->{nextToken;maxResults;status;callAs}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("Status",(Option.mapx.status~f:StackSetStatus.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletstatus=(Option.map~f:StackSetStatus.of_xml)(Xml.childxml_arg0"Status")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?callAs?status?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletstatus=field_mapjson__"Status"StackSetStatus.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?callAs?status?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about StackSets that are associated with the user. This API provides strongly consistent reads meaning it will always return the most up-to-date data. \\[Self-managed permissions\\] If you set the CallAs parameter to SELF while signed in to your Amazon Web Services account, ListStackSets returns all self-managed StackSets in your Amazon Web Services account. \\[Service-managed permissions\\] If you set the CallAs parameter to SELF while signed in to the organization's management account, ListStackSets returns all StackSets in the management account. \\[Service-managed permissions\\] If you set the CallAs parameter to DELEGATED_ADMIN while signed in to your member account, ListStackSets returns all StackSets with service-managed permissions in the management account."]moduleListStackSetOperationsOutput=structtypelistStackSetOperationsResult={summaries:StackSetOperationSummaries.toption[@ocaml.doc"A list of StackSetOperationSummary structures that contain summary information about operations for the specified StackSet."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of results, call ListOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, NextToken is set to null."]}andresponseMetaData=unitandt={listStackSetOperationsResult:listStackSetOperationsResult;responseMetaData:responseMetaData}typeerror=[`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackSetOperationsOutput"letmake?summaries=fun?nextToken->fun()->{listStackSetOperationsResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackSetOperationsResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:StackSetOperationSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackSetOperationsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackSetOperationsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:StackSetOperationSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"StackSetOperationSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about operations performed on a StackSet. This API provides eventually consistent reads meaning it may take some time but will eventually return the most up-to-date data."]moduleListStackSetOperationsInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you want to get operation summaries for."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="ListStackSetOperationsInput"letmake?nextToken=fun?maxResults->fun?callAs->fun~stackSetName->fun()->{nextToken;maxResults;callAs;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?maxResults?nextToken~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs?maxResults?nextToken~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about operations performed on a StackSet. This API provides eventually consistent reads meaning it may take some time but will eventually return the most up-to-date data."]moduleListStackSetOperationResultsOutput=structtypelistStackSetOperationResultsResult={summaries:StackSetOperationResultSummaries.toption[@ocaml.doc"A list of StackSetOperationResultSummary structures that contain information about the specified operation results, for accounts and Amazon Web Services Regions that are included in the operation."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of results, call ListOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, NextToken is set to null."]}andresponseMetaData=unitandt={listStackSetOperationResultsResult:listStackSetOperationResultsResult;responseMetaData:responseMetaData}typeerror=[`OperationNotFoundExceptionofOperationNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackSetOperationResultsOutput"letmake?summaries=fun?nextToken->fun()->{listStackSetOperationResultsResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`OperationNotFoundExceptione->`Assoc[("error",(`String"OperationNotFoundException"));("details",(OperationNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackSetOperationResultsResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:StackSetOperationResultSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackSetOperationResultsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackSetOperationResultsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:StackSetOperationResultSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"StackSetOperationResultSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about the results of a StackSet operation. This API provides eventually consistent reads meaning it may take some time but will eventually return the most up-to-date data."]moduleListStackSetOperationResultsInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you want to get operation results for."];operationId:ClientRequestToken.t[@ocaml.doc"The ID of the StackSet operation."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."];filters:OperationResultFilters.toption[@ocaml.doc"The filter to apply to operation results."]}letcontext_="ListStackSetOperationResultsInput"letmake?nextToken=fun?maxResults->fun?callAs->fun?filters->fun~stackSetName->fun~operationId->fun()->{nextToken;maxResults;callAs;filters;stackSetName;operationId}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("OperationId",(Some(ClientRequestToken.to_valuex.operationId)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value));("Filters",(Option.mapx.filters~f:OperationResultFilters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilters=(Option.map~f:OperationResultFilters.of_xml)(Xml.childxml_arg0"Filters")inletcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletoperationId=ClientRequestToken.of_xml(Xml.child_exn~context:context_xml_arg0"OperationId")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?filters?callAs?maxResults?nextToken~operationId~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilters=field_mapjson__"Filters"OperationResultFilters.of_jsoninletcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletoperationId=field_map_exnjson__"OperationId"ClientRequestToken.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?filters?callAs?maxResults?nextToken~operationId~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about the results of a StackSet operation. This API provides eventually consistent reads meaning it may take some time but will eventually return the most up-to-date data."]moduleListStackSetAutoDeploymentTargetsOutput=structtypelistStackSetAutoDeploymentTargetsResult={summaries:StackSetAutoDeploymentTargetSummaries.toption[@ocaml.doc"An array of summaries of the deployment targets for the StackSet."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackSetAutoDeploymentTargets again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string."]}andresponseMetaData=unitandt={listStackSetAutoDeploymentTargetsResult:listStackSetAutoDeploymentTargetsResult;responseMetaData:responseMetaData}typeerror=[`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackSetAutoDeploymentTargetsOutput"letmake?summaries=fun?nextToken->fun()->{listStackSetAutoDeploymentTargetsResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackSetAutoDeploymentTargetsResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:StackSetAutoDeploymentTargetSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackSetAutoDeploymentTargetsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackSetAutoDeploymentTargetsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:StackSetAutoDeploymentTargetSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"StackSetAutoDeploymentTargetSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about deployment targets for a StackSet."]moduleListStackSetAutoDeploymentTargetsInput=structtypenonrect={stackSetName:StackSetNameOrId.t[@ocaml.doc"The name or unique ID of the StackSet that you want to get automatic deployment targets for."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];callAs:CallAs.toption[@ocaml.doc"Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="ListStackSetAutoDeploymentTargetsInput"letmake?nextToken=fun?maxResults->fun?callAs->fun~stackSetName->fun()->{nextToken;maxResults;callAs;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetNameOrId.to_valuex.stackSetName)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackSetName=StackSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?maxResults?nextToken~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetNameOrId.of_jsoninmake?callAs?maxResults?nextToken~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about deployment targets for a StackSet."]moduleListStackResourcesOutput=structtypelistStackResourcesResult={stackResourceSummaries:StackResourceSummaries.toption[@ocaml.doc"A list of StackResourceSummary structures."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null."]}andresponseMetaData=unitandt={listStackResourcesResult:listStackResourcesResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackResourcesOutput"letmake?stackResourceSummaries=fun?nextToken->fun()->{listStackResourcesResult={stackResourceSummaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackResourcesResultinstructure_to_wrapped_value[("StackResourceSummaries",(Option.mapx.stackResourceSummaries~f:StackResourceSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackResourcesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackResourcesResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackResourceSummaries=(Option.map~f:StackResourceSummaries.of_xml)(Xml.childxml_arg0"StackResourceSummaries")inmake?nextToken?stackResourceSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackResourceSummaries=field_mapjson__"StackResourceSummaries"StackResourceSummaries.of_jsoninmake?nextToken?stackResourceSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for a ListStackResources action."]moduleListStackResourcesInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name or the unique stack ID that is associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letcontext_="ListStackResourcesInput"letmake?nextToken=fun~stackName->fun()->{nextToken;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("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")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?nextToken~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake?nextToken~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the ListStackResource action."]moduleListStackRefactorsOutput=structtypelistStackRefactorsResult={stackRefactorSummaries:StackRefactorSummaries.toption[@ocaml.doc"Provides a summary of a stack refactor, including the following: StackRefactorId Status StatusReason ExecutionStatus ExecutionStatusReason Description"];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={listStackRefactorsResult:listStackRefactorsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackRefactorsOutput"letmake?stackRefactorSummaries=fun?nextToken->fun()->{listStackRefactorsResult={stackRefactorSummaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackRefactorsResultinstructure_to_wrapped_value[("StackRefactorSummaries",(Option.mapx.stackRefactorSummaries~f:StackRefactorSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackRefactorsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackRefactorsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackRefactorSummaries=(Option.map~f:StackRefactorSummaries.of_xml)(Xml.childxml_arg0"StackRefactorSummaries")inmake?nextToken?stackRefactorSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackRefactorSummaries=field_mapjson__"StackRefactorSummaries"StackRefactorSummaries.of_jsoninmake?nextToken?stackRefactorSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all account stack refactor operations and their statuses."]moduleListStackRefactorsInput=structtypenonrect={executionStatusFilter:StackRefactorExecutionStatusFilter.toption[@ocaml.doc"Execution status to use as a filter. Specify one or more execution status codes to list only stack refactors with the specified execution status codes."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."]}letmake?executionStatusFilter=fun?nextToken->fun?maxResults->fun()->{executionStatusFilter;nextToken;maxResults}letto_valuex=structure_to_value[("ExecutionStatusFilter",(Option.mapx.executionStatusFilter~f:StackRefactorExecutionStatusFilter.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletexecutionStatusFilter=(Option.map~f:StackRefactorExecutionStatusFilter.of_xml)(Xml.childxml_arg0"ExecutionStatusFilter")inmake?maxResults?nextToken?executionStatusFilter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletexecutionStatusFilter=field_mapjson__"ExecutionStatusFilter"StackRefactorExecutionStatusFilter.of_jsoninmake?maxResults?nextToken?executionStatusFilter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all account stack refactor operations and their statuses."]moduleListStackRefactorActionsOutput=structtypelistStackRefactorActionsResult={stackRefactorActions:StackRefactorActions.toption[@ocaml.doc"The stack refactor actions."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={listStackRefactorActionsResult:listStackRefactorActionsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackRefactorActionsOutput"letmake?stackRefactorActions=fun?nextToken->fun()->{listStackRefactorActionsResult={stackRefactorActions;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackRefactorActionsResultinstructure_to_wrapped_value[("StackRefactorActions",(Option.mapx.stackRefactorActions~f:StackRefactorActions.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackRefactorActionsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackRefactorActionsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackRefactorActions=(Option.map~f:StackRefactorActions.of_xml)(Xml.childxml_arg0"StackRefactorActions")inmake?nextToken?stackRefactorActions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackRefactorActions=field_mapjson__"StackRefactorActions"StackRefactorActions.of_jsoninmake?nextToken?stackRefactorActions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the stack refactor actions that will be taken after calling the ExecuteStackRefactor action."]moduleListStackRefactorActionsInput=structtypenonrect={stackRefactorId:StackRefactorId.t[@ocaml.doc"The ID associated with the stack refactor created from the CreateStackRefactor action."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."]}letcontext_="ListStackRefactorActionsInput"letmake?nextToken=fun?maxResults->fun~stackRefactorId->fun()->{nextToken;maxResults;stackRefactorId}letto_valuex=structure_to_value[("StackRefactorId",(Some(StackRefactorId.to_valuex.stackRefactorId)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackRefactorId=StackRefactorId.of_xml(Xml.child_exn~context:context_xml_arg0"StackRefactorId")inmake?maxResults?nextToken~stackRefactorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackRefactorId=field_map_exnjson__"StackRefactorId"StackRefactorId.of_jsoninmake?maxResults?nextToken~stackRefactorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the stack refactor actions that will be taken after calling the ExecuteStackRefactor action."]moduleListStackInstancesOutput=structtypelistStackInstancesResult={summaries:StackInstanceSummaries.toption[@ocaml.doc"A list of StackInstanceSummary structures that contain information about the specified stack instances."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={listStackInstancesResult:listStackInstancesResult;responseMetaData:responseMetaData}typeerror=[`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackInstancesOutput"letmake?summaries=fun?nextToken->fun()->{listStackInstancesResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackInstancesResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:StackInstanceSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackInstancesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackInstancesResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:StackInstanceSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"StackInstanceSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about stack instances that are associated with the specified StackSet. You can filter for stack instances that are associated with a specific Amazon Web Services account name or Region, or that have a specific status."]moduleListStackInstancesInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you want to list stack instances for."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];filters:StackInstanceFilters.toption[@ocaml.doc"The filter to apply to stack instances"];stackInstanceAccount:Account.toption[@ocaml.doc"The name of the Amazon Web Services account that you want to list stack instances for."];stackInstanceRegion:Region.toption[@ocaml.doc"The name of the Region where you want to list stack instances."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="ListStackInstancesInput"letmake?nextToken=fun?maxResults->fun?filters->fun?stackInstanceAccount->fun?stackInstanceRegion->fun?callAs->fun~stackSetName->fun()->{nextToken;maxResults;filters;stackInstanceAccount;stackInstanceRegion;callAs;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("Filters",(Option.mapx.filters~f:StackInstanceFilters.to_value));("StackInstanceAccount",(Option.mapx.stackInstanceAccount~f:Account.to_value));("StackInstanceRegion",(Option.mapx.stackInstanceRegion~f:Region.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletstackInstanceRegion=(Option.map~f:Region.of_xml)(Xml.childxml_arg0"StackInstanceRegion")inletstackInstanceAccount=(Option.map~f:Account.of_xml)(Xml.childxml_arg0"StackInstanceAccount")inletfilters=(Option.map~f:StackInstanceFilters.of_xml)(Xml.childxml_arg0"Filters")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?stackInstanceRegion?stackInstanceAccount?filters?maxResults?nextToken~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletstackInstanceRegion=field_mapjson__"StackInstanceRegion"Region.of_jsoninletstackInstanceAccount=field_mapjson__"StackInstanceAccount"Account.of_jsoninletfilters=field_mapjson__"Filters"StackInstanceFilters.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs?stackInstanceRegion?stackInstanceAccount?filters?maxResults?nextToken~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summary information about stack instances that are associated with the specified StackSet. You can filter for stack instances that are associated with a specific Amazon Web Services account name or Region, or that have a specific status."]moduleListStackInstanceResourceDriftsOutput=structtypelistStackInstanceResourceDriftsResult={summaries:StackInstanceResourceDriftsSummaries.toption[@ocaml.doc"A list of StackInstanceResourceDriftsSummary structures that contain information about the specified stack instances."];nextToken:NextToken.toption[@ocaml.doc"If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null."]}andresponseMetaData=unitandt={listStackInstanceResourceDriftsResult:listStackInstanceResourceDriftsResult;responseMetaData:responseMetaData}typeerror=[`OperationNotFoundExceptionofOperationNotFoundException.t|`StackInstanceNotFoundExceptionofStackInstanceNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListStackInstanceResourceDriftsOutput"letmake?summaries=fun?nextToken->fun()->{listStackInstanceResourceDriftsResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_jsonjson)|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_xmlxml)|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`OperationNotFoundExceptione->`Assoc[("error",(`String"OperationNotFoundException"));("details",(OperationNotFoundException.to_jsone))]|`StackInstanceNotFoundExceptione->`Assoc[("error",(`String"StackInstanceNotFoundException"));("details",(StackInstanceNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listStackInstanceResourceDriftsResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:StackInstanceResourceDriftsSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListStackInstanceResourceDriftsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListStackInstanceResourceDriftsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:StackInstanceResourceDriftsSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"StackInstanceResourceDriftsSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns drift information for resources in a stack instance. ListStackInstanceResourceDrifts returns drift information for the most recent drift detection operation. If an operation is in progress, it may only return partial results."]moduleListStackInstanceResourceDriftsInput=structtypenonrect={stackSetName:StackSetNameOrId.t[@ocaml.doc"The name or unique ID of the StackSet that you want to list drifted resources for."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."];stackInstanceResourceDriftStatuses:StackResourceDriftStatusFilters.toption[@ocaml.doc"The resource drift status of the stack instance. DELETED: The resource differs from its expected template configuration in that the resource has been deleted. MODIFIED: One or more resource properties differ from their expected template values. IN_SYNC: The resource's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation doesn't currently return this value."];stackInstanceAccount:Account.t[@ocaml.doc"The name of the Amazon Web Services account that you want to list resource drifts for."];stackInstanceRegion:Region.t[@ocaml.doc"The name of the Region where you want to list resource drifts."];operationId:ClientRequestToken.t[@ocaml.doc"The unique ID of the drift operation."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="ListStackInstanceResourceDriftsInput"letmake?nextToken=fun?maxResults->fun?stackInstanceResourceDriftStatuses->fun?callAs->fun~stackSetName->fun~stackInstanceAccount->fun~stackInstanceRegion->fun~operationId->fun()->{nextToken;maxResults;stackInstanceResourceDriftStatuses;callAs;stackSetName;stackInstanceAccount;stackInstanceRegion;operationId}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetNameOrId.to_valuex.stackSetName)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("StackInstanceResourceDriftStatuses",(Option.mapx.stackInstanceResourceDriftStatuses~f:StackResourceDriftStatusFilters.to_value));("StackInstanceAccount",(Some(Account.to_valuex.stackInstanceAccount)));("StackInstanceRegion",(Some(Region.to_valuex.stackInstanceRegion)));("OperationId",(Some(ClientRequestToken.to_valuex.operationId)));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=ClientRequestToken.of_xml(Xml.child_exn~context:context_xml_arg0"OperationId")inletstackInstanceRegion=Region.of_xml(Xml.child_exn~context:context_xml_arg0"StackInstanceRegion")inletstackInstanceAccount=Account.of_xml(Xml.child_exn~context:context_xml_arg0"StackInstanceAccount")inletstackInstanceResourceDriftStatuses=(Option.map~f:StackResourceDriftStatusFilters.of_xml)(Xml.childxml_arg0"StackInstanceResourceDriftStatuses")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackSetName=StackSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs~operationId~stackInstanceRegion~stackInstanceAccount?stackInstanceResourceDriftStatuses?maxResults?nextToken~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_map_exnjson__"OperationId"ClientRequestToken.of_jsoninletstackInstanceRegion=field_map_exnjson__"StackInstanceRegion"Region.of_jsoninletstackInstanceAccount=field_map_exnjson__"StackInstanceAccount"Account.of_jsoninletstackInstanceResourceDriftStatuses=field_mapjson__"StackInstanceResourceDriftStatuses"StackResourceDriftStatusFilters.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetNameOrId.of_jsoninmake?callAs~operationId~stackInstanceRegion~stackInstanceAccount?stackInstanceResourceDriftStatuses?maxResults?nextToken~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns drift information for resources in a stack instance. ListStackInstanceResourceDrifts returns drift information for the most recent drift detection operation. If an operation is in progress, it may only return partial results."]moduleListResourceScansOutput=structtypelistResourceScansResult={resourceScanSummaries:ResourceScanSummaries.toption[@ocaml.doc"The list of scans returned."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScans again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string."]}andresponseMetaData=unitandt={listResourceScansResult:listResourceScansResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListResourceScansOutput"letmake?resourceScanSummaries=fun?nextToken->fun()->{listResourceScansResult={resourceScanSummaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listResourceScansResultinstructure_to_wrapped_value[("ResourceScanSummaries",(Option.mapx.resourceScanSummaries~f:ResourceScanSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListResourceScansResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListResourceScansResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletresourceScanSummaries=(Option.map~f:ResourceScanSummaries.of_xml)(Xml.childxml_arg0"ResourceScanSummaries")inmake?nextToken?resourceScanSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletresourceScanSummaries=field_mapjson__"ResourceScanSummaries"ResourceScanSummaries.of_jsoninmake?nextToken?resourceScanSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the resource scans from newest to oldest. By default it will return up to 10 resource scans."]moduleListResourceScansInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:ResourceScannerMaxResults.toption[@ocaml.doc"If the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results. The default value is 10. The maximum value is 100."];scanTypeFilter:ScanType.toption[@ocaml.doc"The scan type that you want to get summary information about. The default is FULL."]}letmake?nextToken=fun?maxResults->fun?scanTypeFilter->fun()->{nextToken;maxResults;scanTypeFilter}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:ResourceScannerMaxResults.to_value));("ScanTypeFilter",(Option.mapx.scanTypeFilter~f:ScanType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscanTypeFilter=(Option.map~f:ScanType.of_xml)(Xml.childxml_arg0"ScanTypeFilter")inletmaxResults=(Option.map~f:ResourceScannerMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?scanTypeFilter?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscanTypeFilter=field_mapjson__"ScanTypeFilter"ScanType.of_jsoninletmaxResults=field_mapjson__"MaxResults"ResourceScannerMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?scanTypeFilter?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the resource scans from newest to oldest. By default it will return up to 10 resource scans."]moduleListResourceScanResourcesOutput=structtypelistResourceScanResourcesResult={resources:ScannedResources.toption[@ocaml.doc"List of up to MaxResults resources in the specified resource scan that match all of the specified filters."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScanResources again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string."]}andresponseMetaData=unitandt={listResourceScanResourcesResult:listResourceScanResourcesResult;responseMetaData:responseMetaData}typeerror=[`ResourceScanInProgressExceptionofResourceScanInProgressException.t|`ResourceScanNotFoundExceptionofResourceScanNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListResourceScanResourcesOutput"letmake?resources=fun?nextToken->fun()->{listResourceScanResourcesResult={resources;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ResourceScanInProgressException"->`ResourceScanInProgressException(ResourceScanInProgressException.of_jsonjson)|"ResourceScanNotFoundException"->`ResourceScanNotFoundException(ResourceScanNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceScanInProgressException"->`ResourceScanInProgressException(ResourceScanInProgressException.of_xmlxml)|"ResourceScanNotFoundException"->`ResourceScanNotFoundException(ResourceScanNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceScanInProgressExceptione->`Assoc[("error",(`String"ResourceScanInProgressException"));("details",(ResourceScanInProgressException.to_jsone))]|`ResourceScanNotFoundExceptione->`Assoc[("error",(`String"ResourceScanNotFoundException"));("details",(ResourceScanNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listResourceScanResourcesResultinstructure_to_wrapped_value[("Resources",(Option.mapx.resources~f:ScannedResources.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListResourceScanResourcesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListResourceScanResourcesResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletresources=(Option.map~f:ScannedResources.of_xml)(Xml.childxml_arg0"Resources")inmake?nextToken?resources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletresources=field_mapjson__"Resources"ScannedResources.of_jsoninmake?nextToken?resources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the resources from a resource scan. The results can be filtered by resource identifier, resource type prefix, tag key, and tag value. Only resources that match all specified filters are returned. The response indicates whether each returned resource is already managed by CloudFormation."]moduleListResourceScanResourcesInput=structtypenonrect={resourceScanId:ResourceScanId.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource scan."];resourceIdentifier:ResourceIdentifier.toption[@ocaml.doc"If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers)."];resourceTypePrefix:ResourceTypePrefix.toption[@ocaml.doc"If specified, the returned resources will be of any of the resource types with the specified prefix."];tagKey:TagKey.toption[@ocaml.doc"If specified, the returned resources will have a matching tag key."];tagValue:TagValue.toption[@ocaml.doc"If specified, the returned resources will have a matching tag value."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:ResourceScannerMaxResults.toption[@ocaml.doc"If the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results. By default the ListResourceScanResources API action will return at most 100 results in each response. The maximum value is 100."]}letcontext_="ListResourceScanResourcesInput"letmake?resourceIdentifier=fun?resourceTypePrefix->fun?tagKey->fun?tagValue->fun?nextToken->fun?maxResults->fun~resourceScanId->fun()->{resourceIdentifier;resourceTypePrefix;tagKey;tagValue;nextToken;maxResults;resourceScanId}letto_valuex=structure_to_value[("ResourceScanId",(Some(ResourceScanId.to_valuex.resourceScanId)));("ResourceIdentifier",(Option.mapx.resourceIdentifier~f:ResourceIdentifier.to_value));("ResourceTypePrefix",(Option.mapx.resourceTypePrefix~f:ResourceTypePrefix.to_value));("TagKey",(Option.mapx.tagKey~f:TagKey.to_value));("TagValue",(Option.mapx.tagValue~f:TagValue.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:ResourceScannerMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ResourceScannerMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlettagValue=(Option.map~f:TagValue.of_xml)(Xml.childxml_arg0"TagValue")inlettagKey=(Option.map~f:TagKey.of_xml)(Xml.childxml_arg0"TagKey")inletresourceTypePrefix=(Option.map~f:ResourceTypePrefix.of_xml)(Xml.childxml_arg0"ResourceTypePrefix")inletresourceIdentifier=(Option.map~f:ResourceIdentifier.of_xml)(Xml.childxml_arg0"ResourceIdentifier")inletresourceScanId=ResourceScanId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceScanId")inmake?maxResults?nextToken?tagValue?tagKey?resourceTypePrefix?resourceIdentifier~resourceScanId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"ResourceScannerMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlettagValue=field_mapjson__"TagValue"TagValue.of_jsoninlettagKey=field_mapjson__"TagKey"TagKey.of_jsoninletresourceTypePrefix=field_mapjson__"ResourceTypePrefix"ResourceTypePrefix.of_jsoninletresourceIdentifier=field_mapjson__"ResourceIdentifier"ResourceIdentifier.of_jsoninletresourceScanId=field_map_exnjson__"ResourceScanId"ResourceScanId.of_jsoninmake?maxResults?nextToken?tagValue?tagKey?resourceTypePrefix?resourceIdentifier~resourceScanId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the resources from a resource scan. The results can be filtered by resource identifier, resource type prefix, tag key, and tag value. Only resources that match all specified filters are returned. The response indicates whether each returned resource is already managed by CloudFormation."]moduleListResourceScanRelatedResourcesOutput=structtypelistResourceScanRelatedResourcesResult={relatedResources:RelatedResources.toption[@ocaml.doc"List of up to MaxResults resources in the specified resource scan related to the specified resources."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScanRelatedResources again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string."]}andresponseMetaData=unitandt={listResourceScanRelatedResourcesResult:listResourceScanRelatedResourcesResult;responseMetaData:responseMetaData}typeerror=[`ResourceScanInProgressExceptionofResourceScanInProgressException.t|`ResourceScanNotFoundExceptionofResourceScanNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListResourceScanRelatedResourcesOutput"letmake?relatedResources=fun?nextToken->fun()->{listResourceScanRelatedResourcesResult={relatedResources;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ResourceScanInProgressException"->`ResourceScanInProgressException(ResourceScanInProgressException.of_jsonjson)|"ResourceScanNotFoundException"->`ResourceScanNotFoundException(ResourceScanNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceScanInProgressException"->`ResourceScanInProgressException(ResourceScanInProgressException.of_xmlxml)|"ResourceScanNotFoundException"->`ResourceScanNotFoundException(ResourceScanNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceScanInProgressExceptione->`Assoc[("error",(`String"ResourceScanInProgressException"));("details",(ResourceScanInProgressException.to_jsone))]|`ResourceScanNotFoundExceptione->`Assoc[("error",(`String"ResourceScanNotFoundException"));("details",(ResourceScanNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listResourceScanRelatedResourcesResultinstructure_to_wrapped_value[("RelatedResources",(Option.mapx.relatedResources~f:RelatedResources.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListResourceScanRelatedResourcesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListResourceScanRelatedResourcesResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletrelatedResources=(Option.map~f:RelatedResources.of_xml)(Xml.childxml_arg0"RelatedResources")inmake?nextToken?relatedResources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletrelatedResources=field_mapjson__"RelatedResources"RelatedResources.of_jsoninmake?nextToken?relatedResources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the related resources for a list of resources from a resource scan. The response indicates whether each returned resource is already managed by CloudFormation."]moduleListResourceScanRelatedResourcesInput=structtypenonrect={resourceScanId:ResourceScanId.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource scan."];resources:ScannedResourceIdentifiers.t[@ocaml.doc"The list of resources for which you want to get the related resources. Up to 100 resources can be provided."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:BoxedMaxResults.toption[@ocaml.doc"If the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results. By default the ListResourceScanRelatedResources API action will return up to 100 results in each response. The maximum value is 100."]}letcontext_="ListResourceScanRelatedResourcesInput"letmake?nextToken=fun?maxResults->fun~resourceScanId->fun~resources->fun()->{nextToken;maxResults;resourceScanId;resources}letto_valuex=structure_to_value[("ResourceScanId",(Some(ResourceScanId.to_valuex.resourceScanId)));("Resources",(Some(ScannedResourceIdentifiers.to_valuex.resources)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:BoxedMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:BoxedMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletresources=ScannedResourceIdentifiers.of_xml(Xml.child_exn~context:context_xml_arg0"Resources")inletresourceScanId=ResourceScanId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceScanId")inmake?maxResults?nextToken~resources~resourceScanId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"BoxedMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletresources=field_map_exnjson__"Resources"ScannedResourceIdentifiers.of_jsoninletresourceScanId=field_map_exnjson__"ResourceScanId"ResourceScanId.of_jsoninmake?maxResults?nextToken~resources~resourceScanId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the related resources for a list of resources from a resource scan. The response indicates whether each returned resource is already managed by CloudFormation."]moduleListImportsOutput=structtypelistImportsResult={imports:Imports.toption[@ocaml.doc"A list of stack names that are importing the specified exported output value."];nextToken:NextToken.toption[@ocaml.doc"A string that identifies the next page of exports. If there is no additional page, this value is null."]}andresponseMetaData=unitandt={listImportsResult:listImportsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListImportsOutput"letmake?imports=fun?nextToken->fun()->{listImportsResult={imports;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listImportsResultinstructure_to_wrapped_value[("Imports",(Option.mapx.imports~f:Imports.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListImportsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListImportsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletimports=(Option.map~f:Imports.of_xml)(Xml.childxml_arg0"Imports")inmake?nextToken?imports()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletimports=field_mapjson__"Imports"Imports.of_jsoninmake?nextToken?imports()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports. For more information about importing an exported output value, see the Fn::ImportValue function."]moduleListImportsInput=structtypenonrect={exportName:ExportName.t[@ocaml.doc"The name of the exported output value. CloudFormation returns the stack names that are importing this value."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letcontext_="ListImportsInput"letmake?nextToken=fun~exportName->fun()->{nextToken;exportName}letto_valuex=structure_to_value[("ExportName",(Some(ExportName.to_valuex.exportName)));("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")inletexportName=ExportName.of_xml(Xml.child_exn~context:context_xml_arg0"ExportName")inmake?nextToken~exportName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletexportName=field_map_exnjson__"ExportName"ExportName.of_jsoninmake?nextToken~exportName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports. For more information about importing an exported output value, see the Fn::ImportValue function."]moduleListHookResultsOutput=structtypelistHookResultsResult={targetType:ListHookResultsTargetType.toption[@ocaml.doc"The target type."];targetId:HookResultId.toption[@ocaml.doc"The unique identifier of the Hook invocation target."];hookResults:HookResultSummaries.toption[@ocaml.doc"A list of HookResultSummary structures that provides the status and Hook status reason for each Hook invocation for the specified target."];nextToken:NextToken.toption[@ocaml.doc"Pagination token, null or empty if no more results."]}andresponseMetaData=unitandt={listHookResultsResult:listHookResultsResult;responseMetaData:responseMetaData}typeerror=[`HookResultNotFoundExceptionofHookResultNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListHookResultsOutput"letmake?targetType=fun?targetId->fun?hookResults->fun?nextToken->fun()->{listHookResultsResult={targetType;targetId;hookResults;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"HookResultNotFoundException"->`HookResultNotFoundException(HookResultNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"HookResultNotFoundException"->`HookResultNotFoundException(HookResultNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`HookResultNotFoundExceptione->`Assoc[("error",(`String"HookResultNotFoundException"));("details",(HookResultNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listHookResultsResultinstructure_to_wrapped_value[("TargetType",(Option.mapx.targetType~f:ListHookResultsTargetType.to_value));("TargetId",(Option.mapx.targetId~f:HookResultId.to_value));("HookResults",(Option.mapx.hookResults~f:HookResultSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListHookResultsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListHookResultsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlethookResults=(Option.map~f:HookResultSummaries.of_xml)(Xml.childxml_arg0"HookResults")inlettargetId=(Option.map~f:HookResultId.of_xml)(Xml.childxml_arg0"TargetId")inlettargetType=(Option.map~f:ListHookResultsTargetType.of_xml)(Xml.childxml_arg0"TargetType")inmake?nextToken?hookResults?targetId?targetType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlethookResults=field_mapjson__"HookResults"HookResultSummaries.of_jsoninlettargetId=field_mapjson__"TargetId"HookResultId.of_jsoninlettargetType=field_mapjson__"TargetType"ListHookResultsTargetType.of_jsoninmake?nextToken?hookResults?targetId?targetType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summaries of invoked Hooks. For more information, see View invocation summaries for CloudFormation Hooks in the CloudFormation Hooks User Guide. This operation supports the following parameter combinations: No parameters: Returns all Hook invocation summaries. TypeArn only: Returns summaries for a specific Hook. TypeArn and Status: Returns summaries for a specific Hook filtered by status. TargetId and TargetType: Returns summaries for a specific Hook invocation target."]moduleListHookResultsInput=structtypenonrect={targetType:ListHookResultsTargetType.toption[@ocaml.doc"Filters results by target type. Currently, only CHANGE_SET and CLOUD_CONTROL are supported filter options. Required when TargetId is specified and cannot be used otherwise."];targetId:HookResultId.toption[@ocaml.doc"Filters results by the unique identifier of the target the Hook was invoked against. For change sets, this is the change set ARN. When the target is a Cloud Control API operation, this value must be the HookRequestToken returned by the Cloud Control API request. For more information on the HookRequestToken, see ProgressEvent. Required when TargetType is specified and cannot be used otherwise."];typeArn:HookTypeArn.toption[@ocaml.doc"Filters results by the ARN of the Hook. Can be used alone or in combination with Status."];status:HookStatus.toption[@ocaml.doc"Filters results by the status of Hook invocations. Can only be used in combination with TypeArn. Valid values are: HOOK_IN_PROGRESS: The Hook is currently running. HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully. HOOK_COMPLETE_FAILED: The Hook completed but failed validation. HOOK_FAILED: The Hook encountered an error during execution."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letmake?targetType=fun?targetId->fun?typeArn->fun?status->fun?nextToken->fun()->{targetType;targetId;typeArn;status;nextToken}letto_valuex=structure_to_value[("TargetType",(Option.mapx.targetType~f:ListHookResultsTargetType.to_value));("TargetId",(Option.mapx.targetId~f:HookResultId.to_value));("TypeArn",(Option.mapx.typeArn~f:HookTypeArn.to_value));("Status",(Option.mapx.status~f:HookStatus.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")inletstatus=(Option.map~f:HookStatus.of_xml)(Xml.childxml_arg0"Status")inlettypeArn=(Option.map~f:HookTypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inlettargetId=(Option.map~f:HookResultId.of_xml)(Xml.childxml_arg0"TargetId")inlettargetType=(Option.map~f:ListHookResultsTargetType.of_xml)(Xml.childxml_arg0"TargetType")inmake?nextToken?status?typeArn?targetId?targetType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstatus=field_mapjson__"Status"HookStatus.of_jsoninlettypeArn=field_mapjson__"TypeArn"HookTypeArn.of_jsoninlettargetId=field_mapjson__"TargetId"HookResultId.of_jsoninlettargetType=field_mapjson__"TargetType"ListHookResultsTargetType.of_jsoninmake?nextToken?status?typeArn?targetId?targetType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns summaries of invoked Hooks. For more information, see View invocation summaries for CloudFormation Hooks in the CloudFormation Hooks User Guide. This operation supports the following parameter combinations: No parameters: Returns all Hook invocation summaries. TypeArn only: Returns summaries for a specific Hook. TypeArn and Status: Returns summaries for a specific Hook filtered by status. TargetId and TargetType: Returns summaries for a specific Hook invocation target."]moduleListGeneratedTemplatesOutput=structtypelistGeneratedTemplatesResult={summaries:TemplateSummaries.toption[@ocaml.doc"A list of summaries of the generated templates."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListGeneratedTemplates again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string."]}andresponseMetaData=unitandt={listGeneratedTemplatesResult:listGeneratedTemplatesResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListGeneratedTemplatesOutput"letmake?summaries=fun?nextToken->fun()->{listGeneratedTemplatesResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listGeneratedTemplatesResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:TemplateSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListGeneratedTemplatesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListGeneratedTemplatesResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:TemplateSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"TemplateSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists your generated templates in this Region."]moduleListGeneratedTemplatesInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:MaxResults.toption[@ocaml.doc"If the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results. By default the ListGeneratedTemplates API action will return at most 50 results in each response. The maximum value is 100."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists your generated templates in this Region."]moduleListExportsOutput=structtypelistExportsResult={exports:Exports.toption[@ocaml.doc"The output for the ListExports action."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is no additional page, this value is null."]}andresponseMetaData=unitandt={listExportsResult:listExportsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListExportsOutput"letmake?exports=fun?nextToken->fun()->{listExportsResult={exports;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listExportsResultinstructure_to_wrapped_value[("Exports",(Option.mapx.exports~f:Exports.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListExportsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListExportsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletexports=(Option.map~f:Exports.of_xml)(Xml.childxml_arg0"Exports")inmake?nextToken?exports()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletexports=field_mapjson__"Exports"Exports.of_jsoninmake?nextToken?exports()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see Get exported outputs from a deployed CloudFormation stack."]moduleListExportsInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letmake?nextToken=fun()->{nextToken}letto_valuex=structure_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")inmake?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see Get exported outputs from a deployed CloudFormation stack."]moduleListChangeSetsOutput=structtypelistChangeSetsResult={summaries:ChangeSetSummaries.toption[@ocaml.doc"A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null."]}andresponseMetaData=unitandt={listChangeSetsResult:listChangeSetsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ListChangeSetsOutput"letmake?summaries=fun?nextToken->fun()->{listChangeSetsResult={summaries;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listChangeSetsResultinstructure_to_wrapped_value[("Summaries",(Option.mapx.summaries~f:ChangeSetSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"ListChangeSetsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListChangeSetsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsummaries=(Option.map~f:ChangeSetSummaries.of_xml)(Xml.childxml_arg0"Summaries")inmake?nextToken?summaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsummaries=field_mapjson__"Summaries"ChangeSetSummaries.of_jsoninmake?nextToken?summaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for the ListChangeSets action."]moduleListChangeSetsInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letcontext_="ListChangeSetsInput"letmake?nextToken=fun~stackName->fun()->{nextToken;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("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")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?nextToken~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake?nextToken~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the ListChangeSets action."]moduleImportStacksToStackSetOutput=structtypeimportStacksToStackSetResult={operationId:ClientRequestToken.toption[@ocaml.doc"The unique identifier for the StackSet operation."]}andresponseMetaData=unitandt={importStacksToStackSetResult:importStacksToStackSetResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`LimitExceededExceptionofLimitExceededException.t|`OperationIdAlreadyExistsExceptionofOperationIdAlreadyExistsException.t|`OperationInProgressExceptionofOperationInProgressException.t|`StackNotFoundExceptionofStackNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`StaleRequestExceptionofStaleRequestException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ImportStacksToStackSetOutput"letmake?operationId=fun()->{importStacksToStackSetResult={operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_jsonjson)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_jsonjson)|"StackNotFoundException"->`StackNotFoundException(StackNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_xmlxml)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_xmlxml)|"StackNotFoundException"->`StackNotFoundException(StackNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`OperationIdAlreadyExistsExceptione->`Assoc[("error",(`String"OperationIdAlreadyExistsException"));("details",(OperationIdAlreadyExistsException.to_jsone))]|`OperationInProgressExceptione->`Assoc[("error",(`String"OperationInProgressException"));("details",(OperationInProgressException.to_jsone))]|`StackNotFoundExceptione->`Assoc[("error",(`String"StackNotFoundException"));("details",(StackNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`StaleRequestExceptione->`Assoc[("error",(`String"StaleRequestException"));("details",(StaleRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.importStacksToStackSetResultinstructure_to_wrapped_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value))]~wrapper:"ImportStacksToStackSetResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ImportStacksToStackSetResult"inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Import existing stacks into a new StackSets. Use the stack import operation to import up to 10 stacks into a new StackSet in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import."]moduleImportStacksToStackSetInput=structtypenonrect={stackSetName:StackSetNameOrId.t[@ocaml.doc"The name of the StackSet. The name must be unique in the Region where you create your StackSet."];stackIds:StackIdList.toption[@ocaml.doc"The IDs of the stacks you are importing into a StackSet. You import up to 10 stacks per StackSet at a time. Specify either StackIds or StackIdsUrl."];stackIdsUrl:StackIdsUrl.toption[@ocaml.doc"The Amazon S3 URL which contains list of stack ids to be inputted. Specify either StackIds or StackIdsUrl."];organizationalUnitIds:OrganizationalUnitIdList.toption[@ocaml.doc"The list of OU ID's to which the imported stacks must be mapped as deployment targets."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"The user-specified preferences for how CloudFormation performs a StackSet operation. For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options."];operationId:ClientRequestToken.toption[@ocaml.doc"A unique, user defined, identifier for the StackSet operation."];callAs:CallAs.toption[@ocaml.doc"By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. For service managed StackSets, specify DELEGATED_ADMIN."]}letcontext_="ImportStacksToStackSetInput"letmake?stackIds=fun?stackIdsUrl->fun?organizationalUnitIds->fun?operationPreferences->fun?operationId->fun?callAs->fun~stackSetName->fun()->{stackIds;stackIdsUrl;organizationalUnitIds;operationPreferences;operationId;callAs;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetNameOrId.to_valuex.stackSetName)));("StackIds",(Option.mapx.stackIds~f:StackIdList.to_value));("StackIdsUrl",(Option.mapx.stackIdsUrl~f:StackIdsUrl.to_value));("OrganizationalUnitIds",(Option.mapx.organizationalUnitIds~f:OrganizationalUnitIdList.to_value));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value));("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inletoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inletorganizationalUnitIds=(Option.map~f:OrganizationalUnitIdList.of_xml)(Xml.childxml_arg0"OrganizationalUnitIds")inletstackIdsUrl=(Option.map~f:StackIdsUrl.of_xml)(Xml.childxml_arg0"StackIdsUrl")inletstackIds=(Option.map~f:StackIdList.of_xml)(Xml.childxml_arg0"StackIds")inletstackSetName=StackSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?operationId?operationPreferences?organizationalUnitIds?stackIdsUrl?stackIds~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninletoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninletorganizationalUnitIds=field_mapjson__"OrganizationalUnitIds"OrganizationalUnitIdList.of_jsoninletstackIdsUrl=field_mapjson__"StackIdsUrl"StackIdsUrl.of_jsoninletstackIds=field_mapjson__"StackIds"StackIdList.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetNameOrId.of_jsoninmake?callAs?operationId?operationPreferences?organizationalUnitIds?stackIdsUrl?stackIds~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Import existing stacks into a new StackSets. Use the stack import operation to import up to 10 stacks into a new StackSet in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import."]moduleGetTemplateSummaryOutput=structtypegetTemplateSummaryResult={parameters:ParameterDeclarations.toption[@ocaml.doc"A list of parameter declarations that describe various properties for each parameter."];description:Description.toption[@ocaml.doc"The value that's defined in the Description property of the template."];capabilities:Capabilities.toption[@ocaml.doc"The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see Acknowledging IAM resources in CloudFormation templates."];capabilitiesReason:CapabilitiesReason.toption[@ocaml.doc"The list of resources that generated the values in the Capabilities response element."];resourceTypes:ResourceTypes.toption[@ocaml.doc"A list of all the template resource types that are defined in the template, such as AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance."];version:Version.toption[@ocaml.doc"The Amazon Web Services template format version, which identifies the capabilities of the template."];metadata:Metadata.toption[@ocaml.doc"The value that's defined for the Metadata property of the template."];declaredTransforms:TransformsList.toption[@ocaml.doc"A list of the transforms that are declared in the template."];resourceIdentifierSummaries:ResourceIdentifierSummaries.toption[@ocaml.doc"A list of resource identifier summaries that describe the target resources of an import operation and the properties you can provide during the import to identify the target resources. For example, BucketName is a possible identifier property for an AWS::S3::Bucket resource."];warnings:Warnings.toption[@ocaml.doc"An object that contains any warnings returned."]}andresponseMetaData=unitandt={getTemplateSummaryResult:getTemplateSummaryResult;responseMetaData:responseMetaData}typeerror=[`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="GetTemplateSummaryOutput"letmake?parameters=fun?description->fun?capabilities->fun?capabilitiesReason->fun?resourceTypes->fun?version->fun?metadata->fun?declaredTransforms->fun?resourceIdentifierSummaries->fun?warnings->fun()->{getTemplateSummaryResult={parameters;description;capabilities;capabilitiesReason;resourceTypes;version;metadata;declaredTransforms;resourceIdentifierSummaries;warnings};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.getTemplateSummaryResultinstructure_to_wrapped_value[("Parameters",(Option.mapx.parameters~f:ParameterDeclarations.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("CapabilitiesReason",(Option.mapx.capabilitiesReason~f:CapabilitiesReason.to_value));("ResourceTypes",(Option.mapx.resourceTypes~f:ResourceTypes.to_value));("Version",(Option.mapx.version~f:Version.to_value));("Metadata",(Option.mapx.metadata~f:Metadata.to_value));("DeclaredTransforms",(Option.mapx.declaredTransforms~f:TransformsList.to_value));("ResourceIdentifierSummaries",(Option.mapx.resourceIdentifierSummaries~f:ResourceIdentifierSummaries.to_value));("Warnings",(Option.mapx.warnings~f:Warnings.to_value))]~wrapper:"GetTemplateSummaryResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"GetTemplateSummaryResult"inletwarnings=(Option.map~f:Warnings.of_xml)(Xml.childxml_arg0"Warnings")inletresourceIdentifierSummaries=(Option.map~f:ResourceIdentifierSummaries.of_xml)(Xml.childxml_arg0"ResourceIdentifierSummaries")inletdeclaredTransforms=(Option.map~f:TransformsList.of_xml)(Xml.childxml_arg0"DeclaredTransforms")inletmetadata=(Option.map~f:Metadata.of_xml)(Xml.childxml_arg0"Metadata")inletversion=(Option.map~f:Version.of_xml)(Xml.childxml_arg0"Version")inletresourceTypes=(Option.map~f:ResourceTypes.of_xml)(Xml.childxml_arg0"ResourceTypes")inletcapabilitiesReason=(Option.map~f:CapabilitiesReason.of_xml)(Xml.childxml_arg0"CapabilitiesReason")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletparameters=(Option.map~f:ParameterDeclarations.of_xml)(Xml.childxml_arg0"Parameters")inmake?warnings?resourceIdentifierSummaries?declaredTransforms?metadata?version?resourceTypes?capabilitiesReason?capabilities?description?parameters()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwarnings=field_mapjson__"Warnings"Warnings.of_jsoninletresourceIdentifierSummaries=field_mapjson__"ResourceIdentifierSummaries"ResourceIdentifierSummaries.of_jsoninletdeclaredTransforms=field_mapjson__"DeclaredTransforms"TransformsList.of_jsoninletmetadata=field_mapjson__"Metadata"Metadata.of_jsoninletversion=field_mapjson__"Version"Version.of_jsoninletresourceTypes=field_mapjson__"ResourceTypes"ResourceTypes.of_jsoninletcapabilitiesReason=field_mapjson__"CapabilitiesReason"CapabilitiesReason.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletparameters=field_mapjson__"Parameters"ParameterDeclarations.of_jsoninmake?warnings?resourceIdentifierSummaries?declaredTransforms?metadata?version?resourceTypes?capabilitiesReason?capabilities?description?parameters()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for the GetTemplateSummary action."]moduleGetTemplateSummaryInput=structtypenonrect={templateBody:TemplateBody.toption[@ocaml.doc"Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of a file that contains the template body. The URL must point to a template (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."];stackName:StackNameOrId.toption[@ocaml.doc"The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."];stackSetName:StackSetNameOrId.toption[@ocaml.doc"The name or unique ID of the StackSet from which the stack was created. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."];templateSummaryConfig:TemplateSummaryConfig.toption[@ocaml.doc"Specifies options for the GetTemplateSummary API action."]}letmake?templateBody=fun?templateURL->fun?stackName->fun?stackSetName->fun?callAs->fun?templateSummaryConfig->fun()->{templateBody;templateURL;stackName;stackSetName;callAs;templateSummaryConfig}letto_valuex=structure_to_value[("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value));("StackName",(Option.mapx.stackName~f:StackNameOrId.to_value));("StackSetName",(Option.mapx.stackSetName~f:StackSetNameOrId.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value));("TemplateSummaryConfig",(Option.mapx.templateSummaryConfig~f:TemplateSummaryConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateSummaryConfig=(Option.map~f:TemplateSummaryConfig.of_xml)(Xml.childxml_arg0"TemplateSummaryConfig")inletcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletstackSetName=(Option.map~f:StackSetNameOrId.of_xml)(Xml.childxml_arg0"StackSetName")inletstackName=(Option.map~f:StackNameOrId.of_xml)(Xml.childxml_arg0"StackName")inlettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inmake?templateSummaryConfig?callAs?stackSetName?stackName?templateURL?templateBody()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateSummaryConfig=field_mapjson__"TemplateSummaryConfig"TemplateSummaryConfig.of_jsoninletcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletstackSetName=field_mapjson__"StackSetName"StackSetNameOrId.of_jsoninletstackName=field_mapjson__"StackName"StackNameOrId.of_jsoninlettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninmake?templateSummaryConfig?callAs?stackSetName?stackName?templateURL?templateBody()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the GetTemplateSummary action."]moduleGetTemplateOutput=structtypegetTemplateResult={templateBody:TemplateBody.toption[@ocaml.doc"Structure that contains the template body. CloudFormation returns the same template that was used when the stack was created."];stagesAvailable:StageList.toption[@ocaml.doc"The stage of the template that you can retrieve. For stacks, the Original and Processed templates are always available. For change sets, the Original template is always available. After CloudFormation finishes creating the change set, the Processed template becomes available."]}andresponseMetaData=unitandt={getTemplateResult:getTemplateResult;responseMetaData:responseMetaData}typeerror=[`ChangeSetNotFoundExceptionofChangeSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="GetTemplateOutput"letmake?templateBody=fun?stagesAvailable->fun()->{getTemplateResult={templateBody;stagesAvailable};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ChangeSetNotFoundExceptione->`Assoc[("error",(`String"ChangeSetNotFoundException"));("details",(ChangeSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.getTemplateResultinstructure_to_wrapped_value[("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("StagesAvailable",(Option.mapx.stagesAvailable~f:StageList.to_value))]~wrapper:"GetTemplateResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"GetTemplateResult"inletstagesAvailable=(Option.map~f:StageList.of_xml)(Xml.childxml_arg0"StagesAvailable")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inmake?stagesAvailable?templateBody()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstagesAvailable=field_mapjson__"StagesAvailable"StageList.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninmake?stagesAvailable?templateBody()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for GetTemplate action."]moduleGetTemplateInput=structtypenonrect={stackName:StackName.toption[@ocaml.doc"The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID."];changeSetName:ChangeSetNameOrId.toption[@ocaml.doc"The name or Amazon Resource Name (ARN) of a change set for which CloudFormation returns the associated template. If you specify a name, you must also specify the StackName."];templateStage:TemplateStage.toption[@ocaml.doc"For templates that include transforms, the stage of the template that CloudFormation returns. To get the user-submitted template, specify Original. To get the template after CloudFormation has processed all transforms, specify Processed. If the template doesn't include transforms, Original and Processed return the same template. By default, CloudFormation specifies Processed."]}letmake?stackName=fun?changeSetName->fun?templateStage->fun()->{stackName;changeSetName;templateStage}letto_valuex=structure_to_value[("StackName",(Option.mapx.stackName~f:StackName.to_value));("ChangeSetName",(Option.mapx.changeSetName~f:ChangeSetNameOrId.to_value));("TemplateStage",(Option.mapx.templateStage~f:TemplateStage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateStage=(Option.map~f:TemplateStage.of_xml)(Xml.childxml_arg0"TemplateStage")inletchangeSetName=(Option.map~f:ChangeSetNameOrId.of_xml)(Xml.childxml_arg0"ChangeSetName")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inmake?templateStage?changeSetName?stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateStage=field_mapjson__"TemplateStage"TemplateStage.of_jsoninletchangeSetName=field_mapjson__"ChangeSetName"ChangeSetNameOrId.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninmake?templateStage?changeSetName?stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for a GetTemplate action."]moduleGetStackPolicyOutput=structtypegetStackPolicyResult={stackPolicyBody:StackPolicyBody.toption[@ocaml.doc"Structure that contains the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide."]}andresponseMetaData=unitandt={getStackPolicyResult:getStackPolicyResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="GetStackPolicyOutput"letmake?stackPolicyBody=fun()->{getStackPolicyResult={stackPolicyBody};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.getStackPolicyResultinstructure_to_wrapped_value[("StackPolicyBody",(Option.mapx.stackPolicyBody~f:StackPolicyBody.to_value))]~wrapper:"GetStackPolicyResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"GetStackPolicyResult"inletstackPolicyBody=(Option.map~f:StackPolicyBody.of_xml)(Xml.childxml_arg0"StackPolicyBody")inmake?stackPolicyBody()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackPolicyBody=field_mapjson__"StackPolicyBody"StackPolicyBody.of_jsoninmake?stackPolicyBody()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for the GetStackPolicy action."]moduleGetStackPolicyInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name or unique stack ID that's associated with the stack whose policy you want to get."]}letcontext_="GetStackPolicyInput"letmake~stackName=fun()->{stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the GetStackPolicy action."]moduleGetHookResultOutput=structtypegetHookResultResult={hookResultId:HookInvocationId.toption[@ocaml.doc"The unique identifier of the Hook result."];invocationPoint:HookInvocationPoint.toption[@ocaml.doc"The specific point in the provisioning process where the Hook is invoked."];failureMode:HookFailureMode.toption[@ocaml.doc"The failure mode of the invocation."];typeName:HookTypeName.toption[@ocaml.doc"The name of the Hook that was invoked."];originalTypeName:HookTypeName.toption[@ocaml.doc"The original public type name of the Hook when an alias is used. For example, if you activate AWS::Hooks::GuardHook with alias MyCompany::Custom::GuardHook, then TypeName will be MyCompany::Custom::GuardHook and OriginalTypeName will be AWS::Hooks::GuardHook."];typeVersionId:HookTypeVersionId.toption[@ocaml.doc"The version identifier of the Hook that was invoked."];typeConfigurationVersionId:HookTypeConfigurationVersionId.toption[@ocaml.doc"The version identifier of the Hook configuration data that was used during invocation."];typeArn:HookTypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Hook."];status:HookStatus.toption[@ocaml.doc"The status of the Hook invocation. The following statuses are possible: HOOK_IN_PROGRESS: The Hook is currently running. HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully. HOOK_COMPLETE_FAILED: The Hook completed but failed validation. HOOK_FAILED: The Hook encountered an error during execution."];hookStatusReason:HookStatusReason.toption[@ocaml.doc"A message that provides additional details about the Hook invocation status."];invokedAt:Timestamp.toption[@ocaml.doc"The timestamp when the Hook was invoked."];target:HookTarget.toption[@ocaml.doc"Information about the target of the Hook invocation."];annotations:AnnotationList.toption[@ocaml.doc"A list of objects with additional information and guidance that can help you resolve a failed Hook invocation."]}andresponseMetaData=unitandt={getHookResultResult:getHookResultResult;responseMetaData:responseMetaData}typeerror=[`HookResultNotFoundExceptionofHookResultNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="GetHookResultOutput"letmake?hookResultId=fun?invocationPoint->fun?failureMode->fun?typeName->fun?originalTypeName->fun?typeVersionId->fun?typeConfigurationVersionId->fun?typeArn->fun?status->fun?hookStatusReason->fun?invokedAt->fun?target->fun?annotations->fun()->{getHookResultResult={hookResultId;invocationPoint;failureMode;typeName;originalTypeName;typeVersionId;typeConfigurationVersionId;typeArn;status;hookStatusReason;invokedAt;target;annotations};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"HookResultNotFoundException"->`HookResultNotFoundException(HookResultNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"HookResultNotFoundException"->`HookResultNotFoundException(HookResultNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`HookResultNotFoundExceptione->`Assoc[("error",(`String"HookResultNotFoundException"));("details",(HookResultNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.getHookResultResultinstructure_to_wrapped_value[("HookResultId",(Option.mapx.hookResultId~f:HookInvocationId.to_value));("InvocationPoint",(Option.mapx.invocationPoint~f:HookInvocationPoint.to_value));("FailureMode",(Option.mapx.failureMode~f:HookFailureMode.to_value));("TypeName",(Option.mapx.typeName~f:HookTypeName.to_value));("OriginalTypeName",(Option.mapx.originalTypeName~f:HookTypeName.to_value));("TypeVersionId",(Option.mapx.typeVersionId~f:HookTypeVersionId.to_value));("TypeConfigurationVersionId",(Option.mapx.typeConfigurationVersionId~f:HookTypeConfigurationVersionId.to_value));("TypeArn",(Option.mapx.typeArn~f:HookTypeArn.to_value));("Status",(Option.mapx.status~f:HookStatus.to_value));("HookStatusReason",(Option.mapx.hookStatusReason~f:HookStatusReason.to_value));("InvokedAt",(Option.mapx.invokedAt~f:Timestamp.to_value));("Target",(Option.mapx.target~f:HookTarget.to_value));("Annotations",(Option.mapx.annotations~f:AnnotationList.to_value))]~wrapper:"GetHookResultResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"GetHookResultResult"inletannotations=(Option.map~f:AnnotationList.of_xml)(Xml.childxml_arg0"Annotations")inlettarget=(Option.map~f:HookTarget.of_xml)(Xml.childxml_arg0"Target")inletinvokedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"InvokedAt")inlethookStatusReason=(Option.map~f:HookStatusReason.of_xml)(Xml.childxml_arg0"HookStatusReason")inletstatus=(Option.map~f:HookStatus.of_xml)(Xml.childxml_arg0"Status")inlettypeArn=(Option.map~f:HookTypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inlettypeConfigurationVersionId=(Option.map~f:HookTypeConfigurationVersionId.of_xml)(Xml.childxml_arg0"TypeConfigurationVersionId")inlettypeVersionId=(Option.map~f:HookTypeVersionId.of_xml)(Xml.childxml_arg0"TypeVersionId")inletoriginalTypeName=(Option.map~f:HookTypeName.of_xml)(Xml.childxml_arg0"OriginalTypeName")inlettypeName=(Option.map~f:HookTypeName.of_xml)(Xml.childxml_arg0"TypeName")inletfailureMode=(Option.map~f:HookFailureMode.of_xml)(Xml.childxml_arg0"FailureMode")inletinvocationPoint=(Option.map~f:HookInvocationPoint.of_xml)(Xml.childxml_arg0"InvocationPoint")inlethookResultId=(Option.map~f:HookInvocationId.of_xml)(Xml.childxml_arg0"HookResultId")inmake?annotations?target?invokedAt?hookStatusReason?status?typeArn?typeConfigurationVersionId?typeVersionId?originalTypeName?typeName?failureMode?invocationPoint?hookResultId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letannotations=field_mapjson__"Annotations"AnnotationList.of_jsoninlettarget=field_mapjson__"Target"HookTarget.of_jsoninletinvokedAt=field_mapjson__"InvokedAt"Timestamp.of_jsoninlethookStatusReason=field_mapjson__"HookStatusReason"HookStatusReason.of_jsoninletstatus=field_mapjson__"Status"HookStatus.of_jsoninlettypeArn=field_mapjson__"TypeArn"HookTypeArn.of_jsoninlettypeConfigurationVersionId=field_mapjson__"TypeConfigurationVersionId"HookTypeConfigurationVersionId.of_jsoninlettypeVersionId=field_mapjson__"TypeVersionId"HookTypeVersionId.of_jsoninletoriginalTypeName=field_mapjson__"OriginalTypeName"HookTypeName.of_jsoninlettypeName=field_mapjson__"TypeName"HookTypeName.of_jsoninletfailureMode=field_mapjson__"FailureMode"HookFailureMode.of_jsoninletinvocationPoint=field_mapjson__"InvocationPoint"HookInvocationPoint.of_jsoninlethookResultId=field_mapjson__"HookResultId"HookInvocationId.of_jsoninmake?annotations?target?invokedAt?hookStatusReason?status?typeArn?typeConfigurationVersionId?typeVersionId?originalTypeName?typeName?failureMode?invocationPoint?hookResultId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information and remediation guidance for a Hook invocation result. If the Hook uses a KMS key to encrypt annotations, callers of the GetHookResult operation must have kms:Decrypt permissions. For more information, see KMS key policy and permissions for encrypting CloudFormation Hooks results at rest in the CloudFormation Hooks User Guide."]moduleGetHookResultInput=structtypenonrect={hookResultId:HookInvocationId.toption[@ocaml.doc"The unique identifier (ID) of the Hook invocation result that you want details about. You can get the ID from the ListHookResults operation."]}letmake?hookResultId=fun()->{hookResultId}letto_valuex=structure_to_value[("HookResultId",(Option.mapx.hookResultId~f:HookInvocationId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethookResultId=(Option.map~f:HookInvocationId.of_xml)(Xml.childxml_arg0"HookResultId")inmake?hookResultId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethookResultId=field_mapjson__"HookResultId"HookInvocationId.of_jsoninmake?hookResultId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information and remediation guidance for a Hook invocation result. If the Hook uses a KMS key to encrypt annotations, callers of the GetHookResult operation must have kms:Decrypt permissions. For more information, see KMS key policy and permissions for encrypting CloudFormation Hooks results at rest in the CloudFormation Hooks User Guide."]moduleGetGeneratedTemplateOutput=structtypegetGeneratedTemplateResult={status:GeneratedTemplateStatus.toption[@ocaml.doc"The status of the template generation. Supported values are: CreatePending - the creation of the template is pending. CreateInProgress - the creation of the template is in progress. DeletePending - the deletion of the template is pending. DeleteInProgress - the deletion of the template is in progress. UpdatePending - the update of the template is pending. UpdateInProgress - the update of the template is in progress. Failed - the template operation failed. Complete - the template operation is complete."];templateBody:TemplateBody.toption[@ocaml.doc"The template body of the generated template, in the language specified by the Language parameter."]}andresponseMetaData=unitandt={getGeneratedTemplateResult:getGeneratedTemplateResult;responseMetaData:responseMetaData}typeerror=[`GeneratedTemplateNotFoundExceptionofGeneratedTemplateNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="GetGeneratedTemplateOutput"letmake?status=fun?templateBody->fun()->{getGeneratedTemplateResult={status;templateBody};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"GeneratedTemplateNotFoundException"->`GeneratedTemplateNotFoundException(GeneratedTemplateNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"GeneratedTemplateNotFoundException"->`GeneratedTemplateNotFoundException(GeneratedTemplateNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`GeneratedTemplateNotFoundExceptione->`Assoc[("error",(`String"GeneratedTemplateNotFoundException"));("details",(GeneratedTemplateNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.getGeneratedTemplateResultinstructure_to_wrapped_value[("Status",(Option.mapx.status~f:GeneratedTemplateStatus.to_value));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value))]~wrapper:"GetGeneratedTemplateResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"GetGeneratedTemplateResult"inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletstatus=(Option.map~f:GeneratedTemplateStatus.of_xml)(Xml.childxml_arg0"Status")inmake?templateBody?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletstatus=field_mapjson__"Status"GeneratedTemplateStatus.of_jsoninmake?templateBody?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a generated template. If the template is in an InProgress or Pending status then the template returned will be the template when the template was last in a Complete status. If the template has not yet been in a Complete status then an empty template will be returned."]moduleGetGeneratedTemplateInput=structtypenonrect={format:TemplateFormat.toption[@ocaml.doc"The language to use to retrieve for the generated template. Supported values are: JSON YAML"];generatedTemplateName:GeneratedTemplateName.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of the generated template. The format is arn:$\\{Partition\\}:cloudformation:$\\{Region\\}:$\\{Account\\}:generatedtemplate/$\\{Id\\}. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc ."]}letcontext_="GetGeneratedTemplateInput"letmake?format=fun~generatedTemplateName->fun()->{format;generatedTemplateName}letto_valuex=structure_to_value[("Format",(Option.mapx.format~f:TemplateFormat.to_value));("GeneratedTemplateName",(Some(GeneratedTemplateName.to_valuex.generatedTemplateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgeneratedTemplateName=GeneratedTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"GeneratedTemplateName")inletformat=(Option.map~f:TemplateFormat.of_xml)(Xml.childxml_arg0"Format_")inmake~generatedTemplateName?format()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeneratedTemplateName=field_map_exnjson__"GeneratedTemplateName"GeneratedTemplateName.of_jsoninletformat=field_mapjson__"Format"TemplateFormat.of_jsoninmake~generatedTemplateName?format()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a generated template. If the template is in an InProgress or Pending status then the template returned will be the template when the template was last in a Complete status. If the template has not yet been in a Complete status then an empty template will be returned."]moduleExecuteStackRefactorInput=structtypenonrect={stackRefactorId:StackRefactorId.t[@ocaml.doc"The ID associated with the stack refactor created from the CreateStackRefactor action."]}letcontext_="ExecuteStackRefactorInput"letmake~stackRefactorId=fun()->{stackRefactorId}letto_valuex=structure_to_value[("StackRefactorId",(Some(StackRefactorId.to_valuex.stackRefactorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackRefactorId=StackRefactorId.of_xml(Xml.child_exn~context:context_xml_arg0"StackRefactorId")inmake~stackRefactorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackRefactorId=field_map_exnjson__"StackRefactorId"StackRefactorId.of_jsoninmake~stackRefactorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Executes the stack refactor operation."]moduleExecuteChangeSetOutput=structtypeexecuteChangeSetResult=unitandresponseMetaData=unitandt={executeChangeSetResult:executeChangeSetResult;responseMetaData:responseMetaData}typeerror=[`ChangeSetNotFoundExceptionofChangeSetNotFoundException.t|`InsufficientCapabilitiesExceptionofInsufficientCapabilitiesException.t|`InvalidChangeSetStatusExceptionofInvalidChangeSetStatusException.t|`TokenAlreadyExistsExceptionofTokenAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={executeChangeSetResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_jsonjson)|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_jsonjson)|"InvalidChangeSetStatusException"->`InvalidChangeSetStatusException(InvalidChangeSetStatusException.of_jsonjson)|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_xmlxml)|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_xmlxml)|"InvalidChangeSetStatusException"->`InvalidChangeSetStatusException(InvalidChangeSetStatusException.of_xmlxml)|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ChangeSetNotFoundExceptione->`Assoc[("error",(`String"ChangeSetNotFoundException"));("details",(ChangeSetNotFoundException.to_jsone))]|`InsufficientCapabilitiesExceptione->`Assoc[("error",(`String"InsufficientCapabilitiesException"));("details",(InsufficientCapabilitiesException.to_jsone))]|`InvalidChangeSetStatusExceptione->`Assoc[("error",(`String"InvalidChangeSetStatusException"));("details",(InvalidChangeSetStatusException.to_jsone))]|`TokenAlreadyExistsExceptione->`Assoc[("error",(`String"TokenAlreadyExistsException"));("details",(TokenAlreadyExistsException.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"The output for the ExecuteChangeSet action."]moduleExecuteChangeSetInput=structtypenonrect={changeSetName:ChangeSetNameOrId.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack."];stackName:StackNameOrId.toption[@ocaml.doc"If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet requests to ensure that CloudFormation successfully received them."];disableRollback:DisableRollback.toption[@ocaml.doc"Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure parameter to the CreateChangeSet API operation was specified. True - if the stack creation fails, do nothing. This is equivalent to specifying DO_NOTHING for the OnStackFailure parameter to the CreateChangeSet API operation. False - if the stack creation fails, roll back the stack. This is equivalent to specifying ROLLBACK for the OnStackFailure parameter to the CreateChangeSet API operation. Default: True"];retainExceptOnCreate:RetainExceptOnCreate.toption[@ocaml.doc"When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false"]}letcontext_="ExecuteChangeSetInput"letmake?stackName=fun?clientRequestToken->fun?disableRollback->fun?retainExceptOnCreate->fun~changeSetName->fun()->{stackName;clientRequestToken;disableRollback;retainExceptOnCreate;changeSetName}letto_valuex=structure_to_value[("ChangeSetName",(Some(ChangeSetNameOrId.to_valuex.changeSetName)));("StackName",(Option.mapx.stackName~f:StackNameOrId.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("DisableRollback",(Option.mapx.disableRollback~f:DisableRollback.to_value));("RetainExceptOnCreate",(Option.mapx.retainExceptOnCreate~f:RetainExceptOnCreate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretainExceptOnCreate=(Option.map~f:RetainExceptOnCreate.of_xml)(Xml.childxml_arg0"RetainExceptOnCreate")inletdisableRollback=(Option.map~f:DisableRollback.of_xml)(Xml.childxml_arg0"DisableRollback")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletstackName=(Option.map~f:StackNameOrId.of_xml)(Xml.childxml_arg0"StackName")inletchangeSetName=ChangeSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"ChangeSetName")inmake?retainExceptOnCreate?disableRollback?clientRequestToken?stackName~changeSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretainExceptOnCreate=field_mapjson__"RetainExceptOnCreate"RetainExceptOnCreate.of_jsoninletdisableRollback=field_mapjson__"DisableRollback"DisableRollback.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletstackName=field_mapjson__"StackName"StackNameOrId.of_jsoninletchangeSetName=field_map_exnjson__"ChangeSetName"ChangeSetNameOrId.of_jsoninmake?retainExceptOnCreate?disableRollback?clientRequestToken?stackName~changeSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the ExecuteChangeSet action."]moduleEstimateTemplateCostOutput=structtypeestimateTemplateCostResult={url:Url.toption[@ocaml.doc"An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template."]}andresponseMetaData=unitandt={estimateTemplateCostResult:estimateTemplateCostResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="EstimateTemplateCostOutput"letmake?url=fun()->{estimateTemplateCostResult={url};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.estimateTemplateCostResultinstructure_to_wrapped_value[("Url",(Option.mapx.url~f:Url.to_value))]~wrapper:"EstimateTemplateCostResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"EstimateTemplateCostResult"inleturl=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"Url")inmake?url()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leturl=field_mapjson__"Url"Url.of_jsoninmake?url()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for a EstimateTemplateCost action."]moduleEstimateTemplateCostInput=structtypenonrect={templateBody:TemplateBody.toption[@ocaml.doc"Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of a file that contains the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used."];parameters:Parameters.toption[@ocaml.doc"A list of Parameter structures that specify input parameters."]}letmake?templateBody=fun?templateURL->fun?parameters->fun()->{templateBody;templateURL;parameters}letto_valuex=structure_to_value[("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inlettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inmake?parameters?templateURL?templateBody()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameters=field_mapjson__"Parameters"Parameters.of_jsoninlettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninmake?parameters?templateURL?templateBody()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for an EstimateTemplateCost action."]moduleDetectStackSetDriftOutput=structtypedetectStackSetDriftResult={operationId:ClientRequestToken.toption[@ocaml.doc"The ID of the drift detection StackSet operation. You can use this operation ID with DescribeStackSetOperation to monitor the progress of the drift detection operation."]}andresponseMetaData=unitandt={detectStackSetDriftResult:detectStackSetDriftResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationInProgressExceptionofOperationInProgressException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DetectStackSetDriftOutput"letmake?operationId=fun()->{detectStackSetDriftResult={operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationInProgressExceptione->`Assoc[("error",(`String"OperationInProgressException"));("details",(OperationInProgressException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.detectStackSetDriftResultinstructure_to_wrapped_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value))]~wrapper:"DetectStackSetDriftResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DetectStackSetDriftResult"inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detect drift on a StackSet. When CloudFormation performs drift detection on a StackSet, it performs drift detection on the stack associated with each stack instance in the StackSet. For more information, see Performing drift detection on CloudFormation StackSets. DetectStackSetDrift returns the OperationId of the StackSet drift detection operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation. The drift detection operation may take some time, depending on the number of stack instances included in the StackSet, in addition to the number of resources included in each stack. Once the operation has completed, use the following actions to return drift information: Use DescribeStackSet to return detailed information about the stack set, including detailed information about the last completed drift operation performed on the StackSet. (Information about drift operations that are in progress isn't included.) Use ListStackInstances to return a list of stack instances belonging to the StackSet, including the drift status and last drift time checked of each instance. Use DescribeStackInstance to return detailed information about a specific stack instance, including its drift status and last drift time checked. You can only run a single drift detection operation on a given StackSet at one time. To stop a drift detection StackSet operation, use StopStackSetOperation."]moduleDetectStackSetDriftInput=structtypenonrect={stackSetName:StackSetNameOrId.t[@ocaml.doc"The name of the StackSet on which to perform the drift detection operation."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"The user-specified preferences for how CloudFormation performs a StackSet operation. For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options."];operationId:ClientRequestToken.toption[@ocaml.doc"The ID of the StackSet operation."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="DetectStackSetDriftInput"letmake?operationPreferences=fun?operationId->fun?callAs->fun~stackSetName->fun()->{operationPreferences;operationId;callAs;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetNameOrId.to_valuex.stackSetName)));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value));("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inletoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inletstackSetName=StackSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?operationId?operationPreferences~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninletoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetNameOrId.of_jsoninmake?callAs?operationId?operationPreferences~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detect drift on a StackSet. When CloudFormation performs drift detection on a StackSet, it performs drift detection on the stack associated with each stack instance in the StackSet. For more information, see Performing drift detection on CloudFormation StackSets. DetectStackSetDrift returns the OperationId of the StackSet drift detection operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation. The drift detection operation may take some time, depending on the number of stack instances included in the StackSet, in addition to the number of resources included in each stack. Once the operation has completed, use the following actions to return drift information: Use DescribeStackSet to return detailed information about the stack set, including detailed information about the last completed drift operation performed on the StackSet. (Information about drift operations that are in progress isn't included.) Use ListStackInstances to return a list of stack instances belonging to the StackSet, including the drift status and last drift time checked of each instance. Use DescribeStackInstance to return detailed information about a specific stack instance, including its drift status and last drift time checked. You can only run a single drift detection operation on a given StackSet at one time. To stop a drift detection StackSet operation, use StopStackSetOperation."]moduleDetectStackResourceDriftOutput=structtypedetectStackResourceDriftResult={stackResourceDrift:StackResourceDrift.toption[@ocaml.doc"Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected."]}andresponseMetaData=unitandt={detectStackResourceDriftResult:detectStackResourceDriftResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DetectStackResourceDriftOutput"letmake?stackResourceDrift=fun()->{detectStackResourceDriftResult={stackResourceDrift};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.detectStackResourceDriftResultinstructure_to_wrapped_value[("StackResourceDrift",(Option.mapx.stackResourceDrift~f:StackResourceDrift.to_value))]~wrapper:"DetectStackResourceDriftResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DetectStackResourceDriftResult"inletstackResourceDrift=(Option.map~f:StackResourceDrift.of_xml)(Xml.childxml_arg0"StackResourceDrift")inmake?stackResourceDrift()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackResourceDrift=field_mapjson__"StackResourceDrift"StackResourceDrift.of_jsoninmake?stackResourceDrift()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about whether a resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detect unmanaged configuration changes to stacks and resources with drift detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection. Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resource type support for imports and drift detection."]moduleDetectStackResourceDriftInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The name of the stack to which the resource belongs."];logicalResourceId:LogicalResourceId.t[@ocaml.doc"The logical name of the resource for which to return drift information."]}letcontext_="DetectStackResourceDriftInput"letmake~stackName=fun~logicalResourceId->fun()->{stackName;logicalResourceId}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("LogicalResourceId",(Some(LogicalResourceId.to_valuex.logicalResourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogicalResourceId=LogicalResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"LogicalResourceId")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake~logicalResourceId~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogicalResourceId=field_map_exnjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake~logicalResourceId~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about whether a resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detect unmanaged configuration changes to stacks and resources with drift detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection. Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resource type support for imports and drift detection."]moduleDetectStackDriftOutput=structtypedetectStackDriftResult={stackDriftDetectionId:StackDriftDetectionId.toption[@ocaml.doc"The ID of the drift detection results of this operation. CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary."]}andresponseMetaData=unitandt={detectStackDriftResult:detectStackDriftResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DetectStackDriftOutput"letmake?stackDriftDetectionId=fun()->{detectStackDriftResult={stackDriftDetectionId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.detectStackDriftResultinstructure_to_wrapped_value[("StackDriftDetectionId",(Option.mapx.stackDriftDetectionId~f:StackDriftDetectionId.to_value))]~wrapper:"DetectStackDriftResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DetectStackDriftResult"inletstackDriftDetectionId=(Option.map~f:StackDriftDetectionId.of_xml)(Xml.childxml_arg0"StackDriftDetectionId")inmake?stackDriftDetectionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackDriftDetectionId=field_mapjson__"StackDriftDetectionId"StackDriftDetectionId.of_jsoninmake?stackDriftDetectionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection. Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources. For a list of stack resources that currently support drift detection, see Resource type support for imports and drift detection. DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources. When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself."]moduleDetectStackDriftInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The name of the stack for which you want to detect drift."];logicalResourceIds:LogicalResourceIds.toption[@ocaml.doc"The logical names of any resources you want to use as filters."]}letcontext_="DetectStackDriftInput"letmake?logicalResourceIds=fun~stackName->fun()->{logicalResourceIds;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("LogicalResourceIds",(Option.mapx.logicalResourceIds~f:LogicalResourceIds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogicalResourceIds=(Option.map~f:LogicalResourceIds.of_xml)(Xml.childxml_arg0"LogicalResourceIds")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?logicalResourceIds~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogicalResourceIds=field_mapjson__"LogicalResourceIds"LogicalResourceIds.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake?logicalResourceIds~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection. Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources. For a list of stack resources that currently support drift detection, see Resource type support for imports and drift detection. DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources. When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself."]moduleDescribeTypeRegistrationOutput=structtypedescribeTypeRegistrationResult={progressStatus:RegistrationStatus.toption[@ocaml.doc"The current status of the extension registration request."];description:Description.toption[@ocaml.doc"The description of the extension registration request."];typeArn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension being registered. For registration requests with a ProgressStatus of other than COMPLETE, this will be null."];typeVersionArn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of this specific version of the extension being registered. For registration requests with a ProgressStatus of other than COMPLETE, this will be null."]}andresponseMetaData=unitandt={describeTypeRegistrationResult:describeTypeRegistrationResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeTypeRegistrationOutput"letmake?progressStatus=fun?description->fun?typeArn->fun?typeVersionArn->fun()->{describeTypeRegistrationResult={progressStatus;description;typeArn;typeVersionArn};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeTypeRegistrationResultinstructure_to_wrapped_value[("ProgressStatus",(Option.mapx.progressStatus~f:RegistrationStatus.to_value));("Description",(Option.mapx.description~f:Description.to_value));("TypeArn",(Option.mapx.typeArn~f:TypeArn.to_value));("TypeVersionArn",(Option.mapx.typeVersionArn~f:TypeArn.to_value))]~wrapper:"DescribeTypeRegistrationResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeTypeRegistrationResult"inlettypeVersionArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeVersionArn")inlettypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"TypeArn")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletprogressStatus=(Option.map~f:RegistrationStatus.of_xml)(Xml.childxml_arg0"ProgressStatus")inmake?typeVersionArn?typeArn?description?progressStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeVersionArn=field_mapjson__"TypeVersionArn"TypeArn.of_jsoninlettypeArn=field_mapjson__"TypeArn"TypeArn.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletprogressStatus=field_mapjson__"ProgressStatus"RegistrationStatus.of_jsoninmake?typeVersionArn?typeArn?description?progressStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an extension's registration, including its current status and type and version identifiers. When you initiate a registration request using RegisterType, you can then use DescribeTypeRegistration to monitor the progress of that registration request. Once the registration request has completed, use DescribeType to return detailed information about an extension."]moduleDescribeTypeRegistrationInput=structtypenonrect={registrationToken:RegistrationToken.t[@ocaml.doc"The identifier for this registration request. This registration token is generated by CloudFormation when you initiate a registration request using RegisterType."]}letcontext_="DescribeTypeRegistrationInput"letmake~registrationToken=fun()->{registrationToken}letto_valuex=structure_to_value[("RegistrationToken",(Some(RegistrationToken.to_valuex.registrationToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregistrationToken=RegistrationToken.of_xml(Xml.child_exn~context:context_xml_arg0"RegistrationToken")inmake~registrationToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregistrationToken=field_map_exnjson__"RegistrationToken"RegistrationToken.of_jsoninmake~registrationToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an extension's registration, including its current status and type and version identifiers. When you initiate a registration request using RegisterType, you can then use DescribeTypeRegistration to monitor the progress of that registration request. Once the registration request has completed, use DescribeType to return detailed information about an extension."]moduleDescribeTypeOutput=structtypedescribeTypeResult={arn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension."];type_:RegistryType.toption[@ocaml.doc"The kind of extension."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. If the extension is a public third-party type you have activated with a type name alias, CloudFormation returns the type name alias. For more information, see ActivateType."];defaultVersionId:TypeVersionId.toption[@ocaml.doc"The ID of the default version of the extension. The default version is used when the extension version isn't specified. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns null. For more information, see RegisterType. To set the default version of an extension, use SetTypeDefaultVersion."];isDefaultVersion:IsDefaultVersion.toption[@ocaml.doc"Whether the specified extension version is set as the default version. This applies only to private extensions you have registered in your account, and extensions published by Amazon Web Services. For public third-party extensions, whether they are activated in your account, CloudFormation returns null."];typeTestsStatus:TypeTestsStatus.toption[@ocaml.doc"The contract test status of the registered extension version. To return the extension test status of a specific extension version, you must specify VersionId. This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account. PASSED: The extension has passed all its contract tests. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide. FAILED: The extension has failed one or more contract tests. IN_PROGRESS: Contract tests are currently being performed on the extension. NOT_TESTED: Contract tests haven't been performed on the extension."];typeTestsStatusDescription:TypeTestsStatusDescription.toption[@ocaml.doc"The description of the test status. To return the extension test status of a specific extension version, you must specify VersionId. This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account."];description:Description.toption[@ocaml.doc"The description of the extension."];schema:TypeSchema.toption[@ocaml.doc"The schema that defines the extension. For more information, see Resource type schema in the CloudFormation Command Line Interface (CLI) User Guide and the CloudFormation Hooks User Guide."];provisioningType:ProvisioningType.toption[@ocaml.doc"For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. Valid values include: FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations. IMMUTABLE: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations. NON_PROVISIONABLE: The resource type doesn't include all the following handlers, and therefore can't actually be provisioned. create read delete"];deprecatedStatus:DeprecatedStatus.toption[@ocaml.doc"The deprecation status of the extension version. Valid values include: LIVE: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. DEPRECATED: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations. For public third-party extensions, CloudFormation returns null."];loggingConfig:LoggingConfig.toption[@ocaml.doc"Contains logging configuration information for private extensions. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns null. For more information, see RegisterType."];requiredActivatedTypes:RequiredActivatedTypes.toption[@ocaml.doc"For extensions that are modules, the public third-party extensions that must be activated in your account in order for the module itself to be activated."];executionRoleArn:RoleArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM execution role used to register the extension. This applies only to private extensions you have registered in your account. For more information, see RegisterType. If the registered extension calls any Amazon Web Services APIs, you must create an IAM execution role that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the appropriate credentials."];visibility:Visibility.toption[@ocaml.doc"The scope at which the extension is visible and usable in CloudFormation operations. Valid values include: PRIVATE: The extension is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register as PRIVATE. PUBLIC: The extension is publicly visible and usable within any Amazon Web Services account."];sourceUrl:OptionalSecureUrl.toption[@ocaml.doc"The URL of the source code for the extension."];documentationUrl:OptionalSecureUrl.toption[@ocaml.doc"The URL of a page providing detailed documentation for this extension."];lastUpdated:Timestamp.toption[@ocaml.doc"When the specified extension version was registered. This applies only to: Private extensions you have registered in your account. For more information, see RegisterType. Public extensions you have activated in your account with auto-update specified. For more information, see ActivateType."];timeCreated:Timestamp.toption[@ocaml.doc"When the specified private extension version was registered or activated in your account."];configurationSchema:ConfigurationSchema.toption[@ocaml.doc"A JSON string that represent the current configuration data for the extension in this account and Region. To set the configuration data for an extension, use SetTypeConfiguration."];publisherId:PublisherId.toption[@ocaml.doc"The publisher ID of the extension publisher. This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon Web Services, CloudFormation returns null."];originalTypeName:TypeName.toption[@ocaml.doc"For public extensions that have been activated for this account and Region, the type name of the public extension. If you specified a TypeNameAlias when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Use aliases to refer to extensions in the CloudFormation User Guide."];originalTypeArn:TypeArn.toption[@ocaml.doc"For public extensions that have been activated for this account and Region, the Amazon Resource Name (ARN) of the public extension."];publicVersionNumber:PublicVersionNumber.toption[@ocaml.doc"The version number of a public third-party extension. This applies only if you specify a public extension you have activated in your account, or specify a public extension without specifying a version. For all other extensions, CloudFormation returns null."];latestPublicVersion:PublicVersionNumber.toption[@ocaml.doc"The latest version of a public extension that is available for use. This only applies if you specify a public extension, and you don't specify a version. For all other requests, CloudFormation returns null."];isActivated:IsActivated.toption[@ocaml.doc"Whether the extension is activated in the account and Region. This only applies to public third-party extensions. For all other extensions, CloudFormation returns null."];autoUpdate:AutoUpdate.toption[@ocaml.doc"Whether CloudFormation automatically updates the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Automatically use new versions of extensions in the CloudFormation User Guide."]}andresponseMetaData=unitandt={describeTypeResult:describeTypeResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeTypeOutput"letmake?arn=fun?type_->fun?typeName->fun?defaultVersionId->fun?isDefaultVersion->fun?typeTestsStatus->fun?typeTestsStatusDescription->fun?description->fun?schema->fun?provisioningType->fun?deprecatedStatus->fun?loggingConfig->fun?requiredActivatedTypes->fun?executionRoleArn->fun?visibility->fun?sourceUrl->fun?documentationUrl->fun?lastUpdated->fun?timeCreated->fun?configurationSchema->fun?publisherId->fun?originalTypeName->fun?originalTypeArn->fun?publicVersionNumber->fun?latestPublicVersion->fun?isActivated->fun?autoUpdate->fun()->{describeTypeResult={arn;type_;typeName;defaultVersionId;isDefaultVersion;typeTestsStatus;typeTestsStatusDescription;description;schema;provisioningType;deprecatedStatus;loggingConfig;requiredActivatedTypes;executionRoleArn;visibility;sourceUrl;documentationUrl;lastUpdated;timeCreated;configurationSchema;publisherId;originalTypeName;originalTypeArn;publicVersionNumber;latestPublicVersion;isActivated;autoUpdate};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeTypeResultinstructure_to_wrapped_value[("Arn",(Option.mapx.arn~f:TypeArn.to_value));("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("DefaultVersionId",(Option.mapx.defaultVersionId~f:TypeVersionId.to_value));("IsDefaultVersion",(Option.mapx.isDefaultVersion~f:IsDefaultVersion.to_value));("TypeTestsStatus",(Option.mapx.typeTestsStatus~f:TypeTestsStatus.to_value));("TypeTestsStatusDescription",(Option.mapx.typeTestsStatusDescription~f:TypeTestsStatusDescription.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Schema",(Option.mapx.schema~f:TypeSchema.to_value));("ProvisioningType",(Option.mapx.provisioningType~f:ProvisioningType.to_value));("DeprecatedStatus",(Option.mapx.deprecatedStatus~f:DeprecatedStatus.to_value));("LoggingConfig",(Option.mapx.loggingConfig~f:LoggingConfig.to_value));("RequiredActivatedTypes",(Option.mapx.requiredActivatedTypes~f:RequiredActivatedTypes.to_value));("ExecutionRoleArn",(Option.mapx.executionRoleArn~f:RoleArn.to_value));("Visibility",(Option.mapx.visibility~f:Visibility.to_value));("SourceUrl",(Option.mapx.sourceUrl~f:OptionalSecureUrl.to_value));("DocumentationUrl",(Option.mapx.documentationUrl~f:OptionalSecureUrl.to_value));("LastUpdated",(Option.mapx.lastUpdated~f:Timestamp.to_value));("TimeCreated",(Option.mapx.timeCreated~f:Timestamp.to_value));("ConfigurationSchema",(Option.mapx.configurationSchema~f:ConfigurationSchema.to_value));("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value));("OriginalTypeName",(Option.mapx.originalTypeName~f:TypeName.to_value));("OriginalTypeArn",(Option.mapx.originalTypeArn~f:TypeArn.to_value));("PublicVersionNumber",(Option.mapx.publicVersionNumber~f:PublicVersionNumber.to_value));("LatestPublicVersion",(Option.mapx.latestPublicVersion~f:PublicVersionNumber.to_value));("IsActivated",(Option.mapx.isActivated~f:IsActivated.to_value));("AutoUpdate",(Option.mapx.autoUpdate~f:AutoUpdate.to_value))]~wrapper:"DescribeTypeResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeTypeResult"inletautoUpdate=(Option.map~f:AutoUpdate.of_xml)(Xml.childxml_arg0"AutoUpdate")inletisActivated=(Option.map~f:IsActivated.of_xml)(Xml.childxml_arg0"IsActivated")inletlatestPublicVersion=(Option.map~f:PublicVersionNumber.of_xml)(Xml.childxml_arg0"LatestPublicVersion")inletpublicVersionNumber=(Option.map~f:PublicVersionNumber.of_xml)(Xml.childxml_arg0"PublicVersionNumber")inletoriginalTypeArn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"OriginalTypeArn")inletoriginalTypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"OriginalTypeName")inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inletconfigurationSchema=(Option.map~f:ConfigurationSchema.of_xml)(Xml.childxml_arg0"ConfigurationSchema")inlettimeCreated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"TimeCreated")inletlastUpdated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdated")inletdocumentationUrl=(Option.map~f:OptionalSecureUrl.of_xml)(Xml.childxml_arg0"DocumentationUrl")inletsourceUrl=(Option.map~f:OptionalSecureUrl.of_xml)(Xml.childxml_arg0"SourceUrl")inletvisibility=(Option.map~f:Visibility.of_xml)(Xml.childxml_arg0"Visibility")inletexecutionRoleArn=(Option.map~f:RoleArn.of_xml)(Xml.childxml_arg0"ExecutionRoleArn")inletrequiredActivatedTypes=(Option.map~f:RequiredActivatedTypes.of_xml)(Xml.childxml_arg0"RequiredActivatedTypes")inletloggingConfig=(Option.map~f:LoggingConfig.of_xml)(Xml.childxml_arg0"LoggingConfig")inletdeprecatedStatus=(Option.map~f:DeprecatedStatus.of_xml)(Xml.childxml_arg0"DeprecatedStatus")inletprovisioningType=(Option.map~f:ProvisioningType.of_xml)(Xml.childxml_arg0"ProvisioningType")inletschema=(Option.map~f:TypeSchema.of_xml)(Xml.childxml_arg0"Schema")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettypeTestsStatusDescription=(Option.map~f:TypeTestsStatusDescription.of_xml)(Xml.childxml_arg0"TypeTestsStatusDescription")inlettypeTestsStatus=(Option.map~f:TypeTestsStatus.of_xml)(Xml.childxml_arg0"TypeTestsStatus")inletisDefaultVersion=(Option.map~f:IsDefaultVersion.of_xml)(Xml.childxml_arg0"IsDefaultVersion")inletdefaultVersionId=(Option.map~f:TypeVersionId.of_xml)(Xml.childxml_arg0"DefaultVersionId")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inletarn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"Arn")inmake?autoUpdate?isActivated?latestPublicVersion?publicVersionNumber?originalTypeArn?originalTypeName?publisherId?configurationSchema?timeCreated?lastUpdated?documentationUrl?sourceUrl?visibility?executionRoleArn?requiredActivatedTypes?loggingConfig?deprecatedStatus?provisioningType?schema?description?typeTestsStatusDescription?typeTestsStatus?isDefaultVersion?defaultVersionId?typeName?type_?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoUpdate=field_mapjson__"AutoUpdate"AutoUpdate.of_jsoninletisActivated=field_mapjson__"IsActivated"IsActivated.of_jsoninletlatestPublicVersion=field_mapjson__"LatestPublicVersion"PublicVersionNumber.of_jsoninletpublicVersionNumber=field_mapjson__"PublicVersionNumber"PublicVersionNumber.of_jsoninletoriginalTypeArn=field_mapjson__"OriginalTypeArn"TypeArn.of_jsoninletoriginalTypeName=field_mapjson__"OriginalTypeName"TypeName.of_jsoninletpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninletconfigurationSchema=field_mapjson__"ConfigurationSchema"ConfigurationSchema.of_jsoninlettimeCreated=field_mapjson__"TimeCreated"Timestamp.of_jsoninletlastUpdated=field_mapjson__"LastUpdated"Timestamp.of_jsoninletdocumentationUrl=field_mapjson__"DocumentationUrl"OptionalSecureUrl.of_jsoninletsourceUrl=field_mapjson__"SourceUrl"OptionalSecureUrl.of_jsoninletvisibility=field_mapjson__"Visibility"Visibility.of_jsoninletexecutionRoleArn=field_mapjson__"ExecutionRoleArn"RoleArn.of_jsoninletrequiredActivatedTypes=field_mapjson__"RequiredActivatedTypes"RequiredActivatedTypes.of_jsoninletloggingConfig=field_mapjson__"LoggingConfig"LoggingConfig.of_jsoninletdeprecatedStatus=field_mapjson__"DeprecatedStatus"DeprecatedStatus.of_jsoninletprovisioningType=field_mapjson__"ProvisioningType"ProvisioningType.of_jsoninletschema=field_mapjson__"Schema"TypeSchema.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettypeTestsStatusDescription=field_mapjson__"TypeTestsStatusDescription"TypeTestsStatusDescription.of_jsoninlettypeTestsStatus=field_mapjson__"TypeTestsStatus"TypeTestsStatus.of_jsoninletisDefaultVersion=field_mapjson__"IsDefaultVersion"IsDefaultVersion.of_jsoninletdefaultVersionId=field_mapjson__"DefaultVersionId"TypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninletarn=field_mapjson__"Arn"TypeArn.of_jsoninmake?autoUpdate?isActivated?latestPublicVersion?publicVersionNumber?originalTypeArn?originalTypeName?publisherId?configurationSchema?timeCreated?lastUpdated?documentationUrl?sourceUrl?visibility?executionRoleArn?requiredActivatedTypes?loggingConfig?deprecatedStatus?provisioningType?schema?description?typeTestsStatusDescription?typeTestsStatus?isDefaultVersion?defaultVersionId?typeName?type_?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns detailed information about an extension from the CloudFormation registry in your current account and Region. If you specify a VersionId, DescribeType returns information about that specific extension version. Otherwise, it returns information about the default extension version. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide."]moduleDescribeTypeInput=structtypenonrect={type_:RegistryType.toption[@ocaml.doc"The kind of extension. Conditional: You must specify either TypeName and Type, or Arn."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. Conditional: You must specify either TypeName and Type, or Arn."];arn:TypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension. Conditional: You must specify either TypeName and Type, or Arn."];versionId:TypeVersionId.toption[@ocaml.doc"The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered. If you specify a VersionId, DescribeType returns information about that specific extension version. Otherwise, it returns information about the default extension version."];publisherId:PublisherId.toption[@ocaml.doc"The publisher ID of the extension publisher. Extensions provided by Amazon Web Services are not assigned a publisher ID."];publicVersionNumber:PublicVersionNumber.toption[@ocaml.doc"The version number of a public third-party extension."]}letmake?type_=fun?typeName->fun?arn->fun?versionId->fun?publisherId->fun?publicVersionNumber->fun()->{type_;typeName;arn;versionId;publisherId;publicVersionNumber}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("Arn",(Option.mapx.arn~f:TypeArn.to_value));("VersionId",(Option.mapx.versionId~f:TypeVersionId.to_value));("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value));("PublicVersionNumber",(Option.mapx.publicVersionNumber~f:PublicVersionNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpublicVersionNumber=(Option.map~f:PublicVersionNumber.of_xml)(Xml.childxml_arg0"PublicVersionNumber")inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inletversionId=(Option.map~f:TypeVersionId.of_xml)(Xml.childxml_arg0"VersionId")inletarn=(Option.map~f:TypeArn.of_xml)(Xml.childxml_arg0"Arn")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inmake?publicVersionNumber?publisherId?versionId?arn?typeName?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublicVersionNumber=field_mapjson__"PublicVersionNumber"PublicVersionNumber.of_jsoninletpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninletversionId=field_mapjson__"VersionId"TypeVersionId.of_jsoninletarn=field_mapjson__"Arn"TypeArn.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninmake?publicVersionNumber?publisherId?versionId?arn?typeName?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns detailed information about an extension from the CloudFormation registry in your current account and Region. If you specify a VersionId, DescribeType returns information about that specific extension version. Otherwise, it returns information about the default extension version. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide."]moduleDescribeStacksOutput=structtypedescribeStacksResult={stacks:Stacks.toption[@ocaml.doc"A list of stack structures."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null."]}andresponseMetaData=unitandt={describeStacksResult:describeStacksResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStacksOutput"letmake?stacks=fun?nextToken->fun()->{describeStacksResult={stacks;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStacksResultinstructure_to_wrapped_value[("Stacks",(Option.mapx.stacks~f:Stacks.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"DescribeStacksResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStacksResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstacks=(Option.map~f:Stacks.of_xml)(Xml.childxml_arg0"Stacks")inmake?nextToken?stacks()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstacks=field_mapjson__"Stacks"Stacks.of_jsoninmake?nextToken?stacks()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for a DescribeStacks action."]moduleDescribeStacksInput=structtypenonrect={stackName:StackName.toption[@ocaml.doc"If you don't pass a parameter to StackName, the API returns a response that describes all resources in the account, which can impact performance. This requires ListStacks and DescribeStacks permissions. Consider using the ListStacks API if you're not passing a parameter to StackName. The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request: \\{ \"Version\": \"2012-10-17\", \"Statement\": \\[\\{ \"Effect\": \"Deny\", \"Action\": \"cloudformation:DescribeStacks\", \"NotResource\": \"arn:aws:cloudformation:*:*:stack/*/*\" \\}\\] \\} The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letmake?stackName=fun?nextToken->fun()->{stackName;nextToken}letto_valuex=structure_to_value[("StackName",(Option.mapx.stackName~f:StackName.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")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inmake?nextToken?stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninmake?nextToken?stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for DescribeStacks action."]moduleDescribeStackSetOutput=structtypedescribeStackSetResult={stackSet:StackSet.toption[@ocaml.doc"The specified StackSet."]}andresponseMetaData=unitandt={describeStackSetResult:describeStackSetResult;responseMetaData:responseMetaData}typeerror=[`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackSetOutput"letmake?stackSet=fun()->{describeStackSetResult={stackSet};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackSetResultinstructure_to_wrapped_value[("StackSet",(Option.mapx.stackSet~f:StackSet.to_value))]~wrapper:"DescribeStackSetResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackSetResult"inletstackSet=(Option.map~f:StackSet.of_xml)(Xml.childxml_arg0"StackSet")inmake?stackSet()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackSet=field_mapjson__"StackSet"StackSet.of_jsoninmake?stackSet()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the description of the specified StackSet. This API provides strongly consistent reads meaning it will always return the most up-to-date data."]moduleDescribeStackSetOperationOutput=structtypedescribeStackSetOperationResult={stackSetOperation:StackSetOperation.toption[@ocaml.doc"The specified StackSet operation."]}andresponseMetaData=unitandt={describeStackSetOperationResult:describeStackSetOperationResult;responseMetaData:responseMetaData}typeerror=[`OperationNotFoundExceptionofOperationNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackSetOperationOutput"letmake?stackSetOperation=fun()->{describeStackSetOperationResult={stackSetOperation};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`OperationNotFoundExceptione->`Assoc[("error",(`String"OperationNotFoundException"));("details",(OperationNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackSetOperationResultinstructure_to_wrapped_value[("StackSetOperation",(Option.mapx.stackSetOperation~f:StackSetOperation.to_value))]~wrapper:"DescribeStackSetOperationResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackSetOperationResult"inletstackSetOperation=(Option.map~f:StackSetOperation.of_xml)(Xml.childxml_arg0"StackSetOperation")inmake?stackSetOperation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackSetOperation=field_mapjson__"StackSetOperation"StackSetOperation.of_jsoninmake?stackSetOperation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the description of the specified StackSet operation. This API provides strongly consistent reads meaning it will always return the most up-to-date data."]moduleDescribeStackSetOperationInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or the unique stack ID of the StackSet for the stack operation."];operationId:ClientRequestToken.t[@ocaml.doc"The unique ID of the StackSet operation."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="DescribeStackSetOperationInput"letmake?callAs=fun~stackSetName->fun~operationId->fun()->{callAs;stackSetName;operationId}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("OperationId",(Some(ClientRequestToken.to_valuex.operationId)));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=ClientRequestToken.of_xml(Xml.child_exn~context:context_xml_arg0"OperationId")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs~operationId~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_map_exnjson__"OperationId"ClientRequestToken.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs~operationId~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the description of the specified StackSet operation. This API provides strongly consistent reads meaning it will always return the most up-to-date data."]moduleDescribeStackSetInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet whose description you want."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="DescribeStackSetInput"letmake?callAs=fun~stackSetName->fun()->{callAs;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the description of the specified StackSet. This API provides strongly consistent reads meaning it will always return the most up-to-date data."]moduleDescribeStackResourcesOutput=structtypedescribeStackResourcesResult={stackResources:StackResources.toption[@ocaml.doc"A list of StackResource structures."]}andresponseMetaData=unitandt={describeStackResourcesResult:describeStackResourcesResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackResourcesOutput"letmake?stackResources=fun()->{describeStackResourcesResult={stackResources};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackResourcesResultinstructure_to_wrapped_value[("StackResources",(Option.mapx.stackResources~f:StackResources.to_value))]~wrapper:"DescribeStackResourcesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackResourcesResult"inletstackResources=(Option.map~f:StackResources.of_xml)(Xml.childxml_arg0"StackResources")inmake?stackResources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackResources=field_mapjson__"StackResources"StackResources.of_jsoninmake?stackResources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for a DescribeStackResources action."]moduleDescribeStackResourcesInput=structtypenonrect={stackName:StackName.toption[@ocaml.doc"The name or the unique stack ID that is associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Required: Conditional. If you don't specify StackName, you must specify PhysicalResourceId."];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"The logical name of the resource as specified in the template."];physicalResourceId:PhysicalResourceId.toption[@ocaml.doc"The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation. For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack. Required: Conditional. If you don't specify PhysicalResourceId, you must specify StackName."]}letmake?stackName=fun?logicalResourceId->fun?physicalResourceId->fun()->{stackName;logicalResourceId;physicalResourceId}letto_valuex=structure_to_value[("StackName",(Option.mapx.stackName~f:StackName.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value));("PhysicalResourceId",(Option.mapx.physicalResourceId~f:PhysicalResourceId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphysicalResourceId=(Option.map~f:PhysicalResourceId.of_xml)(Xml.childxml_arg0"PhysicalResourceId")inletlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inmake?physicalResourceId?logicalResourceId?stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphysicalResourceId=field_mapjson__"PhysicalResourceId"PhysicalResourceId.of_jsoninletlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninmake?physicalResourceId?logicalResourceId?stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for DescribeStackResources action."]moduleDescribeStackResourceOutput=structtypedescribeStackResourceResult={stackResourceDetail:StackResourceDetail.toption[@ocaml.doc"A StackResourceDetail structure that contains the description of the specified resource in the specified stack."]}andresponseMetaData=unitandt={describeStackResourceResult:describeStackResourceResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackResourceOutput"letmake?stackResourceDetail=fun()->{describeStackResourceResult={stackResourceDetail};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackResourceResultinstructure_to_wrapped_value[("StackResourceDetail",(Option.mapx.stackResourceDetail~f:StackResourceDetail.to_value))]~wrapper:"DescribeStackResourceResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackResourceResult"inletstackResourceDetail=(Option.map~f:StackResourceDetail.of_xml)(Xml.childxml_arg0"StackResourceDetail")inmake?stackResourceDetail()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackResourceDetail=field_mapjson__"StackResourceDetail"StackResourceDetail.of_jsoninmake?stackResourceDetail()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for a DescribeStackResource action."]moduleDescribeStackResourceInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID."];logicalResourceId:LogicalResourceId.t[@ocaml.doc"The logical name of the resource as specified in the template."]}letcontext_="DescribeStackResourceInput"letmake~stackName=fun~logicalResourceId->fun()->{stackName;logicalResourceId}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("LogicalResourceId",(Some(LogicalResourceId.to_valuex.logicalResourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogicalResourceId=LogicalResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"LogicalResourceId")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake~logicalResourceId~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogicalResourceId=field_map_exnjson__"LogicalResourceId"LogicalResourceId.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake~logicalResourceId~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for DescribeStackResource action."]moduleDescribeStackResourceDriftsOutput=structtypedescribeStackResourceDriftsResult={stackResourceDrifts:StackResourceDrifts.toption[@ocaml.doc"Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call DescribeStackResourceDrifts again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={describeStackResourceDriftsResult:describeStackResourceDriftsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackResourceDriftsOutput"letmake?stackResourceDrifts=fun?nextToken->fun()->{describeStackResourceDriftsResult={stackResourceDrifts;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackResourceDriftsResultinstructure_to_wrapped_value[("StackResourceDrifts",(Option.mapx.stackResourceDrifts~f:StackResourceDrifts.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"DescribeStackResourceDriftsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackResourceDriftsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackResourceDrifts=(Option.map~f:StackResourceDrifts.of_xml)(Xml.childxml_arg0"StackResourceDrifts")inmake?nextToken?stackResourceDrifts()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackResourceDrifts=field_mapjson__"StackResourceDrifts"StackResourceDrifts.of_jsoninmake?nextToken?stackResourceDrifts()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack."]moduleDescribeStackResourceDriftsInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The name of the stack for which you want drift information."];stackResourceDriftStatusFilters:StackResourceDriftStatusFilters.toption[@ocaml.doc"The resource drift status values to use as filters for the resource drift results returned. DELETED: The resource differs from its expected template configuration in that the resource has been deleted. MODIFIED: One or more resource properties differ from their expected template values. IN_SYNC: The resource's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation doesn't currently return this value. UNKNOWN: CloudFormation could not run drift detection for the resource."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];maxResults:BoxedMaxResults.toption[@ocaml.doc"The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results."]}letcontext_="DescribeStackResourceDriftsInput"letmake?stackResourceDriftStatusFilters=fun?nextToken->fun?maxResults->fun~stackName->fun()->{stackResourceDriftStatusFilters;nextToken;maxResults;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("StackResourceDriftStatusFilters",(Option.mapx.stackResourceDriftStatusFilters~f:StackResourceDriftStatusFilters.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:BoxedMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:BoxedMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackResourceDriftStatusFilters=(Option.map~f:StackResourceDriftStatusFilters.of_xml)(Xml.childxml_arg0"StackResourceDriftStatusFilters")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?maxResults?nextToken?stackResourceDriftStatusFilters~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"BoxedMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackResourceDriftStatusFilters=field_mapjson__"StackResourceDriftStatusFilters"StackResourceDriftStatusFilters.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake?maxResults?nextToken?stackResourceDriftStatusFilters~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack."]moduleDescribeStackRefactorOutput=structtypedescribeStackRefactorResult={description:Description.toption[@ocaml.doc"A description to help you identify the refactor."];stackRefactorId:StackRefactorId.toption[@ocaml.doc"The ID associated with the stack refactor created from the CreateStackRefactor action."];stackIds:StackIds.toption[@ocaml.doc"The unique ID for each stack."];executionStatus:StackRefactorExecutionStatus.toption[@ocaml.doc"The stack refactor execution operation status that's provided after calling the ExecuteStackRefactor action."];executionStatusReason:ExecutionStatusReason.toption[@ocaml.doc"A detailed explanation for the stack refactor ExecutionStatus."];status:StackRefactorStatus.toption[@ocaml.doc"The stack refactor operation status that's provided after calling the CreateStackRefactor action."];statusReason:StackRefactorStatusReason.toption[@ocaml.doc"A detailed explanation for the stack refactor operation Status."]}andresponseMetaData=unitandt={describeStackRefactorResult:describeStackRefactorResult;responseMetaData:responseMetaData}typeerror=[`StackRefactorNotFoundExceptionofStackRefactorNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackRefactorOutput"letmake?description=fun?stackRefactorId->fun?stackIds->fun?executionStatus->fun?executionStatusReason->fun?status->fun?statusReason->fun()->{describeStackRefactorResult={description;stackRefactorId;stackIds;executionStatus;executionStatusReason;status;statusReason};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"StackRefactorNotFoundException"->`StackRefactorNotFoundException(StackRefactorNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"StackRefactorNotFoundException"->`StackRefactorNotFoundException(StackRefactorNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`StackRefactorNotFoundExceptione->`Assoc[("error",(`String"StackRefactorNotFoundException"));("details",(StackRefactorNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackRefactorResultinstructure_to_wrapped_value[("Description",(Option.mapx.description~f:Description.to_value));("StackRefactorId",(Option.mapx.stackRefactorId~f:StackRefactorId.to_value));("StackIds",(Option.mapx.stackIds~f:StackIds.to_value));("ExecutionStatus",(Option.mapx.executionStatus~f:StackRefactorExecutionStatus.to_value));("ExecutionStatusReason",(Option.mapx.executionStatusReason~f:ExecutionStatusReason.to_value));("Status",(Option.mapx.status~f:StackRefactorStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:StackRefactorStatusReason.to_value))]~wrapper:"DescribeStackRefactorResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackRefactorResult"inletstatusReason=(Option.map~f:StackRefactorStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:StackRefactorStatus.of_xml)(Xml.childxml_arg0"Status")inletexecutionStatusReason=(Option.map~f:ExecutionStatusReason.of_xml)(Xml.childxml_arg0"ExecutionStatusReason")inletexecutionStatus=(Option.map~f:StackRefactorExecutionStatus.of_xml)(Xml.childxml_arg0"ExecutionStatus")inletstackIds=(Option.map~f:StackIds.of_xml)(Xml.childxml_arg0"StackIds")inletstackRefactorId=(Option.map~f:StackRefactorId.of_xml)(Xml.childxml_arg0"StackRefactorId")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inmake?statusReason?status?executionStatusReason?executionStatus?stackIds?stackRefactorId?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusReason=field_mapjson__"StatusReason"StackRefactorStatusReason.of_jsoninletstatus=field_mapjson__"Status"StackRefactorStatus.of_jsoninletexecutionStatusReason=field_mapjson__"ExecutionStatusReason"ExecutionStatusReason.of_jsoninletexecutionStatus=field_mapjson__"ExecutionStatus"StackRefactorExecutionStatus.of_jsoninletstackIds=field_mapjson__"StackIds"StackIds.of_jsoninletstackRefactorId=field_mapjson__"StackRefactorId"StackRefactorId.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninmake?statusReason?status?executionStatusReason?executionStatus?stackIds?stackRefactorId?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the stack refactor status."]moduleDescribeStackRefactorInput=structtypenonrect={stackRefactorId:StackRefactorId.t[@ocaml.doc"The ID associated with the stack refactor created from the CreateStackRefactor action."]}letcontext_="DescribeStackRefactorInput"letmake~stackRefactorId=fun()->{stackRefactorId}letto_valuex=structure_to_value[("StackRefactorId",(Some(StackRefactorId.to_valuex.stackRefactorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackRefactorId=StackRefactorId.of_xml(Xml.child_exn~context:context_xml_arg0"StackRefactorId")inmake~stackRefactorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackRefactorId=field_map_exnjson__"StackRefactorId"StackRefactorId.of_jsoninmake~stackRefactorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the stack refactor status."]moduleDescribeStackInstanceOutput=structtypedescribeStackInstanceResult={stackInstance:StackInstance.toption[@ocaml.doc"The stack instance that matches the specified request parameters."]}andresponseMetaData=unitandt={describeStackInstanceResult:describeStackInstanceResult;responseMetaData:responseMetaData}typeerror=[`StackInstanceNotFoundExceptionofStackInstanceNotFoundException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackInstanceOutput"letmake?stackInstance=fun()->{describeStackInstanceResult={stackInstance};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"StackInstanceNotFoundException"->`StackInstanceNotFoundException(StackInstanceNotFoundException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`StackInstanceNotFoundExceptione->`Assoc[("error",(`String"StackInstanceNotFoundException"));("details",(StackInstanceNotFoundException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackInstanceResultinstructure_to_wrapped_value[("StackInstance",(Option.mapx.stackInstance~f:StackInstance.to_value))]~wrapper:"DescribeStackInstanceResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackInstanceResult"inletstackInstance=(Option.map~f:StackInstance.of_xml)(Xml.childxml_arg0"StackInstance")inmake?stackInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackInstance=field_mapjson__"StackInstance"StackInstance.of_jsoninmake?stackInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the stack instance that's associated with the specified StackSet, Amazon Web Services account, and Amazon Web Services Region. For a list of stack instances that are associated with a specific StackSet, use ListStackInstances."]moduleDescribeStackInstanceInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or the unique stack ID of the StackSet that you want to get stack instance information for."];stackInstanceAccount:Account.t[@ocaml.doc"The ID of an Amazon Web Services account that's associated with this stack instance."];stackInstanceRegion:Region.t[@ocaml.doc"The name of a Region that's associated with this stack instance."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="DescribeStackInstanceInput"letmake?callAs=fun~stackSetName->fun~stackInstanceAccount->fun~stackInstanceRegion->fun()->{callAs;stackSetName;stackInstanceAccount;stackInstanceRegion}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("StackInstanceAccount",(Some(Account.to_valuex.stackInstanceAccount)));("StackInstanceRegion",(Some(Region.to_valuex.stackInstanceRegion)));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletstackInstanceRegion=Region.of_xml(Xml.child_exn~context:context_xml_arg0"StackInstanceRegion")inletstackInstanceAccount=Account.of_xml(Xml.child_exn~context:context_xml_arg0"StackInstanceAccount")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs~stackInstanceRegion~stackInstanceAccount~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletstackInstanceRegion=field_map_exnjson__"StackInstanceRegion"Region.of_jsoninletstackInstanceAccount=field_map_exnjson__"StackInstanceAccount"Account.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs~stackInstanceRegion~stackInstanceAccount~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the stack instance that's associated with the specified StackSet, Amazon Web Services account, and Amazon Web Services Region. For a list of stack instances that are associated with a specific StackSet, use ListStackInstances."]moduleDescribeStackEventsOutput=structtypedescribeStackEventsResult={stackEvents:StackEvents.toption[@ocaml.doc"A list of StackEvents structures."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null."]}andresponseMetaData=unitandt={describeStackEventsResult:describeStackEventsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackEventsOutput"letmake?stackEvents=fun?nextToken->fun()->{describeStackEventsResult={stackEvents;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackEventsResultinstructure_to_wrapped_value[("StackEvents",(Option.mapx.stackEvents~f:StackEvents.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"DescribeStackEventsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackEventsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackEvents=(Option.map~f:StackEvents.of_xml)(Xml.childxml_arg0"StackEvents")inmake?nextToken?stackEvents()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackEvents=field_mapjson__"StackEvents"StackEvents.of_jsoninmake?nextToken?stackEvents()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for a DescribeStackEvents action."]moduleDescribeStackEventsInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letcontext_="DescribeStackEventsInput"letmake?nextToken=fun~stackName->fun()->{nextToken;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("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")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?nextToken~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake?nextToken~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for DescribeStackEvents action."]moduleDescribeStackDriftDetectionStatusOutput=structtypedescribeStackDriftDetectionStatusResult={stackId:StackId.toption[@ocaml.doc"The ID of the stack."];stackDriftDetectionId:StackDriftDetectionId.toption[@ocaml.doc"The ID of the drift detection results of this operation. CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary."];stackDriftStatus:StackDriftStatus.toption[@ocaml.doc"Status of the stack's actual configuration compared to its expected configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: CloudFormation could not run drift detection for a resource in the stack. See the DetectionStatusReason for details."];detectionStatus:StackDriftDetectionStatus.toption[@ocaml.doc"The status of the stack drift detection operation. DETECTION_COMPLETE: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.) If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift. DETECTION_FAILED: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. DETECTION_IN_PROGRESS: The stack drift detection operation is currently in progress."];detectionStatusReason:StackDriftDetectionStatusReason.toption[@ocaml.doc"The reason the stack drift detection operation has its current status."];driftedStackResourceCount:BoxedInteger.toption[@ocaml.doc"Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE. This value will be 0 for stacks whose drift status is IN_SYNC."];timestamp:Timestamp.toption[@ocaml.doc"Time at which the stack drift detection operation was initiated."]}andresponseMetaData=unitandt={describeStackDriftDetectionStatusResult:describeStackDriftDetectionStatusResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeStackDriftDetectionStatusOutput"letmake?stackId=fun?stackDriftDetectionId->fun?stackDriftStatus->fun?detectionStatus->fun?detectionStatusReason->fun?driftedStackResourceCount->fun?timestamp->fun()->{describeStackDriftDetectionStatusResult={stackId;stackDriftDetectionId;stackDriftStatus;detectionStatus;detectionStatusReason;driftedStackResourceCount;timestamp};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeStackDriftDetectionStatusResultinstructure_to_wrapped_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("StackDriftDetectionId",(Option.mapx.stackDriftDetectionId~f:StackDriftDetectionId.to_value));("StackDriftStatus",(Option.mapx.stackDriftStatus~f:StackDriftStatus.to_value));("DetectionStatus",(Option.mapx.detectionStatus~f:StackDriftDetectionStatus.to_value));("DetectionStatusReason",(Option.mapx.detectionStatusReason~f:StackDriftDetectionStatusReason.to_value));("DriftedStackResourceCount",(Option.mapx.driftedStackResourceCount~f:BoxedInteger.to_value));("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value))]~wrapper:"DescribeStackDriftDetectionStatusResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeStackDriftDetectionStatusResult"inlettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inletdriftedStackResourceCount=(Option.map~f:BoxedInteger.of_xml)(Xml.childxml_arg0"DriftedStackResourceCount")inletdetectionStatusReason=(Option.map~f:StackDriftDetectionStatusReason.of_xml)(Xml.childxml_arg0"DetectionStatusReason")inletdetectionStatus=(Option.map~f:StackDriftDetectionStatus.of_xml)(Xml.childxml_arg0"DetectionStatus")inletstackDriftStatus=(Option.map~f:StackDriftStatus.of_xml)(Xml.childxml_arg0"StackDriftStatus")inletstackDriftDetectionId=(Option.map~f:StackDriftDetectionId.of_xml)(Xml.childxml_arg0"StackDriftDetectionId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?timestamp?driftedStackResourceCount?detectionStatusReason?detectionStatus?stackDriftStatus?stackDriftDetectionId?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninletdriftedStackResourceCount=field_mapjson__"DriftedStackResourceCount"BoxedInteger.of_jsoninletdetectionStatusReason=field_mapjson__"DetectionStatusReason"StackDriftDetectionStatusReason.of_jsoninletdetectionStatus=field_mapjson__"DetectionStatus"StackDriftDetectionStatus.of_jsoninletstackDriftStatus=field_mapjson__"StackDriftStatus"StackDriftStatus.of_jsoninletstackDriftDetectionId=field_mapjson__"StackDriftDetectionId"StackDriftDetectionId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?timestamp?driftedStackResourceCount?detectionStatusReason?detectionStatus?stackDriftStatus?stackDriftDetectionId?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information about stack and resource drift, see Detect unmanaged configuration changes to stacks and resources with drift detection. Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift returns a StackDriftDetectionId you can use to monitor the progress of the operation using DescribeStackDriftDetectionStatus. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources."]moduleDescribeStackDriftDetectionStatusInput=structtypenonrect={stackDriftDetectionId:StackDriftDetectionId.t[@ocaml.doc"The ID of the drift detection results of this operation. CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary."]}letcontext_="DescribeStackDriftDetectionStatusInput"letmake~stackDriftDetectionId=fun()->{stackDriftDetectionId}letto_valuex=structure_to_value[("StackDriftDetectionId",(Some(StackDriftDetectionId.to_valuex.stackDriftDetectionId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackDriftDetectionId=StackDriftDetectionId.of_xml(Xml.child_exn~context:context_xml_arg0"StackDriftDetectionId")inmake~stackDriftDetectionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackDriftDetectionId=field_map_exnjson__"StackDriftDetectionId"StackDriftDetectionId.of_jsoninmake~stackDriftDetectionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information about stack and resource drift, see Detect unmanaged configuration changes to stacks and resources with drift detection. Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift returns a StackDriftDetectionId you can use to monitor the progress of the operation using DescribeStackDriftDetectionStatus. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources."]moduleDescribeResourceScanOutput=structtypedescribeResourceScanResult={resourceScanId:ResourceScanId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource scan. The format is arn:$\\{Partition\\}:cloudformation:$\\{Region\\}:$\\{Account\\}:resourceScan/$\\{Id\\}. An example is arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772 ."];status:ResourceScanStatus.toption[@ocaml.doc"Status of the resource scan. IN_PROGRESS The resource scan is still in progress. COMPLETE The resource scan is complete. EXPIRED The resource scan has expired. FAILED The resource scan has failed."];statusReason:ResourceScanStatusReason.toption[@ocaml.doc"The reason for the resource scan status, providing more information if a failure happened."];startTime:Timestamp.toption[@ocaml.doc"The time that the resource scan was started."];endTime:Timestamp.toption[@ocaml.doc"The time that the resource scan was finished."];percentageCompleted:PercentageCompleted.toption[@ocaml.doc"The percentage of the resource scan that has been completed."];resourceTypes:ResourceTypes.toption[@ocaml.doc"The list of resource types for the specified scan. Resource types are only available for scans with a Status set to COMPLETE or FAILED ."];resourcesScanned:ResourcesScanned.toption[@ocaml.doc"The number of resources that were listed. This is only available for scans with a Status set to COMPLETE, EXPIRED, or FAILED ."];resourcesRead:ResourcesRead.toption[@ocaml.doc"The number of resources that were read. This is only available for scans with a Status set to COMPLETE, EXPIRED, or FAILED. This field may be 0 if the resource scan failed with a ResourceScanLimitExceededException."];scanFilters:ScanFilters.toption[@ocaml.doc"The scan filters that were used."]}andresponseMetaData=unitandt={describeResourceScanResult:describeResourceScanResult;responseMetaData:responseMetaData}typeerror=[`ResourceScanNotFoundExceptionofResourceScanNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeResourceScanOutput"letmake?resourceScanId=fun?status->fun?statusReason->fun?startTime->fun?endTime->fun?percentageCompleted->fun?resourceTypes->fun?resourcesScanned->fun?resourcesRead->fun?scanFilters->fun()->{describeResourceScanResult={resourceScanId;status;statusReason;startTime;endTime;percentageCompleted;resourceTypes;resourcesScanned;resourcesRead;scanFilters};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ResourceScanNotFoundException"->`ResourceScanNotFoundException(ResourceScanNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceScanNotFoundException"->`ResourceScanNotFoundException(ResourceScanNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceScanNotFoundExceptione->`Assoc[("error",(`String"ResourceScanNotFoundException"));("details",(ResourceScanNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeResourceScanResultinstructure_to_wrapped_value[("ResourceScanId",(Option.mapx.resourceScanId~f:ResourceScanId.to_value));("Status",(Option.mapx.status~f:ResourceScanStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:ResourceScanStatusReason.to_value));("StartTime",(Option.mapx.startTime~f:Timestamp.to_value));("EndTime",(Option.mapx.endTime~f:Timestamp.to_value));("PercentageCompleted",(Option.mapx.percentageCompleted~f:PercentageCompleted.to_value));("ResourceTypes",(Option.mapx.resourceTypes~f:ResourceTypes.to_value));("ResourcesScanned",(Option.mapx.resourcesScanned~f:ResourcesScanned.to_value));("ResourcesRead",(Option.mapx.resourcesRead~f:ResourcesRead.to_value));("ScanFilters",(Option.mapx.scanFilters~f:ScanFilters.to_value))]~wrapper:"DescribeResourceScanResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeResourceScanResult"inletscanFilters=(Option.map~f:ScanFilters.of_xml)(Xml.childxml_arg0"ScanFilters")inletresourcesRead=(Option.map~f:ResourcesRead.of_xml)(Xml.childxml_arg0"ResourcesRead")inletresourcesScanned=(Option.map~f:ResourcesScanned.of_xml)(Xml.childxml_arg0"ResourcesScanned")inletresourceTypes=(Option.map~f:ResourceTypes.of_xml)(Xml.childxml_arg0"ResourceTypes")inletpercentageCompleted=(Option.map~f:PercentageCompleted.of_xml)(Xml.childxml_arg0"PercentageCompleted")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"StartTime")inletstatusReason=(Option.map~f:ResourceScanStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:ResourceScanStatus.of_xml)(Xml.childxml_arg0"Status")inletresourceScanId=(Option.map~f:ResourceScanId.of_xml)(Xml.childxml_arg0"ResourceScanId")inmake?scanFilters?resourcesRead?resourcesScanned?resourceTypes?percentageCompleted?endTime?startTime?statusReason?status?resourceScanId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscanFilters=field_mapjson__"ScanFilters"ScanFilters.of_jsoninletresourcesRead=field_mapjson__"ResourcesRead"ResourcesRead.of_jsoninletresourcesScanned=field_mapjson__"ResourcesScanned"ResourcesScanned.of_jsoninletresourceTypes=field_mapjson__"ResourceTypes"ResourceTypes.of_jsoninletpercentageCompleted=field_mapjson__"PercentageCompleted"PercentageCompleted.of_jsoninletendTime=field_mapjson__"EndTime"Timestamp.of_jsoninletstartTime=field_mapjson__"StartTime"Timestamp.of_jsoninletstatusReason=field_mapjson__"StatusReason"ResourceScanStatusReason.of_jsoninletstatus=field_mapjson__"Status"ResourceScanStatus.of_jsoninletresourceScanId=field_mapjson__"ResourceScanId"ResourceScanId.of_jsoninmake?scanFilters?resourcesRead?resourcesScanned?resourceTypes?percentageCompleted?endTime?startTime?statusReason?status?resourceScanId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes details of a resource scan."]moduleDescribeResourceScanInput=structtypenonrect={resourceScanId:ResourceScanId.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource scan."]}letcontext_="DescribeResourceScanInput"letmake~resourceScanId=fun()->{resourceScanId}letto_valuex=structure_to_value[("ResourceScanId",(Some(ResourceScanId.to_valuex.resourceScanId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceScanId=ResourceScanId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceScanId")inmake~resourceScanId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceScanId=field_map_exnjson__"ResourceScanId"ResourceScanId.of_jsoninmake~resourceScanId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes details of a resource scan."]moduleDescribePublisherOutput=structtypedescribePublisherResult={publisherId:PublisherId.toption[@ocaml.doc"The ID of the extension publisher."];publisherStatus:PublisherStatus.toption[@ocaml.doc"Whether the publisher is verified. Currently, all registered publishers are verified."];identityProvider:IdentityProvider.toption[@ocaml.doc"The type of account used as the identity provider when registering this publisher with CloudFormation."];publisherProfile:PublisherProfile.toption[@ocaml.doc"The URL to the publisher's profile with the identity provider."]}andresponseMetaData=unitandt={describePublisherResult:describePublisherResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribePublisherOutput"letmake?publisherId=fun?publisherStatus->fun?identityProvider->fun?publisherProfile->fun()->{describePublisherResult={publisherId;publisherStatus;identityProvider;publisherProfile};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describePublisherResultinstructure_to_wrapped_value[("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value));("PublisherStatus",(Option.mapx.publisherStatus~f:PublisherStatus.to_value));("IdentityProvider",(Option.mapx.identityProvider~f:IdentityProvider.to_value));("PublisherProfile",(Option.mapx.publisherProfile~f:PublisherProfile.to_value))]~wrapper:"DescribePublisherResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribePublisherResult"inletpublisherProfile=(Option.map~f:PublisherProfile.of_xml)(Xml.childxml_arg0"PublisherProfile")inletidentityProvider=(Option.map~f:IdentityProvider.of_xml)(Xml.childxml_arg0"IdentityProvider")inletpublisherStatus=(Option.map~f:PublisherStatus.of_xml)(Xml.childxml_arg0"PublisherStatus")inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inmake?publisherProfile?identityProvider?publisherStatus?publisherId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublisherProfile=field_mapjson__"PublisherProfile"PublisherProfile.of_jsoninletidentityProvider=field_mapjson__"IdentityProvider"IdentityProvider.of_jsoninletpublisherStatus=field_mapjson__"PublisherStatus"PublisherStatus.of_jsoninletpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninmake?publisherProfile?identityProvider?publisherStatus?publisherId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a CloudFormation extension publisher. If you don't supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. For more information about registering as a publisher, see: RegisterPublisher Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide"]moduleDescribePublisherInput=structtypenonrect={publisherId:PublisherId.toption[@ocaml.doc"The ID of the extension publisher. If you don't supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account."]}letmake?publisherId=fun()->{publisherId}letto_valuex=structure_to_value[("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inmake?publisherId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninmake?publisherId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a CloudFormation extension publisher. If you don't supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. For more information about registering as a publisher, see: RegisterPublisher Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide"]moduleDescribeOrganizationsAccessOutput=structtypedescribeOrganizationsAccessResult={status:OrganizationStatus.toption[@ocaml.doc"Presents the status of the OrganizationAccess."]}andresponseMetaData=unitandt={describeOrganizationsAccessResult:describeOrganizationsAccessResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationNotFoundExceptionofOperationNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeOrganizationsAccessOutput"letmake?status=fun()->{describeOrganizationsAccessResult={status};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationNotFoundExceptione->`Assoc[("error",(`String"OperationNotFoundException"));("details",(OperationNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeOrganizationsAccessResultinstructure_to_wrapped_value[("Status",(Option.mapx.status~f:OrganizationStatus.to_value))]~wrapper:"DescribeOrganizationsAccessResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeOrganizationsAccessResult"inletstatus=(Option.map~f:OrganizationStatus.of_xml)(Xml.childxml_arg0"Status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"OrganizationStatus.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the account's OrganizationAccess status. This API can be called either by the management account or the delegated administrator by using the CallAs parameter. This API can also be called without the CallAs parameter by the management account."]moduleDescribeOrganizationsAccessInput=structtypenonrect={callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letmake?callAs=fun()->{callAs}letto_valuex=structure_to_value[("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inmake?callAs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninmake?callAs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the account's OrganizationAccess status. This API can be called either by the management account or the delegated administrator by using the CallAs parameter. This API can also be called without the CallAs parameter by the management account."]moduleDescribeGeneratedTemplateOutput=structtypedescribeGeneratedTemplateResult={generatedTemplateId:GeneratedTemplateId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the generated template. The format is arn:$\\{Partition\\}:cloudformation:$\\{Region\\}:$\\{Account\\}:generatedtemplate/$\\{Id\\}. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc ."];generatedTemplateName:GeneratedTemplateName.toption[@ocaml.doc"The name of the generated template."];resources:ResourceDetails.toption[@ocaml.doc"A list of objects describing the details of the resources in the template generation."];status:GeneratedTemplateStatus.toption[@ocaml.doc"The status of the template generation. Supported values are: CreatePending - the creation of the template is pending. CreateInProgress - the creation of the template is in progress. DeletePending - the deletion of the template is pending. DeleteInProgress - the deletion of the template is in progress. UpdatePending - the update of the template is pending. UpdateInProgress - the update of the template is in progress. Failed - the template operation failed. Complete - the template operation is complete."];statusReason:TemplateStatusReason.toption[@ocaml.doc"The reason for the current template generation status. This will provide more details if a failure happened."];creationTime:CreationTime.toption[@ocaml.doc"The time the generated template was created."];lastUpdatedTime:LastUpdatedTime.toption[@ocaml.doc"The time the generated template was last updated."];progress:TemplateProgress.toption[@ocaml.doc"An object describing the progress of the template generation."];stackId:StackId.toption[@ocaml.doc"The stack ARN of the base stack if a base stack was provided when generating the template."];templateConfiguration:TemplateConfiguration.toption[@ocaml.doc"The configuration details of the generated template, including the DeletionPolicy and UpdateReplacePolicy."];totalWarnings:TotalWarnings.toption[@ocaml.doc"The number of warnings generated for this template. The warnings are found in the details of each of the resources in the template."]}andresponseMetaData=unitandt={describeGeneratedTemplateResult:describeGeneratedTemplateResult;responseMetaData:responseMetaData}typeerror=[`GeneratedTemplateNotFoundExceptionofGeneratedTemplateNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeGeneratedTemplateOutput"letmake?generatedTemplateId=fun?generatedTemplateName->fun?resources->fun?status->fun?statusReason->fun?creationTime->fun?lastUpdatedTime->fun?progress->fun?stackId->fun?templateConfiguration->fun?totalWarnings->fun()->{describeGeneratedTemplateResult={generatedTemplateId;generatedTemplateName;resources;status;statusReason;creationTime;lastUpdatedTime;progress;stackId;templateConfiguration;totalWarnings};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"GeneratedTemplateNotFoundException"->`GeneratedTemplateNotFoundException(GeneratedTemplateNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"GeneratedTemplateNotFoundException"->`GeneratedTemplateNotFoundException(GeneratedTemplateNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`GeneratedTemplateNotFoundExceptione->`Assoc[("error",(`String"GeneratedTemplateNotFoundException"));("details",(GeneratedTemplateNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeGeneratedTemplateResultinstructure_to_wrapped_value[("GeneratedTemplateId",(Option.mapx.generatedTemplateId~f:GeneratedTemplateId.to_value));("GeneratedTemplateName",(Option.mapx.generatedTemplateName~f:GeneratedTemplateName.to_value));("Resources",(Option.mapx.resources~f:ResourceDetails.to_value));("Status",(Option.mapx.status~f:GeneratedTemplateStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:TemplateStatusReason.to_value));("CreationTime",(Option.mapx.creationTime~f:CreationTime.to_value));("LastUpdatedTime",(Option.mapx.lastUpdatedTime~f:LastUpdatedTime.to_value));("Progress",(Option.mapx.progress~f:TemplateProgress.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("TemplateConfiguration",(Option.mapx.templateConfiguration~f:TemplateConfiguration.to_value));("TotalWarnings",(Option.mapx.totalWarnings~f:TotalWarnings.to_value))]~wrapper:"DescribeGeneratedTemplateResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeGeneratedTemplateResult"inlettotalWarnings=(Option.map~f:TotalWarnings.of_xml)(Xml.childxml_arg0"TotalWarnings")inlettemplateConfiguration=(Option.map~f:TemplateConfiguration.of_xml)(Xml.childxml_arg0"TemplateConfiguration")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletprogress=(Option.map~f:TemplateProgress.of_xml)(Xml.childxml_arg0"Progress")inletlastUpdatedTime=(Option.map~f:LastUpdatedTime.of_xml)(Xml.childxml_arg0"LastUpdatedTime")inletcreationTime=(Option.map~f:CreationTime.of_xml)(Xml.childxml_arg0"CreationTime")inletstatusReason=(Option.map~f:TemplateStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:GeneratedTemplateStatus.of_xml)(Xml.childxml_arg0"Status")inletresources=(Option.map~f:ResourceDetails.of_xml)(Xml.childxml_arg0"Resources")inletgeneratedTemplateName=(Option.map~f:GeneratedTemplateName.of_xml)(Xml.childxml_arg0"GeneratedTemplateName")inletgeneratedTemplateId=(Option.map~f:GeneratedTemplateId.of_xml)(Xml.childxml_arg0"GeneratedTemplateId")inmake?totalWarnings?templateConfiguration?stackId?progress?lastUpdatedTime?creationTime?statusReason?status?resources?generatedTemplateName?generatedTemplateId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettotalWarnings=field_mapjson__"TotalWarnings"TotalWarnings.of_jsoninlettemplateConfiguration=field_mapjson__"TemplateConfiguration"TemplateConfiguration.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninletprogress=field_mapjson__"Progress"TemplateProgress.of_jsoninletlastUpdatedTime=field_mapjson__"LastUpdatedTime"LastUpdatedTime.of_jsoninletcreationTime=field_mapjson__"CreationTime"CreationTime.of_jsoninletstatusReason=field_mapjson__"StatusReason"TemplateStatusReason.of_jsoninletstatus=field_mapjson__"Status"GeneratedTemplateStatus.of_jsoninletresources=field_mapjson__"Resources"ResourceDetails.of_jsoninletgeneratedTemplateName=field_mapjson__"GeneratedTemplateName"GeneratedTemplateName.of_jsoninletgeneratedTemplateId=field_mapjson__"GeneratedTemplateId"GeneratedTemplateId.of_jsoninmake?totalWarnings?templateConfiguration?stackId?progress?lastUpdatedTime?creationTime?statusReason?status?resources?generatedTemplateName?generatedTemplateId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a generated template. The output includes details about the progress of the creation of a generated template started by a CreateGeneratedTemplate API action or the update of a generated template started with an UpdateGeneratedTemplate API action."]moduleDescribeGeneratedTemplateInput=structtypenonrect={generatedTemplateName:GeneratedTemplateName.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of a generated template."]}letcontext_="DescribeGeneratedTemplateInput"letmake~generatedTemplateName=fun()->{generatedTemplateName}letto_valuex=structure_to_value[("GeneratedTemplateName",(Some(GeneratedTemplateName.to_valuex.generatedTemplateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgeneratedTemplateName=GeneratedTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"GeneratedTemplateName")inmake~generatedTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeneratedTemplateName=field_map_exnjson__"GeneratedTemplateName"GeneratedTemplateName.of_jsoninmake~generatedTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a generated template. The output includes details about the progress of the creation of a generated template started by a CreateGeneratedTemplate API action or the update of a generated template started with an UpdateGeneratedTemplate API action."]moduleDescribeEventsOutput=structtypedescribeEventsResult={operationEvents:OperationEvents.toption[@ocaml.doc"A list of operation events that match the specified criteria."];nextToken:NextToken.toption[@ocaml.doc"If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call DescribeEvents again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."]}andresponseMetaData=unitandt={describeEventsResult:describeEventsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeEventsOutput"letmake?operationEvents=fun?nextToken->fun()->{describeEventsResult={operationEvents;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeEventsResultinstructure_to_wrapped_value[("OperationEvents",(Option.mapx.operationEvents~f:OperationEvents.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"DescribeEventsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeEventsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletoperationEvents=(Option.map~f:OperationEvents.of_xml)(Xml.childxml_arg0"OperationEvents")inmake?nextToken?operationEvents()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletoperationEvents=field_mapjson__"OperationEvents"OperationEvents.of_jsoninmake?nextToken?operationEvents()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns CloudFormation events based on flexible query criteria. Groups events by operation ID, enabling you to focus on individual stack operations during deployment. An operation is any action performed on a stack, including stack lifecycle actions (Create, Update, Delete, Rollback), change set creation, nested stack creation, and automatic rollbacks triggered by failures. Each operation has a unique identifier (Operation ID) and represents a discrete change attempt on the stack. Returns different types of events including: Progress events - Status updates during stack operation execution. Validation errors - Failures from CloudFormation Early Validations. Provisioning errors - Resource creation and update failures. Hook invocation errors - Failures from CloudFormation Hook during stack operations. One of ChangeSetName, OperationId or StackName must be specified as input."]moduleDescribeEventsInput=structtypenonrect={stackName:StackNameOrId.toption[@ocaml.doc"The name or unique stack ID for which you want to retrieve events."];changeSetName:ChangeSetNameOrId.toption[@ocaml.doc"The name or Amazon Resource Name (ARN) of the change set for which you want to retrieve events."];operationId:OperationId.toption[@ocaml.doc"The unique identifier of the operation for which you want to retrieve events."];filters:EventFilter.toption[@ocaml.doc"Filters to apply when retrieving events."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letmake?stackName=fun?changeSetName->fun?operationId->fun?filters->fun?nextToken->fun()->{stackName;changeSetName;operationId;filters;nextToken}letto_valuex=structure_to_value[("StackName",(Option.mapx.stackName~f:StackNameOrId.to_value));("ChangeSetName",(Option.mapx.changeSetName~f:ChangeSetNameOrId.to_value));("OperationId",(Option.mapx.operationId~f:OperationId.to_value));("Filters",(Option.mapx.filters~f:EventFilter.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")inletfilters=(Option.map~f:EventFilter.of_xml)(Xml.childxml_arg0"Filters")inletoperationId=(Option.map~f:OperationId.of_xml)(Xml.childxml_arg0"OperationId")inletchangeSetName=(Option.map~f:ChangeSetNameOrId.of_xml)(Xml.childxml_arg0"ChangeSetName")inletstackName=(Option.map~f:StackNameOrId.of_xml)(Xml.childxml_arg0"StackName")inmake?nextToken?filters?operationId?changeSetName?stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletfilters=field_mapjson__"Filters"EventFilter.of_jsoninletoperationId=field_mapjson__"OperationId"OperationId.of_jsoninletchangeSetName=field_mapjson__"ChangeSetName"ChangeSetNameOrId.of_jsoninletstackName=field_mapjson__"StackName"StackNameOrId.of_jsoninmake?nextToken?filters?operationId?changeSetName?stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns CloudFormation events based on flexible query criteria. Groups events by operation ID, enabling you to focus on individual stack operations during deployment. An operation is any action performed on a stack, including stack lifecycle actions (Create, Update, Delete, Rollback), change set creation, nested stack creation, and automatic rollbacks triggered by failures. Each operation has a unique identifier (Operation ID) and represents a discrete change attempt on the stack. Returns different types of events including: Progress events - Status updates during stack operation execution. Validation errors - Failures from CloudFormation Early Validations. Provisioning errors - Resource creation and update failures. Hook invocation errors - Failures from CloudFormation Hook during stack operations. One of ChangeSetName, OperationId or StackName must be specified as input."]moduleDescribeChangeSetOutput=structtypedescribeChangeSetResult={changeSetName:ChangeSetName.toption[@ocaml.doc"The name of the change set."];changeSetId:ChangeSetId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the change set."];stackId:StackId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the stack that's associated with the change set."];stackName:StackName.toption[@ocaml.doc"The name of the stack that's associated with the change set."];description:Description.toption[@ocaml.doc"Information about the change set."];parameters:Parameters.toption[@ocaml.doc"A list of Parameter structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type."];creationTime:CreationTime.toption[@ocaml.doc"The start time when the change set was created, in UTC."];executionStatus:ExecutionStatus.toption[@ocaml.doc"If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated."];status:ChangeSetStatus.toption[@ocaml.doc"The current status of the change set, such as CREATE_PENDING, CREATE_COMPLETE, or FAILED."];statusReason:ChangeSetStatusReason.toption[@ocaml.doc"A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message."];stackDriftStatus:StackDriftStatus.toption[@ocaml.doc"The drift status of the stack when the change set was created. Valid values: DRIFTED \226\128\147 The stack has drifted from its last deployment. IN_SYNC \226\128\147 The stack is in sync with its last deployment. NOT_CHECKED \226\128\147 CloudFormation doesn\226\128\153t currently return this value. UNKNOWN \226\128\147 The drift status could not be determined. Only present for drift-aware change sets."];notificationARNs:NotificationARNs.toption[@ocaml.doc"The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set."];rollbackConfiguration:RollbackConfiguration.toption[@ocaml.doc"The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards."];capabilities:Capabilities.toption[@ocaml.doc"If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created."];tags:Tags.toption[@ocaml.doc"If you execute the change set, the tags that will be associated with the stack."];changes:Changes.toption[@ocaml.doc"A list of Change structures that describes the resources CloudFormation changes if you execute the change set."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null."];includeNestedStacks:IncludeNestedStacks.toption[@ocaml.doc"Verifies if IncludeNestedStacks is set to True."];parentChangeSetId:ChangeSetId.toption[@ocaml.doc"Specifies the change set ID of the parent change set in the current nested change set hierarchy."];rootChangeSetId:ChangeSetId.toption[@ocaml.doc"Specifies the change set ID of the root change set in the current nested change set hierarchy."];onStackFailure:OnStackFailure.toption[@ocaml.doc"Determines what action will be taken if stack creation fails. When this parameter is specified, the DisableRollback parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values: DELETE - Deletes the change set if the stack creation fails. This is only valid when the ChangeSetType parameter is set to CREATE. If the deletion of the stack fails, the status of the stack is DELETE_FAILED. DO_NOTHING - if the stack creation fails, do nothing. This is equivalent to specifying true for the DisableRollback parameter to the ExecuteChangeSet API operation. ROLLBACK - if the stack creation fails, roll back the stack. This is equivalent to specifying false for the DisableRollback parameter to the ExecuteChangeSet API operation."];importExistingResources:ImportExistingResources.toption[@ocaml.doc"Indicates if the change set imports resources that already exist. This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead."];deploymentMode:DeploymentMode.toption[@ocaml.doc"The deployment mode specified when the change set was created. Valid value is REVERT_DRIFT. Only present for drift-aware change sets."]}andresponseMetaData=unitandt={describeChangeSetResult:describeChangeSetResult;responseMetaData:responseMetaData}typeerror=[`ChangeSetNotFoundExceptionofChangeSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeChangeSetOutput"letmake?changeSetName=fun?changeSetId->fun?stackId->fun?stackName->fun?description->fun?parameters->fun?creationTime->fun?executionStatus->fun?status->fun?statusReason->fun?stackDriftStatus->fun?notificationARNs->fun?rollbackConfiguration->fun?capabilities->fun?tags->fun?changes->fun?nextToken->fun?includeNestedStacks->fun?parentChangeSetId->fun?rootChangeSetId->fun?onStackFailure->fun?importExistingResources->fun?deploymentMode->fun()->{describeChangeSetResult={changeSetName;changeSetId;stackId;stackName;description;parameters;creationTime;executionStatus;status;statusReason;stackDriftStatus;notificationARNs;rollbackConfiguration;capabilities;tags;changes;nextToken;includeNestedStacks;parentChangeSetId;rootChangeSetId;onStackFailure;importExistingResources;deploymentMode};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ChangeSetNotFoundExceptione->`Assoc[("error",(`String"ChangeSetNotFoundException"));("details",(ChangeSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeChangeSetResultinstructure_to_wrapped_value[("ChangeSetName",(Option.mapx.changeSetName~f:ChangeSetName.to_value));("ChangeSetId",(Option.mapx.changeSetId~f:ChangeSetId.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("StackName",(Option.mapx.stackName~f:StackName.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("CreationTime",(Option.mapx.creationTime~f:CreationTime.to_value));("ExecutionStatus",(Option.mapx.executionStatus~f:ExecutionStatus.to_value));("Status",(Option.mapx.status~f:ChangeSetStatus.to_value));("StatusReason",(Option.mapx.statusReason~f:ChangeSetStatusReason.to_value));("StackDriftStatus",(Option.mapx.stackDriftStatus~f:StackDriftStatus.to_value));("NotificationARNs",(Option.mapx.notificationARNs~f:NotificationARNs.to_value));("RollbackConfiguration",(Option.mapx.rollbackConfiguration~f:RollbackConfiguration.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("Changes",(Option.mapx.changes~f:Changes.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("IncludeNestedStacks",(Option.mapx.includeNestedStacks~f:IncludeNestedStacks.to_value));("ParentChangeSetId",(Option.mapx.parentChangeSetId~f:ChangeSetId.to_value));("RootChangeSetId",(Option.mapx.rootChangeSetId~f:ChangeSetId.to_value));("OnStackFailure",(Option.mapx.onStackFailure~f:OnStackFailure.to_value));("ImportExistingResources",(Option.mapx.importExistingResources~f:ImportExistingResources.to_value));("DeploymentMode",(Option.mapx.deploymentMode~f:DeploymentMode.to_value))]~wrapper:"DescribeChangeSetResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeChangeSetResult"inletdeploymentMode=(Option.map~f:DeploymentMode.of_xml)(Xml.childxml_arg0"DeploymentMode")inletimportExistingResources=(Option.map~f:ImportExistingResources.of_xml)(Xml.childxml_arg0"ImportExistingResources")inletonStackFailure=(Option.map~f:OnStackFailure.of_xml)(Xml.childxml_arg0"OnStackFailure")inletrootChangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"RootChangeSetId")inletparentChangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"ParentChangeSetId")inletincludeNestedStacks=(Option.map~f:IncludeNestedStacks.of_xml)(Xml.childxml_arg0"IncludeNestedStacks")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletchanges=(Option.map~f:Changes.of_xml)(Xml.childxml_arg0"Changes")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletrollbackConfiguration=(Option.map~f:RollbackConfiguration.of_xml)(Xml.childxml_arg0"RollbackConfiguration")inletnotificationARNs=(Option.map~f:NotificationARNs.of_xml)(Xml.childxml_arg0"NotificationARNs")inletstackDriftStatus=(Option.map~f:StackDriftStatus.of_xml)(Xml.childxml_arg0"StackDriftStatus")inletstatusReason=(Option.map~f:ChangeSetStatusReason.of_xml)(Xml.childxml_arg0"StatusReason")inletstatus=(Option.map~f:ChangeSetStatus.of_xml)(Xml.childxml_arg0"Status")inletexecutionStatus=(Option.map~f:ExecutionStatus.of_xml)(Xml.childxml_arg0"ExecutionStatus")inletcreationTime=(Option.map~f:CreationTime.of_xml)(Xml.childxml_arg0"CreationTime")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletchangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"ChangeSetId")inletchangeSetName=(Option.map~f:ChangeSetName.of_xml)(Xml.childxml_arg0"ChangeSetName")inmake?deploymentMode?importExistingResources?onStackFailure?rootChangeSetId?parentChangeSetId?includeNestedStacks?nextToken?changes?tags?capabilities?rollbackConfiguration?notificationARNs?stackDriftStatus?statusReason?status?executionStatus?creationTime?parameters?description?stackName?stackId?changeSetId?changeSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeploymentMode=field_mapjson__"DeploymentMode"DeploymentMode.of_jsoninletimportExistingResources=field_mapjson__"ImportExistingResources"ImportExistingResources.of_jsoninletonStackFailure=field_mapjson__"OnStackFailure"OnStackFailure.of_jsoninletrootChangeSetId=field_mapjson__"RootChangeSetId"ChangeSetId.of_jsoninletparentChangeSetId=field_mapjson__"ParentChangeSetId"ChangeSetId.of_jsoninletincludeNestedStacks=field_mapjson__"IncludeNestedStacks"IncludeNestedStacks.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletchanges=field_mapjson__"Changes"Changes.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletrollbackConfiguration=field_mapjson__"RollbackConfiguration"RollbackConfiguration.of_jsoninletnotificationARNs=field_mapjson__"NotificationARNs"NotificationARNs.of_jsoninletstackDriftStatus=field_mapjson__"StackDriftStatus"StackDriftStatus.of_jsoninletstatusReason=field_mapjson__"StatusReason"ChangeSetStatusReason.of_jsoninletstatus=field_mapjson__"Status"ChangeSetStatus.of_jsoninletexecutionStatus=field_mapjson__"ExecutionStatus"ExecutionStatus.of_jsoninletcreationTime=field_mapjson__"CreationTime"CreationTime.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninletchangeSetId=field_mapjson__"ChangeSetId"ChangeSetId.of_jsoninletchangeSetName=field_mapjson__"ChangeSetName"ChangeSetName.of_jsoninmake?deploymentMode?importExistingResources?onStackFailure?rootChangeSetId?parentChangeSetId?includeNestedStacks?nextToken?changes?tags?capabilities?rollbackConfiguration?notificationARNs?stackDriftStatus?statusReason?status?executionStatus?creationTime?parameters?description?stackName?stackId?changeSetId?changeSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for the DescribeChangeSet action."]moduleDescribeChangeSetInput=structtypenonrect={changeSetName:ChangeSetNameOrId.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of the change set that you want to describe."];stackName:StackNameOrId.toption[@ocaml.doc"If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to describe."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];includePropertyValues:IncludePropertyValues.toption[@ocaml.doc"If true, the returned changes include detailed changes in the property values."]}letcontext_="DescribeChangeSetInput"letmake?stackName=fun?nextToken->fun?includePropertyValues->fun~changeSetName->fun()->{stackName;nextToken;includePropertyValues;changeSetName}letto_valuex=structure_to_value[("ChangeSetName",(Some(ChangeSetNameOrId.to_valuex.changeSetName)));("StackName",(Option.mapx.stackName~f:StackNameOrId.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("IncludePropertyValues",(Option.mapx.includePropertyValues~f:IncludePropertyValues.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letincludePropertyValues=(Option.map~f:IncludePropertyValues.of_xml)(Xml.childxml_arg0"IncludePropertyValues")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackName=(Option.map~f:StackNameOrId.of_xml)(Xml.childxml_arg0"StackName")inletchangeSetName=ChangeSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"ChangeSetName")inmake?includePropertyValues?nextToken?stackName~changeSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letincludePropertyValues=field_mapjson__"IncludePropertyValues"IncludePropertyValues.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackName=field_mapjson__"StackName"StackNameOrId.of_jsoninletchangeSetName=field_map_exnjson__"ChangeSetName"ChangeSetNameOrId.of_jsoninmake?includePropertyValues?nextToken?stackName~changeSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the DescribeChangeSet action."]moduleDescribeChangeSetHooksOutput=structtypedescribeChangeSetHooksResult={changeSetId:ChangeSetId.toption[@ocaml.doc"The change set identifier (stack ID)."];changeSetName:ChangeSetName.toption[@ocaml.doc"The change set name."];hooks:ChangeSetHooks.toption[@ocaml.doc"List of Hook objects."];status:ChangeSetHooksStatus.toption[@ocaml.doc"Provides the status of the change set Hook."];nextToken:NextToken.toption[@ocaml.doc"Pagination token, null or empty if no more results."];stackId:StackId.toption[@ocaml.doc"The stack identifier (stack ID)."];stackName:StackName.toption[@ocaml.doc"The stack name."]}andresponseMetaData=unitandt={describeChangeSetHooksResult:describeChangeSetHooksResult;responseMetaData:responseMetaData}typeerror=[`ChangeSetNotFoundExceptionofChangeSetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeChangeSetHooksOutput"letmake?changeSetId=fun?changeSetName->fun?hooks->fun?status->fun?nextToken->fun?stackId->fun?stackName->fun()->{describeChangeSetHooksResult={changeSetId;changeSetName;hooks;status;nextToken;stackId;stackName};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ChangeSetNotFoundException"->`ChangeSetNotFoundException(ChangeSetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ChangeSetNotFoundExceptione->`Assoc[("error",(`String"ChangeSetNotFoundException"));("details",(ChangeSetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeChangeSetHooksResultinstructure_to_wrapped_value[("ChangeSetId",(Option.mapx.changeSetId~f:ChangeSetId.to_value));("ChangeSetName",(Option.mapx.changeSetName~f:ChangeSetName.to_value));("Hooks",(Option.mapx.hooks~f:ChangeSetHooks.to_value));("Status",(Option.mapx.status~f:ChangeSetHooksStatus.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("StackName",(Option.mapx.stackName~f:StackName.to_value))]~wrapper:"DescribeChangeSetHooksResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeChangeSetHooksResult"inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstatus=(Option.map~f:ChangeSetHooksStatus.of_xml)(Xml.childxml_arg0"Status")inlethooks=(Option.map~f:ChangeSetHooks.of_xml)(Xml.childxml_arg0"Hooks")inletchangeSetName=(Option.map~f:ChangeSetName.of_xml)(Xml.childxml_arg0"ChangeSetName")inletchangeSetId=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"ChangeSetId")inmake?stackName?stackId?nextToken?status?hooks?changeSetName?changeSetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackName=field_mapjson__"StackName"StackName.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstatus=field_mapjson__"Status"ChangeSetHooksStatus.of_jsoninlethooks=field_mapjson__"Hooks"ChangeSetHooks.of_jsoninletchangeSetName=field_mapjson__"ChangeSetName"ChangeSetName.of_jsoninletchangeSetId=field_mapjson__"ChangeSetId"ChangeSetId.of_jsoninmake?stackName?stackId?nextToken?status?hooks?changeSetName?changeSetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns Hook-related information for the change set and a list of changes that CloudFormation makes when you run the change set."]moduleDescribeChangeSetHooksInput=structtypenonrect={changeSetName:ChangeSetNameOrId.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of the change set that you want to describe."];stackName:StackNameOrId.toption[@ocaml.doc"If you specified the name of a change set, specify the stack name or stack ID (ARN) of the change set you want to describe."];nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"];logicalResourceId:LogicalResourceId.toption[@ocaml.doc"If specified, lists only the Hooks related to the specified LogicalResourceId."]}letcontext_="DescribeChangeSetHooksInput"letmake?stackName=fun?nextToken->fun?logicalResourceId->fun~changeSetName->fun()->{stackName;nextToken;logicalResourceId;changeSetName}letto_valuex=structure_to_value[("ChangeSetName",(Some(ChangeSetNameOrId.to_valuex.changeSetName)));("StackName",(Option.mapx.stackName~f:StackNameOrId.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("LogicalResourceId",(Option.mapx.logicalResourceId~f:LogicalResourceId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogicalResourceId=(Option.map~f:LogicalResourceId.of_xml)(Xml.childxml_arg0"LogicalResourceId")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstackName=(Option.map~f:StackNameOrId.of_xml)(Xml.childxml_arg0"StackName")inletchangeSetName=ChangeSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"ChangeSetName")inmake?logicalResourceId?nextToken?stackName~changeSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogicalResourceId=field_mapjson__"LogicalResourceId"LogicalResourceId.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstackName=field_mapjson__"StackName"StackNameOrId.of_jsoninletchangeSetName=field_map_exnjson__"ChangeSetName"ChangeSetNameOrId.of_jsoninmake?logicalResourceId?nextToken?stackName~changeSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns Hook-related information for the change set and a list of changes that CloudFormation makes when you run the change set."]moduleDescribeAccountLimitsOutput=structtypedescribeAccountLimitsResult={accountLimits:AccountLimitList.toption[@ocaml.doc"An account limit structure that contain a list of CloudFormation account limits and their values."];nextToken:NextToken.toption[@ocaml.doc"If the output exceeds 1 MB in size, a string that identifies the next page of limits. If no additional page exists, this value is null."]}andresponseMetaData=unitandt={describeAccountLimitsResult:describeAccountLimitsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeAccountLimitsOutput"letmake?accountLimits=fun?nextToken->fun()->{describeAccountLimitsResult={accountLimits;nextToken};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeAccountLimitsResultinstructure_to_wrapped_value[("AccountLimits",(Option.mapx.accountLimits~f:AccountLimitList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]~wrapper:"DescribeAccountLimitsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeAccountLimitsResult"inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletaccountLimits=(Option.map~f:AccountLimitList.of_xml)(Xml.childxml_arg0"AccountLimits")inmake?nextToken?accountLimits()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletaccountLimits=field_mapjson__"AccountLimits"AccountLimitList.of_jsoninmake?nextToken?accountLimits()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for the DescribeAccountLimits action."]moduleDescribeAccountLimitsInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The token for the next set of items to return. (You received this token from a previous call.)"]}letmake?nextToken=fun()->{nextToken}letto_valuex=structure_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")inmake?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the DescribeAccountLimits action."]moduleDeregisterTypeOutput=structtypederegisterTypeResult=unitandresponseMetaData=unitandt={deregisterTypeResult:deregisterTypeResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={deregisterTypeResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.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"Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations. To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry. You can't deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the extension type itself is deregistered as well and marked as deprecated. To view the deprecation status of an extension or extension version, use DescribeType. For more information, see Remove third-party private extensions from your account in the CloudFormation User Guide."]moduleDeregisterTypeInput=structtypenonrect={arn:PrivateTypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the extension. Conditional: You must specify either TypeName and Type, or Arn."];type_:RegistryType.toption[@ocaml.doc"The kind of extension. Conditional: You must specify either TypeName and Type, or Arn."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. Conditional: You must specify either TypeName and Type, or Arn."];versionId:TypeVersionId.toption[@ocaml.doc"The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered."]}letmake?arn=fun?type_->fun?typeName->fun?versionId->fun()->{arn;type_;typeName;versionId}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:PrivateTypeArn.to_value));("Type",(Option.mapx.type_~f:RegistryType.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("VersionId",(Option.mapx.versionId~f:TypeVersionId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversionId=(Option.map~f:TypeVersionId.of_xml)(Xml.childxml_arg0"VersionId")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inlettype_=(Option.map~f:RegistryType.of_xml)(Xml.childxml_arg0"Type")inletarn=(Option.map~f:PrivateTypeArn.of_xml)(Xml.childxml_arg0"Arn")inmake?versionId?typeName?type_?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversionId=field_mapjson__"VersionId"TypeVersionId.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninlettype_=field_mapjson__"Type"RegistryType.of_jsoninletarn=field_mapjson__"Arn"PrivateTypeArn.of_jsoninmake?versionId?typeName?type_?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations. To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry. You can't deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the extension type itself is deregistered as well and marked as deprecated. To view the deprecation status of an extension or extension version, use DescribeType. For more information, see Remove third-party private extensions from your account in the CloudFormation User Guide."]moduleDeleteStackSetOutput=structtypedeleteStackSetResult=unitandresponseMetaData=unitandt={deleteStackSetResult:deleteStackSetResult;responseMetaData:responseMetaData}typeerror=[`OperationInProgressExceptionofOperationInProgressException.t|`StackSetNotEmptyExceptionofStackSetNotEmptyException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={deleteStackSetResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_jsonjson)|"StackSetNotEmptyException"->`StackSetNotEmptyException(StackSetNotEmptyException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_xmlxml)|"StackSetNotEmptyException"->`StackSetNotEmptyException(StackSetNotEmptyException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`OperationInProgressExceptione->`Assoc[("error",(`String"OperationInProgressException"));("details",(OperationInProgressException.to_jsone))]|`StackSetNotEmptyExceptione->`Assoc[("error",(`String"StackSetNotEmptyException"));("details",(StackSetNotEmptyException.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 StackSet. Before you can delete a StackSet, all its member stack instances must be deleted. For more information about how to complete this, see DeleteStackInstances."]moduleDeleteStackSetInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you're deleting. You can obtain this value by running ListStackSets."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="DeleteStackSetInput"letmake?callAs=fun~stackSetName->fun()->{callAs;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a StackSet. Before you can delete a StackSet, all its member stack instances must be deleted. For more information about how to complete this, see DeleteStackInstances."]moduleDeleteStackInstancesOutput=structtypedeleteStackInstancesResult={operationId:ClientRequestToken.toption[@ocaml.doc"The unique identifier for this StackSet operation."]}andresponseMetaData=unitandt={deleteStackInstancesResult:deleteStackInstancesResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationIdAlreadyExistsExceptionofOperationIdAlreadyExistsException.t|`OperationInProgressExceptionofOperationInProgressException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`StaleRequestExceptionofStaleRequestException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DeleteStackInstancesOutput"letmake?operationId=fun()->{deleteStackInstancesResult={operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_jsonjson)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_xmlxml)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationIdAlreadyExistsExceptione->`Assoc[("error",(`String"OperationIdAlreadyExistsException"));("details",(OperationIdAlreadyExistsException.to_jsone))]|`OperationInProgressExceptione->`Assoc[("error",(`String"OperationInProgressException"));("details",(OperationInProgressException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`StaleRequestExceptione->`Assoc[("error",(`String"StaleRequestException"));("details",(StaleRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.deleteStackInstancesResultinstructure_to_wrapped_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value))]~wrapper:"DeleteStackInstancesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DeleteStackInstancesResult"inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes stack instances for the specified accounts, in the specified Amazon Web Services Regions. The maximum number of organizational unit (OUs) supported by a DeleteStackInstances operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleDeleteStackInstancesInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you want to delete stack instances for."];accounts:AccountList.toption[@ocaml.doc"\\[Self-managed permissions\\] The account IDs of the Amazon Web Services accounts that you want to delete stack instances for. You can specify Accounts or DeploymentTargets, but not both."];deploymentTargets:DeploymentTargets.toption[@ocaml.doc"\\[Service-managed permissions\\] The Organizations accounts from which to delete stack instances. You can specify Accounts or DeploymentTargets, but not both."];regions:RegionList.t[@ocaml.doc"The Amazon Web Services Regions where you want to delete StackSet instances."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"Preferences for how CloudFormation performs this StackSet operation."];retainStacks:RetainStacks.t[@ocaml.doc"Removes the stack instances from the specified StackSet, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. For more information, see StackSet operation options."];operationId:ClientRequestToken.toption[@ocaml.doc"The unique identifier for this StackSet operation. If you don't specify an operation ID, the SDK generates one automatically. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the StackSet operation only once, even if you retry the request multiple times. You can retry StackSet operation requests to ensure that CloudFormation successfully received them. Repeating this StackSet operation with a new operation ID retries all stack instances whose status is OUTDATED."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="DeleteStackInstancesInput"letmake?accounts=fun?deploymentTargets->fun?operationPreferences->fun?operationId->fun?callAs->fun~stackSetName->fun~regions->fun~retainStacks->fun()->{accounts;deploymentTargets;operationPreferences;operationId;callAs;stackSetName;regions;retainStacks}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("Accounts",(Option.mapx.accounts~f:AccountList.to_value));("DeploymentTargets",(Option.mapx.deploymentTargets~f:DeploymentTargets.to_value));("Regions",(Some(RegionList.to_valuex.regions)));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value));("RetainStacks",(Some(RetainStacks.to_valuex.retainStacks)));("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inletretainStacks=RetainStacks.of_xml(Xml.child_exn~context:context_xml_arg0"RetainStacks")inletoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inletregions=RegionList.of_xml(Xml.child_exn~context:context_xml_arg0"Regions")inletdeploymentTargets=(Option.map~f:DeploymentTargets.of_xml)(Xml.childxml_arg0"DeploymentTargets")inletaccounts=(Option.map~f:AccountList.of_xml)(Xml.childxml_arg0"Accounts")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?operationId~retainStacks?operationPreferences~regions?deploymentTargets?accounts~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninletretainStacks=field_map_exnjson__"RetainStacks"RetainStacks.of_jsoninletoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninletregions=field_map_exnjson__"Regions"RegionList.of_jsoninletdeploymentTargets=field_mapjson__"DeploymentTargets"DeploymentTargets.of_jsoninletaccounts=field_mapjson__"Accounts"AccountList.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs?operationId~retainStacks?operationPreferences~regions?deploymentTargets?accounts~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes stack instances for the specified accounts, in the specified Amazon Web Services Regions. The maximum number of organizational unit (OUs) supported by a DeleteStackInstances operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleDeleteStackInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name or the unique stack ID that's associated with the stack."];retainResources:RetainResources.toption[@ocaml.doc"For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, CloudFormation deletes the stack but doesn't delete the retained resources. Retaining resources is useful when you can't delete a resource, such as a non-empty S3 bucket, but you want to delete the stack."];roleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that CloudFormation successfully received them. All events initiated by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002."];deletionMode:DeletionMode.toption[@ocaml.doc"Specifies the deletion mode for the stack. Possible values are: STANDARD - Use the standard behavior. Specifying this value is the same as not specifying this parameter. FORCE_DELETE_STACK - Delete the stack if it's stuck in a DELETE_FAILED state due to resource deletion failure."]}letcontext_="DeleteStackInput"letmake?retainResources=fun?roleARN->fun?clientRequestToken->fun?deletionMode->fun~stackName->fun()->{retainResources;roleARN;clientRequestToken;deletionMode;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("RetainResources",(Option.mapx.retainResources~f:RetainResources.to_value));("RoleARN",(Option.mapx.roleARN~f:RoleARN.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("DeletionMode",(Option.mapx.deletionMode~f:DeletionMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeletionMode=(Option.map~f:DeletionMode.of_xml)(Xml.childxml_arg0"DeletionMode")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletroleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"RoleARN")inletretainResources=(Option.map~f:RetainResources.of_xml)(Xml.childxml_arg0"RetainResources")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?deletionMode?clientRequestToken?roleARN?retainResources~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeletionMode=field_mapjson__"DeletionMode"DeletionMode.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletroleARN=field_mapjson__"RoleARN"RoleARN.of_jsoninletretainResources=field_mapjson__"RetainResources"RetainResources.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake?deletionMode?clientRequestToken?roleARN?retainResources~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for DeleteStack action."]moduleDeleteGeneratedTemplateInput=structtypenonrect={generatedTemplateName:GeneratedTemplateName.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of a generated template."]}letcontext_="DeleteGeneratedTemplateInput"letmake~generatedTemplateName=fun()->{generatedTemplateName}letto_valuex=structure_to_value[("GeneratedTemplateName",(Some(GeneratedTemplateName.to_valuex.generatedTemplateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgeneratedTemplateName=GeneratedTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"GeneratedTemplateName")inmake~generatedTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeneratedTemplateName=field_map_exnjson__"GeneratedTemplateName"GeneratedTemplateName.of_jsoninmake~generatedTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deleted a generated template."]moduleDeleteChangeSetOutput=structtypedeleteChangeSetResult=unitandresponseMetaData=unitandt={deleteChangeSetResult:deleteChangeSetResult;responseMetaData:responseMetaData}typeerror=[`InvalidChangeSetStatusExceptionofInvalidChangeSetStatusException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={deleteChangeSetResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidChangeSetStatusException"->`InvalidChangeSetStatusException(InvalidChangeSetStatusException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidChangeSetStatusException"->`InvalidChangeSetStatusException(InvalidChangeSetStatusException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidChangeSetStatusExceptione->`Assoc[("error",(`String"InvalidChangeSetStatusException"));("details",(InvalidChangeSetStatusException.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"The output for the DeleteChangeSet action."]moduleDeleteChangeSetInput=structtypenonrect={changeSetName:ChangeSetNameOrId.t[@ocaml.doc"The name or Amazon Resource Name (ARN) of the change set that you want to delete."];stackName:StackNameOrId.toption[@ocaml.doc"If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's associated with it."]}letcontext_="DeleteChangeSetInput"letmake?stackName=fun~changeSetName->fun()->{stackName;changeSetName}letto_valuex=structure_to_value[("ChangeSetName",(Some(ChangeSetNameOrId.to_valuex.changeSetName)));("StackName",(Option.mapx.stackName~f:StackNameOrId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackName=(Option.map~f:StackNameOrId.of_xml)(Xml.childxml_arg0"StackName")inletchangeSetName=ChangeSetNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"ChangeSetName")inmake?stackName~changeSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackName=field_mapjson__"StackName"StackNameOrId.of_jsoninletchangeSetName=field_map_exnjson__"ChangeSetName"ChangeSetNameOrId.of_jsoninmake?stackName~changeSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the DeleteChangeSet action."]moduleDeactivateTypeOutput=structtypedeactivateTypeResult=unitandresponseMetaData=unitandt={deactivateTypeResult:deactivateTypeResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={deactivateTypeResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.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"Deactivates a public third-party extension, such as a resource or module, or a CloudFormation Hook when you no longer use it. Deactivating an extension deletes the configuration details that are associated with it. To temporarily disable a CloudFormation Hook instead, you can use SetTypeConfiguration. Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is released. To see which extensions are currently activated, use ListTypes."]moduleDeactivateTypeInput=structtypenonrect={typeName:TypeName.toption[@ocaml.doc"The type name of the extension in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias. Conditional: You must specify either Arn, or TypeName and Type."];type_:ThirdPartyType.toption[@ocaml.doc"The extension type. Conditional: You must specify either Arn, or TypeName and Type."];arn:PrivateTypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the extension in this account and Region. Conditional: You must specify either Arn, or TypeName and Type."]}letmake?typeName=fun?type_->fun?arn->fun()->{typeName;type_;arn}letto_valuex=structure_to_value[("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("Type",(Option.mapx.type_~f:ThirdPartyType.to_value));("Arn",(Option.mapx.arn~f:PrivateTypeArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:PrivateTypeArn.of_xml)(Xml.childxml_arg0"Arn")inlettype_=(Option.map~f:ThirdPartyType.of_xml)(Xml.childxml_arg0"Type")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inmake?arn?type_?typeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"PrivateTypeArn.of_jsoninlettype_=field_mapjson__"Type"ThirdPartyType.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninmake?arn?type_?typeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deactivates a public third-party extension, such as a resource or module, or a CloudFormation Hook when you no longer use it. Deactivating an extension deletes the configuration details that are associated with it. To temporarily disable a CloudFormation Hook instead, you can use SetTypeConfiguration. Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is released. To see which extensions are currently activated, use ListTypes."]moduleDeactivateOrganizationsAccessOutput=structtypedeactivateOrganizationsAccessResult=unitandresponseMetaData=unitandt={deactivateOrganizationsAccessResult:deactivateOrganizationsAccessResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationNotFoundExceptionofOperationNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={deactivateOrganizationsAccessResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationNotFoundExceptione->`Assoc[("error",(`String"OperationNotFoundException"));("details",(OperationNotFoundException.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"Deactivates trusted access with Organizations. If trusted access is deactivated, the management account does not have permissions to create and manage service-managed StackSets for your organization."]moduleDeactivateOrganizationsAccessInput=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"Deactivates trusted access with Organizations. If trusted access is deactivated, the management account does not have permissions to create and manage service-managed StackSets for your organization."]moduleCreateStackSetOutput=structtypecreateStackSetResult={stackSetId:StackSetId.toption[@ocaml.doc"The ID of the StackSet that you're creating."]}andresponseMetaData=unitandt={createStackSetResult:createStackSetResult;responseMetaData:responseMetaData}typeerror=[`CreatedButModifiedExceptionofCreatedButModifiedException.t|`LimitExceededExceptionofLimitExceededException.t|`NameAlreadyExistsExceptionofNameAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateStackSetOutput"letmake?stackSetId=fun()->{createStackSetResult={stackSetId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CreatedButModifiedException"->`CreatedButModifiedException(CreatedButModifiedException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NameAlreadyExistsException"->`NameAlreadyExistsException(NameAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CreatedButModifiedException"->`CreatedButModifiedException(CreatedButModifiedException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NameAlreadyExistsException"->`NameAlreadyExistsException(NameAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CreatedButModifiedExceptione->`Assoc[("error",(`String"CreatedButModifiedException"));("details",(CreatedButModifiedException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NameAlreadyExistsExceptione->`Assoc[("error",(`String"NameAlreadyExistsException"));("details",(NameAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createStackSetResultinstructure_to_wrapped_value[("StackSetId",(Option.mapx.stackSetId~f:StackSetId.to_value))]~wrapper:"CreateStackSetResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateStackSetResult"inletstackSetId=(Option.map~f:StackSetId.of_xml)(Xml.childxml_arg0"StackSetId")inmake?stackSetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackSetId=field_mapjson__"StackSetId"StackSetId.of_jsoninmake?stackSetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a StackSet."]moduleCreateStackSetInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name to associate with the StackSet. The name must be unique in the Region where you create your StackSet. A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters."];description:Description.toption[@ocaml.doc"A description of the StackSet. You can use the description to identify the StackSet's purpose or other important information."];templateBody:TemplateBody.toption[@ocaml.doc"The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of a file that contains the template body. The URL must point to a template (maximum size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. S3 static website URLs are not supported. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both."];stackId:StackId.toption[@ocaml.doc"The stack ID you are importing into a new StackSet. Specify the Amazon Resource Name (ARN) of the stack."];parameters:Parameters.toption[@ocaml.doc"The input parameters for the StackSet template."];capabilities:Capabilities.toption[@ocaml.doc"In some cases, you must explicitly acknowledge that your StackSet template contains certain capabilities in order for CloudFormation to create the StackSet and related stack instances. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those StackSets, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM resources in CloudFormation templates. CAPABILITY_AUTO_EXPAND Some templates reference macros. If your StackSet template references one or more macros, you must create the StackSet directly from the processed template, without first reviewing the resulting changes in a change set. To create the StackSet directly, you must acknowledge this capability. For more information, see Perform custom processing on CloudFormation templates with template macros. StackSets with service-managed permissions don't currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a StackSet with service-managed permissions, if you reference a macro in your template the StackSet operation will fail."];tags:Tags.toption[@ocaml.doc"The key-value pairs to associate with this StackSet and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified. If you specify tags as part of a CreateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you don't, the entire CreateStackSet action fails with an access denied error, and the StackSet is not created."];administrationRoleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role to use to create this StackSet. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific StackSets within the same administrator account. For more information, see Grant self-managed permissions in the CloudFormation User Guide. Valid only if the permissions model is SELF_MANAGED."];executionRoleName:ExecutionRoleName.toption[@ocaml.doc"The name of the IAM execution role to use to create the StackSet. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the StackSet operation. Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their StackSets. Valid only if the permissions model is SELF_MANAGED."];permissionModel:PermissionModels.toption[@ocaml.doc"Describes how the IAM roles required for StackSet operations are created. By default, SELF-MANAGED is specified. With self-managed permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see Grant self-managed permissions. With service-managed permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by Organizations. For more information, see Activate trusted access for StackSets with Organizations."];autoDeployment:AutoDeployment.toption[@ocaml.doc"Describes whether StackSets automatically deploys to Organizations accounts that are added to the target organization or organizational unit (OU). For more information, see Enable or disable automatic deployments for StackSets in Organizations in the CloudFormation User Guide. Required if the permissions model is SERVICE_MANAGED. (Not used with self-managed permissions.)"];callAs:CallAs.toption[@ocaml.doc"Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. To create a StackSet with service-managed permissions while signed in to the management account, specify SELF. To create a StackSet with service-managed permissions while signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated admin in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide. StackSets with service-managed permissions are created in the management account, including StackSets that are created by delegated administrators. Valid only if the permissions model is SERVICE_MANAGED."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this CreateStackSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create another StackSet with the same name. You might retry CreateStackSet requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, the SDK generates one automatically."];managedExecution:ManagedExecution.toption[@ocaml.doc"Describes whether CloudFormation performs non-conflicting operations concurrently and queues conflicting operations."]}letcontext_="CreateStackSetInput"letmake?description=fun?templateBody->fun?templateURL->fun?stackId->fun?parameters->fun?capabilities->fun?tags->fun?administrationRoleARN->fun?executionRoleName->fun?permissionModel->fun?autoDeployment->fun?callAs->fun?clientRequestToken->fun?managedExecution->fun~stackSetName->fun()->{description;templateBody;templateURL;stackId;parameters;capabilities;tags;administrationRoleARN;executionRoleName;permissionModel;autoDeployment;callAs;clientRequestToken;managedExecution;stackSetName}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("Description",(Option.mapx.description~f:Description.to_value));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("AdministrationRoleARN",(Option.mapx.administrationRoleARN~f:RoleARN.to_value));("ExecutionRoleName",(Option.mapx.executionRoleName~f:ExecutionRoleName.to_value));("PermissionModel",(Option.mapx.permissionModel~f:PermissionModels.to_value));("AutoDeployment",(Option.mapx.autoDeployment~f:AutoDeployment.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("ManagedExecution",(Option.mapx.managedExecution~f:ManagedExecution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanagedExecution=(Option.map~f:ManagedExecution.of_xml)(Xml.childxml_arg0"ManagedExecution")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletautoDeployment=(Option.map~f:AutoDeployment.of_xml)(Xml.childxml_arg0"AutoDeployment")inletpermissionModel=(Option.map~f:PermissionModels.of_xml)(Xml.childxml_arg0"PermissionModel")inletexecutionRoleName=(Option.map~f:ExecutionRoleName.of_xml)(Xml.childxml_arg0"ExecutionRoleName")inletadministrationRoleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"AdministrationRoleARN")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inlettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?managedExecution?clientRequestToken?callAs?autoDeployment?permissionModel?executionRoleName?administrationRoleARN?tags?capabilities?parameters?stackId?templateURL?templateBody?description~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanagedExecution=field_mapjson__"ManagedExecution"ManagedExecution.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletautoDeployment=field_mapjson__"AutoDeployment"AutoDeployment.of_jsoninletpermissionModel=field_mapjson__"PermissionModel"PermissionModels.of_jsoninletexecutionRoleName=field_mapjson__"ExecutionRoleName"ExecutionRoleName.of_jsoninletadministrationRoleARN=field_mapjson__"AdministrationRoleARN"RoleARN.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninlettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?managedExecution?clientRequestToken?callAs?autoDeployment?permissionModel?executionRoleName?administrationRoleARN?tags?capabilities?parameters?stackId?templateURL?templateBody?description~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a StackSet."]moduleCreateStackRefactorOutput=structtypecreateStackRefactorResult={stackRefactorId:StackRefactorId.toption[@ocaml.doc"The ID associated with the stack refactor created from the CreateStackRefactor action."]}andresponseMetaData=unitandt={createStackRefactorResult:createStackRefactorResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateStackRefactorOutput"letmake?stackRefactorId=fun()->{createStackRefactorResult={stackRefactorId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createStackRefactorResultinstructure_to_wrapped_value[("StackRefactorId",(Option.mapx.stackRefactorId~f:StackRefactorId.to_value))]~wrapper:"CreateStackRefactorResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateStackRefactorResult"inletstackRefactorId=(Option.map~f:StackRefactorId.of_xml)(Xml.childxml_arg0"StackRefactorId")inmake?stackRefactorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackRefactorId=field_mapjson__"StackRefactorId"StackRefactorId.of_jsoninmake?stackRefactorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a refactor across multiple stacks, with the list of stacks and resources that are affected."]moduleCreateStackRefactorInput=structtypenonrect={description:Description.toption[@ocaml.doc"A description to help you identify the stack refactor."];enableStackCreation:EnableStackCreation.toption[@ocaml.doc"Determines if a new stack is created with the refactor."];resourceMappings:ResourceMappings.toption[@ocaml.doc"The mappings for the stack resource Source and stack resource Destination."];stackDefinitions:StackDefinitions.t[@ocaml.doc"The stacks being refactored."]}letcontext_="CreateStackRefactorInput"letmake?description=fun?enableStackCreation->fun?resourceMappings->fun~stackDefinitions->fun()->{description;enableStackCreation;resourceMappings;stackDefinitions}letto_valuex=structure_to_value[("Description",(Option.mapx.description~f:Description.to_value));("EnableStackCreation",(Option.mapx.enableStackCreation~f:EnableStackCreation.to_value));("ResourceMappings",(Option.mapx.resourceMappings~f:ResourceMappings.to_value));("StackDefinitions",(Some(StackDefinitions.to_valuex.stackDefinitions)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstackDefinitions=StackDefinitions.of_xml(Xml.child_exn~context:context_xml_arg0"StackDefinitions")inletresourceMappings=(Option.map~f:ResourceMappings.of_xml)(Xml.childxml_arg0"ResourceMappings")inletenableStackCreation=(Option.map~f:EnableStackCreation.of_xml)(Xml.childxml_arg0"EnableStackCreation")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inmake~stackDefinitions?resourceMappings?enableStackCreation?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackDefinitions=field_map_exnjson__"StackDefinitions"StackDefinitions.of_jsoninletresourceMappings=field_mapjson__"ResourceMappings"ResourceMappings.of_jsoninletenableStackCreation=field_mapjson__"EnableStackCreation"EnableStackCreation.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninmake~stackDefinitions?resourceMappings?enableStackCreation?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a refactor across multiple stacks, with the list of stacks and resources that are affected."]moduleCreateStackOutput=structtypecreateStackResult={stackId:StackId.toption[@ocaml.doc"Unique identifier of the stack."];operationId:OperationId.toption[@ocaml.doc"A unique identifier for this stack operation that can be used to track the operation's progress and events."]}andresponseMetaData=unitandt={createStackResult:createStackResult;responseMetaData:responseMetaData}typeerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`InsufficientCapabilitiesExceptionofInsufficientCapabilitiesException.t|`LimitExceededExceptionofLimitExceededException.t|`TokenAlreadyExistsExceptionofTokenAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateStackOutput"letmake?stackId=fun?operationId->fun()->{createStackResult={stackId;operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.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))]|`InsufficientCapabilitiesExceptione->`Assoc[("error",(`String"InsufficientCapabilitiesException"));("details",(InsufficientCapabilitiesException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TokenAlreadyExistsExceptione->`Assoc[("error",(`String"TokenAlreadyExistsException"));("details",(TokenAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createStackResultinstructure_to_wrapped_value[("StackId",(Option.mapx.stackId~f:StackId.to_value));("OperationId",(Option.mapx.operationId~f:OperationId.to_value))]~wrapper:"CreateStackResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateStackResult"inletoperationId=(Option.map~f:OperationId.of_xml)(Xml.childxml_arg0"OperationId")inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inmake?operationId?stackId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"OperationId.of_jsoninletstackId=field_mapjson__"StackId"StackId.of_jsoninmake?operationId?stackId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for a CreateStack action."]moduleCreateStackInstancesOutput=structtypecreateStackInstancesResult={operationId:ClientRequestToken.toption[@ocaml.doc"The unique identifier for this StackSet operation."]}andresponseMetaData=unitandt={createStackInstancesResult:createStackInstancesResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`LimitExceededExceptionofLimitExceededException.t|`OperationIdAlreadyExistsExceptionofOperationIdAlreadyExistsException.t|`OperationInProgressExceptionofOperationInProgressException.t|`StackSetNotFoundExceptionofStackSetNotFoundException.t|`StaleRequestExceptionofStaleRequestException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateStackInstancesOutput"letmake?operationId=fun()->{createStackInstancesResult={operationId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_jsonjson)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_jsonjson)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_jsonjson)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"OperationIdAlreadyExistsException"->`OperationIdAlreadyExistsException(OperationIdAlreadyExistsException.of_xmlxml)|"OperationInProgressException"->`OperationInProgressException(OperationInProgressException.of_xmlxml)|"StackSetNotFoundException"->`StackSetNotFoundException(StackSetNotFoundException.of_xmlxml)|"StaleRequestException"->`StaleRequestException(StaleRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`OperationIdAlreadyExistsExceptione->`Assoc[("error",(`String"OperationIdAlreadyExistsException"));("details",(OperationIdAlreadyExistsException.to_jsone))]|`OperationInProgressExceptione->`Assoc[("error",(`String"OperationInProgressException"));("details",(OperationInProgressException.to_jsone))]|`StackSetNotFoundExceptione->`Assoc[("error",(`String"StackSetNotFoundException"));("details",(StackSetNotFoundException.to_jsone))]|`StaleRequestExceptione->`Assoc[("error",(`String"StaleRequestException"));("details",(StaleRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createStackInstancesResultinstructure_to_wrapped_value[("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value))]~wrapper:"CreateStackInstancesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateStackInstancesResult"inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inmake?operationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninmake?operationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You must specify at least one value for either Accounts or DeploymentTargets, and you must specify at least one value for Regions. The maximum number of organizational unit (OUs) supported by a CreateStackInstances operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleCreateStackInstancesInput=structtypenonrect={stackSetName:StackSetName.t[@ocaml.doc"The name or unique ID of the StackSet that you want to create stack instances from."];accounts:AccountList.toption[@ocaml.doc"\\[Self-managed permissions\\] The account IDs of one or more Amazon Web Services accounts that you want to create stack instances in the specified Region(s) for. You can specify Accounts or DeploymentTargets, but not both."];deploymentTargets:DeploymentTargets.toption[@ocaml.doc"\\[Service-managed permissions\\] The Organizations accounts in which to create stack instances in the specified Amazon Web Services Regions. You can specify Accounts or DeploymentTargets, but not both."];regions:RegionList.t[@ocaml.doc"The names of one or more Amazon Web Services Regions where you want to create stack instances using the specified Amazon Web Services accounts."];parameterOverrides:Parameters.toption[@ocaml.doc"A list of StackSet parameters whose values you want to override in the selected stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance operations: To override the current value for a parameter, include the parameter and specify its value. To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You can't specify both a value and set UsePreviousValue to true.) To set an overridden parameter back to the value specified in the StackSet, specify a parameter list but don't include the parameter in the list. To leave all parameters set to their present values, don't specify this property at all. During StackSet updates, any parameter values overridden for a stack instance aren't updated, but retain their overridden value. You can only override the parameter values that are specified in the StackSet; to add or delete a parameter itself, use UpdateStackSet to update the StackSet template."];operationPreferences:StackSetOperationPreferences.toption[@ocaml.doc"Preferences for how CloudFormation performs this StackSet operation."];operationId:ClientRequestToken.toption[@ocaml.doc"The unique identifier for this StackSet operation. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the StackSet operation only once, even if you retry the request multiple times. You might retry StackSet operation requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, the SDK generates one automatically. Repeating this StackSet operation with a new operation ID retries all stack instances whose status is OUTDATED."];callAs:CallAs.toption[@ocaml.doc"\\[Service-managed permissions\\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide."]}letcontext_="CreateStackInstancesInput"letmake?accounts=fun?deploymentTargets->fun?parameterOverrides->fun?operationPreferences->fun?operationId->fun?callAs->fun~stackSetName->fun~regions->fun()->{accounts;deploymentTargets;parameterOverrides;operationPreferences;operationId;callAs;stackSetName;regions}letto_valuex=structure_to_value[("StackSetName",(Some(StackSetName.to_valuex.stackSetName)));("Accounts",(Option.mapx.accounts~f:AccountList.to_value));("DeploymentTargets",(Option.mapx.deploymentTargets~f:DeploymentTargets.to_value));("Regions",(Some(RegionList.to_valuex.regions)));("ParameterOverrides",(Option.mapx.parameterOverrides~f:Parameters.to_value));("OperationPreferences",(Option.mapx.operationPreferences~f:StackSetOperationPreferences.to_value));("OperationId",(Option.mapx.operationId~f:ClientRequestToken.to_value));("CallAs",(Option.mapx.callAs~f:CallAs.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallAs=(Option.map~f:CallAs.of_xml)(Xml.childxml_arg0"CallAs")inletoperationId=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"OperationId")inletoperationPreferences=(Option.map~f:StackSetOperationPreferences.of_xml)(Xml.childxml_arg0"OperationPreferences")inletparameterOverrides=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"ParameterOverrides")inletregions=RegionList.of_xml(Xml.child_exn~context:context_xml_arg0"Regions")inletdeploymentTargets=(Option.map~f:DeploymentTargets.of_xml)(Xml.childxml_arg0"DeploymentTargets")inletaccounts=(Option.map~f:AccountList.of_xml)(Xml.childxml_arg0"Accounts")inletstackSetName=StackSetName.of_xml(Xml.child_exn~context:context_xml_arg0"StackSetName")inmake?callAs?operationId?operationPreferences?parameterOverrides~regions?deploymentTargets?accounts~stackSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallAs=field_mapjson__"CallAs"CallAs.of_jsoninletoperationId=field_mapjson__"OperationId"ClientRequestToken.of_jsoninletoperationPreferences=field_mapjson__"OperationPreferences"StackSetOperationPreferences.of_jsoninletparameterOverrides=field_mapjson__"ParameterOverrides"Parameters.of_jsoninletregions=field_map_exnjson__"Regions"RegionList.of_jsoninletdeploymentTargets=field_mapjson__"DeploymentTargets"DeploymentTargets.of_jsoninletaccounts=field_mapjson__"Accounts"AccountList.of_jsoninletstackSetName=field_map_exnjson__"StackSetName"StackSetName.of_jsoninmake?callAs?operationId?operationPreferences?parameterOverrides~regions?deploymentTargets?accounts~stackSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You must specify at least one value for either Accounts or DeploymentTargets, and you must specify at least one value for Regions. The maximum number of organizational unit (OUs) supported by a CreateStackInstances operation is 50. If you need more than 50, consider the following options: Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each. Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs."]moduleCreateStackInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"The name that's associated with the stack. The name must be unique in the Region in which you are creating the stack. A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and can't be longer than 128 characters."];templateBody:TemplateBody.toption[@ocaml.doc"Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must specify either TemplateBody or TemplateURL, but not both."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of a file that contains the template body. The URL must point to a template (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both."];parameters:Parameters.toption[@ocaml.doc"A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type."];disableRollback:DisableRollback.toption[@ocaml.doc"Set to true to disable rollback of the stack if stack creation failed. You can specify either DisableRollback or OnFailure, but not both. Default: false"];rollbackConfiguration:RollbackConfiguration.toption[@ocaml.doc"The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards."];timeoutInMinutes:TimeoutMinutes.toption[@ocaml.doc"The amount of time that can pass before the stack status becomes CREATE_FAILED; if DisableRollback is not set or is set to false, the stack will be rolled back."];notificationARNs:NotificationARNs.toption[@ocaml.doc"The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI)."];capabilities:Capabilities.toption[@ocaml.doc"In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::ManagedPolicy AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM resources in CloudFormation templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. If you want to create a stack from a stack template that contains macros and nested stacks, you must create the stack directly from the template using this capability. You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs. Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified. For more information, see Perform custom processing on CloudFormation templates with template macros. Only one of the Capabilities and ResourceType parameters can be specified."];resourceTypes:ResourceTypes.toption[@ocaml.doc"Specifies which resource types you can work with, such as AWS::EC2::Instance or Custom::MyCustomInstance. If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Control CloudFormation access with Identity and Access Management. Only one of the Capabilities and ResourceType parameters can be specified."];roleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials."];onFailure:OnFailure.toption[@ocaml.doc"Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback, but not both. Although the default setting is ROLLBACK, there is one exception. This exception occurs when a StackSet attempts to deploy a stack instance and the stack instance fails to create successfully. In this case, the CreateStack call overrides the default setting and sets the value of OnFailure to DELETE. Default: ROLLBACK"];stackPolicyBody:StackPolicyBody.toption[@ocaml.doc"Structure that contains the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both."];stackPolicyURL:StackPolicyURL.toption[@ocaml.doc"Location of a file that contains the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both."];tags:Tags.toption[@ocaml.doc"Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that CloudFormation successfully received them. All events initiated by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002."];enableTerminationProtection:EnableTerminationProtection.toption[@ocaml.doc"Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protect CloudFormation stacks from being deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack."];retainExceptOnCreate:RetainExceptOnCreate.toption[@ocaml.doc"When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false"]}letcontext_="CreateStackInput"letmake?templateBody=fun?templateURL->fun?parameters->fun?disableRollback->fun?rollbackConfiguration->fun?timeoutInMinutes->fun?notificationARNs->fun?capabilities->fun?resourceTypes->fun?roleARN->fun?onFailure->fun?stackPolicyBody->fun?stackPolicyURL->fun?tags->fun?clientRequestToken->fun?enableTerminationProtection->fun?retainExceptOnCreate->fun~stackName->fun()->{templateBody;templateURL;parameters;disableRollback;rollbackConfiguration;timeoutInMinutes;notificationARNs;capabilities;resourceTypes;roleARN;onFailure;stackPolicyBody;stackPolicyURL;tags;clientRequestToken;enableTerminationProtection;retainExceptOnCreate;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("DisableRollback",(Option.mapx.disableRollback~f:DisableRollback.to_value));("RollbackConfiguration",(Option.mapx.rollbackConfiguration~f:RollbackConfiguration.to_value));("TimeoutInMinutes",(Option.mapx.timeoutInMinutes~f:TimeoutMinutes.to_value));("NotificationARNs",(Option.mapx.notificationARNs~f:NotificationARNs.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("ResourceTypes",(Option.mapx.resourceTypes~f:ResourceTypes.to_value));("RoleARN",(Option.mapx.roleARN~f:RoleARN.to_value));("OnFailure",(Option.mapx.onFailure~f:OnFailure.to_value));("StackPolicyBody",(Option.mapx.stackPolicyBody~f:StackPolicyBody.to_value));("StackPolicyURL",(Option.mapx.stackPolicyURL~f:StackPolicyURL.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("EnableTerminationProtection",(Option.mapx.enableTerminationProtection~f:EnableTerminationProtection.to_value));("RetainExceptOnCreate",(Option.mapx.retainExceptOnCreate~f:RetainExceptOnCreate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretainExceptOnCreate=(Option.map~f:RetainExceptOnCreate.of_xml)(Xml.childxml_arg0"RetainExceptOnCreate")inletenableTerminationProtection=(Option.map~f:EnableTerminationProtection.of_xml)(Xml.childxml_arg0"EnableTerminationProtection")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletstackPolicyURL=(Option.map~f:StackPolicyURL.of_xml)(Xml.childxml_arg0"StackPolicyURL")inletstackPolicyBody=(Option.map~f:StackPolicyBody.of_xml)(Xml.childxml_arg0"StackPolicyBody")inletonFailure=(Option.map~f:OnFailure.of_xml)(Xml.childxml_arg0"OnFailure")inletroleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"RoleARN")inletresourceTypes=(Option.map~f:ResourceTypes.of_xml)(Xml.childxml_arg0"ResourceTypes")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletnotificationARNs=(Option.map~f:NotificationARNs.of_xml)(Xml.childxml_arg0"NotificationARNs")inlettimeoutInMinutes=(Option.map~f:TimeoutMinutes.of_xml)(Xml.childxml_arg0"TimeoutInMinutes")inletrollbackConfiguration=(Option.map~f:RollbackConfiguration.of_xml)(Xml.childxml_arg0"RollbackConfiguration")inletdisableRollback=(Option.map~f:DisableRollback.of_xml)(Xml.childxml_arg0"DisableRollback")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inlettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?retainExceptOnCreate?enableTerminationProtection?clientRequestToken?tags?stackPolicyURL?stackPolicyBody?onFailure?roleARN?resourceTypes?capabilities?notificationARNs?timeoutInMinutes?rollbackConfiguration?disableRollback?parameters?templateURL?templateBody~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretainExceptOnCreate=field_mapjson__"RetainExceptOnCreate"RetainExceptOnCreate.of_jsoninletenableTerminationProtection=field_mapjson__"EnableTerminationProtection"EnableTerminationProtection.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletstackPolicyURL=field_mapjson__"StackPolicyURL"StackPolicyURL.of_jsoninletstackPolicyBody=field_mapjson__"StackPolicyBody"StackPolicyBody.of_jsoninletonFailure=field_mapjson__"OnFailure"OnFailure.of_jsoninletroleARN=field_mapjson__"RoleARN"RoleARN.of_jsoninletresourceTypes=field_mapjson__"ResourceTypes"ResourceTypes.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletnotificationARNs=field_mapjson__"NotificationARNs"NotificationARNs.of_jsoninlettimeoutInMinutes=field_mapjson__"TimeoutInMinutes"TimeoutMinutes.of_jsoninletrollbackConfiguration=field_mapjson__"RollbackConfiguration"RollbackConfiguration.of_jsoninletdisableRollback=field_mapjson__"DisableRollback"DisableRollback.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninlettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake?retainExceptOnCreate?enableTerminationProtection?clientRequestToken?tags?stackPolicyURL?stackPolicyBody?onFailure?roleARN?resourceTypes?capabilities?notificationARNs?timeoutInMinutes?rollbackConfiguration?disableRollback?parameters?templateURL?templateBody~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for CreateStack action."]moduleCreateGeneratedTemplateOutput=structtypecreateGeneratedTemplateResult={generatedTemplateId:GeneratedTemplateId.toption[@ocaml.doc"The ID of the generated template."]}andresponseMetaData=unitandt={createGeneratedTemplateResult:createGeneratedTemplateResult;responseMetaData:responseMetaData}typeerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`ConcurrentResourcesLimitExceededExceptionofConcurrentResourcesLimitExceededException.t|`LimitExceededExceptionofLimitExceededException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateGeneratedTemplateOutput"letmake?generatedTemplateId=fun()->{createGeneratedTemplateResult={generatedTemplateId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"ConcurrentResourcesLimitExceededException"->`ConcurrentResourcesLimitExceededException(ConcurrentResourcesLimitExceededException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"ConcurrentResourcesLimitExceededException"->`ConcurrentResourcesLimitExceededException(ConcurrentResourcesLimitExceededException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`ConcurrentResourcesLimitExceededExceptione->`Assoc[("error",(`String"ConcurrentResourcesLimitExceededException"));("details",(ConcurrentResourcesLimitExceededException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createGeneratedTemplateResultinstructure_to_wrapped_value[("GeneratedTemplateId",(Option.mapx.generatedTemplateId~f:GeneratedTemplateId.to_value))]~wrapper:"CreateGeneratedTemplateResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateGeneratedTemplateResult"inletgeneratedTemplateId=(Option.map~f:GeneratedTemplateId.of_xml)(Xml.childxml_arg0"GeneratedTemplateId")inmake?generatedTemplateId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeneratedTemplateId=field_mapjson__"GeneratedTemplateId"GeneratedTemplateId.of_jsoninmake?generatedTemplateId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a template from existing resources that are not already managed with CloudFormation. You can check the status of the template generation using the DescribeGeneratedTemplate API action."]moduleCreateGeneratedTemplateInput=structtypenonrect={resources:ResourceDefinitions.toption[@ocaml.doc"An optional list of resources to be included in the generated template. If no resources are specified,the template will be created without any resources. Resources can be added to the template using the UpdateGeneratedTemplate API action."];generatedTemplateName:GeneratedTemplateName.t[@ocaml.doc"The name assigned to the generated template."];stackName:StackName.toption[@ocaml.doc"An optional name or ARN of a stack to use as the base stack for the generated template."];templateConfiguration:TemplateConfiguration.toption[@ocaml.doc"The configuration details of the generated template, including the DeletionPolicy and UpdateReplacePolicy."]}letcontext_="CreateGeneratedTemplateInput"letmake?resources=fun?stackName->fun?templateConfiguration->fun~generatedTemplateName->fun()->{resources;stackName;templateConfiguration;generatedTemplateName}letto_valuex=structure_to_value[("Resources",(Option.mapx.resources~f:ResourceDefinitions.to_value));("GeneratedTemplateName",(Some(GeneratedTemplateName.to_valuex.generatedTemplateName)));("StackName",(Option.mapx.stackName~f:StackName.to_value));("TemplateConfiguration",(Option.mapx.templateConfiguration~f:TemplateConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateConfiguration=(Option.map~f:TemplateConfiguration.of_xml)(Xml.childxml_arg0"TemplateConfiguration")inletstackName=(Option.map~f:StackName.of_xml)(Xml.childxml_arg0"StackName")inletgeneratedTemplateName=GeneratedTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"GeneratedTemplateName")inletresources=(Option.map~f:ResourceDefinitions.of_xml)(Xml.childxml_arg0"Resources")inmake?templateConfiguration?stackName~generatedTemplateName?resources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateConfiguration=field_mapjson__"TemplateConfiguration"TemplateConfiguration.of_jsoninletstackName=field_mapjson__"StackName"StackName.of_jsoninletgeneratedTemplateName=field_map_exnjson__"GeneratedTemplateName"GeneratedTemplateName.of_jsoninletresources=field_mapjson__"Resources"ResourceDefinitions.of_jsoninmake?templateConfiguration?stackName~generatedTemplateName?resources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a template from existing resources that are not already managed with CloudFormation. You can check the status of the template generation using the DescribeGeneratedTemplate API action."]moduleCreateChangeSetOutput=structtypecreateChangeSetResult={id:ChangeSetId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the change set."];stackId:StackId.toption[@ocaml.doc"The unique ID of the stack."]}andresponseMetaData=unitandt={createChangeSetResult:createChangeSetResult;responseMetaData:responseMetaData}typeerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`InsufficientCapabilitiesExceptionofInsufficientCapabilitiesException.t|`LimitExceededExceptionofLimitExceededException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateChangeSetOutput"letmake?id=fun?stackId->fun()->{createChangeSetResult={id;stackId};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"InsufficientCapabilitiesException"->`InsufficientCapabilitiesException(InsufficientCapabilitiesException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`InsufficientCapabilitiesExceptione->`Assoc[("error",(`String"InsufficientCapabilitiesException"));("details",(InsufficientCapabilitiesException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createChangeSetResultinstructure_to_wrapped_value[("Id",(Option.mapx.id~f:ChangeSetId.to_value));("StackId",(Option.mapx.stackId~f:StackId.to_value))]~wrapper:"CreateChangeSetResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateChangeSetResult"inletstackId=(Option.map~f:StackId.of_xml)(Xml.childxml_arg0"StackId")inletid=(Option.map~f:ChangeSetId.of_xml)(Xml.childxml_arg0"Id")inmake?stackId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstackId=field_mapjson__"StackId"StackId.of_jsoninletid=field_mapjson__"Id"ChangeSetId.of_jsoninmake?stackId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output for the CreateChangeSet action."]moduleCreateChangeSetInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The name or the unique ID of the stack for which you are creating a change set. CloudFormation generates the change set by comparing this stack's information with the information that you submit, such as a modified template or different parameter input values."];templateBody:TemplateBody.toption[@ocaml.doc"A structure that contains the body of the revised template, with a minimum length of 1 byte and a maximum length of 51,200 bytes. CloudFormation generates the change set by comparing this template with the template of the stack that you specified. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true."];templateURL:TemplateURL.toption[@ocaml.doc"The URL of the file that contains the revised template. The URL must point to a template (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document. CloudFormation generates the change set by comparing this template with the stack that you specified. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true."];usePreviousTemplate:UsePreviousTemplate.toption[@ocaml.doc"Whether to reuse the template that's associated with the stack to create the change set. When using templates with the AWS::LanguageExtensions transform, provide the template instead of using UsePreviousTemplate to ensure new parameter values and Systems Manager parameter updates are applied correctly. For more information, see AWS::LanguageExtensions transform. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true."];parameters:Parameters.toption[@ocaml.doc"A list of Parameter structures that specify input parameters for the change set. For more information, see the Parameter data type."];capabilities:Capabilities.toption[@ocaml.doc"In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account, for example, by creating new IAM users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we suggest that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::ManagedPolicy AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM resources in CloudFormation templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. This capacity doesn't apply to creating change sets, and specifying it when creating change sets has no effect. If you want to create a stack from a stack template that contains macros and nested stacks, you must create or update the stack directly from the template using the CreateStack or UpdateStack action, and specifying this capability. For more information about macros, see Perform custom processing on CloudFormation templates with template macros. Only one of the Capabilities and ResourceType parameters can be specified."];resourceTypes:ResourceTypes.toption[@ocaml.doc"Specifies which resource types you can work with, such as AWS::EC2::Instance or Custom::MyCustomInstance. If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. IAM uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Control CloudFormation access with Identity and Access Management in the CloudFormation User Guide. Only one of the Capabilities and ResourceType parameters can be specified."];roleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials."];rollbackConfiguration:RollbackConfiguration.toption[@ocaml.doc"The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards."];notificationARNs:NotificationARNs.toption[@ocaml.doc"The Amazon Resource Names (ARNs) of Amazon SNS topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list."];tags:Tags.toption[@ocaml.doc"Key-value pairs to associate with this stack. CloudFormation also propagates these tags to resources in the stack. You can specify a maximum of 50 tags."];changeSetName:ChangeSetName.t[@ocaml.doc"The name of the change set. The name must be unique among all change sets that are associated with the specified stack. A change set name can contain only alphanumeric, case sensitive characters, and hyphens. It must start with an alphabetical character and can't exceed 128 characters."];clientToken:ClientToken.toption[@ocaml.doc"A unique identifier for this CreateChangeSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create another change set with the same name. You might retry CreateChangeSet requests to ensure that CloudFormation successfully received them."];description:Description.toption[@ocaml.doc"A description to help you identify this change set."];changeSetType:ChangeSetType.toption[@ocaml.doc"The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT. If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set. By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack."];resourcesToImport:ResourcesToImport.toption[@ocaml.doc"The resources to import into your stack."];includeNestedStacks:IncludeNestedStacks.toption[@ocaml.doc"Creates a change set for the all nested stacks specified in the template. The default behavior of this action is set to False. To include nested sets in a change set, specify True."];onStackFailure:OnStackFailure.toption[@ocaml.doc"Determines what action will be taken if stack creation fails. If this parameter is specified, the DisableRollback parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values: DELETE - Deletes the change set if the stack creation fails. This is only valid when the ChangeSetType parameter is set to CREATE. If the deletion of the stack fails, the status of the stack is DELETE_FAILED. DO_NOTHING - if the stack creation fails, do nothing. This is equivalent to specifying true for the DisableRollback parameter to the ExecuteChangeSet API operation. ROLLBACK - if the stack creation fails, roll back the stack. This is equivalent to specifying false for the DisableRollback parameter to the ExecuteChangeSet API operation. For nested stacks, when the OnStackFailure parameter is set to DELETE for the change set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to be deleted."];importExistingResources:ImportExistingResources.toption[@ocaml.doc"Indicates if the change set auto-imports resources that already exist. For more information, see Import Amazon Web Services resources into a CloudFormation stack automatically in the CloudFormation User Guide. This parameter can only import resources that have custom names in templates. For more information, see name type in the CloudFormation User Guide. To import resources that do not accept custom names, such as EC2 instances, use the ResourcesToImport parameter instead."];deploymentMode:DeploymentMode.toption[@ocaml.doc"Determines how CloudFormation handles configuration drift during deployment. REVERT_DRIFT \226\128\147 Creates a drift-aware change set that brings actual resource states in line with template definitions. Provides a three-way comparison between actual state, previous deployment state, and desired state. For more information, see Using drift-aware change sets in the CloudFormation User Guide."]}letcontext_="CreateChangeSetInput"letmake?templateBody=fun?templateURL->fun?usePreviousTemplate->fun?parameters->fun?capabilities->fun?resourceTypes->fun?roleARN->fun?rollbackConfiguration->fun?notificationARNs->fun?tags->fun?clientToken->fun?description->fun?changeSetType->fun?resourcesToImport->fun?includeNestedStacks->fun?onStackFailure->fun?importExistingResources->fun?deploymentMode->fun~stackName->fun~changeSetName->fun()->{templateBody;templateURL;usePreviousTemplate;parameters;capabilities;resourceTypes;roleARN;rollbackConfiguration;notificationARNs;tags;clientToken;description;changeSetType;resourcesToImport;includeNestedStacks;onStackFailure;importExistingResources;deploymentMode;stackName;changeSetName}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("TemplateBody",(Option.mapx.templateBody~f:TemplateBody.to_value));("TemplateURL",(Option.mapx.templateURL~f:TemplateURL.to_value));("UsePreviousTemplate",(Option.mapx.usePreviousTemplate~f:UsePreviousTemplate.to_value));("Parameters",(Option.mapx.parameters~f:Parameters.to_value));("Capabilities",(Option.mapx.capabilities~f:Capabilities.to_value));("ResourceTypes",(Option.mapx.resourceTypes~f:ResourceTypes.to_value));("RoleARN",(Option.mapx.roleARN~f:RoleARN.to_value));("RollbackConfiguration",(Option.mapx.rollbackConfiguration~f:RollbackConfiguration.to_value));("NotificationARNs",(Option.mapx.notificationARNs~f:NotificationARNs.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("ChangeSetName",(Some(ChangeSetName.to_valuex.changeSetName)));("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("Description",(Option.mapx.description~f:Description.to_value));("ChangeSetType",(Option.mapx.changeSetType~f:ChangeSetType.to_value));("ResourcesToImport",(Option.mapx.resourcesToImport~f:ResourcesToImport.to_value));("IncludeNestedStacks",(Option.mapx.includeNestedStacks~f:IncludeNestedStacks.to_value));("OnStackFailure",(Option.mapx.onStackFailure~f:OnStackFailure.to_value));("ImportExistingResources",(Option.mapx.importExistingResources~f:ImportExistingResources.to_value));("DeploymentMode",(Option.mapx.deploymentMode~f:DeploymentMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeploymentMode=(Option.map~f:DeploymentMode.of_xml)(Xml.childxml_arg0"DeploymentMode")inletimportExistingResources=(Option.map~f:ImportExistingResources.of_xml)(Xml.childxml_arg0"ImportExistingResources")inletonStackFailure=(Option.map~f:OnStackFailure.of_xml)(Xml.childxml_arg0"OnStackFailure")inletincludeNestedStacks=(Option.map~f:IncludeNestedStacks.of_xml)(Xml.childxml_arg0"IncludeNestedStacks")inletresourcesToImport=(Option.map~f:ResourcesToImport.of_xml)(Xml.childxml_arg0"ResourcesToImport")inletchangeSetType=(Option.map~f:ChangeSetType.of_xml)(Xml.childxml_arg0"ChangeSetType")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inletchangeSetName=ChangeSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ChangeSetName")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletnotificationARNs=(Option.map~f:NotificationARNs.of_xml)(Xml.childxml_arg0"NotificationARNs")inletrollbackConfiguration=(Option.map~f:RollbackConfiguration.of_xml)(Xml.childxml_arg0"RollbackConfiguration")inletroleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"RoleARN")inletresourceTypes=(Option.map~f:ResourceTypes.of_xml)(Xml.childxml_arg0"ResourceTypes")inletcapabilities=(Option.map~f:Capabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletparameters=(Option.map~f:Parameters.of_xml)(Xml.childxml_arg0"Parameters")inletusePreviousTemplate=(Option.map~f:UsePreviousTemplate.of_xml)(Xml.childxml_arg0"UsePreviousTemplate")inlettemplateURL=(Option.map~f:TemplateURL.of_xml)(Xml.childxml_arg0"TemplateURL")inlettemplateBody=(Option.map~f:TemplateBody.of_xml)(Xml.childxml_arg0"TemplateBody")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?deploymentMode?importExistingResources?onStackFailure?includeNestedStacks?resourcesToImport?changeSetType?description?clientToken~changeSetName?tags?notificationARNs?rollbackConfiguration?roleARN?resourceTypes?capabilities?parameters?usePreviousTemplate?templateURL?templateBody~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeploymentMode=field_mapjson__"DeploymentMode"DeploymentMode.of_jsoninletimportExistingResources=field_mapjson__"ImportExistingResources"ImportExistingResources.of_jsoninletonStackFailure=field_mapjson__"OnStackFailure"OnStackFailure.of_jsoninletincludeNestedStacks=field_mapjson__"IncludeNestedStacks"IncludeNestedStacks.of_jsoninletresourcesToImport=field_mapjson__"ResourcesToImport"ResourcesToImport.of_jsoninletchangeSetType=field_mapjson__"ChangeSetType"ChangeSetType.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninletchangeSetName=field_map_exnjson__"ChangeSetName"ChangeSetName.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletnotificationARNs=field_mapjson__"NotificationARNs"NotificationARNs.of_jsoninletrollbackConfiguration=field_mapjson__"RollbackConfiguration"RollbackConfiguration.of_jsoninletroleARN=field_mapjson__"RoleARN"RoleARN.of_jsoninletresourceTypes=field_mapjson__"ResourceTypes"ResourceTypes.of_jsoninletcapabilities=field_mapjson__"Capabilities"Capabilities.of_jsoninletparameters=field_mapjson__"Parameters"Parameters.of_jsoninletusePreviousTemplate=field_mapjson__"UsePreviousTemplate"UsePreviousTemplate.of_jsoninlettemplateURL=field_mapjson__"TemplateURL"TemplateURL.of_jsoninlettemplateBody=field_mapjson__"TemplateBody"TemplateBody.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake?deploymentMode?importExistingResources?onStackFailure?includeNestedStacks?resourcesToImport?changeSetType?description?clientToken~changeSetName?tags?notificationARNs?rollbackConfiguration?roleARN?resourceTypes?capabilities?parameters?usePreviousTemplate?templateURL?templateBody~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the CreateChangeSet action."]moduleContinueUpdateRollbackOutput=structtypecontinueUpdateRollbackResult=unitandresponseMetaData=unitandt={continueUpdateRollbackResult:continueUpdateRollbackResult;responseMetaData:responseMetaData}typeerror=[`TokenAlreadyExistsExceptionofTokenAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={continueUpdateRollbackResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"TokenAlreadyExistsException"->`TokenAlreadyExistsException(TokenAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`TokenAlreadyExistsExceptione->`Assoc[("error",(`String"TokenAlreadyExistsException"));("details",(TokenAlreadyExistsException.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"The output for a ContinueUpdateRollback operation."]moduleContinueUpdateRollbackInput=structtypenonrect={stackName:StackNameOrId.t[@ocaml.doc"The name or the unique ID of the stack that you want to continue rolling back. Don't specify the name of a nested stack (a stack that was created by using the AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that contains the AWS::CloudFormation::Stack resource)."];roleARN:RoleARN.toption[@ocaml.doc"The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials."];resourcesToSkip:ResourcesToSkip.toption[@ocaml.doc"A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason. Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable. Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources. To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED. Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Continue rolling back from failed nested stack updates."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to continue the rollback to a stack with the same name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully received them."]}letcontext_="ContinueUpdateRollbackInput"letmake?roleARN=fun?resourcesToSkip->fun?clientRequestToken->fun~stackName->fun()->{roleARN;resourcesToSkip;clientRequestToken;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackNameOrId.to_valuex.stackName)));("RoleARN",(Option.mapx.roleARN~f:RoleARN.to_value));("ResourcesToSkip",(Option.mapx.resourcesToSkip~f:ResourcesToSkip.to_value));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletresourcesToSkip=(Option.map~f:ResourcesToSkip.of_xml)(Xml.childxml_arg0"ResourcesToSkip")inletroleARN=(Option.map~f:RoleARN.of_xml)(Xml.childxml_arg0"RoleARN")inletstackName=StackNameOrId.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?clientRequestToken?resourcesToSkip?roleARN~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletresourcesToSkip=field_mapjson__"ResourcesToSkip"ResourcesToSkip.of_jsoninletroleARN=field_mapjson__"RoleARN"RoleARN.of_jsoninletstackName=field_map_exnjson__"StackName"StackNameOrId.of_jsoninmake?clientRequestToken?resourcesToSkip?roleARN~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the ContinueUpdateRollback action."]moduleCancelUpdateStackInput=structtypenonrect={stackName:StackName.t[@ocaml.doc"If you don't pass a parameter to StackName, the API returns a response that describes all resources in the account. The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request: \\{ \"Version\": \"2012-10-17\", \"Statement\": \\[\\{ \"Effect\": \"Deny\", \"Action\": \"cloudformation:DescribeStacks\", \"NotResource\": \"arn:aws:cloudformation:*:*:stack/*/*\" \\}\\] \\} The name or the unique stack ID that's associated with the stack."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique identifier for this CancelUpdateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retry CancelUpdateStack requests to ensure that CloudFormation successfully received them."]}letcontext_="CancelUpdateStackInput"letmake?clientRequestToken=fun~stackName->fun()->{clientRequestToken;stackName}letto_valuex=structure_to_value[("StackName",(Some(StackName.to_valuex.stackName)));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletstackName=StackName.of_xml(Xml.child_exn~context:context_xml_arg0"StackName")inmake?clientRequestToken~stackName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestToken.of_jsoninletstackName=field_map_exnjson__"StackName"StackName.of_jsoninmake?clientRequestToken~stackName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input for the CancelUpdateStack action."]moduleBatchDescribeTypeConfigurationsOutput=structtypebatchDescribeTypeConfigurationsResult={errors:BatchDescribeTypeConfigurationsErrors.toption[@ocaml.doc"A list of information concerning any errors generated during the setting of the specified configurations."];unprocessedTypeConfigurations:UnprocessedTypeConfigurations.toption[@ocaml.doc"A list of any of the specified extension configurations that CloudFormation could not process for any reason."];typeConfigurations:TypeConfigurationDetailsList.toption[@ocaml.doc"A list of any of the specified extension configurations from the CloudFormation registry."]}andresponseMetaData=unitandt={batchDescribeTypeConfigurationsResult:batchDescribeTypeConfigurationsResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeConfigurationNotFoundExceptionofTypeConfigurationNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="BatchDescribeTypeConfigurationsOutput"letmake?errors=fun?unprocessedTypeConfigurations->fun?typeConfigurations->fun()->{batchDescribeTypeConfigurationsResult={errors;unprocessedTypeConfigurations;typeConfigurations};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeConfigurationNotFoundException"->`TypeConfigurationNotFoundException(TypeConfigurationNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeConfigurationNotFoundException"->`TypeConfigurationNotFoundException(TypeConfigurationNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeConfigurationNotFoundExceptione->`Assoc[("error",(`String"TypeConfigurationNotFoundException"));("details",(TypeConfigurationNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.batchDescribeTypeConfigurationsResultinstructure_to_wrapped_value[("Errors",(Option.mapx.errors~f:BatchDescribeTypeConfigurationsErrors.to_value));("UnprocessedTypeConfigurations",(Option.mapx.unprocessedTypeConfigurations~f:UnprocessedTypeConfigurations.to_value));("TypeConfigurations",(Option.mapx.typeConfigurations~f:TypeConfigurationDetailsList.to_value))]~wrapper:"BatchDescribeTypeConfigurationsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"BatchDescribeTypeConfigurationsResult"inlettypeConfigurations=(Option.map~f:TypeConfigurationDetailsList.of_xml)(Xml.childxml_arg0"TypeConfigurations")inletunprocessedTypeConfigurations=(Option.map~f:UnprocessedTypeConfigurations.of_xml)(Xml.childxml_arg0"UnprocessedTypeConfigurations")inleterrors=(Option.map~f:BatchDescribeTypeConfigurationsErrors.of_xml)(Xml.childxml_arg0"Errors")inmake?typeConfigurations?unprocessedTypeConfigurations?errors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeConfigurations=field_mapjson__"TypeConfigurations"TypeConfigurationDetailsList.of_jsoninletunprocessedTypeConfigurations=field_mapjson__"UnprocessedTypeConfigurations"UnprocessedTypeConfigurations.of_jsoninleterrors=field_mapjson__"Errors"BatchDescribeTypeConfigurationsErrors.of_jsoninmake?typeConfigurations?unprocessedTypeConfigurations?errors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns configuration data for the specified CloudFormation extensions, from the CloudFormation registry in your current account and Region. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide."]moduleBatchDescribeTypeConfigurationsInput=structtypenonrect={typeConfigurationIdentifiers:TypeConfigurationIdentifiers.t[@ocaml.doc"The list of identifiers for the desired extension configurations."]}letcontext_="BatchDescribeTypeConfigurationsInput"letmake~typeConfigurationIdentifiers=fun()->{typeConfigurationIdentifiers}letto_valuex=structure_to_value[("TypeConfigurationIdentifiers",(Some(TypeConfigurationIdentifiers.to_valuex.typeConfigurationIdentifiers)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypeConfigurationIdentifiers=TypeConfigurationIdentifiers.of_xml(Xml.child_exn~context:context_xml_arg0"TypeConfigurationIdentifiers")inmake~typeConfigurationIdentifiers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeConfigurationIdentifiers=field_map_exnjson__"TypeConfigurationIdentifiers"TypeConfigurationIdentifiers.of_jsoninmake~typeConfigurationIdentifiers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns configuration data for the specified CloudFormation extensions, from the CloudFormation registry in your current account and Region. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide."]moduleActivateTypeOutput=structtypeactivateTypeResult={arn:PrivateTypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the activated extension in this account and Region."]}andresponseMetaData=unitandt={activateTypeResult:activateTypeResult;responseMetaData:responseMetaData}typeerror=[`CFNRegistryExceptionofCFNRegistryException.t|`TypeNotFoundExceptionofTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ActivateTypeOutput"letmake?arn=fun()->{activateTypeResult={arn};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_jsonjson)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CFNRegistryException"->`CFNRegistryException(CFNRegistryException.of_xmlxml)|"TypeNotFoundException"->`TypeNotFoundException(TypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CFNRegistryExceptione->`Assoc[("error",(`String"CFNRegistryException"));("details",(CFNRegistryException.to_jsone))]|`TypeNotFoundExceptione->`Assoc[("error",(`String"TypeNotFoundException"));("details",(TypeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.activateTypeResultinstructure_to_wrapped_value[("Arn",(Option.mapx.arn~f:PrivateTypeArn.to_value))]~wrapper:"ActivateTypeResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ActivateTypeResult"inletarn=(Option.map~f:PrivateTypeArn.of_xml)(Xml.childxml_arg0"Arn")inmake?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"PrivateTypeArn.of_jsoninmake?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Activates a public third-party extension, such as a resource or module, to make it available for use in stack templates in your current account and Region. It can also create CloudFormation Hooks, which allow you to evaluate resource configurations before CloudFormation provisions them. Hooks integrate with both CloudFormation and Cloud Control API operations. After you activate an extension, you can use SetTypeConfiguration to set specific properties for the extension. To see which extensions have been activated, use ListTypes. To see configuration details for an extension, use DescribeType. For more information, see Activate a third-party public extension in your account in the CloudFormation User Guide. For information about creating Hooks, see the CloudFormation Hooks User Guide."]moduleActivateTypeInput=structtypenonrect={type_:ThirdPartyType.toption[@ocaml.doc"The extension type. Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId."];publicTypeArn:ThirdPartyTypeArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the public extension. Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId."];publisherId:PublisherId.toption[@ocaml.doc"The ID of the extension publisher. Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId."];typeName:TypeName.toption[@ocaml.doc"The name of the extension. Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId."];typeNameAlias:TypeName.toption[@ocaml.doc"An alias to assign to the public extension in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console. An extension alias must be unique within a given account and Region. You can activate the same public resource multiple times in the same account and Region, using different type name aliases."];autoUpdate:AutoUpdate.toption[@ocaml.doc"Whether to automatically update the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. The default is true."];loggingConfig:LoggingConfig.toption[@ocaml.doc"Contains logging configuration information for an extension."];executionRoleArn:RoleArn.toption[@ocaml.doc"The name of the IAM execution role to use to activate the extension."];versionBump:VersionBump.toption[@ocaml.doc"Manually updates a previously-activated type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdate. MAJOR: CloudFormation updates the extension to the newest major version, if one is available. MINOR: CloudFormation updates the extension to the newest minor version, if one is available."];majorVersion:MajorVersion.toption[@ocaml.doc"The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected. You can specify MajorVersion or VersionBump, but not both."]}letmake?type_=fun?publicTypeArn->fun?publisherId->fun?typeName->fun?typeNameAlias->fun?autoUpdate->fun?loggingConfig->fun?executionRoleArn->fun?versionBump->fun?majorVersion->fun()->{type_;publicTypeArn;publisherId;typeName;typeNameAlias;autoUpdate;loggingConfig;executionRoleArn;versionBump;majorVersion}letto_valuex=structure_to_value[("Type",(Option.mapx.type_~f:ThirdPartyType.to_value));("PublicTypeArn",(Option.mapx.publicTypeArn~f:ThirdPartyTypeArn.to_value));("PublisherId",(Option.mapx.publisherId~f:PublisherId.to_value));("TypeName",(Option.mapx.typeName~f:TypeName.to_value));("TypeNameAlias",(Option.mapx.typeNameAlias~f:TypeName.to_value));("AutoUpdate",(Option.mapx.autoUpdate~f:AutoUpdate.to_value));("LoggingConfig",(Option.mapx.loggingConfig~f:LoggingConfig.to_value));("ExecutionRoleArn",(Option.mapx.executionRoleArn~f:RoleArn.to_value));("VersionBump",(Option.mapx.versionBump~f:VersionBump.to_value));("MajorVersion",(Option.mapx.majorVersion~f:MajorVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmajorVersion=(Option.map~f:MajorVersion.of_xml)(Xml.childxml_arg0"MajorVersion")inletversionBump=(Option.map~f:VersionBump.of_xml)(Xml.childxml_arg0"VersionBump")inletexecutionRoleArn=(Option.map~f:RoleArn.of_xml)(Xml.childxml_arg0"ExecutionRoleArn")inletloggingConfig=(Option.map~f:LoggingConfig.of_xml)(Xml.childxml_arg0"LoggingConfig")inletautoUpdate=(Option.map~f:AutoUpdate.of_xml)(Xml.childxml_arg0"AutoUpdate")inlettypeNameAlias=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeNameAlias")inlettypeName=(Option.map~f:TypeName.of_xml)(Xml.childxml_arg0"TypeName")inletpublisherId=(Option.map~f:PublisherId.of_xml)(Xml.childxml_arg0"PublisherId")inletpublicTypeArn=(Option.map~f:ThirdPartyTypeArn.of_xml)(Xml.childxml_arg0"PublicTypeArn")inlettype_=(Option.map~f:ThirdPartyType.of_xml)(Xml.childxml_arg0"Type")inmake?majorVersion?versionBump?executionRoleArn?loggingConfig?autoUpdate?typeNameAlias?typeName?publisherId?publicTypeArn?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmajorVersion=field_mapjson__"MajorVersion"MajorVersion.of_jsoninletversionBump=field_mapjson__"VersionBump"VersionBump.of_jsoninletexecutionRoleArn=field_mapjson__"ExecutionRoleArn"RoleArn.of_jsoninletloggingConfig=field_mapjson__"LoggingConfig"LoggingConfig.of_jsoninletautoUpdate=field_mapjson__"AutoUpdate"AutoUpdate.of_jsoninlettypeNameAlias=field_mapjson__"TypeNameAlias"TypeName.of_jsoninlettypeName=field_mapjson__"TypeName"TypeName.of_jsoninletpublisherId=field_mapjson__"PublisherId"PublisherId.of_jsoninletpublicTypeArn=field_mapjson__"PublicTypeArn"ThirdPartyTypeArn.of_jsoninlettype_=field_mapjson__"Type"ThirdPartyType.of_jsoninmake?majorVersion?versionBump?executionRoleArn?loggingConfig?autoUpdate?typeNameAlias?typeName?publisherId?publicTypeArn?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Activates a public third-party extension, such as a resource or module, to make it available for use in stack templates in your current account and Region. It can also create CloudFormation Hooks, which allow you to evaluate resource configurations before CloudFormation provisions them. Hooks integrate with both CloudFormation and Cloud Control API operations. After you activate an extension, you can use SetTypeConfiguration to set specific properties for the extension. To see which extensions have been activated, use ListTypes. To see configuration details for an extension, use DescribeType. For more information, see Activate a third-party public extension in your account in the CloudFormation User Guide. For information about creating Hooks, see the CloudFormation Hooks User Guide."]moduleActivateOrganizationsAccessOutput=structtypeactivateOrganizationsAccessResult=unitandresponseMetaData=unitandt={activateOrganizationsAccessResult:activateOrganizationsAccessResult;responseMetaData:responseMetaData}typeerror=[`InvalidOperationExceptionofInvalidOperationException.t|`OperationNotFoundExceptionofOperationNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={activateOrganizationsAccessResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"OperationNotFoundException"->`OperationNotFoundException(OperationNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`OperationNotFoundExceptione->`Assoc[("error",(`String"OperationNotFoundException"));("details",(OperationNotFoundException.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"Activate trusted access with Organizations. With trusted access between StackSets and Organizations activated, the management account has permissions to create and manage StackSets for your organization."]moduleActivateOrganizationsAccessInput=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"Activate trusted access with Organizations. With trusted access between StackSets and Organizations activated, the management account has permissions to create and manage StackSets for your organization."]