1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944(* 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.ecr_publicletapiVersion="2020-10-30"letendpointPrefix="api.ecr-public"letserviceFullName="Amazon Elastic Container Registry Public"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="Amazon ECR Public"lettargetPrefix="SpencerFrontendService"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[]))])moduleDefaultRegistryAliasFlag=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_valueendmodulePrimaryRegistryAliasFlag=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_valueendmoduleRegistryAliasName=structtypenonrect=stringletcontext_="RegistryAliasName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:50)>>=(fun()->check_patterni~pattern:"[a-z][a-z0-9]+(?:[._-][a-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:"RegistryAliasName"jletto_json=simple_to_jsonto_valueendmoduleRegistryAliasStatus=structtypenonrect=|ACTIVE|PENDING|REJECTED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|PENDING->"PENDING"|REJECTED->"REJECTED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"PENDING"->PENDING|"REJECTED"->REJECTED|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 RegistryAliasStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RegistryAliasStatus"j)letto_json=simple_to_jsonto_valueendmoduleRegistryAlias=structtypenonrect={name:RegistryAliasName.toption[@ocaml.doc"The name of the registry alias."];status:RegistryAliasStatus.toption[@ocaml.doc"The status of the registry alias."];primaryRegistryAlias:PrimaryRegistryAliasFlag.toption[@ocaml.doc"Indicates whether the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery. A registry alias that isn't the primary registry alias can be used in the repository URI in a docker pull command."];defaultRegistryAlias:DefaultRegistryAliasFlag.toption[@ocaml.doc"Indicates whether the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias."]}letmake?name=fun?status->fun?primaryRegistryAlias->fun?defaultRegistryAlias->fun()->{name;status;primaryRegistryAlias;defaultRegistryAlias}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:RegistryAliasName.to_value));("status",(Option.mapx.status~f:RegistryAliasStatus.to_value));("primaryRegistryAlias",(Option.mapx.primaryRegistryAlias~f:PrimaryRegistryAliasFlag.to_value));("defaultRegistryAlias",(Option.mapx.defaultRegistryAlias~f:DefaultRegistryAliasFlag.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefaultRegistryAlias=(Option.map~f:DefaultRegistryAliasFlag.of_xml)(Xml.childxml_arg0"defaultRegistryAlias")inletprimaryRegistryAlias=(Option.map~f:PrimaryRegistryAliasFlag.of_xml)(Xml.childxml_arg0"primaryRegistryAlias")inletstatus=(Option.map~f:RegistryAliasStatus.of_xml)(Xml.childxml_arg0"status")inletname=(Option.map~f:RegistryAliasName.of_xml)(Xml.childxml_arg0"name")inmake?defaultRegistryAlias?primaryRegistryAlias?status?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefaultRegistryAlias=field_mapjson__"defaultRegistryAlias"DefaultRegistryAliasFlag.of_jsoninletprimaryRegistryAlias=field_mapjson__"primaryRegistryAlias"PrimaryRegistryAliasFlag.of_jsoninletstatus=field_mapjson__"status"RegistryAliasStatus.of_jsoninletname=field_mapjson__"name"RegistryAliasName.of_jsoninmake?defaultRegistryAlias?primaryRegistryAlias?status?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object representing the aliases for a public registry. A public registry is given an alias when it's created. However, a custom alias can be set using the Amazon ECR console. For more information, see Registries in the Amazon Elastic Container Registry User Guide."]moduleImageTag=structtypenonrect=stringletcontext_="ImageTag"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:300)>>=(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:"ImageTag"jletto_json=simple_to_jsonto_valueendmoduleImageDigest=structtypenonrect=stringletcontext_="ImageDigest"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:"ImageDigest"jletto_json=simple_to_jsonto_valueendmoduleImageSizeInBytes=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleMediaType=structtypenonrect=stringletcontext_="MediaType"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:"MediaType"jletto_json=simple_to_jsonto_valueendmodulePushTimestamp=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_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleArchitecture=structtypenonrect=stringletcontext_="Architecture"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:50)>>=(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:"Architecture"jletto_json=simple_to_jsonto_valueendmoduleOperatingSystem=structtypenonrect=stringletcontext_="OperatingSystem"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:50)>>=(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:"OperatingSystem"jletto_json=simple_to_jsonto_valueendmoduleArn=structtypenonrect=stringletcontext_="Arn"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:"Arn"jletto_json=simple_to_jsonto_valueendmoduleCreationTimestamp=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_valueendmoduleRegistryId=structtypenonrect=stringletcontext_="RegistryId"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:"RegistryId"jletto_json=simple_to_jsonto_valueendmoduleRepositoryName=structtypenonrect=stringletcontext_="RepositoryName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:205)>>=(fun()->check_patterni~pattern:"(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-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:"RepositoryName"jletto_json=simple_to_jsonto_valueendmoduleUrl=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_valueendmoduleRegistryAliasList=structtypenonrect=RegistryAlias.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RegistryAlias.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:RegistryAlias.of_xml)letof_jsonj=list_of_json~kind:"RegistryAliasList"~of_json:RegistryAlias.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRegistryVerified=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_valueendmoduleImageTagList=structtypenonrect=ImageTag.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageTag.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:ImageTag.of_xml)letof_jsonj=list_of_json~kind:"ImageTagList"~of_json:ImageTag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReferencedImageDetail=structtypenonrect={imageDigest:ImageDigest.toption[@ocaml.doc"The sha256 digest of the image manifest."];imageSizeInBytes:ImageSizeInBytes.toption[@ocaml.doc"The size, in bytes, of the image in the repository. If the image is a manifest list, this is the max size of all manifests in the list. Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it might return a larger image size than the image sizes that are returned by DescribeImages."];imagePushedAt:PushTimestamp.toption[@ocaml.doc"The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at."];imageManifestMediaType:MediaType.toption[@ocaml.doc"The media type of the image manifest."];artifactMediaType:MediaType.toption[@ocaml.doc"The artifact media type of the image."]}letmake?imageDigest=fun?imageSizeInBytes->fun?imagePushedAt->fun?imageManifestMediaType->fun?artifactMediaType->fun()->{imageDigest;imageSizeInBytes;imagePushedAt;imageManifestMediaType;artifactMediaType}letto_valuex=structure_to_value[("imageDigest",(Option.mapx.imageDigest~f:ImageDigest.to_value));("imageSizeInBytes",(Option.mapx.imageSizeInBytes~f:ImageSizeInBytes.to_value));("imagePushedAt",(Option.mapx.imagePushedAt~f:PushTimestamp.to_value));("imageManifestMediaType",(Option.mapx.imageManifestMediaType~f:MediaType.to_value));("artifactMediaType",(Option.mapx.artifactMediaType~f:MediaType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letartifactMediaType=(Option.map~f:MediaType.of_xml)(Xml.childxml_arg0"artifactMediaType")inletimageManifestMediaType=(Option.map~f:MediaType.of_xml)(Xml.childxml_arg0"imageManifestMediaType")inletimagePushedAt=(Option.map~f:PushTimestamp.of_xml)(Xml.childxml_arg0"imagePushedAt")inletimageSizeInBytes=(Option.map~f:ImageSizeInBytes.of_xml)(Xml.childxml_arg0"imageSizeInBytes")inletimageDigest=(Option.map~f:ImageDigest.of_xml)(Xml.childxml_arg0"imageDigest")inmake?artifactMediaType?imageManifestMediaType?imagePushedAt?imageSizeInBytes?imageDigest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letartifactMediaType=field_mapjson__"artifactMediaType"MediaType.of_jsoninletimageManifestMediaType=field_mapjson__"imageManifestMediaType"MediaType.of_jsoninletimagePushedAt=field_mapjson__"imagePushedAt"PushTimestamp.of_jsoninletimageSizeInBytes=field_mapjson__"imageSizeInBytes"ImageSizeInBytes.of_jsoninletimageDigest=field_mapjson__"imageDigest"ImageDigest.of_jsoninmake?artifactMediaType?imageManifestMediaType?imagePushedAt?imageSizeInBytes?imageDigest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that describes the image tag details that are returned by a DescribeImageTags action."]moduleImageFailureCode=structtypenonrect=|InvalidImageDigest|InvalidImageTag|ImageTagDoesNotMatchDigest|ImageNotFound|MissingDigestAndTag|ImageReferencedByManifestList|KmsError|Non_static_idofstringletmakei=iletto_string=function|InvalidImageDigest->"InvalidImageDigest"|InvalidImageTag->"InvalidImageTag"|ImageTagDoesNotMatchDigest->"ImageTagDoesNotMatchDigest"|ImageNotFound->"ImageNotFound"|MissingDigestAndTag->"MissingDigestAndTag"|ImageReferencedByManifestList->"ImageReferencedByManifestList"|KmsError->"KmsError"|Non_static_ids->sletof_string=function|"InvalidImageDigest"->InvalidImageDigest|"InvalidImageTag"->InvalidImageTag|"ImageTagDoesNotMatchDigest"->ImageTagDoesNotMatchDigest|"ImageNotFound"->ImageNotFound|"MissingDigestAndTag"->MissingDigestAndTag|"ImageReferencedByManifestList"->ImageReferencedByManifestList|"KmsError"->KmsError|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 ImageFailureCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ImageFailureCode"j)letto_json=simple_to_jsonto_valueendmoduleImageFailureReason=structtypenonrect=stringletcontext_="ImageFailureReason"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:"ImageFailureReason"jletto_json=simple_to_jsonto_valueendmoduleImageIdentifier=structtypenonrect={imageDigest:ImageDigest.toption[@ocaml.doc"The sha256 digest of the image manifest."];imageTag:ImageTag.toption[@ocaml.doc"The tag that's used for the image."]}letmake?imageDigest=fun?imageTag->fun()->{imageDigest;imageTag}letto_valuex=structure_to_value[("imageDigest",(Option.mapx.imageDigest~f:ImageDigest.to_value));("imageTag",(Option.mapx.imageTag~f:ImageTag.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimageTag=(Option.map~f:ImageTag.of_xml)(Xml.childxml_arg0"imageTag")inletimageDigest=(Option.map~f:ImageDigest.of_xml)(Xml.childxml_arg0"imageDigest")inmake?imageTag?imageDigest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimageTag=field_mapjson__"imageTag"ImageTag.of_jsoninletimageDigest=field_mapjson__"imageDigest"ImageDigest.of_jsoninmake?imageTag?imageDigest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object with identifying information for an Amazon ECR image."]moduleBatchedOperationLayerDigest=structtypenonrect=stringletcontext_="BatchedOperationLayerDigest"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1000)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BatchedOperationLayerDigest"jletto_json=simple_to_jsonto_valueendmoduleLayerFailureCode=structtypenonrect=|InvalidLayerDigest|MissingLayerDigest|Non_static_idofstringletmakei=iletto_string=function|InvalidLayerDigest->"InvalidLayerDigest"|MissingLayerDigest->"MissingLayerDigest"|Non_static_ids->sletof_string=function|"InvalidLayerDigest"->InvalidLayerDigest|"MissingLayerDigest"->MissingLayerDigest|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 LayerFailureCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LayerFailureCode"j)letto_json=simple_to_jsonto_valueendmoduleLayerFailureReason=structtypenonrect=stringletcontext_="LayerFailureReason"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:"LayerFailureReason"jletto_json=simple_to_jsonto_valueendmoduleLayerAvailability=structtypenonrect=|AVAILABLE|UNAVAILABLE|Non_static_idofstringletmakei=iletto_string=function|AVAILABLE->"AVAILABLE"|UNAVAILABLE->"UNAVAILABLE"|Non_static_ids->sletof_string=function|"AVAILABLE"->AVAILABLE|"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 LayerAvailability"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LayerAvailability"j)letto_json=simple_to_jsonto_valueendmoduleLayerDigest=structtypenonrect=stringletcontext_="LayerDigest"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[a-zA-Z0-9-_+.]+:[a-fA-F0-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:"LayerDigest"jletto_json=simple_to_jsonto_valueendmoduleLayerSizeInBytes=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleExceptionMessage=structtypenonrect=stringletcontext_="ExceptionMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ExceptionMessage"jletto_json=simple_to_jsonto_valueendmodulePartSize=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith(check_int64_mini~min:0L);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_valueendmoduleUploadId=structtypenonrect=stringletcontext_="UploadId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{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:"UploadId"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.toption[@ocaml.doc"One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values."];value:TagValue.toption[@ocaml.doc"The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key)."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:TagKey.to_value));("Value",(Option.mapx.value~f:TagValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:TagValue.of_xml)(Xml.childxml_arg0"Value")inletkey=(Option.map~f:TagKey.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"TagValue.of_jsoninletkey=field_mapjson__"Key"TagKey.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters."]moduleAboutText=structtypenonrect=stringletcontext_="AboutText"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:25600);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AboutText"jletto_json=simple_to_jsonto_valueendmoduleArchitectureList=structtypenonrect=Architecture.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:Architecture.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:Architecture.of_xml)letof_jsonj=list_of_json~kind:"ArchitectureList"~of_json:Architecture.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMarketplaceCertified=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_valueendmoduleOperatingSystemList=structtypenonrect=OperatingSystem.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:OperatingSystem.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:OperatingSystem.of_xml)letof_jsonj=list_of_json~kind:"OperatingSystemList"~of_json:OperatingSystem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryDescription=structtypenonrect=stringletcontext_="RepositoryDescription"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:"RepositoryDescription"jletto_json=simple_to_jsonto_valueendmoduleResourceUrl=structtypenonrect=stringletcontext_="ResourceUrl"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:2048);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceUrl"jletto_json=simple_to_jsonto_valueendmoduleUsageText=structtypenonrect=stringletcontext_="UsageText"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:25600);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"UsageText"jletto_json=simple_to_jsonto_valueendmoduleLogoImageBlob=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Blobxletto_queryv=to_queryto_valuevletto_headerx=xletof_xmlxml_arg0=string_of_xml~kind:"a blob"xml_arg0letof_jsonj=string_of_json~kind:"a blob"jletto_json=simple_to_jsonto_valueendmoduleRegistryDisplayName=structtypenonrect=stringletcontext_="RegistryDisplayName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:100)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RegistryDisplayName"jletto_json=simple_to_jsonto_valueendmoduleImageManifest=structtypenonrect=stringletcontext_="ImageManifest"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:4194304)>>=(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:"ImageManifest"jletto_json=simple_to_jsonto_valueendmoduleRegistryIdOrAlias=structtypenonrect=stringletcontext_="RegistryIdOrAlias"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:50)>>=(fun()->check_string_mini~min:2));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RegistryIdOrAlias"jletto_json=simple_to_jsonto_valueendmoduleBase64=structtypenonrect=stringletcontext_="Base64"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^\\S+$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Base64"jletto_json=simple_to_jsonto_valueendmoduleExpirationTimestamp=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_valueendmoduleRepository=structtypenonrect={repositoryArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test."];registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry that contains the repository."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository."];repositoryUri:Url.toption[@ocaml.doc"The URI for the repository. You can use this URI for container image push and pull operations."];createdAt:CreationTimestamp.toption[@ocaml.doc"The date and time, in JavaScript date format, when the repository was created."]}letmake?repositoryArn=fun?registryId->fun?repositoryName->fun?repositoryUri->fun?createdAt->fun()->{repositoryArn;registryId;repositoryName;repositoryUri;createdAt}letto_valuex=structure_to_value[("repositoryArn",(Option.mapx.repositoryArn~f:Arn.to_value));("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("repositoryUri",(Option.mapx.repositoryUri~f:Url.to_value));("createdAt",(Option.mapx.createdAt~f:CreationTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreatedAt=(Option.map~f:CreationTimestamp.of_xml)(Xml.childxml_arg0"createdAt")inletrepositoryUri=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"repositoryUri")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inletrepositoryArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"repositoryArn")inmake?createdAt?repositoryUri?repositoryName?registryId?repositoryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreatedAt=field_mapjson__"createdAt"CreationTimestamp.of_jsoninletrepositoryUri=field_mapjson__"repositoryUri"Url.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninletrepositoryArn=field_mapjson__"repositoryArn"Arn.of_jsoninmake?createdAt?repositoryUri?repositoryName?registryId?repositoryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object representing a repository."]moduleRegistry=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed."];registryArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the public registry."];registryUri:Url.toption[@ocaml.doc"The URI of a public registry. The URI contains a universal prefix and the registry alias."];verified:RegistryVerified.toption[@ocaml.doc"Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery."];aliases:RegistryAliasList.toption[@ocaml.doc"An array of objects that represents the aliases for a public registry."]}letmake?registryId=fun?registryArn->fun?registryUri->fun?verified->fun?aliases->fun()->{registryId;registryArn;registryUri;verified;aliases}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("registryArn",(Option.mapx.registryArn~f:Arn.to_value));("registryUri",(Option.mapx.registryUri~f:Url.to_value));("verified",(Option.mapx.verified~f:RegistryVerified.to_value));("aliases",(Option.mapx.aliases~f:RegistryAliasList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaliases=(Option.map~f:RegistryAliasList.of_xml)(Xml.childxml_arg0"aliases")inletverified=(Option.map~f:RegistryVerified.of_xml)(Xml.childxml_arg0"verified")inletregistryUri=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"registryUri")inletregistryArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"registryArn")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?aliases?verified?registryUri?registryArn?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaliases=field_mapjson__"aliases"RegistryAliasList.of_jsoninletverified=field_mapjson__"verified"RegistryVerified.of_jsoninletregistryUri=field_mapjson__"registryUri"Url.of_jsoninletregistryArn=field_mapjson__"registryArn"Arn.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?aliases?verified?registryUri?registryArn?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of a public registry."]moduleImageDetail=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry where this image belongs."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where this image belongs."];imageDigest:ImageDigest.toption[@ocaml.doc"The sha256 digest of the image manifest."];imageTags:ImageTagList.toption[@ocaml.doc"The list of tags that's associated with this image."];imageSizeInBytes:ImageSizeInBytes.toption[@ocaml.doc"The size, in bytes, of the image in the repository. If the image is a manifest list, this is the max size of all manifests in the list. Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it might return a larger image size than the image sizes that are returned by DescribeImages."];imagePushedAt:PushTimestamp.toption[@ocaml.doc"The date and time, expressed in standard JavaScript date format, that the current image was pushed to the repository at."];imageManifestMediaType:MediaType.toption[@ocaml.doc"The media type of the image manifest."];artifactMediaType:MediaType.toption[@ocaml.doc"The artifact media type of the image."]}letmake?registryId=fun?repositoryName->fun?imageDigest->fun?imageTags->fun?imageSizeInBytes->fun?imagePushedAt->fun?imageManifestMediaType->fun?artifactMediaType->fun()->{registryId;repositoryName;imageDigest;imageTags;imageSizeInBytes;imagePushedAt;imageManifestMediaType;artifactMediaType}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("imageDigest",(Option.mapx.imageDigest~f:ImageDigest.to_value));("imageTags",(Option.mapx.imageTags~f:ImageTagList.to_value));("imageSizeInBytes",(Option.mapx.imageSizeInBytes~f:ImageSizeInBytes.to_value));("imagePushedAt",(Option.mapx.imagePushedAt~f:PushTimestamp.to_value));("imageManifestMediaType",(Option.mapx.imageManifestMediaType~f:MediaType.to_value));("artifactMediaType",(Option.mapx.artifactMediaType~f:MediaType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letartifactMediaType=(Option.map~f:MediaType.of_xml)(Xml.childxml_arg0"artifactMediaType")inletimageManifestMediaType=(Option.map~f:MediaType.of_xml)(Xml.childxml_arg0"imageManifestMediaType")inletimagePushedAt=(Option.map~f:PushTimestamp.of_xml)(Xml.childxml_arg0"imagePushedAt")inletimageSizeInBytes=(Option.map~f:ImageSizeInBytes.of_xml)(Xml.childxml_arg0"imageSizeInBytes")inletimageTags=(Option.map~f:ImageTagList.of_xml)(Xml.childxml_arg0"imageTags")inletimageDigest=(Option.map~f:ImageDigest.of_xml)(Xml.childxml_arg0"imageDigest")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?artifactMediaType?imageManifestMediaType?imagePushedAt?imageSizeInBytes?imageTags?imageDigest?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letartifactMediaType=field_mapjson__"artifactMediaType"MediaType.of_jsoninletimageManifestMediaType=field_mapjson__"imageManifestMediaType"MediaType.of_jsoninletimagePushedAt=field_mapjson__"imagePushedAt"PushTimestamp.of_jsoninletimageSizeInBytes=field_mapjson__"imageSizeInBytes"ImageSizeInBytes.of_jsoninletimageTags=field_mapjson__"imageTags"ImageTagList.of_jsoninletimageDigest=field_mapjson__"imageDigest"ImageDigest.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?artifactMediaType?imageManifestMediaType?imagePushedAt?imageSizeInBytes?imageTags?imageDigest?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that describes an image that's returned by a DescribeImages operation."]moduleImageTagDetail=structtypenonrect={imageTag:ImageTag.toption[@ocaml.doc"The tag that's associated with the image."];createdAt:CreationTimestamp.toption[@ocaml.doc"The time stamp that indicates when the image tag was created."];imageDetail:ReferencedImageDetail.toption[@ocaml.doc"An object that describes the details of an image."]}letmake?imageTag=fun?createdAt->fun?imageDetail->fun()->{imageTag;createdAt;imageDetail}letto_valuex=structure_to_value[("imageTag",(Option.mapx.imageTag~f:ImageTag.to_value));("createdAt",(Option.mapx.createdAt~f:CreationTimestamp.to_value));("imageDetail",(Option.mapx.imageDetail~f:ReferencedImageDetail.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimageDetail=(Option.map~f:ReferencedImageDetail.of_xml)(Xml.childxml_arg0"imageDetail")inletcreatedAt=(Option.map~f:CreationTimestamp.of_xml)(Xml.childxml_arg0"createdAt")inletimageTag=(Option.map~f:ImageTag.of_xml)(Xml.childxml_arg0"imageTag")inmake?imageDetail?createdAt?imageTag()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimageDetail=field_mapjson__"imageDetail"ReferencedImageDetail.of_jsoninletcreatedAt=field_mapjson__"createdAt"CreationTimestamp.of_jsoninletimageTag=field_mapjson__"imageTag"ImageTag.of_jsoninmake?imageDetail?createdAt?imageTag()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that represents the image tag details for an image."]moduleImageFailure=structtypenonrect={imageId:ImageIdentifier.toption[@ocaml.doc"The image ID that's associated with the failure."];failureCode:ImageFailureCode.toption[@ocaml.doc"The code that's associated with the failure."];failureReason:ImageFailureReason.toption[@ocaml.doc"The reason for the failure."]}letmake?imageId=fun?failureCode->fun?failureReason->fun()->{imageId;failureCode;failureReason}letto_valuex=structure_to_value[("imageId",(Option.mapx.imageId~f:ImageIdentifier.to_value));("failureCode",(Option.mapx.failureCode~f:ImageFailureCode.to_value));("failureReason",(Option.mapx.failureReason~f:ImageFailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailureReason=(Option.map~f:ImageFailureReason.of_xml)(Xml.childxml_arg0"failureReason")inletfailureCode=(Option.map~f:ImageFailureCode.of_xml)(Xml.childxml_arg0"failureCode")inletimageId=(Option.map~f:ImageIdentifier.of_xml)(Xml.childxml_arg0"imageId")inmake?failureReason?failureCode?imageId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailureReason=field_mapjson__"failureReason"ImageFailureReason.of_jsoninletfailureCode=field_mapjson__"failureCode"ImageFailureCode.of_jsoninletimageId=field_mapjson__"imageId"ImageIdentifier.of_jsoninmake?failureReason?failureCode?imageId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that represents an Amazon ECR image failure."]moduleLayerFailure=structtypenonrect={layerDigest:BatchedOperationLayerDigest.toption[@ocaml.doc"The layer digest that's associated with the failure."];failureCode:LayerFailureCode.toption[@ocaml.doc"The failure code that's associated with the failure."];failureReason:LayerFailureReason.toption[@ocaml.doc"The reason for the failure."]}letmake?layerDigest=fun?failureCode->fun?failureReason->fun()->{layerDigest;failureCode;failureReason}letto_valuex=structure_to_value[("layerDigest",(Option.mapx.layerDigest~f:BatchedOperationLayerDigest.to_value));("failureCode",(Option.mapx.failureCode~f:LayerFailureCode.to_value));("failureReason",(Option.mapx.failureReason~f:LayerFailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailureReason=(Option.map~f:LayerFailureReason.of_xml)(Xml.childxml_arg0"failureReason")inletfailureCode=(Option.map~f:LayerFailureCode.of_xml)(Xml.childxml_arg0"failureCode")inletlayerDigest=(Option.map~f:BatchedOperationLayerDigest.of_xml)(Xml.childxml_arg0"layerDigest")inmake?failureReason?failureCode?layerDigest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailureReason=field_mapjson__"failureReason"LayerFailureReason.of_jsoninletfailureCode=field_mapjson__"failureCode"LayerFailureCode.of_jsoninletlayerDigest=field_mapjson__"layerDigest"BatchedOperationLayerDigest.of_jsoninmake?failureReason?failureCode?layerDigest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that represents an Amazon ECR image layer failure."]moduleLayer=structtypenonrect={layerDigest:LayerDigest.toption[@ocaml.doc"The sha256 digest of the image layer."];layerAvailability:LayerAvailability.toption[@ocaml.doc"The availability status of the image layer."];layerSize:LayerSizeInBytes.toption[@ocaml.doc"The size, in bytes, of the image layer."];mediaType:MediaType.toption[@ocaml.doc"The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip."]}letmake?layerDigest=fun?layerAvailability->fun?layerSize->fun?mediaType->fun()->{layerDigest;layerAvailability;layerSize;mediaType}letto_valuex=structure_to_value[("layerDigest",(Option.mapx.layerDigest~f:LayerDigest.to_value));("layerAvailability",(Option.mapx.layerAvailability~f:LayerAvailability.to_value));("layerSize",(Option.mapx.layerSize~f:LayerSizeInBytes.to_value));("mediaType",(Option.mapx.mediaType~f:MediaType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmediaType=(Option.map~f:MediaType.of_xml)(Xml.childxml_arg0"mediaType")inletlayerSize=(Option.map~f:LayerSizeInBytes.of_xml)(Xml.childxml_arg0"layerSize")inletlayerAvailability=(Option.map~f:LayerAvailability.of_xml)(Xml.childxml_arg0"layerAvailability")inletlayerDigest=(Option.map~f:LayerDigest.of_xml)(Xml.childxml_arg0"layerDigest")inmake?mediaType?layerSize?layerAvailability?layerDigest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmediaType=field_mapjson__"mediaType"MediaType.of_jsoninletlayerSize=field_mapjson__"layerSize"LayerSizeInBytes.of_jsoninletlayerAvailability=field_mapjson__"layerAvailability"LayerAvailability.of_jsoninletlayerDigest=field_mapjson__"layerDigest"LayerDigest.of_jsoninmake?mediaType?layerSize?layerAvailability?layerDigest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that represents an Amazon ECR image layer."]moduleInvalidLayerPartException=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the layer part."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository."];uploadId:UploadId.toption[@ocaml.doc"The upload ID that's associated with the layer part."];lastValidByteReceived:PartSize.toption[@ocaml.doc"The position of the last byte of the layer part."];message:ExceptionMessage.toption}letmake?registryId=fun?repositoryName->fun?uploadId->fun?lastValidByteReceived->fun?message->fun()->{registryId;repositoryName;uploadId;lastValidByteReceived;message}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("uploadId",(Option.mapx.uploadId~f:UploadId.to_value));("lastValidByteReceived",(Option.mapx.lastValidByteReceived~f:PartSize.to_value));("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inletlastValidByteReceived=(Option.map~f:PartSize.of_xml)(Xml.childxml_arg0"lastValidByteReceived")inletuploadId=(Option.map~f:UploadId.of_xml)(Xml.childxml_arg0"uploadId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?message?lastValidByteReceived?uploadId?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninletlastValidByteReceived=field_mapjson__"lastValidByteReceived"PartSize.of_jsoninletuploadId=field_mapjson__"uploadId"UploadId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?message?lastValidByteReceived?uploadId?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The layer part size isn't valid, or the first byte specified isn't consecutive to the last byte of a previous layer part upload."]moduleInvalidParameterException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified parameter is invalid. Review the available parameters for the API request."]moduleLimitExceededException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation didn't succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Service Quotas in the Amazon Elastic Container Registry User Guide."]moduleRegistryNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The registry doesn't exist."]moduleRepositoryNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry."]moduleServerException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"These errors are usually caused by a server-side issue."]moduleUnsupportedCommandException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The action isn't supported in this Region."]moduleUploadNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The upload can't be found, or the specified upload ID isn't valid for this repository."]moduleLayerPartBlob=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Blobxletto_queryv=to_queryto_valuevletto_headerx=xletof_xmlxml_arg0=string_of_xml~kind:"a blob"xml_arg0letof_jsonj=string_of_json~kind:"a blob"jletto_json=simple_to_jsonto_valueendmoduleInvalidTagParameterException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters."]moduleTooManyTagsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryPolicyText=structtypenonrect=stringletcontext_="RepositoryPolicyText"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:10240)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RepositoryPolicyText"jletto_json=simple_to_jsonto_valueendmoduleForceFlag=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_valueendmoduleRepositoryCatalogData=structtypenonrect={description:RepositoryDescription.toption[@ocaml.doc"The short description of the repository."];architectures:ArchitectureList.toption[@ocaml.doc"The architecture tags that are associated with the repository. Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput."];operatingSystems:OperatingSystemList.toption[@ocaml.doc"The operating system tags that are associated with the repository. Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput."];logoUrl:ResourceUrl.toption[@ocaml.doc"The URL that contains the logo that's associated with the repository."];aboutText:AboutText.toption[@ocaml.doc"The longform description of the contents of the repository. This text appears in the repository details on the Amazon ECR Public Gallery."];usageText:UsageText.toption[@ocaml.doc"The longform usage details of the contents of the repository. The usage text provides context for users of the repository."];marketplaceCertified:MarketplaceCertified.toption[@ocaml.doc"Indicates whether the repository is certified by Amazon Web Services Marketplace."]}letmake?description=fun?architectures->fun?operatingSystems->fun?logoUrl->fun?aboutText->fun?usageText->fun?marketplaceCertified->fun()->{description;architectures;operatingSystems;logoUrl;aboutText;usageText;marketplaceCertified}letto_valuex=structure_to_value[("description",(Option.mapx.description~f:RepositoryDescription.to_value));("architectures",(Option.mapx.architectures~f:ArchitectureList.to_value));("operatingSystems",(Option.mapx.operatingSystems~f:OperatingSystemList.to_value));("logoUrl",(Option.mapx.logoUrl~f:ResourceUrl.to_value));("aboutText",(Option.mapx.aboutText~f:AboutText.to_value));("usageText",(Option.mapx.usageText~f:UsageText.to_value));("marketplaceCertified",(Option.mapx.marketplaceCertified~f:MarketplaceCertified.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmarketplaceCertified=(Option.map~f:MarketplaceCertified.of_xml)(Xml.childxml_arg0"marketplaceCertified")inletusageText=(Option.map~f:UsageText.of_xml)(Xml.childxml_arg0"usageText")inletaboutText=(Option.map~f:AboutText.of_xml)(Xml.childxml_arg0"aboutText")inletlogoUrl=(Option.map~f:ResourceUrl.of_xml)(Xml.childxml_arg0"logoUrl")inletoperatingSystems=(Option.map~f:OperatingSystemList.of_xml)(Xml.childxml_arg0"operatingSystems")inletarchitectures=(Option.map~f:ArchitectureList.of_xml)(Xml.childxml_arg0"architectures")inletdescription=(Option.map~f:RepositoryDescription.of_xml)(Xml.childxml_arg0"description")inmake?marketplaceCertified?usageText?aboutText?logoUrl?operatingSystems?architectures?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmarketplaceCertified=field_mapjson__"marketplaceCertified"MarketplaceCertified.of_jsoninletusageText=field_mapjson__"usageText"UsageText.of_jsoninletaboutText=field_mapjson__"aboutText"AboutText.of_jsoninletlogoUrl=field_mapjson__"logoUrl"ResourceUrl.of_jsoninletoperatingSystems=field_mapjson__"operatingSystems"OperatingSystemList.of_jsoninletarchitectures=field_mapjson__"architectures"ArchitectureList.of_jsoninletdescription=field_mapjson__"description"RepositoryDescription.of_jsoninmake?marketplaceCertified?usageText?aboutText?logoUrl?operatingSystems?architectures?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery."]moduleRepositoryCatalogDataInput=structtypenonrect={description:RepositoryDescription.toption[@ocaml.doc"A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery."];architectures:ArchitectureList.toption[@ocaml.doc"The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures appear as badges on the repository and are used as search filters. If an unsupported tag is added to your repository catalog data, it's associated with the repository and can be retrieved using the API but isn't discoverable in the Amazon ECR Public Gallery. ARM ARM 64 x86 x86-64"];operatingSystems:OperatingSystemList.toption[@ocaml.doc"The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems appear as badges on the repository and are used as search filters. If an unsupported tag is added to your repository catalog data, it's associated with the repository and can be retrieved using the API but isn't discoverable in the Amazon ECR Public Gallery. Linux Windows"];logoImageBlob:LogoImageBlob.toption[@ocaml.doc"The base64-encoded repository logo payload. The repository logo is only publicly visible in the Amazon ECR Public Gallery for verified accounts."];aboutText:AboutText.toption[@ocaml.doc"A detailed description of the contents of the repository. It's publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format."];usageText:UsageText.toption[@ocaml.doc"Detailed information about how to use the contents of the repository. It's publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format."]}letmake?description=fun?architectures->fun?operatingSystems->fun?logoImageBlob->fun?aboutText->fun?usageText->fun()->{description;architectures;operatingSystems;logoImageBlob;aboutText;usageText}letto_valuex=structure_to_value[("description",(Option.mapx.description~f:RepositoryDescription.to_value));("architectures",(Option.mapx.architectures~f:ArchitectureList.to_value));("operatingSystems",(Option.mapx.operatingSystems~f:OperatingSystemList.to_value));("logoImageBlob",(Option.mapx.logoImageBlob~f:LogoImageBlob.to_value));("aboutText",(Option.mapx.aboutText~f:AboutText.to_value));("usageText",(Option.mapx.usageText~f:UsageText.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letusageText=(Option.map~f:UsageText.of_xml)(Xml.childxml_arg0"usageText")inletaboutText=(Option.map~f:AboutText.of_xml)(Xml.childxml_arg0"aboutText")inletlogoImageBlob=(Option.map~f:LogoImageBlob.of_xml)(Xml.childxml_arg0"logoImageBlob")inletoperatingSystems=(Option.map~f:OperatingSystemList.of_xml)(Xml.childxml_arg0"operatingSystems")inletarchitectures=(Option.map~f:ArchitectureList.of_xml)(Xml.childxml_arg0"architectures")inletdescription=(Option.map~f:RepositoryDescription.of_xml)(Xml.childxml_arg0"description")inmake?usageText?aboutText?logoImageBlob?operatingSystems?architectures?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letusageText=field_mapjson__"usageText"UsageText.of_jsoninletaboutText=field_mapjson__"aboutText"AboutText.of_jsoninletlogoImageBlob=field_mapjson__"logoImageBlob"LogoImageBlob.of_jsoninletoperatingSystems=field_mapjson__"operatingSystems"OperatingSystemList.of_jsoninletarchitectures=field_mapjson__"architectures"ArchitectureList.of_jsoninletdescription=field_mapjson__"description"RepositoryDescription.of_jsoninmake?usageText?aboutText?logoImageBlob?operatingSystems?architectures?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery."]moduleRegistryCatalogData=structtypenonrect={displayName:RegistryDisplayName.toption[@ocaml.doc"The display name for a public registry. This appears on the Amazon ECR Public Gallery. Only accounts that have the verified account badge can have a registry display name."]}letmake?displayName=fun()->{displayName}letto_valuex=structure_to_value[("displayName",(Option.mapx.displayName~f:RegistryDisplayName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdisplayName=(Option.map~f:RegistryDisplayName.of_xml)(Xml.childxml_arg0"displayName")inmake?displayName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdisplayName=field_mapjson__"displayName"RegistryDisplayName.of_jsoninmake?displayName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The metadata for a public registry."]moduleImage=structtypenonrect={registryId:RegistryIdOrAlias.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the registry containing the image."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository that's associated with the image."];imageId:ImageIdentifier.toption[@ocaml.doc"An object that contains the image tag and image digest associated with an image."];imageManifest:ImageManifest.toption[@ocaml.doc"The image manifest that's associated with the image."];imageManifestMediaType:MediaType.toption[@ocaml.doc"The manifest media type of the image."]}letmake?registryId=fun?repositoryName->fun?imageId->fun?imageManifest->fun?imageManifestMediaType->fun()->{registryId;repositoryName;imageId;imageManifest;imageManifestMediaType}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryIdOrAlias.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("imageId",(Option.mapx.imageId~f:ImageIdentifier.to_value));("imageManifest",(Option.mapx.imageManifest~f:ImageManifest.to_value));("imageManifestMediaType",(Option.mapx.imageManifestMediaType~f:MediaType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimageManifestMediaType=(Option.map~f:MediaType.of_xml)(Xml.childxml_arg0"imageManifestMediaType")inletimageManifest=(Option.map~f:ImageManifest.of_xml)(Xml.childxml_arg0"imageManifest")inletimageId=(Option.map~f:ImageIdentifier.of_xml)(Xml.childxml_arg0"imageId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryIdOrAlias.of_xml)(Xml.childxml_arg0"registryId")inmake?imageManifestMediaType?imageManifest?imageId?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimageManifestMediaType=field_mapjson__"imageManifestMediaType"MediaType.of_jsoninletimageManifest=field_mapjson__"imageManifest"ImageManifest.of_jsoninletimageId=field_mapjson__"imageId"ImageIdentifier.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryIdOrAlias.of_jsoninmake?imageManifestMediaType?imageManifest?imageId?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that represents an Amazon ECR image."]moduleImageAlreadyExistsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push."]moduleImageDigestDoesNotMatchException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified image digest doesn't match the digest that Amazon ECR calculated for the image."]moduleImageTagAlreadyExistsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified image is tagged with a tag that already exists. The repository is configured for tag immutability."]moduleLayersNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified layers can't be found, or the specified layer isn't valid for this repository."]moduleReferencedImagesNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The manifest list is referencing an image that doesn't exist."]moduleRepositoryPolicyNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified repository and registry combination doesn't have an associated repository policy."]moduleRepositoryCatalogDataNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The repository catalog data doesn't exist."]moduleAuthorizationData=structtypenonrect={authorizationToken:Base64.toption[@ocaml.doc"A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password for public registry authentication using docker login."];expiresAt:ExpirationTimestamp.toption[@ocaml.doc"The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours."]}letmake?authorizationToken=fun?expiresAt->fun()->{authorizationToken;expiresAt}letto_valuex=structure_to_value[("authorizationToken",(Option.mapx.authorizationToken~f:Base64.to_value));("expiresAt",(Option.mapx.expiresAt~f:ExpirationTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexpiresAt=(Option.map~f:ExpirationTimestamp.of_xml)(Xml.childxml_arg0"expiresAt")inletauthorizationToken=(Option.map~f:Base64.of_xml)(Xml.childxml_arg0"authorizationToken")inmake?expiresAt?authorizationToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexpiresAt=field_mapjson__"expiresAt"ExpirationTimestamp.of_jsoninletauthorizationToken=field_mapjson__"authorizationToken"Base64.of_jsoninmake?expiresAt?authorizationToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An authorization token data object that corresponds to a public registry."]moduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleRepositoryList=structtypenonrect=Repository.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Repository.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:Repository.of_xml)letof_jsonj=list_of_json~kind:"RepositoryList"~of_json:Repository.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:1000)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleRepositoryNameList=structtypenonrect=RepositoryName.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryName.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:RepositoryName.of_xml)letof_jsonj=list_of_json~kind:"RepositoryNameList"~of_json:RepositoryName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRegistryList=structtypenonrect=Registry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Registry.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:Registry.of_xml)letof_jsonj=list_of_json~kind:"RegistryList"~of_json:Registry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageDetailList=structtypenonrect=ImageDetail.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageDetail.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:ImageDetail.of_xml)letof_jsonj=list_of_json~kind:"ImageDetailList"~of_json:ImageDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageNotFoundException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The image requested doesn't exist in the specified repository."]moduleImageIdentifierList=structtypenonrect=ImageIdentifier.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageIdentifier.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:ImageIdentifier.of_xml)letof_jsonj=list_of_json~kind:"ImageIdentifierList"~of_json:ImageIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageTagDetailList=structtypenonrect=ImageTagDetail.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageTagDetail.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:ImageTagDetail.of_xml)letof_jsonj=list_of_json~kind:"ImageTagDetailList"~of_json:ImageTagDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryNotEmptyException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force parameter."]moduleRepositoryAlreadyExistsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified repository already exists in the specified registry."]moduleEmptyUploadException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified layer upload doesn't contain any layer parts."]moduleInvalidLayerException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The layer digest calculation performed by Amazon ECR when the image layer doesn't match the digest specified."]moduleLayerAlreadyExistsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The image layer already exists in the associated repository."]moduleLayerPartTooSmallException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Layer parts must be at least 5 MiB in size."]moduleLayerDigestList=structtypenonrect=LayerDigest.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LayerDigest.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:LayerDigest.of_xml)letof_jsonj=list_of_json~kind:"LayerDigestList"~of_json:LayerDigest.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageFailureList=structtypenonrect=ImageFailure.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageFailure.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:ImageFailure.of_xml)letof_jsonj=list_of_json~kind:"ImageFailureList"~of_json:ImageFailure.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLayerFailureList=structtypenonrect=LayerFailure.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LayerFailure.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:LayerFailure.of_xml)letof_jsonj=list_of_json~kind:"LayerFailureList"~of_json:LayerFailure.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLayerList=structtypenonrect=Layer.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Layer.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:Layer.of_xml)letof_jsonj=list_of_json~kind:"LayerList"~of_json:Layer.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBatchedOperationLayerDigestList=structtypenonrect=BatchedOperationLayerDigest.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BatchedOperationLayerDigest.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:BatchedOperationLayerDigest.of_xml)letof_jsonj=list_of_json~kind:"BatchedOperationLayerDigestList"~of_json:BatchedOperationLayerDigest.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUploadLayerPartResponse=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The registry ID that's associated with the request."];repositoryName:RepositoryName.toption[@ocaml.doc"The repository name that's associated with the request."];uploadId:UploadId.toption[@ocaml.doc"The upload ID that's associated with the request."];lastByteReceived:PartSize.toption[@ocaml.doc"The integer value of the last byte that's received in the request."]}typenonrecerror=[`InvalidLayerPartExceptionofInvalidLayerPartException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`RegistryNotFoundExceptionofRegistryNotFoundException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`UploadNotFoundExceptionofUploadNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registryId=fun?repositoryName->fun?uploadId->fun?lastByteReceived->fun()->{registryId;repositoryName;uploadId;lastByteReceived}leterror_of_jsonnamejson=matchnamewith|"InvalidLayerPartException"->`InvalidLayerPartException(InvalidLayerPartException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|"UploadNotFoundException"->`UploadNotFoundException(UploadNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidLayerPartException"->`InvalidLayerPartException(InvalidLayerPartException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|"UploadNotFoundException"->`UploadNotFoundException(UploadNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidLayerPartExceptione->`Assoc[("error",(`String"InvalidLayerPartException"));("details",(InvalidLayerPartException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`RegistryNotFoundExceptione->`Assoc[("error",(`String"RegistryNotFoundException"));("details",(RegistryNotFoundException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`UploadNotFoundExceptione->`Assoc[("error",(`String"UploadNotFoundException"));("details",(UploadNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("uploadId",(Option.mapx.uploadId~f:UploadId.to_value));("lastByteReceived",(Option.mapx.lastByteReceived~f:PartSize.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastByteReceived=(Option.map~f:PartSize.of_xml)(Xml.childxml_arg0"lastByteReceived")inletuploadId=(Option.map~f:UploadId.of_xml)(Xml.childxml_arg0"uploadId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?lastByteReceived?uploadId?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastByteReceived=field_mapjson__"lastByteReceived"PartSize.of_jsoninletuploadId=field_mapjson__"uploadId"UploadId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?lastByteReceived?uploadId?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Uploads an image layer part to Amazon ECR. When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (about 20MB). The UploadLayerPart API is called once for each new image layer part. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleUploadLayerPartRequest=structtypenonrect={registryId:RegistryIdOrAlias.toption[@ocaml.doc"The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that you're uploading layer parts to."];uploadId:UploadId.t[@ocaml.doc"The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload."];partFirstByte:PartSize.t[@ocaml.doc"The position of the first byte of the layer part witin the overall image layer."];partLastByte:PartSize.t[@ocaml.doc"The position of the last byte of the layer part within the overall image layer."];layerPartBlob:LayerPartBlob.t[@ocaml.doc"The base64-encoded layer part payload."]}letcontext_="UploadLayerPartRequest"letmake?registryId=fun~repositoryName->fun~uploadId->fun~partFirstByte->fun~partLastByte->fun~layerPartBlob->fun()->{registryId;repositoryName;uploadId;partFirstByte;partLastByte;layerPartBlob}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryIdOrAlias.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("uploadId",(Some(UploadId.to_valuex.uploadId)));("partFirstByte",(Some(PartSize.to_valuex.partFirstByte)));("partLastByte",(Some(PartSize.to_valuex.partLastByte)));("layerPartBlob",(Some(LayerPartBlob.to_valuex.layerPartBlob)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlayerPartBlob=LayerPartBlob.of_xml(Xml.child_exn~context:context_xml_arg0"layerPartBlob")inletpartLastByte=PartSize.of_xml(Xml.child_exn~context:context_xml_arg0"partLastByte")inletpartFirstByte=PartSize.of_xml(Xml.child_exn~context:context_xml_arg0"partFirstByte")inletuploadId=UploadId.of_xml(Xml.child_exn~context:context_xml_arg0"uploadId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryIdOrAlias.of_xml)(Xml.childxml_arg0"registryId")inmake~layerPartBlob~partLastByte~partFirstByte~uploadId~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlayerPartBlob=field_map_exnjson__"layerPartBlob"LayerPartBlob.of_jsoninletpartLastByte=field_map_exnjson__"partLastByte"PartSize.of_jsoninletpartFirstByte=field_map_exnjson__"partFirstByte"PartSize.of_jsoninletuploadId=field_map_exnjson__"uploadId"UploadId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryIdOrAlias.of_jsoninmake~layerPartBlob~partLastByte~partFirstByte~uploadId~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Uploads an image layer part to Amazon ECR. When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (about 20MB). The UploadLayerPart API is called once for each new image layer part. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`InvalidTagParameterExceptionofInvalidTagParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`TooManyTagsExceptionofTooManyTagsException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidTagParameterException"->`InvalidTagParameterException(InvalidTagParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidTagParameterException"->`InvalidTagParameterException(InvalidTagParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidTagParameterExceptione->`Assoc[("error",(`String"InvalidTagParameterException"));("details",(InvalidTagParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.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 specified tags from a resource."]moduleUntagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resource is an Amazon ECR Public repository."];tagKeys:TagKeyList.t[@ocaml.doc"The keys of the tags to be removed."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.to_valuex.resourceArn)));("tagKeys",(Some(TagKeyList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"tagKeys")inletresourceArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~tagKeys~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"tagKeys"TagKeyList.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"Arn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes specified tags from a resource."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`InvalidTagParameterExceptionofInvalidTagParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`TooManyTagsExceptionofTooManyTagsException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidTagParameterException"->`InvalidTagParameterException(InvalidTagParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidTagParameterException"->`InvalidTagParameterException(InvalidTagParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidTagParameterExceptione->`Assoc[("error",(`String"InvalidTagParameterException"));("details",(InvalidTagParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.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"Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted."]moduleTagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resource is an Amazon ECR Public repository."];tags:TagList.t[@ocaml.doc"The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.to_valuex.resourceArn)));("tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"tags")inletresourceArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"tags"TagList.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"Arn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted."]moduleSetRepositoryPolicyResponse=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The registry ID that's associated with the request."];repositoryName:RepositoryName.toption[@ocaml.doc"The repository name that's associated with the request."];policyText:RepositoryPolicyText.toption[@ocaml.doc"The JSON repository policy text that's applied to the repository."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registryId=fun?repositoryName->fun?policyText->fun()->{registryId;repositoryName;policyText}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("policyText",(Option.mapx.policyText~f:RepositoryPolicyText.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyText=(Option.map~f:RepositoryPolicyText.of_xml)(Xml.childxml_arg0"policyText")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?policyText?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyText=field_mapjson__"policyText"RepositoryPolicyText.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?policyText?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Applies a repository policy to the specified public repository to control access permissions. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide."]moduleSetRepositoryPolicyRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the registry that contains the repository. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to receive the policy."];policyText:RepositoryPolicyText.t[@ocaml.doc"The JSON repository policy text to apply to the repository. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide."];force:ForceFlag.toption[@ocaml.doc"If the policy that you want to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This prevents accidental repository lockouts."]}letcontext_="SetRepositoryPolicyRequest"letmake?registryId=fun?force->fun~repositoryName->fun~policyText->fun()->{registryId;force;repositoryName;policyText}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("policyText",(Some(RepositoryPolicyText.to_valuex.policyText)));("force",(Option.mapx.force~f:ForceFlag.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letforce=(Option.map~f:ForceFlag.of_xml)(Xml.childxml_arg0"force")inletpolicyText=RepositoryPolicyText.of_xml(Xml.child_exn~context:context_xml_arg0"policyText")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?force~policyText~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letforce=field_mapjson__"force"ForceFlag.of_jsoninletpolicyText=field_map_exnjson__"policyText"RepositoryPolicyText.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?force~policyText~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Applies a repository policy to the specified public repository to control access permissions. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide."]modulePutRepositoryCatalogDataResponse=structtypenonrect={catalogData:RepositoryCatalogData.toption[@ocaml.doc"The catalog data for the repository."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalogData=fun()->{catalogData}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("catalogData",(Option.mapx.catalogData~f:RepositoryCatalogData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcatalogData=(Option.map~f:RepositoryCatalogData.of_xml)(Xml.childxml_arg0"catalogData")inmake?catalogData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcatalogData=field_mapjson__"catalogData"RepositoryCatalogData.of_jsoninmake?catalogData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the catalog data for a repository in a public registry."]modulePutRepositoryCatalogDataRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry the repository is in. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to create or update the catalog data for."];catalogData:RepositoryCatalogDataInput.t[@ocaml.doc"An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery."]}letcontext_="PutRepositoryCatalogDataRequest"letmake?registryId=fun~repositoryName->fun~catalogData->fun()->{registryId;repositoryName;catalogData}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("catalogData",(Some(RepositoryCatalogDataInput.to_valuex.catalogData)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcatalogData=RepositoryCatalogDataInput.of_xml(Xml.child_exn~context:context_xml_arg0"catalogData")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake~catalogData~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcatalogData=field_map_exnjson__"catalogData"RepositoryCatalogDataInput.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake~catalogData~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the catalog data for a repository in a public registry."]modulePutRegistryCatalogDataResponse=structtypenonrect={registryCatalogData:RegistryCatalogData.toption[@ocaml.doc"The catalog data for the public registry."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registryCatalogData=fun()->{registryCatalogData}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registryCatalogData",(Option.mapx.registryCatalogData~f:RegistryCatalogData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregistryCatalogData=(Option.map~f:RegistryCatalogData.of_xml)(Xml.childxml_arg0"registryCatalogData")inmake?registryCatalogData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregistryCatalogData=field_mapjson__"registryCatalogData"RegistryCatalogData.of_jsoninmake?registryCatalogData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create or update the catalog data for a public registry."]modulePutRegistryCatalogDataRequest=structtypenonrect={displayName:RegistryDisplayName.toption[@ocaml.doc"The display name for a public registry. The display name is shown as the repository author in the Amazon ECR Public Gallery. The registry display name is only publicly visible in the Amazon ECR Public Gallery for verified accounts."]}letmake?displayName=fun()->{displayName}letto_valuex=structure_to_value[("displayName",(Option.mapx.displayName~f:RegistryDisplayName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdisplayName=(Option.map~f:RegistryDisplayName.of_xml)(Xml.childxml_arg0"displayName")inmake?displayName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdisplayName=field_mapjson__"displayName"RegistryDisplayName.of_jsoninmake?displayName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create or update the catalog data for a public registry."]modulePutImageResponse=structtypenonrect={image:Image.toption[@ocaml.doc"Details of the image uploaded."]}typenonrecerror=[`ImageAlreadyExistsExceptionofImageAlreadyExistsException.t|`ImageDigestDoesNotMatchExceptionofImageDigestDoesNotMatchException.t|`ImageTagAlreadyExistsExceptionofImageTagAlreadyExistsException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LayersNotFoundExceptionofLayersNotFoundException.t|`LimitExceededExceptionofLimitExceededException.t|`ReferencedImagesNotFoundExceptionofReferencedImagesNotFoundException.t|`RegistryNotFoundExceptionofRegistryNotFoundException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?image=fun()->{image}leterror_of_jsonnamejson=matchnamewith|"ImageAlreadyExistsException"->`ImageAlreadyExistsException(ImageAlreadyExistsException.of_jsonjson)|"ImageDigestDoesNotMatchException"->`ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException.of_jsonjson)|"ImageTagAlreadyExistsException"->`ImageTagAlreadyExistsException(ImageTagAlreadyExistsException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LayersNotFoundException"->`LayersNotFoundException(LayersNotFoundException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ReferencedImagesNotFoundException"->`ReferencedImagesNotFoundException(ReferencedImagesNotFoundException.of_jsonjson)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ImageAlreadyExistsException"->`ImageAlreadyExistsException(ImageAlreadyExistsException.of_xmlxml)|"ImageDigestDoesNotMatchException"->`ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException.of_xmlxml)|"ImageTagAlreadyExistsException"->`ImageTagAlreadyExistsException(ImageTagAlreadyExistsException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LayersNotFoundException"->`LayersNotFoundException(LayersNotFoundException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ReferencedImagesNotFoundException"->`ReferencedImagesNotFoundException(ReferencedImagesNotFoundException.of_xmlxml)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ImageAlreadyExistsExceptione->`Assoc[("error",(`String"ImageAlreadyExistsException"));("details",(ImageAlreadyExistsException.to_jsone))]|`ImageDigestDoesNotMatchExceptione->`Assoc[("error",(`String"ImageDigestDoesNotMatchException"));("details",(ImageDigestDoesNotMatchException.to_jsone))]|`ImageTagAlreadyExistsExceptione->`Assoc[("error",(`String"ImageTagAlreadyExistsException"));("details",(ImageTagAlreadyExistsException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LayersNotFoundExceptione->`Assoc[("error",(`String"LayersNotFoundException"));("details",(LayersNotFoundException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ReferencedImagesNotFoundExceptione->`Assoc[("error",(`String"ReferencedImagesNotFoundException"));("details",(ReferencedImagesNotFoundException.to_jsone))]|`RegistryNotFoundExceptione->`Assoc[("error",(`String"RegistryNotFoundException"));("details",(RegistryNotFoundException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("image",(Option.mapx.image~f:Image.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimage=(Option.map~f:Image.of_xml)(Xml.childxml_arg0"image")inmake?image()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimage=field_mapjson__"image"Image.of_jsoninmake?image()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the image manifest and tags that are associated with an image. When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags that are associated with the image. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]modulePutImageRequest=structtypenonrect={registryId:RegistryIdOrAlias.toption[@ocaml.doc"The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where the image is put."];imageManifest:ImageManifest.t[@ocaml.doc"The image manifest that corresponds to the image to be uploaded."];imageManifestMediaType:MediaType.toption[@ocaml.doc"The media type of the image manifest. If you push an image manifest that doesn't contain the mediaType field, you must specify the imageManifestMediaType in the request."];imageTag:ImageTag.toption[@ocaml.doc"The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats."];imageDigest:ImageDigest.toption[@ocaml.doc"The image digest of the image manifest that corresponds to the image."]}letcontext_="PutImageRequest"letmake?registryId=fun?imageManifestMediaType->fun?imageTag->fun?imageDigest->fun~repositoryName->fun~imageManifest->fun()->{registryId;imageManifestMediaType;imageTag;imageDigest;repositoryName;imageManifest}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryIdOrAlias.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("imageManifest",(Some(ImageManifest.to_valuex.imageManifest)));("imageManifestMediaType",(Option.mapx.imageManifestMediaType~f:MediaType.to_value));("imageTag",(Option.mapx.imageTag~f:ImageTag.to_value));("imageDigest",(Option.mapx.imageDigest~f:ImageDigest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimageDigest=(Option.map~f:ImageDigest.of_xml)(Xml.childxml_arg0"imageDigest")inletimageTag=(Option.map~f:ImageTag.of_xml)(Xml.childxml_arg0"imageTag")inletimageManifestMediaType=(Option.map~f:MediaType.of_xml)(Xml.childxml_arg0"imageManifestMediaType")inletimageManifest=ImageManifest.of_xml(Xml.child_exn~context:context_xml_arg0"imageManifest")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryIdOrAlias.of_xml)(Xml.childxml_arg0"registryId")inmake?imageDigest?imageTag?imageManifestMediaType~imageManifest~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimageDigest=field_mapjson__"imageDigest"ImageDigest.of_jsoninletimageTag=field_mapjson__"imageTag"ImageTag.of_jsoninletimageManifestMediaType=field_mapjson__"imageManifestMediaType"MediaType.of_jsoninletimageManifest=field_map_exnjson__"imageManifest"ImageManifest.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryIdOrAlias.of_jsoninmake?imageDigest?imageTag?imageManifestMediaType~imageManifest~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the image manifest and tags that are associated with an image. When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags that are associated with the image. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"The tags for the resource."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the tags for an Amazon ECR Public resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resource is an Amazon ECR Public repository."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"resourceArn"Arn.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the tags for an Amazon ECR Public resource."]moduleInitiateLayerUploadResponse=structtypenonrect={uploadId:UploadId.toption[@ocaml.doc"The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations."];partSize:PartSize.toption[@ocaml.doc"The size, in bytes, that Amazon ECR expects future layer part uploads to be."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RegistryNotFoundExceptionofRegistryNotFoundException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?uploadId=fun?partSize->fun()->{uploadId;partSize}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RegistryNotFoundExceptione->`Assoc[("error",(`String"RegistryNotFoundException"));("details",(RegistryNotFoundException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("uploadId",(Option.mapx.uploadId~f:UploadId.to_value));("partSize",(Option.mapx.partSize~f:PartSize.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpartSize=(Option.map~f:PartSize.of_xml)(Xml.childxml_arg0"partSize")inletuploadId=(Option.map~f:UploadId.of_xml)(Xml.childxml_arg0"uploadId")inmake?partSize?uploadId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpartSize=field_mapjson__"partSize"PartSize.of_jsoninletuploadId=field_mapjson__"uploadId"UploadId.of_jsoninmake?partSize?uploadId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Notifies Amazon ECR that you intend to upload an image layer. When an image is pushed, the InitiateLayerUpload API is called once for each image layer that hasn't already been uploaded. Whether an image layer uploads is determined by the BatchCheckLayerAvailability API action. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleInitiateLayerUploadRequest=structtypenonrect={registryId:RegistryIdOrAlias.toption[@ocaml.doc"The Amazon Web Services account ID, or registry alias, that's associated with the registry to which you intend to upload layers. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that you want to upload layers to."]}letcontext_="InitiateLayerUploadRequest"letmake?registryId=fun~repositoryName->fun()->{registryId;repositoryName}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryIdOrAlias.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryIdOrAlias.of_xml)(Xml.childxml_arg0"registryId")inmake~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryIdOrAlias.of_jsoninmake~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Notifies Amazon ECR that you intend to upload an image layer. When an image is pushed, the InitiateLayerUpload API is called once for each image layer that hasn't already been uploaded. Whether an image layer uploads is determined by the BatchCheckLayerAvailability API action. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleGetRepositoryPolicyResponse=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The registry ID that's associated with the request."];repositoryName:RepositoryName.toption[@ocaml.doc"The repository name that's associated with the request."];policyText:RepositoryPolicyText.toption[@ocaml.doc"The repository policy text that's associated with the repository. The policy text will be in JSON format."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`RepositoryPolicyNotFoundExceptionofRepositoryPolicyNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registryId=fun?repositoryName->fun?policyText->fun()->{registryId;repositoryName;policyText}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"RepositoryPolicyNotFoundException"->`RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"RepositoryPolicyNotFoundException"->`RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`RepositoryPolicyNotFoundExceptione->`Assoc[("error",(`String"RepositoryPolicyNotFoundException"));("details",(RepositoryPolicyNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("policyText",(Option.mapx.policyText~f:RepositoryPolicyText.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyText=(Option.map~f:RepositoryPolicyText.of_xml)(Xml.childxml_arg0"policyText")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?policyText?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyText=field_mapjson__"policyText"RepositoryPolicyText.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?policyText?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the repository policy for the specified repository."]moduleGetRepositoryPolicyRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry that contains the repository. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository with the policy to retrieve."]}letcontext_="GetRepositoryPolicyRequest"letmake?registryId=fun~repositoryName->fun()->{registryId;repositoryName}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the repository policy for the specified repository."]moduleGetRepositoryCatalogDataResponse=structtypenonrect={catalogData:RepositoryCatalogData.toption[@ocaml.doc"The catalog metadata for the repository."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryCatalogDataNotFoundExceptionofRepositoryCatalogDataNotFoundException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalogData=fun()->{catalogData}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryCatalogDataNotFoundException"->`RepositoryCatalogDataNotFoundException(RepositoryCatalogDataNotFoundException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryCatalogDataNotFoundException"->`RepositoryCatalogDataNotFoundException(RepositoryCatalogDataNotFoundException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryCatalogDataNotFoundExceptione->`Assoc[("error",(`String"RepositoryCatalogDataNotFoundException"));("details",(RepositoryCatalogDataNotFoundException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("catalogData",(Option.mapx.catalogData~f:RepositoryCatalogData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcatalogData=(Option.map~f:RepositoryCatalogData.of_xml)(Xml.childxml_arg0"catalogData")inmake?catalogData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcatalogData=field_mapjson__"catalogData"RepositoryCatalogData.of_jsoninmake?catalogData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve catalog metadata for a repository in a public registry. This metadata is displayed publicly in the Amazon ECR Public Gallery."]moduleGetRepositoryCatalogDataRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to retrieve the catalog metadata for."]}letcontext_="GetRepositoryCatalogDataRequest"letmake?registryId=fun~repositoryName->fun()->{registryId;repositoryName}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve catalog metadata for a repository in a public registry. This metadata is displayed publicly in the Amazon ECR Public Gallery."]moduleGetRegistryCatalogDataResponse=structtypenonrect={registryCatalogData:RegistryCatalogData.toption[@ocaml.doc"The catalog metadata for the public registry."]}typenonrecerror=[`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registryCatalogData=fun()->{registryCatalogData}leterror_of_jsonnamejson=matchnamewith|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registryCatalogData",(Option.mapx.registryCatalogData~f:RegistryCatalogData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregistryCatalogData=(Option.map~f:RegistryCatalogData.of_xml)(Xml.childxml_arg0"registryCatalogData")inmake?registryCatalogData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregistryCatalogData=field_mapjson__"registryCatalogData"RegistryCatalogData.of_jsoninmake?registryCatalogData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves catalog metadata for a public registry."]moduleGetRegistryCatalogDataRequest=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"Retrieves catalog metadata for a public registry."]moduleGetAuthorizationTokenResponse=structtypenonrect={authorizationData:AuthorizationData.toption[@ocaml.doc"An authorization token data object that corresponds to a public registry."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?authorizationData=fun()->{authorizationData}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("authorizationData",(Option.mapx.authorizationData~f:AuthorizationData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letauthorizationData=(Option.map~f:AuthorizationData.of_xml)(Xml.childxml_arg0"authorizationData")inmake?authorizationData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letauthorizationData=field_mapjson__"authorizationData"AuthorizationData.of_jsoninmake?authorizationData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves an authorization token. An authorization token represents your IAM authentication credentials. You can use it to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours. This API requires the ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken permissions."]moduleGetAuthorizationTokenRequest=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"Retrieves an authorization token. An authorization token represents your IAM authentication credentials. You can use it to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours. This API requires the ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken permissions."]moduleDescribeRepositoriesResponse=structtypenonrect={repositories:RepositoryList.toption[@ocaml.doc"A list of repository objects corresponding to valid repositories."];nextToken:NextToken.toption[@ocaml.doc"The nextToken value to include in a future DescribeRepositories request. When the results of a DescribeRepositories request exceed maxResults, this value can be used to retrieve the next page of results. If there are no more results to return, this value is null."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositories=fun?nextToken->fun()->{repositories;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositories",(Option.mapx.repositories~f:RepositoryList.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")inletrepositories=(Option.map~f:RepositoryList.of_xml)(Xml.childxml_arg0"repositories")inmake?nextToken?repositories()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrepositories=field_mapjson__"repositories"RepositoryList.of_jsoninmake?nextToken?repositories()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes repositories that are in a public registry."]moduleDescribeRepositoriesRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed."];repositoryNames:RepositoryNameList.toption[@ocaml.doc"A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described."];nextToken:NextToken.toption[@ocaml.doc"The nextToken value that's returned from a previous paginated DescribeRepositories request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. If you specify repositories with repositoryNames, you can't use this option. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of repository results that's returned by DescribeRepositories in paginated output. When this parameter is used, DescribeRepositories only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeRepositories request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. If you specify repositories with repositoryNames, you can't use this option."]}letmake?registryId=fun?repositoryNames->fun?nextToken->fun?maxResults->fun()->{registryId;repositoryNames;nextToken;maxResults}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryNames",(Option.mapx.repositoryNames~f:RepositoryNameList.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")inletrepositoryNames=(Option.map~f:RepositoryNameList.of_xml)(Xml.childxml_arg0"repositoryNames")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?maxResults?nextToken?repositoryNames?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrepositoryNames=field_mapjson__"repositoryNames"RepositoryNameList.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?maxResults?nextToken?repositoryNames?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes repositories that are in a public registry."]moduleDescribeRegistriesResponse=structtypenonrect={registries:RegistryList.toption[@ocaml.doc"An object that contains the details for a public registry."];nextToken:NextToken.toption[@ocaml.doc"The nextToken value to include in a future DescribeRepositories request. If the results of a DescribeRepositories request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results, this value is null."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registries=fun?nextToken->fun()->{registries;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registries",(Option.mapx.registries~f:RegistryList.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")inletregistries=(Option.map~f:RegistryList.of_xml)(Xml.childxml_arg0"registries")inmake?nextToken?registries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletregistries=field_mapjson__"registries"RegistryList.of_jsoninmake?nextToken?registries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details for a public registry."]moduleDescribeRegistriesRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The nextToken value that's returned from a previous paginated DescribeRegistries request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of repository results that's returned by DescribeRegistries in paginated output. When this parameter is used, DescribeRegistries only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeRegistries request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRegistries returns up to 100 results and a nextToken value, if applicable."]}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"Returns details for a public registry."]moduleDescribeImagesResponse=structtypenonrect={imageDetails:ImageDetailList.toption[@ocaml.doc"A list of ImageDetail objects that contain data about the image."];nextToken:NextToken.toption[@ocaml.doc"The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value is null."]}typenonrecerror=[`ImageNotFoundExceptionofImageNotFoundException.t|`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?imageDetails=fun?nextToken->fun()->{imageDetails;nextToken}leterror_of_jsonnamejson=matchnamewith|"ImageNotFoundException"->`ImageNotFoundException(ImageNotFoundException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ImageNotFoundException"->`ImageNotFoundException(ImageNotFoundException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ImageNotFoundExceptione->`Assoc[("error",(`String"ImageNotFoundException"));("details",(ImageNotFoundException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("imageDetails",(Option.mapx.imageDetails~f:ImageDetailList.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")inletimageDetails=(Option.map~f:ImageDetailList.of_xml)(Xml.childxml_arg0"imageDetails")inmake?nextToken?imageDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletimageDetails=field_mapjson__"imageDetails"ImageDetailList.of_jsoninmake?nextToken?imageDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns metadata that's related to the images in a repository in a public registry. Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size. Therefore, it might return a larger image size than the image sizes that are returned by DescribeImages."]moduleDescribeImagesRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The repository that contains the images to describe."];imageIds:ImageIdentifierList.toption[@ocaml.doc"The list of image IDs for the requested repository."];nextToken:NextToken.toption[@ocaml.doc"The nextToken value that's returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. If you specify images with imageIds, you can't use this option."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of repository results that's returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. If you specify images with imageIds, you can't use this option."]}letcontext_="DescribeImagesRequest"letmake?registryId=fun?imageIds->fun?nextToken->fun?maxResults->fun~repositoryName->fun()->{registryId;imageIds;nextToken;maxResults;repositoryName}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("imageIds",(Option.mapx.imageIds~f:ImageIdentifierList.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")inletimageIds=(Option.map~f:ImageIdentifierList.of_xml)(Xml.childxml_arg0"imageIds")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?maxResults?nextToken?imageIds~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletimageIds=field_mapjson__"imageIds"ImageIdentifierList.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?maxResults?nextToken?imageIds~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns metadata that's related to the images in a repository in a public registry. Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size. Therefore, it might return a larger image size than the image sizes that are returned by DescribeImages."]moduleDescribeImageTagsResponse=structtypenonrect={imageTagDetails:ImageTagDetailList.toption[@ocaml.doc"The image tag details for the images in the requested repository."];nextToken:NextToken.toption[@ocaml.doc"The nextToken value to include in a future DescribeImageTags request. When the results of a DescribeImageTags request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value is null."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?imageTagDetails=fun?nextToken->fun()->{imageTagDetails;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("imageTagDetails",(Option.mapx.imageTagDetails~f:ImageTagDetailList.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")inletimageTagDetails=(Option.map~f:ImageTagDetailList.of_xml)(Xml.childxml_arg0"imageTagDetails")inmake?nextToken?imageTagDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletimageTagDetails=field_mapjson__"imageTagDetails"ImageTagDetailList.of_jsoninmake?nextToken?imageTagDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the image tag details for a repository in a public registry."]moduleDescribeImageTagsRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the image tag details to describe."];nextToken:NextToken.toption[@ocaml.doc"The nextToken value that's returned from a previous paginated DescribeImageTags request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. If you specify images with imageIds, you can't use this option."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of repository results that's returned by DescribeImageTags in paginated output. When this parameter is used, DescribeImageTags only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeImageTags request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeImageTags returns up to 100 results and a nextToken value, if applicable. If you specify images with imageIds, you can't use this option."]}letcontext_="DescribeImageTagsRequest"letmake?registryId=fun?nextToken->fun?maxResults->fun~repositoryName->fun()->{registryId;nextToken;maxResults;repositoryName}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("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")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?maxResults?nextToken~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?maxResults?nextToken~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the image tag details for a repository in a public registry."]moduleDeleteRepositoryResponse=structtypenonrect={repository:Repository.toption[@ocaml.doc"The repository that was deleted."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotEmptyExceptionofRepositoryNotEmptyException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repository=fun()->{repository}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotEmptyException"->`RepositoryNotEmptyException(RepositoryNotEmptyException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotEmptyException"->`RepositoryNotEmptyException(RepositoryNotEmptyException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotEmptyExceptione->`Assoc[("error",(`String"RepositoryNotEmptyException"));("details",(RepositoryNotEmptyException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repository",(Option.mapx.repository~f:Repository.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepository=(Option.map~f:Repository.of_xml)(Xml.childxml_arg0"repository")inmake?repository()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepository=field_mapjson__"repository"Repository.of_jsoninmake?repository()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a repository in a public registry. If the repository contains images, you must either manually delete all images in the repository or use the force option. This option deletes all images on your behalf before deleting the repository."]moduleDeleteRepositoryRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to delete."];force:ForceFlag.toption[@ocaml.doc"The force option can be used to delete a repository that contains images. If the force option is not used, the repository must be empty prior to deletion."]}letcontext_="DeleteRepositoryRequest"letmake?registryId=fun?force->fun~repositoryName->fun()->{registryId;force;repositoryName}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("force",(Option.mapx.force~f:ForceFlag.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letforce=(Option.map~f:ForceFlag.of_xml)(Xml.childxml_arg0"force")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?force~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letforce=field_mapjson__"force"ForceFlag.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?force~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a repository in a public registry. If the repository contains images, you must either manually delete all images in the repository or use the force option. This option deletes all images on your behalf before deleting the repository."]moduleDeleteRepositoryPolicyResponse=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The registry ID that's associated with the request."];repositoryName:RepositoryName.toption[@ocaml.doc"The repository name that's associated with the request."];policyText:RepositoryPolicyText.toption[@ocaml.doc"The JSON repository policy that was deleted from the repository."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`RepositoryPolicyNotFoundExceptionofRepositoryPolicyNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registryId=fun?repositoryName->fun?policyText->fun()->{registryId;repositoryName;policyText}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"RepositoryPolicyNotFoundException"->`RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"RepositoryPolicyNotFoundException"->`RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`RepositoryPolicyNotFoundExceptione->`Assoc[("error",(`String"RepositoryPolicyNotFoundException"));("details",(RepositoryPolicyNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("policyText",(Option.mapx.policyText~f:RepositoryPolicyText.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyText=(Option.map~f:RepositoryPolicyText.of_xml)(Xml.childxml_arg0"policyText")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?policyText?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyText=field_mapjson__"policyText"RepositoryPolicyText.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?policyText?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the repository policy that's associated with the specified repository."]moduleDeleteRepositoryPolicyRequest=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The Amazon Web Services account ID that's associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that's associated with the repository policy to delete."]}letcontext_="DeleteRepositoryPolicyRequest"letmake?registryId=fun~repositoryName->fun()->{registryId;repositoryName}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the repository policy that's associated with the specified repository."]moduleCreateRepositoryResponse=structtypenonrect={repository:Repository.toption[@ocaml.doc"The repository that was created."];catalogData:RepositoryCatalogData.toption}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`InvalidTagParameterExceptionofInvalidTagParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`RepositoryAlreadyExistsExceptionofRepositoryAlreadyExistsException.t|`ServerExceptionofServerException.t|`TooManyTagsExceptionofTooManyTagsException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repository=fun?catalogData->fun()->{repository;catalogData}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidTagParameterException"->`InvalidTagParameterException(InvalidTagParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"RepositoryAlreadyExistsException"->`RepositoryAlreadyExistsException(RepositoryAlreadyExistsException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidTagParameterException"->`InvalidTagParameterException(InvalidTagParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"RepositoryAlreadyExistsException"->`RepositoryAlreadyExistsException(RepositoryAlreadyExistsException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidTagParameterExceptione->`Assoc[("error",(`String"InvalidTagParameterException"));("details",(InvalidTagParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`RepositoryAlreadyExistsExceptione->`Assoc[("error",(`String"RepositoryAlreadyExistsException"));("details",(RepositoryAlreadyExistsException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repository",(Option.mapx.repository~f:Repository.to_value));("catalogData",(Option.mapx.catalogData~f:RepositoryCatalogData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcatalogData=(Option.map~f:RepositoryCatalogData.of_xml)(Xml.childxml_arg0"catalogData")inletrepository=(Option.map~f:Repository.of_xml)(Xml.childxml_arg0"repository")inmake?catalogData?repository()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcatalogData=field_mapjson__"catalogData"RepositoryCatalogData.of_jsoninletrepository=field_mapjson__"repository"Repository.of_jsoninmake?catalogData?repository()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a repository in a public registry. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide."]moduleCreateRepositoryRequest=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app)."];catalogData:RepositoryCatalogDataInput.toption[@ocaml.doc"The details about the repository that are publicly visible in the Amazon ECR Public Gallery."];tags:TagList.toption[@ocaml.doc"The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters."]}letcontext_="CreateRepositoryRequest"letmake?catalogData=fun?tags->fun~repositoryName->fun()->{catalogData;tags;repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("catalogData",(Option.mapx.catalogData~f:RepositoryCatalogDataInput.to_value));("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletcatalogData=(Option.map~f:RepositoryCatalogDataInput.of_xml)(Xml.childxml_arg0"catalogData")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?tags?catalogData~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletcatalogData=field_mapjson__"catalogData"RepositoryCatalogDataInput.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?tags?catalogData~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a repository in a public registry. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide."]moduleCompleteLayerUploadResponse=structtypenonrect={registryId:RegistryId.toption[@ocaml.doc"The public registry ID that's associated with the request."];repositoryName:RepositoryName.toption[@ocaml.doc"The repository name that's associated with the request."];uploadId:UploadId.toption[@ocaml.doc"The upload ID that's associated with the layer."];layerDigest:LayerDigest.toption[@ocaml.doc"The sha256 digest of the image layer."]}typenonrecerror=[`EmptyUploadExceptionofEmptyUploadException.t|`InvalidLayerExceptionofInvalidLayerException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LayerAlreadyExistsExceptionofLayerAlreadyExistsException.t|`LayerPartTooSmallExceptionofLayerPartTooSmallException.t|`RegistryNotFoundExceptionofRegistryNotFoundException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`UploadNotFoundExceptionofUploadNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?registryId=fun?repositoryName->fun?uploadId->fun?layerDigest->fun()->{registryId;repositoryName;uploadId;layerDigest}leterror_of_jsonnamejson=matchnamewith|"EmptyUploadException"->`EmptyUploadException(EmptyUploadException.of_jsonjson)|"InvalidLayerException"->`InvalidLayerException(InvalidLayerException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LayerAlreadyExistsException"->`LayerAlreadyExistsException(LayerAlreadyExistsException.of_jsonjson)|"LayerPartTooSmallException"->`LayerPartTooSmallException(LayerPartTooSmallException.of_jsonjson)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|"UploadNotFoundException"->`UploadNotFoundException(UploadNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EmptyUploadException"->`EmptyUploadException(EmptyUploadException.of_xmlxml)|"InvalidLayerException"->`InvalidLayerException(InvalidLayerException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LayerAlreadyExistsException"->`LayerAlreadyExistsException(LayerAlreadyExistsException.of_xmlxml)|"LayerPartTooSmallException"->`LayerPartTooSmallException(LayerPartTooSmallException.of_xmlxml)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|"UploadNotFoundException"->`UploadNotFoundException(UploadNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EmptyUploadExceptione->`Assoc[("error",(`String"EmptyUploadException"));("details",(EmptyUploadException.to_jsone))]|`InvalidLayerExceptione->`Assoc[("error",(`String"InvalidLayerException"));("details",(InvalidLayerException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LayerAlreadyExistsExceptione->`Assoc[("error",(`String"LayerAlreadyExistsException"));("details",(LayerAlreadyExistsException.to_jsone))]|`LayerPartTooSmallExceptione->`Assoc[("error",(`String"LayerPartTooSmallException"));("details",(LayerPartTooSmallException.to_jsone))]|`RegistryNotFoundExceptione->`Assoc[("error",(`String"RegistryNotFoundException"));("details",(RegistryNotFoundException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`UploadNotFoundExceptione->`Assoc[("error",(`String"UploadNotFoundException"));("details",(UploadNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("uploadId",(Option.mapx.uploadId~f:UploadId.to_value));("layerDigest",(Option.mapx.layerDigest~f:LayerDigest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlayerDigest=(Option.map~f:LayerDigest.of_xml)(Xml.childxml_arg0"layerDigest")inletuploadId=(Option.map~f:UploadId.of_xml)(Xml.childxml_arg0"uploadId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryId.of_xml)(Xml.childxml_arg0"registryId")inmake?layerDigest?uploadId?repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlayerDigest=field_mapjson__"layerDigest"LayerDigest.of_jsoninletuploadId=field_mapjson__"uploadId"UploadId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryId.of_jsoninmake?layerDigest?uploadId?repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Informs Amazon ECR that the image layer upload is complete for a specified public registry, repository name, and upload ID. You can optionally provide a sha256 digest of the image layer for data validation purposes. When an image is pushed, the CompleteLayerUpload API is called once for each new image layer to verify that the upload is complete. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleCompleteLayerUploadRequest=structtypenonrect={registryId:RegistryIdOrAlias.toption[@ocaml.doc"The Amazon Web Services account ID, or registry alias, associated with the registry where layers are uploaded. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository in a public registry to associate with the image layer."];uploadId:UploadId.t[@ocaml.doc"The upload ID from a previous InitiateLayerUpload operation to associate with the image layer."];layerDigests:LayerDigestList.t[@ocaml.doc"The sha256 digest of the image layer."]}letcontext_="CompleteLayerUploadRequest"letmake?registryId=fun~repositoryName->fun~uploadId->fun~layerDigests->fun()->{registryId;repositoryName;uploadId;layerDigests}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryIdOrAlias.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("uploadId",(Some(UploadId.to_valuex.uploadId)));("layerDigests",(Some(LayerDigestList.to_valuex.layerDigests)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlayerDigests=LayerDigestList.of_xml(Xml.child_exn~context:context_xml_arg0"layerDigests")inletuploadId=UploadId.of_xml(Xml.child_exn~context:context_xml_arg0"uploadId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryIdOrAlias.of_xml)(Xml.childxml_arg0"registryId")inmake~layerDigests~uploadId~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlayerDigests=field_map_exnjson__"layerDigests"LayerDigestList.of_jsoninletuploadId=field_map_exnjson__"uploadId"UploadId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryIdOrAlias.of_jsoninmake~layerDigests~uploadId~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Informs Amazon ECR that the image layer upload is complete for a specified public registry, repository name, and upload ID. You can optionally provide a sha256 digest of the image layer for data validation purposes. When an image is pushed, the CompleteLayerUpload API is called once for each new image layer to verify that the upload is complete. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleBatchDeleteImageResponse=structtypenonrect={imageIds:ImageIdentifierList.toption[@ocaml.doc"The image IDs of the deleted images."];failures:ImageFailureList.toption[@ocaml.doc"Any failures associated with the call."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?imageIds=fun?failures->fun()->{imageIds;failures}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("imageIds",(Option.mapx.imageIds~f:ImageIdentifierList.to_value));("failures",(Option.mapx.failures~f:ImageFailureList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailures=(Option.map~f:ImageFailureList.of_xml)(Xml.childxml_arg0"failures")inletimageIds=(Option.map~f:ImageIdentifierList.of_xml)(Xml.childxml_arg0"imageIds")inmake?failures?imageIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailures=field_mapjson__"failures"ImageFailureList.of_jsoninletimageIds=field_mapjson__"imageIds"ImageIdentifierList.of_jsoninmake?failures?imageIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a list of specified images that are within a repository in a public registry. Images are specified with either an imageTag or imageDigest. You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository. You can completely delete an image (and all of its tags) by specifying the digest of the image in your request."]moduleBatchDeleteImageRequest=structtypenonrect={registryId:RegistryIdOrAlias.toption[@ocaml.doc"The Amazon Web Services account ID, or registry alias, that's associated with the registry that contains the image to delete. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The repository in a public registry that contains the image to delete."];imageIds:ImageIdentifierList.t[@ocaml.doc"A list of image ID references that correspond to images to delete. The format of the imageIds reference is imageTag=tag or imageDigest=digest."]}letcontext_="BatchDeleteImageRequest"letmake?registryId=fun~repositoryName->fun~imageIds->fun()->{registryId;repositoryName;imageIds}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryIdOrAlias.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("imageIds",(Some(ImageIdentifierList.to_valuex.imageIds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimageIds=ImageIdentifierList.of_xml(Xml.child_exn~context:context_xml_arg0"imageIds")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryIdOrAlias.of_xml)(Xml.childxml_arg0"registryId")inmake~imageIds~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimageIds=field_map_exnjson__"imageIds"ImageIdentifierList.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryIdOrAlias.of_jsoninmake~imageIds~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a list of specified images that are within a repository in a public registry. Images are specified with either an imageTag or imageDigest. You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository. You can completely delete an image (and all of its tags) by specifying the digest of the image in your request."]moduleBatchCheckLayerAvailabilityResponse=structtypenonrect={layers:LayerList.toption[@ocaml.doc"A list of image layer objects that correspond to the image layer references in the request."];failures:LayerFailureList.toption[@ocaml.doc"Any failures associated with the call."]}typenonrecerror=[`InvalidParameterExceptionofInvalidParameterException.t|`RegistryNotFoundExceptionofRegistryNotFoundException.t|`RepositoryNotFoundExceptionofRepositoryNotFoundException.t|`ServerExceptionofServerException.t|`UnsupportedCommandExceptionofUnsupportedCommandException.t|`Unknown_operation_errorof(string*stringoption)]letmake?layers=fun?failures->fun()->{layers;failures}leterror_of_jsonnamejson=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_jsonjson)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_jsonjson)|"ServerException"->`ServerException(ServerException.of_jsonjson)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"RegistryNotFoundException"->`RegistryNotFoundException(RegistryNotFoundException.of_xmlxml)|"RepositoryNotFoundException"->`RepositoryNotFoundException(RepositoryNotFoundException.of_xmlxml)|"ServerException"->`ServerException(ServerException.of_xmlxml)|"UnsupportedCommandException"->`UnsupportedCommandException(UnsupportedCommandException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`RegistryNotFoundExceptione->`Assoc[("error",(`String"RegistryNotFoundException"));("details",(RegistryNotFoundException.to_jsone))]|`RepositoryNotFoundExceptione->`Assoc[("error",(`String"RepositoryNotFoundException"));("details",(RepositoryNotFoundException.to_jsone))]|`ServerExceptione->`Assoc[("error",(`String"ServerException"));("details",(ServerException.to_jsone))]|`UnsupportedCommandExceptione->`Assoc[("error",(`String"UnsupportedCommandException"));("details",(UnsupportedCommandException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("layers",(Option.mapx.layers~f:LayerList.to_value));("failures",(Option.mapx.failures~f:LayerFailureList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailures=(Option.map~f:LayerFailureList.of_xml)(Xml.childxml_arg0"failures")inletlayers=(Option.map~f:LayerList.of_xml)(Xml.childxml_arg0"layers")inmake?failures?layers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailures=field_mapjson__"failures"LayerFailureList.of_jsoninletlayers=field_mapjson__"layers"LayerList.of_jsoninmake?failures?layers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Checks the availability of one or more image layers that are within a repository in a public registry. When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]moduleBatchCheckLayerAvailabilityRequest=structtypenonrect={registryId:RegistryIdOrAlias.toption[@ocaml.doc"The Amazon Web Services account ID, or registry alias, associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that's associated with the image layers to check."];layerDigests:BatchedOperationLayerDigestList.t[@ocaml.doc"The digests of the image layers to check."]}letcontext_="BatchCheckLayerAvailabilityRequest"letmake?registryId=fun~repositoryName->fun~layerDigests->fun()->{registryId;repositoryName;layerDigests}letto_valuex=structure_to_value[("registryId",(Option.mapx.registryId~f:RegistryIdOrAlias.to_value));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("layerDigests",(Some(BatchedOperationLayerDigestList.to_valuex.layerDigests)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlayerDigests=BatchedOperationLayerDigestList.of_xml(Xml.child_exn~context:context_xml_arg0"layerDigests")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletregistryId=(Option.map~f:RegistryIdOrAlias.of_xml)(Xml.childxml_arg0"registryId")inmake~layerDigests~repositoryName?registryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlayerDigests=field_map_exnjson__"layerDigests"BatchedOperationLayerDigestList.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletregistryId=field_mapjson__"registryId"RegistryIdOrAlias.of_jsoninmake~layerDigests~repositoryName?registryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Checks the availability of one or more image layers that are within a repository in a public registry. When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images."]