123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031(* 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.signerletapiVersion="2017-08-25"letendpointPrefix="signer"letserviceFullName="AWS Signer"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="signer"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[]))])moduleEncryptionAlgorithm=structtypenonrect=|RSA|ECDSA|Non_static_idofstringletmakei=iletto_string=function|RSA->"RSA"|ECDSA->"ECDSA"|Non_static_ids->sletof_string=function|"RSA"->RSA|"ECDSA"->ECDSA|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 EncryptionAlgorithm"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EncryptionAlgorithm"j)letto_json=simple_to_jsonto_valueendmoduleHashAlgorithm=structtypenonrect=|SHA1|SHA256|Non_static_idofstringletmakei=iletto_string=function|SHA1->"SHA1"|SHA256->"SHA256"|Non_static_ids->sletof_string=function|"SHA1"->SHA1|"SHA256"->SHA256|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 HashAlgorithm"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HashAlgorithm"j)letto_json=simple_to_jsonto_valueendmoduleEncryptionAlgorithms=structtypenonrect=EncryptionAlgorithm.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EncryptionAlgorithm.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:EncryptionAlgorithm.of_xml)letof_jsonj=list_of_json~kind:"EncryptionAlgorithms"~of_json:EncryptionAlgorithm.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleHashAlgorithms=structtypenonrect=HashAlgorithm.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:HashAlgorithm.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:HashAlgorithm.of_xml)letof_jsonj=list_of_json~kind:"HashAlgorithms"~of_json:HashAlgorithm.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageFormat=structtypenonrect=|JSON|JSONEmbedded|JSONDetached|Non_static_idofstringletmakei=iletto_string=function|JSON->"JSON"|JSONEmbedded->"JSONEmbedded"|JSONDetached->"JSONDetached"|Non_static_ids->sletof_string=function|"JSON"->JSON|"JSONEmbedded"->JSONEmbedded|"JSONDetached"->JSONDetached|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 ImageFormat"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ImageFormat"j)letto_json=simple_to_jsonto_valueendmoduleBucketName=structtypenonrect=stringletcontext_="BucketName"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:"BucketName"jletto_json=simple_to_jsonto_valueendmoduleKey=structtypenonrect=stringletcontext_="Key"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Key"jletto_json=simple_to_jsonto_valueendmoduleVersion=structtypenonrect=stringletcontext_="Version"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Version"jletto_json=simple_to_jsonto_valueendmoduleInteger=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleValidityType=structtypenonrect=|DAYS|MONTHS|YEARS|Non_static_idofstringletmakei=iletto_string=function|DAYS->"DAYS"|MONTHS->"MONTHS"|YEARS->"YEARS"|Non_static_ids->sletof_string=function|"DAYS"->DAYS|"MONTHS"->MONTHS|"YEARS"->YEARS|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 ValidityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ValidityType"j)letto_json=simple_to_jsonto_valueendmoduleCertificateArn=structtypenonrect=stringletcontext_="CertificateArn"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:"CertificateArn"jletto_json=simple_to_jsonto_valueendmoduleSigningParameterKey=structtypenonrect=stringletcontext_="SigningParameterKey"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:"SigningParameterKey"jletto_json=simple_to_jsonto_valueendmoduleSigningParameterValue=structtypenonrect=stringletcontext_="SigningParameterValue"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:"SigningParameterValue"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^(?!aws:)[a-zA-Z+-=._:/]+$")));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);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_valueendmoduleEncryptionAlgorithmOptions=structtypenonrect={allowedValues:EncryptionAlgorithms.toption[@ocaml.doc"The set of accepted encryption algorithms that are allowed in a code-signing job."];defaultValue:EncryptionAlgorithm.toption[@ocaml.doc"The default encryption algorithm that is used by a code-signing job."]}letmake?allowedValues=fun?defaultValue->fun()->{allowedValues;defaultValue}letto_valuex=structure_to_value[("allowedValues",(Option.mapx.allowedValues~f:EncryptionAlgorithms.to_value));("defaultValue",(Option.mapx.defaultValue~f:EncryptionAlgorithm.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefaultValue=(Option.map~f:EncryptionAlgorithm.of_xml)(Xml.childxml_arg0"defaultValue")inletallowedValues=(Option.map~f:EncryptionAlgorithms.of_xml)(Xml.childxml_arg0"allowedValues")inmake?defaultValue?allowedValues()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefaultValue=field_mapjson__"defaultValue"EncryptionAlgorithm.of_jsoninletallowedValues=field_mapjson__"allowedValues"EncryptionAlgorithms.of_jsoninmake?defaultValue?allowedValues()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The encryption algorithm options that are available to a code-signing job."]moduleHashAlgorithmOptions=structtypenonrect={allowedValues:HashAlgorithms.toption[@ocaml.doc"The set of accepted hash algorithms allowed in a code-signing job."];defaultValue:HashAlgorithm.toption[@ocaml.doc"The default hash algorithm that is used in a code-signing job."]}letmake?allowedValues=fun?defaultValue->fun()->{allowedValues;defaultValue}letto_valuex=structure_to_value[("allowedValues",(Option.mapx.allowedValues~f:HashAlgorithms.to_value));("defaultValue",(Option.mapx.defaultValue~f:HashAlgorithm.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefaultValue=(Option.map~f:HashAlgorithm.of_xml)(Xml.childxml_arg0"defaultValue")inletallowedValues=(Option.map~f:HashAlgorithms.of_xml)(Xml.childxml_arg0"allowedValues")inmake?defaultValue?allowedValues()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefaultValue=field_mapjson__"defaultValue"HashAlgorithm.of_jsoninletallowedValues=field_mapjson__"allowedValues"HashAlgorithms.of_jsoninmake?defaultValue?allowedValues()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The hash algorithms that are available to a code-signing job."]moduleImageFormats=structtypenonrect=ImageFormat.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageFormat.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:ImageFormat.of_xml)letof_jsonj=list_of_json~kind:"ImageFormats"~of_json:ImageFormat.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleS3SignedObject=structtypenonrect={bucketName:BucketName.toption[@ocaml.doc"Name of the S3 bucket."];key:Key.toption[@ocaml.doc"Key name that uniquely identifies a signed code image in your bucket."]}letmake?bucketName=fun?key->fun()->{bucketName;key}letto_valuex=structure_to_value[("bucketName",(Option.mapx.bucketName~f:BucketName.to_value));("key",(Option.mapx.key~f:Key.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkey=(Option.map~f:Key.of_xml)(Xml.childxml_arg0"key")inletbucketName=(Option.map~f:BucketName.of_xml)(Xml.childxml_arg0"bucketName")inmake?key?bucketName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkey=field_mapjson__"key"Key.of_jsoninletbucketName=field_mapjson__"bucketName"BucketName.of_jsoninmake?key?bucketName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon S3 bucket name and key where Signer saved your signed code image."]moduleS3Source=structtypenonrect={bucketName:BucketName.t[@ocaml.doc"Name of the S3 bucket."];key:Key.t[@ocaml.doc"Key name of the bucket object that contains your unsigned code."];version:Version.t[@ocaml.doc"Version of your source image in your version enabled S3 bucket."]}letcontext_="S3Source"letmake~bucketName=fun~key->fun~version->fun()->{bucketName;key;version}letto_valuex=structure_to_value[("bucketName",(Some(BucketName.to_valuex.bucketName)));("key",(Some(Key.to_valuex.key)));("version",(Some(Version.to_valuex.version)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversion=Version.of_xml(Xml.child_exn~context:context_xml_arg0"version")inletkey=Key.of_xml(Xml.child_exn~context:context_xml_arg0"key")inletbucketName=BucketName.of_xml(Xml.child_exn~context:context_xml_arg0"bucketName")inmake~version~key~bucketName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversion=field_map_exnjson__"version"Version.of_jsoninletkey=field_map_exnjson__"key"Key.of_jsoninletbucketName=field_map_exnjson__"bucketName"BucketName.of_jsoninmake~version~key~bucketName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the Amazon S3 bucket where you saved your unsigned code."]modulePrefix=structtypenonrect=stringletcontext_="Prefix"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:"Prefix"jletto_json=simple_to_jsonto_valueendmoduleArn=structtypenonrect=stringletcontext_="Arn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(fun()->check_string_mini~min:20));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Arn"jletto_json=simple_to_jsonto_valueendmoduleDisplayName=structtypenonrect=stringletcontext_="DisplayName"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DisplayName"jletto_json=simple_to_jsonto_valueendmodulePlatformId=structtypenonrect=stringletcontext_="PlatformId"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:"PlatformId"jletto_json=simple_to_jsonto_valueendmoduleProfileName=structtypenonrect=stringletcontext_="ProfileName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9_]{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:"ProfileName"jletto_json=simple_to_jsonto_valueendmoduleProfileVersion=structtypenonrect=stringletcontext_="ProfileVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:10)>>=(fun()->(check_string_maxi~max:10)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9]{10}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProfileVersion"jletto_json=simple_to_jsonto_valueendmoduleSignatureValidityPeriod=structtypenonrect={value:Integer.toption[@ocaml.doc"The numerical value of the time unit for signature validity."];type_:ValidityType.toption[@ocaml.doc"The time unit for signature validity."]}letmake?value=fun?type_->fun()->{value;type_}letto_valuex=structure_to_value[("value",(Option.mapx.value~f:Integer.to_value));("type",(Option.mapx.type_~f:ValidityType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:ValidityType.of_xml)(Xml.childxml_arg0"type")inletvalue=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"value")inmake?type_?value()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"type"ValidityType.of_jsoninletvalue=field_mapjson__"value"Integer.of_jsoninmake?type_?value()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The validity period for a signing job."]moduleSigningMaterial=structtypenonrect={certificateArn:CertificateArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the certificates that is used to sign your code."]}letcontext_="SigningMaterial"letmake~certificateArn=fun()->{certificateArn}letto_valuex=structure_to_value[("certificateArn",(Some(CertificateArn.to_valuex.certificateArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcertificateArn=CertificateArn.of_xml(Xml.child_exn~context:context_xml_arg0"certificateArn")inmake~certificateArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcertificateArn=field_map_exnjson__"certificateArn"CertificateArn.of_jsoninmake~certificateArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ACM certificate that is used to sign your code."]moduleSigningParameters=structtypenonrect=(SigningParameterKey.t*SigningParameterValue.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((SigningParameterKey.of_stringchopped),(SigningParameterValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(SigningParameterKey.to_valuex)|>(funx->(SigningParameterValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:SigningParameterKey.of_string~of_json:SigningParameterValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSigningProfileStatus=structtypenonrect=|Active|Canceled|Revoked|Non_static_idofstringletmakei=iletto_string=function|Active->"Active"|Canceled->"Canceled"|Revoked->"Revoked"|Non_static_ids->sletof_string=function|"Active"->Active|"Canceled"->Canceled|"Revoked"->Revoked|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 SigningProfileStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SigningProfileStatus"j)letto_json=simple_to_jsonto_valueendmoduleString__lc1=structtypenonrect=stringletcontext_="String__lc1"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String__lc1"jletto_json=simple_to_jsonto_valueendmoduleTagMap=structtypenonrect=(TagKey.t*TagValue.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:1));iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((TagKey.of_stringchopped),(TagValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(TagKey.to_valuex)|>(funx->(TagValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:TagKey.of_string~of_json:TagValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCategory=structtypenonrect=|AWSIoT|Non_static_idofstringletmakei=iletto_string=function|AWSIoT->"AWSIoT"|Non_static_ids->sletof_string=function|"AWSIoT"->AWSIoT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration Category"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Category"j)letto_json=simple_to_jsonto_valueendmoduleMaxSizeInMB=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxSizeInMB"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleSigningConfiguration=structtypenonrect={encryptionAlgorithmOptions:EncryptionAlgorithmOptions.toption[@ocaml.doc"The encryption algorithm options that are available for a code-signing job."];hashAlgorithmOptions:HashAlgorithmOptions.toption[@ocaml.doc"The hash algorithm options that are available for a code-signing job."]}letmake?encryptionAlgorithmOptions=fun?hashAlgorithmOptions->fun()->{encryptionAlgorithmOptions;hashAlgorithmOptions}letto_valuex=structure_to_value[("encryptionAlgorithmOptions",(Option.mapx.encryptionAlgorithmOptions~f:EncryptionAlgorithmOptions.to_value));("hashAlgorithmOptions",(Option.mapx.hashAlgorithmOptions~f:HashAlgorithmOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethashAlgorithmOptions=(Option.map~f:HashAlgorithmOptions.of_xml)(Xml.childxml_arg0"hashAlgorithmOptions")inletencryptionAlgorithmOptions=(Option.map~f:EncryptionAlgorithmOptions.of_xml)(Xml.childxml_arg0"encryptionAlgorithmOptions")inmake?hashAlgorithmOptions?encryptionAlgorithmOptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethashAlgorithmOptions=field_mapjson__"hashAlgorithmOptions"HashAlgorithmOptions.of_jsoninletencryptionAlgorithmOptions=field_mapjson__"encryptionAlgorithmOptions"EncryptionAlgorithmOptions.of_jsoninmake?hashAlgorithmOptions?encryptionAlgorithmOptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration of a signing operation."]moduleSigningImageFormat=structtypenonrect={supportedFormats:ImageFormats.toption[@ocaml.doc"The supported formats of a signing image."];defaultFormat:ImageFormat.toption[@ocaml.doc"The default format of a signing image."]}letmake?supportedFormats=fun?defaultFormat->fun()->{supportedFormats;defaultFormat}letto_valuex=structure_to_value[("supportedFormats",(Option.mapx.supportedFormats~f:ImageFormats.to_value));("defaultFormat",(Option.mapx.defaultFormat~f:ImageFormat.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefaultFormat=(Option.map~f:ImageFormat.of_xml)(Xml.childxml_arg0"defaultFormat")inletsupportedFormats=(Option.map~f:ImageFormats.of_xml)(Xml.childxml_arg0"supportedFormats")inmake?defaultFormat?supportedFormats()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefaultFormat=field_mapjson__"defaultFormat"ImageFormat.of_jsoninletsupportedFormats=field_mapjson__"supportedFormats"ImageFormats.of_jsoninmake?defaultFormat?supportedFormats()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The image format of a AWS Signer platform or profile."]moduleString_=structtypenonrect=stringletcontext_="String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmoduleBool_=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_valueendmoduleAccountId=structtypenonrect=stringletcontext_="AccountId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:12)>>=(fun()->(check_string_maxi~max:12)>>=(fun()->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:"AccountId"jletto_json=simple_to_jsonto_valueendmoduleJobId=structtypenonrect=stringletcontext_="JobId"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:"JobId"jletto_json=simple_to_jsonto_valueendmoduleSignedObject=structtypenonrect={s3:S3SignedObject.toption[@ocaml.doc"The S3SignedObject."]}letmake?s3=fun()->{s3}letto_valuex=structure_to_value[("s3",(Option.mapx.s3~f:S3SignedObject.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3=(Option.map~f:S3SignedObject.of_xml)(Xml.childxml_arg0"s3")inmake?s3()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3=field_mapjson__"s3"S3SignedObject.of_jsoninmake?s3()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Points to an S3SignedObject object that contains information about your signed code image."]moduleSigningStatus=structtypenonrect=|InProgress|Failed|Succeeded|Non_static_idofstringletmakei=iletto_string=function|InProgress->"InProgress"|Failed->"Failed"|Succeeded->"Succeeded"|Non_static_ids->sletof_string=function|"InProgress"->InProgress|"Failed"->Failed|"Succeeded"->Succeeded|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 SigningStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SigningStatus"j)letto_json=simple_to_jsonto_valueendmoduleSource=structtypenonrect={s3:S3Source.toption[@ocaml.doc"The S3Source object."]}letmake?s3=fun()->{s3}letto_valuex=structure_to_value[("s3",(Option.mapx.s3~f:S3Source.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3=(Option.map~f:S3Source.of_xml)(Xml.childxml_arg0"s3")inmake?s3()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3=field_mapjson__"s3"S3Source.of_jsoninmake?s3()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An S3Source object that contains information about the S3 bucket where you saved your unsigned code."]moduleTimestamp=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_valueendmoduleErrorCode=structtypenonrect=stringletcontext_="ErrorCode"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:"ErrorCode"jletto_json=simple_to_jsonto_valueendmoduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleS3Destination=structtypenonrect={bucketName:BucketName.toption[@ocaml.doc"Name of the S3 bucket."];prefix:Prefix.toption[@ocaml.doc"An S3 prefix that you can use to limit responses to those that begin with the specified prefix."]}letmake?bucketName=fun?prefix->fun()->{bucketName;prefix}letto_valuex=structure_to_value[("bucketName",(Option.mapx.bucketName~f:BucketName.to_value));("prefix",(Option.mapx.prefix~f:Prefix.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprefix=(Option.map~f:Prefix.of_xml)(Xml.childxml_arg0"prefix")inletbucketName=(Option.map~f:BucketName.of_xml)(Xml.childxml_arg0"bucketName")inmake?prefix?bucketName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprefix=field_mapjson__"prefix"Prefix.of_jsoninletbucketName=field_mapjson__"bucketName"BucketName.of_jsoninmake?prefix?bucketName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The name and prefix of the Amazon S3 bucket where AWS Signer saves your signed objects."]moduleSigningConfigurationOverrides=structtypenonrect={encryptionAlgorithm:EncryptionAlgorithm.toption[@ocaml.doc"A specified override of the default encryption algorithm that is used in a code-signing job."];hashAlgorithm:HashAlgorithm.toption[@ocaml.doc"A specified override of the default hash algorithm that is used in a code-signing job."]}letmake?encryptionAlgorithm=fun?hashAlgorithm->fun()->{encryptionAlgorithm;hashAlgorithm}letto_valuex=structure_to_value[("encryptionAlgorithm",(Option.mapx.encryptionAlgorithm~f:EncryptionAlgorithm.to_value));("hashAlgorithm",(Option.mapx.hashAlgorithm~f:HashAlgorithm.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethashAlgorithm=(Option.map~f:HashAlgorithm.of_xml)(Xml.childxml_arg0"hashAlgorithm")inletencryptionAlgorithm=(Option.map~f:EncryptionAlgorithm.of_xml)(Xml.childxml_arg0"encryptionAlgorithm")inmake?hashAlgorithm?encryptionAlgorithm()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethashAlgorithm=field_mapjson__"hashAlgorithm"HashAlgorithm.of_jsoninletencryptionAlgorithm=field_mapjson__"encryptionAlgorithm"EncryptionAlgorithm.of_jsoninmake?hashAlgorithm?encryptionAlgorithm()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A signing configuration that overrides the default encryption or hash algorithm of a signing job."]moduleSigningProfile=structtypenonrect={profileName:ProfileName.toption[@ocaml.doc"The name of the signing profile."];profileVersion:ProfileVersion.toption[@ocaml.doc"The version of a signing profile."];profileVersionArn:Arn.toption[@ocaml.doc"The ARN of a signing profile, including the profile version."];signingMaterial:SigningMaterial.toption[@ocaml.doc"The ACM certificate that is available for use by a signing profile."];signatureValidityPeriod:SignatureValidityPeriod.toption[@ocaml.doc"The validity period for a signing job created using this signing profile."];platformId:PlatformId.toption[@ocaml.doc"The ID of a platform that is available for use by a signing profile."];platformDisplayName:DisplayName.toption[@ocaml.doc"The name of the signing platform."];signingParameters:SigningParameters.toption[@ocaml.doc"The parameters that are available for use by a Signer user."];status:SigningProfileStatus.toption[@ocaml.doc"The status of a signing profile."];arn:String__lc1.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the signing profile."];tags:TagMap.toption[@ocaml.doc"A list of tags associated with the signing profile."]}letmake?profileName=fun?profileVersion->fun?profileVersionArn->fun?signingMaterial->fun?signatureValidityPeriod->fun?platformId->fun?platformDisplayName->fun?signingParameters->fun?status->fun?arn->fun?tags->fun()->{profileName;profileVersion;profileVersionArn;signingMaterial;signatureValidityPeriod;platformId;platformDisplayName;signingParameters;status;arn;tags}letto_valuex=structure_to_value[("profileName",(Option.mapx.profileName~f:ProfileName.to_value));("profileVersion",(Option.mapx.profileVersion~f:ProfileVersion.to_value));("profileVersionArn",(Option.mapx.profileVersionArn~f:Arn.to_value));("signingMaterial",(Option.mapx.signingMaterial~f:SigningMaterial.to_value));("signatureValidityPeriod",(Option.mapx.signatureValidityPeriod~f:SignatureValidityPeriod.to_value));("platformId",(Option.mapx.platformId~f:PlatformId.to_value));("platformDisplayName",(Option.mapx.platformDisplayName~f:DisplayName.to_value));("signingParameters",(Option.mapx.signingParameters~f:SigningParameters.to_value));("status",(Option.mapx.status~f:SigningProfileStatus.to_value));("arn",(Option.mapx.arn~f:String__lc1.to_value));("tags",(Option.mapx.tags~f:TagMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inletarn=(Option.map~f:String__lc1.of_xml)(Xml.childxml_arg0"arn")inletstatus=(Option.map~f:SigningProfileStatus.of_xml)(Xml.childxml_arg0"status")inletsigningParameters=(Option.map~f:SigningParameters.of_xml)(Xml.childxml_arg0"signingParameters")inletplatformDisplayName=(Option.map~f:DisplayName.of_xml)(Xml.childxml_arg0"platformDisplayName")inletplatformId=(Option.map~f:PlatformId.of_xml)(Xml.childxml_arg0"platformId")inletsignatureValidityPeriod=(Option.map~f:SignatureValidityPeriod.of_xml)(Xml.childxml_arg0"signatureValidityPeriod")inletsigningMaterial=(Option.map~f:SigningMaterial.of_xml)(Xml.childxml_arg0"signingMaterial")inletprofileVersionArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"profileVersionArn")inletprofileVersion=(Option.map~f:ProfileVersion.of_xml)(Xml.childxml_arg0"profileVersion")inletprofileName=(Option.map~f:ProfileName.of_xml)(Xml.childxml_arg0"profileName")inmake?tags?arn?status?signingParameters?platformDisplayName?platformId?signatureValidityPeriod?signingMaterial?profileVersionArn?profileVersion?profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagMap.of_jsoninletarn=field_mapjson__"arn"String__lc1.of_jsoninletstatus=field_mapjson__"status"SigningProfileStatus.of_jsoninletsigningParameters=field_mapjson__"signingParameters"SigningParameters.of_jsoninletplatformDisplayName=field_mapjson__"platformDisplayName"DisplayName.of_jsoninletplatformId=field_mapjson__"platformId"PlatformId.of_jsoninletsignatureValidityPeriod=field_mapjson__"signatureValidityPeriod"SignatureValidityPeriod.of_jsoninletsigningMaterial=field_mapjson__"signingMaterial"SigningMaterial.of_jsoninletprofileVersionArn=field_mapjson__"profileVersionArn"Arn.of_jsoninletprofileVersion=field_mapjson__"profileVersion"ProfileVersion.of_jsoninletprofileName=field_mapjson__"profileName"ProfileName.of_jsoninmake?tags?arn?status?signingParameters?platformDisplayName?platformId?signatureValidityPeriod?signingMaterial?profileVersionArn?profileVersion?profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the ACM certificates and signing configuration parameters that can be used by a given code signing user."]moduleSigningPlatform=structtypenonrect={platformId:String_.toption[@ocaml.doc"The ID of a signing platform."];displayName:String_.toption[@ocaml.doc"The display name of a signing platform."];partner:String_.toption[@ocaml.doc"Any partner entities linked to a signing platform."];target:String_.toption[@ocaml.doc"The types of targets that can be signed by a signing platform."];category:Category.toption[@ocaml.doc"The category of a signing platform."];signingConfiguration:SigningConfiguration.toption[@ocaml.doc"The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform."];signingImageFormat:SigningImageFormat.toption;maxSizeInMB:MaxSizeInMB.toption[@ocaml.doc"The maximum size (in MB) of code that can be signed by a signing platform."];revocationSupported:Bool_.toption[@ocaml.doc"Indicates whether revocation is supported for the platform."]}letmake?platformId=fun?displayName->fun?partner->fun?target->fun?category->fun?signingConfiguration->fun?signingImageFormat->fun?maxSizeInMB->fun?revocationSupported->fun()->{platformId;displayName;partner;target;category;signingConfiguration;signingImageFormat;maxSizeInMB;revocationSupported}letto_valuex=structure_to_value[("platformId",(Option.mapx.platformId~f:String_.to_value));("displayName",(Option.mapx.displayName~f:String_.to_value));("partner",(Option.mapx.partner~f:String_.to_value));("target",(Option.mapx.target~f:String_.to_value));("category",(Option.mapx.category~f:Category.to_value));("signingConfiguration",(Option.mapx.signingConfiguration~f:SigningConfiguration.to_value));("signingImageFormat",(Option.mapx.signingImageFormat~f:SigningImageFormat.to_value));("maxSizeInMB",(Option.mapx.maxSizeInMB~f:MaxSizeInMB.to_value));("revocationSupported",(Option.mapx.revocationSupported~f:Bool_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevocationSupported=(Option.map~f:Bool_.of_xml)(Xml.childxml_arg0"revocationSupported")inletmaxSizeInMB=(Option.map~f:MaxSizeInMB.of_xml)(Xml.childxml_arg0"maxSizeInMB")inletsigningImageFormat=(Option.map~f:SigningImageFormat.of_xml)(Xml.childxml_arg0"signingImageFormat")inletsigningConfiguration=(Option.map~f:SigningConfiguration.of_xml)(Xml.childxml_arg0"signingConfiguration")inletcategory=(Option.map~f:Category.of_xml)(Xml.childxml_arg0"category")inlettarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"target")inletpartner=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"partner")inletdisplayName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"displayName")inletplatformId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"platformId")inmake?revocationSupported?maxSizeInMB?signingImageFormat?signingConfiguration?category?target?partner?displayName?platformId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevocationSupported=field_mapjson__"revocationSupported"Bool_.of_jsoninletmaxSizeInMB=field_mapjson__"maxSizeInMB"MaxSizeInMB.of_jsoninletsigningImageFormat=field_mapjson__"signingImageFormat"SigningImageFormat.of_jsoninletsigningConfiguration=field_mapjson__"signingConfiguration"SigningConfiguration.of_jsoninletcategory=field_mapjson__"category"Category.of_jsoninlettarget=field_mapjson__"target"String_.of_jsoninletpartner=field_mapjson__"partner"String_.of_jsoninletdisplayName=field_mapjson__"displayName"String_.of_jsoninletplatformId=field_mapjson__"platformId"String_.of_jsoninmake?revocationSupported?maxSizeInMB?signingImageFormat?signingConfiguration?category?target?partner?displayName?platformId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the signing configurations and parameters that are used to perform a code-signing job."]moduleSigningJob=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The ID of the signing job."];source:Source.toption[@ocaml.doc"A Source that contains information about a signing job's code image source."];signedObject:SignedObject.toption[@ocaml.doc"A SignedObject structure that contains information about a signing job's signed code image."];signingMaterial:SigningMaterial.toption[@ocaml.doc"A SigningMaterial object that contains the Amazon Resource Name (ARN) of the certificate used for the signing job."];createdAt:Timestamp.toption[@ocaml.doc"The date and time that the signing job was created."];status:SigningStatus.toption[@ocaml.doc"The status of the signing job."];isRevoked:Bool_.toption[@ocaml.doc"Indicates whether the signing job is revoked."];profileName:ProfileName.toption[@ocaml.doc"The name of the signing profile that created a signing job."];profileVersion:ProfileVersion.toption[@ocaml.doc"The version of the signing profile that created a signing job."];platformId:PlatformId.toption[@ocaml.doc"The unique identifier for a signing platform."];platformDisplayName:DisplayName.toption[@ocaml.doc"The name of a signing platform."];signatureExpiresAt:Timestamp.toption[@ocaml.doc"The time when the signature of a signing job expires."];jobOwner:AccountId.toption[@ocaml.doc"The AWS account ID of the job owner."];jobInvoker:AccountId.toption[@ocaml.doc"The AWS account ID of the job invoker."]}letmake?jobId=fun?source->fun?signedObject->fun?signingMaterial->fun?createdAt->fun?status->fun?isRevoked->fun?profileName->fun?profileVersion->fun?platformId->fun?platformDisplayName->fun?signatureExpiresAt->fun?jobOwner->fun?jobInvoker->fun()->{jobId;source;signedObject;signingMaterial;createdAt;status;isRevoked;profileName;profileVersion;platformId;platformDisplayName;signatureExpiresAt;jobOwner;jobInvoker}letto_valuex=structure_to_value[("jobId",(Option.mapx.jobId~f:JobId.to_value));("source",(Option.mapx.source~f:Source.to_value));("signedObject",(Option.mapx.signedObject~f:SignedObject.to_value));("signingMaterial",(Option.mapx.signingMaterial~f:SigningMaterial.to_value));("createdAt",(Option.mapx.createdAt~f:Timestamp.to_value));("status",(Option.mapx.status~f:SigningStatus.to_value));("isRevoked",(Option.mapx.isRevoked~f:Bool_.to_value));("profileName",(Option.mapx.profileName~f:ProfileName.to_value));("profileVersion",(Option.mapx.profileVersion~f:ProfileVersion.to_value));("platformId",(Option.mapx.platformId~f:PlatformId.to_value));("platformDisplayName",(Option.mapx.platformDisplayName~f:DisplayName.to_value));("signatureExpiresAt",(Option.mapx.signatureExpiresAt~f:Timestamp.to_value));("jobOwner",(Option.mapx.jobOwner~f:AccountId.to_value));("jobInvoker",(Option.mapx.jobInvoker~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobInvoker=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobInvoker")inletjobOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobOwner")inletsignatureExpiresAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"signatureExpiresAt")inletplatformDisplayName=(Option.map~f:DisplayName.of_xml)(Xml.childxml_arg0"platformDisplayName")inletplatformId=(Option.map~f:PlatformId.of_xml)(Xml.childxml_arg0"platformId")inletprofileVersion=(Option.map~f:ProfileVersion.of_xml)(Xml.childxml_arg0"profileVersion")inletprofileName=(Option.map~f:ProfileName.of_xml)(Xml.childxml_arg0"profileName")inletisRevoked=(Option.map~f:Bool_.of_xml)(Xml.childxml_arg0"isRevoked")inletstatus=(Option.map~f:SigningStatus.of_xml)(Xml.childxml_arg0"status")inletcreatedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"createdAt")inletsigningMaterial=(Option.map~f:SigningMaterial.of_xml)(Xml.childxml_arg0"signingMaterial")inletsignedObject=(Option.map~f:SignedObject.of_xml)(Xml.childxml_arg0"signedObject")inletsource=(Option.map~f:Source.of_xml)(Xml.childxml_arg0"source")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"jobId")inmake?jobInvoker?jobOwner?signatureExpiresAt?platformDisplayName?platformId?profileVersion?profileName?isRevoked?status?createdAt?signingMaterial?signedObject?source?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobInvoker=field_mapjson__"jobInvoker"AccountId.of_jsoninletjobOwner=field_mapjson__"jobOwner"AccountId.of_jsoninletsignatureExpiresAt=field_mapjson__"signatureExpiresAt"Timestamp.of_jsoninletplatformDisplayName=field_mapjson__"platformDisplayName"DisplayName.of_jsoninletplatformId=field_mapjson__"platformId"PlatformId.of_jsoninletprofileVersion=field_mapjson__"profileVersion"ProfileVersion.of_jsoninletprofileName=field_mapjson__"profileName"ProfileName.of_jsoninletisRevoked=field_mapjson__"isRevoked"Bool_.of_jsoninletstatus=field_mapjson__"status"SigningStatus.of_jsoninletcreatedAt=field_mapjson__"createdAt"Timestamp.of_jsoninletsigningMaterial=field_mapjson__"signingMaterial"SigningMaterial.of_jsoninletsignedObject=field_mapjson__"signedObject"SignedObject.of_jsoninletsource=field_mapjson__"source"Source.of_jsoninletjobId=field_mapjson__"jobId"JobId.of_jsoninmake?jobInvoker?jobOwner?signatureExpiresAt?platformDisplayName?platformId?profileVersion?profileName?isRevoked?status?createdAt?signingMaterial?signedObject?source?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a signing job."]modulePermission=structtypenonrect={action:String_.toption[@ocaml.doc"An AWS Signer action permitted as part of cross-account permissions."];principal:String_.toption[@ocaml.doc"The AWS principal that has been granted a cross-account permission."];statementId:String_.toption[@ocaml.doc"A unique identifier for a cross-account permission statement."];profileVersion:ProfileVersion.toption[@ocaml.doc"The signing profile version that a permission applies to."]}letmake?action=fun?principal->fun?statementId->fun?profileVersion->fun()->{action;principal;statementId;profileVersion}letto_valuex=structure_to_value[("action",(Option.mapx.action~f:String_.to_value));("principal",(Option.mapx.principal~f:String_.to_value));("statementId",(Option.mapx.statementId~f:String_.to_value));("profileVersion",(Option.mapx.profileVersion~f:ProfileVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileVersion=(Option.map~f:ProfileVersion.of_xml)(Xml.childxml_arg0"profileVersion")inletstatementId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statementId")inletprincipal=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"principal")inletaction=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"action")inmake?profileVersion?statementId?principal?action()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileVersion=field_mapjson__"profileVersion"ProfileVersion.of_jsoninletstatementId=field_mapjson__"statementId"String_.of_jsoninletprincipal=field_mapjson__"principal"String_.of_jsoninletaction=field_mapjson__"action"String_.of_jsoninmake?profileVersion?statementId?principal?action()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A cross-account permission for a signing profile."]moduleBadRequestException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile."]moduleInternalServiceErrorException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An internal error occurred."]moduleNotFoundException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The signing profile was not found."]moduleTooManyRequestsException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The allowed number of job-signing requests has been exceeded. This error supersedes the error ThrottlingException."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f: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_valuevendmoduleAccessDeniedException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You do not have sufficient access to perform this action."]moduleResourceNotFoundException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A specified resource could not be found."]moduleThrottlingException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was denied due to request throttling. Instead of this error, TooManyRequestsException should be used."]moduleValidationException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You signing certificate could not be validated."]moduleClientRequestToken=structtypenonrect=stringletcontext_="ClientRequestToken"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:"ClientRequestToken"jletto_json=simple_to_jsonto_valueendmoduleDestination=structtypenonrect={s3:S3Destination.toption[@ocaml.doc"The S3Destination object."]}letmake?s3=fun()->{s3}letto_valuex=structure_to_value[("s3",(Option.mapx.s3~f:S3Destination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3=(Option.map~f:S3Destination.of_xml)(Xml.childxml_arg0"s3")inmake?s3()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3=field_mapjson__"s3"S3Destination.of_jsoninmake?s3()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Points to an S3Destination object that contains information about your S3 bucket."]moduleBlob=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_valueendmoduleMetadata=structtypenonrect=(String_.t*String_.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((String_.of_stringchopped),(String_.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(String_.to_valuex)|>(funx->(String_.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:String_.of_string~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePayload=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_valueendmoduleRevocationReasonString=structtypenonrect=stringletcontext_="RevocationReasonString"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:500)>>=(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:"RevocationReasonString"jletto_json=simple_to_jsonto_valueendmoduleConflictException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource encountered a conflicting state."]moduleSigningPlatformOverrides=structtypenonrect={signingConfiguration:SigningConfigurationOverrides.toption[@ocaml.doc"A signing configuration that overrides the default encryption or hash algorithm of a signing job."];signingImageFormat:ImageFormat.toption[@ocaml.doc"A signed image is a JSON object. When overriding the default signing platform configuration, a customer can select either of two signing formats, JSONEmbedded or JSONDetached. (A third format value, JSON, is reserved for future use.) With JSONEmbedded, the signing image has the payload embedded in it. With JSONDetached, the payload is not be embedded in the signing image."]}letmake?signingConfiguration=fun?signingImageFormat->fun()->{signingConfiguration;signingImageFormat}letto_valuex=structure_to_value[("signingConfiguration",(Option.mapx.signingConfiguration~f:SigningConfigurationOverrides.to_value));("signingImageFormat",(Option.mapx.signingImageFormat~f:ImageFormat.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsigningImageFormat=(Option.map~f:ImageFormat.of_xml)(Xml.childxml_arg0"signingImageFormat")inletsigningConfiguration=(Option.map~f:SigningConfigurationOverrides.of_xml)(Xml.childxml_arg0"signingConfiguration")inmake?signingImageFormat?signingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsigningImageFormat=field_mapjson__"signingImageFormat"ImageFormat.of_jsoninletsigningConfiguration=field_mapjson__"signingConfiguration"SigningConfigurationOverrides.of_jsoninmake?signingImageFormat?signingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Any overrides that are applied to the signing configuration of a signing platform."]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_valueendmoduleSigningProfiles=structtypenonrect=SigningProfile.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SigningProfile.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:SigningProfile.of_xml)letof_jsonj=list_of_json~kind:"SigningProfiles"~of_json:SigningProfile.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:25)>>=(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_valueendmoduleStatuses=structtypenonrect=SigningProfileStatus.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SigningProfileStatus.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:SigningProfileStatus.of_xml)letof_jsonj=list_of_json~kind:"Statuses"~of_json:SigningProfileStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSigningPlatforms=structtypenonrect=SigningPlatform.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SigningPlatform.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:SigningPlatform.of_xml)letof_jsonj=list_of_json~kind:"SigningPlatforms"~of_json:SigningPlatform.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSigningJobs=structtypenonrect=SigningJob.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SigningJob.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:SigningJob.of_xml)letof_jsonj=list_of_json~kind:"SigningJobs"~of_json:SigningJob.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRequestedBy=structtypenonrect=stringletcontext_="RequestedBy"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:"RequestedBy"jletto_json=simple_to_jsonto_valueendmodulePermissions=structtypenonrect=Permission.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Permission.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:Permission.of_xml)letof_jsonj=list_of_json~kind:"Permissions"~of_json:Permission.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePolicySizeBytes=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for PolicySizeBytes"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleSigningProfileRevocationRecord=structtypenonrect={revocationEffectiveFrom:Timestamp.toption[@ocaml.doc"The time when revocation becomes effective."];revokedAt:Timestamp.toption[@ocaml.doc"The time when the signing profile was revoked."];revokedBy:String_.toption[@ocaml.doc"The identity of the revoker."]}letmake?revocationEffectiveFrom=fun?revokedAt->fun?revokedBy->fun()->{revocationEffectiveFrom;revokedAt;revokedBy}letto_valuex=structure_to_value[("revocationEffectiveFrom",(Option.mapx.revocationEffectiveFrom~f:Timestamp.to_value));("revokedAt",(Option.mapx.revokedAt~f:Timestamp.to_value));("revokedBy",(Option.mapx.revokedBy~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevokedBy=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"revokedBy")inletrevokedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"revokedAt")inletrevocationEffectiveFrom=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"revocationEffectiveFrom")inmake?revokedBy?revokedAt?revocationEffectiveFrom()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevokedBy=field_mapjson__"revokedBy"String_.of_jsoninletrevokedAt=field_mapjson__"revokedAt"Timestamp.of_jsoninletrevocationEffectiveFrom=field_mapjson__"revocationEffectiveFrom"Timestamp.of_jsoninmake?revokedBy?revokedAt?revocationEffectiveFrom()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Revocation information for a signing profile."]moduleRevokedEntities=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"RevokedEntities"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCertificateHashes=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"CertificateHashes"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSigningJobRevocationRecord=structtypenonrect={reason:String_.toption[@ocaml.doc"A caller-supplied reason for revocation."];revokedAt:Timestamp.toption[@ocaml.doc"The time of revocation."];revokedBy:String_.toption[@ocaml.doc"The identity of the revoker."]}letmake?reason=fun?revokedAt->fun?revokedBy->fun()->{reason;revokedAt;revokedBy}letto_valuex=structure_to_value[("reason",(Option.mapx.reason~f:String_.to_value));("revokedAt",(Option.mapx.revokedAt~f:Timestamp.to_value));("revokedBy",(Option.mapx.revokedBy~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevokedBy=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"revokedBy")inletrevokedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"revokedAt")inletreason=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"reason")inmake?revokedBy?revokedAt?reason()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevokedBy=field_mapjson__"revokedBy"String_.of_jsoninletrevokedAt=field_mapjson__"revokedAt"Timestamp.of_jsoninletreason=field_mapjson__"reason"String_.of_jsoninmake?revokedBy?revokedAt?reason()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Revocation information for a signing job."]moduleStatusReason=structtypenonrect=stringletcontext_="StatusReason"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:"StatusReason"jletto_json=simple_to_jsonto_valueendmoduleServiceLimitExceededException=structtypenonrect={message:ErrorMessage.toption;code:ErrorCode.toption}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value));("code",(Option.mapx.code~f:ErrorCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"code")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"code"ErrorCode.of_jsoninletmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The client is making a request that exceeds service limits."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys."]moduleUntagResourceRequest=structtypenonrect={resourceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) for the signing profile."];tagKeys:TagKeyList.t[@ocaml.doc"A list of tag keys to be removed from the signing profile."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("resourceArn",(Some(String_.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=String_.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"String_.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair."]moduleTagResourceRequest=structtypenonrect={resourceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) for the signing profile."];tags:TagMap.t[@ocaml.doc"One or more tags to be associated with the signing profile."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("resourceArn",(Some(String_.to_valuex.resourceArn)));("tags",(Some(TagMap.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagMap.of_xml(Xml.child_exn~context:context_xml_arg0"tags")inletresourceArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"tags"TagMap.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"String_.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair."]moduleStartSigningJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The ID of your signing job."];jobOwner:AccountId.toption[@ocaml.doc"The AWS account ID of the signing job owner."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun?jobOwner->fun()->{jobId;jobOwner}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("jobId",(Option.mapx.jobId~f:JobId.to_value));("jobOwner",(Option.mapx.jobOwner~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobOwner")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"jobId")inmake?jobOwner?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobOwner=field_mapjson__"jobOwner"AccountId.of_jsoninletjobId=field_mapjson__"jobId"JobId.of_jsoninmake?jobOwner?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation. Note the following requirements: You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide. Your S3 source bucket must be version enabled. You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code. You specify the name of the source and destination buckets when calling the StartSigningJob operation. You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported. You must also specify a request token that identifies your request to Signer. You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob. For a Java example that shows how to use this action, see StartSigningJob."]moduleStartSigningJobRequest=structtypenonrect={source:Source.t[@ocaml.doc"The S3 bucket that contains the object to sign or a BLOB that contains your raw code."];destination:Destination.t[@ocaml.doc"The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix."];profileName:ProfileName.t[@ocaml.doc"The name of the signing profile."];clientRequestToken:ClientRequestToken.t[@ocaml.doc"String that identifies the signing request. All calls after the first that use this token return the same response as the first call."];profileOwner:AccountId.toption[@ocaml.doc"The AWS account ID of the signing profile owner."]}letcontext_="StartSigningJobRequest"letmake?profileOwner=fun~source->fun~destination->fun~profileName->fun~clientRequestToken->fun()->{profileOwner;source;destination;profileName;clientRequestToken}letto_valuex=structure_to_value[("source",(Some(Source.to_valuex.source)));("destination",(Some(Destination.to_valuex.destination)));("profileName",(Some(ProfileName.to_valuex.profileName)));("clientRequestToken",(Some(ClientRequestToken.to_valuex.clientRequestToken)));("profileOwner",(Option.mapx.profileOwner~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"profileOwner")inletclientRequestToken=ClientRequestToken.of_xml(Xml.child_exn~context:context_xml_arg0"clientRequestToken")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inletdestination=Destination.of_xml(Xml.child_exn~context:context_xml_arg0"destination")inletsource=Source.of_xml(Xml.child_exn~context:context_xml_arg0"source")inmake?profileOwner~clientRequestToken~profileName~destination~source()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileOwner=field_mapjson__"profileOwner"AccountId.of_jsoninletclientRequestToken=field_map_exnjson__"clientRequestToken"ClientRequestToken.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninletdestination=field_map_exnjson__"destination"Destination.of_jsoninletsource=field_map_exnjson__"source"Source.of_jsoninmake?profileOwner~clientRequestToken~profileName~destination~source()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation. Note the following requirements: You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide. Your S3 source bucket must be version enabled. You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code. You specify the name of the source and destination buckets when calling the StartSigningJob operation. You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported. You must also specify a request token that identifies your request to Signer. You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob. For a Java example that shows how to use this action, see StartSigningJob."]moduleSignPayloadResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"Unique identifier of the signing job."];jobOwner:AccountId.toption[@ocaml.doc"The AWS account ID of the job owner."];metadata:Metadata.toption[@ocaml.doc"Information including the signing profile ARN and the signing job ID."];signature:Blob.toption[@ocaml.doc"A cryptographic signature."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun?jobOwner->fun?metadata->fun?signature->fun()->{jobId;jobOwner;metadata;signature}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("jobId",(Option.mapx.jobId~f:JobId.to_value));("jobOwner",(Option.mapx.jobOwner~f:AccountId.to_value));("metadata",(Option.mapx.metadata~f:Metadata.to_value));("signature",(Option.mapx.signature~f:Blob.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsignature=(Option.map~f:Blob.of_xml)(Xml.childxml_arg0"signature")inletmetadata=(Option.map~f:Metadata.of_xml)(Xml.childxml_arg0"metadata")inletjobOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobOwner")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"jobId")inmake?signature?metadata?jobOwner?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsignature=field_mapjson__"signature"Blob.of_jsoninletmetadata=field_mapjson__"metadata"Metadata.of_jsoninletjobOwner=field_mapjson__"jobOwner"AccountId.of_jsoninletjobId=field_mapjson__"jobId"JobId.of_jsoninmake?signature?metadata?jobOwner?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Signs a binary payload and returns a signature envelope."]moduleSignPayloadRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"The name of the signing profile."];profileOwner:AccountId.toption[@ocaml.doc"The AWS account ID of the profile owner."];payload:Payload.t[@ocaml.doc"Specifies the object digest (hash) to sign."];payloadFormat:String_.t[@ocaml.doc"Payload content type. The single valid type is application/vnd.cncf.notary.payload.v1+json."]}letcontext_="SignPayloadRequest"letmake?profileOwner=fun~profileName->fun~payload->fun~payloadFormat->fun()->{profileOwner;profileName;payload;payloadFormat}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)));("profileOwner",(Option.mapx.profileOwner~f:AccountId.to_value));("payload",(Some(Payload.to_valuex.payload)));("payloadFormat",(Some(String_.to_valuex.payloadFormat)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpayloadFormat=String_.of_xml(Xml.child_exn~context:context_xml_arg0"payloadFormat")inletpayload=Payload.of_xml(Xml.child_exn~context:context_xml_arg0"payload")inletprofileOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"profileOwner")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake~payloadFormat~payload?profileOwner~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpayloadFormat=field_map_exnjson__"payloadFormat"String_.of_jsoninletpayload=field_map_exnjson__"payload"Payload.of_jsoninletprofileOwner=field_mapjson__"profileOwner"AccountId.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake~payloadFormat~payload?profileOwner~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Signs a binary payload and returns a signature envelope."]moduleRevokeSigningProfileRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"The name of the signing profile to be revoked."];profileVersion:ProfileVersion.t[@ocaml.doc"The version of the signing profile to be revoked."];reason:RevocationReasonString.t[@ocaml.doc"The reason for revoking a signing profile."];effectiveTime:Timestamp.t[@ocaml.doc"A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted."]}letcontext_="RevokeSigningProfileRequest"letmake~profileName=fun~profileVersion->fun~reason->fun~effectiveTime->fun()->{profileName;profileVersion;reason;effectiveTime}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)));("profileVersion",(Some(ProfileVersion.to_valuex.profileVersion)));("reason",(Some(RevocationReasonString.to_valuex.reason)));("effectiveTime",(Some(Timestamp.to_valuex.effectiveTime)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteffectiveTime=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"effectiveTime")inletreason=RevocationReasonString.of_xml(Xml.child_exn~context:context_xml_arg0"reason")inletprofileVersion=ProfileVersion.of_xml(Xml.child_exn~context:context_xml_arg0"profileVersion")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake~effectiveTime~reason~profileVersion~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteffectiveTime=field_map_exnjson__"effectiveTime"Timestamp.of_jsoninletreason=field_map_exnjson__"reason"RevocationReasonString.of_jsoninletprofileVersion=field_map_exnjson__"profileVersion"ProfileVersion.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake~effectiveTime~reason~profileVersion~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid. A revoked profile is still viewable with the ListSigningProfiles operation, but it cannot perform new signing jobs. See Data Retention for more information on scheduled deletion of a revoked signing profile."]moduleRevokeSignatureRequest=structtypenonrect={jobId:JobId.t[@ocaml.doc"ID of the signing job to be revoked."];jobOwner:AccountId.toption[@ocaml.doc"AWS account ID of the job owner."];reason:RevocationReasonString.t[@ocaml.doc"The reason for revoking the signing job."]}letcontext_="RevokeSignatureRequest"letmake?jobOwner=fun~jobId->fun~reason->fun()->{jobOwner;jobId;reason}letto_valuex=structure_to_value[("jobId",(Some(JobId.to_valuex.jobId)));("jobOwner",(Option.mapx.jobOwner~f:AccountId.to_value));("reason",(Some(RevocationReasonString.to_valuex.reason)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=RevocationReasonString.of_xml(Xml.child_exn~context:context_xml_arg0"reason")inletjobOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobOwner")inletjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"jobId")inmake~reason?jobOwner~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_map_exnjson__"reason"RevocationReasonString.of_jsoninletjobOwner=field_mapjson__"jobOwner"AccountId.of_jsoninletjobId=field_map_exnjson__"jobId"JobId.of_jsoninmake~reason?jobOwner~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid."]moduleRemoveProfilePermissionResponse=structtypenonrect={revisionId:String_.toption[@ocaml.doc"An identifier for the current revision of the profile permissions."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?revisionId=fun()->{revisionId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("revisionId",(Option.mapx.revisionId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevisionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"revisionId")inmake?revisionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevisionId=field_mapjson__"revisionId"String_.of_jsoninmake?revisionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes cross-account permissions from a signing profile."]moduleRemoveProfilePermissionRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"A human-readable name for the signing profile with permissions to be removed."];revisionId:String_.t[@ocaml.doc"An identifier for the current revision of the signing profile permissions."];statementId:String_.t[@ocaml.doc"A unique identifier for the cross-account permissions statement."]}letcontext_="RemoveProfilePermissionRequest"letmake~profileName=fun~revisionId->fun~statementId->fun()->{profileName;revisionId;statementId}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)));("revisionId",(Some(String_.to_valuex.revisionId)));("statementId",(Some(String_.to_valuex.statementId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatementId=String_.of_xml(Xml.child_exn~context:context_xml_arg0"statementId")inletrevisionId=String_.of_xml(Xml.child_exn~context:context_xml_arg0"revisionId")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake~statementId~revisionId~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatementId=field_map_exnjson__"statementId"String_.of_jsoninletrevisionId=field_map_exnjson__"revisionId"String_.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake~statementId~revisionId~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes cross-account permissions from a signing profile."]modulePutSigningProfileResponse=structtypenonrect={arn:String__lc1.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the signing profile created."];profileVersion:ProfileVersion.toption[@ocaml.doc"The version of the signing profile being created."];profileVersionArn:Arn.toption[@ocaml.doc"The signing profile ARN, including the profile version."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?profileVersion->fun?profileVersionArn->fun()->{arn;profileVersion;profileVersionArn}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:String__lc1.to_value));("profileVersion",(Option.mapx.profileVersion~f:ProfileVersion.to_value));("profileVersionArn",(Option.mapx.profileVersionArn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileVersionArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"profileVersionArn")inletprofileVersion=(Option.map~f:ProfileVersion.of_xml)(Xml.childxml_arg0"profileVersion")inletarn=(Option.map~f:String__lc1.of_xml)(Xml.childxml_arg0"arn")inmake?profileVersionArn?profileVersion?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileVersionArn=field_mapjson__"profileVersionArn"Arn.of_jsoninletprofileVersion=field_mapjson__"profileVersion"ProfileVersion.of_jsoninletarn=field_mapjson__"arn"String__lc1.of_jsoninmake?profileVersionArn?profileVersion?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job."]modulePutSigningProfileRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"The name of the signing profile to be created."];signingMaterial:SigningMaterial.toption[@ocaml.doc"The AWS Certificate Manager certificate that will be used to sign code with the new signing profile."];signatureValidityPeriod:SignatureValidityPeriod.toption[@ocaml.doc"The default validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months."];platformId:PlatformId.t[@ocaml.doc"The ID of the signing platform to be created."];overrides:SigningPlatformOverrides.toption[@ocaml.doc"A subfield of platform. This specifies any different configuration options that you want to apply to the chosen platform (such as a different hash-algorithm or signing-algorithm)."];signingParameters:SigningParameters.toption[@ocaml.doc"Map of key-value pairs for signing. These can include any information that you want to use during signing."];tags:TagMap.toption[@ocaml.doc"Tags to be associated with the signing profile that is being created."]}letcontext_="PutSigningProfileRequest"letmake?signingMaterial=fun?signatureValidityPeriod->fun?overrides->fun?signingParameters->fun?tags->fun~profileName->fun~platformId->fun()->{signingMaterial;signatureValidityPeriod;overrides;signingParameters;tags;profileName;platformId}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)));("signingMaterial",(Option.mapx.signingMaterial~f:SigningMaterial.to_value));("signatureValidityPeriod",(Option.mapx.signatureValidityPeriod~f:SignatureValidityPeriod.to_value));("platformId",(Some(PlatformId.to_valuex.platformId)));("overrides",(Option.mapx.overrides~f:SigningPlatformOverrides.to_value));("signingParameters",(Option.mapx.signingParameters~f:SigningParameters.to_value));("tags",(Option.mapx.tags~f:TagMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inletsigningParameters=(Option.map~f:SigningParameters.of_xml)(Xml.childxml_arg0"signingParameters")inletoverrides=(Option.map~f:SigningPlatformOverrides.of_xml)(Xml.childxml_arg0"overrides")inletplatformId=PlatformId.of_xml(Xml.child_exn~context:context_xml_arg0"platformId")inletsignatureValidityPeriod=(Option.map~f:SignatureValidityPeriod.of_xml)(Xml.childxml_arg0"signatureValidityPeriod")inletsigningMaterial=(Option.map~f:SigningMaterial.of_xml)(Xml.childxml_arg0"signingMaterial")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake?tags?signingParameters?overrides~platformId?signatureValidityPeriod?signingMaterial~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagMap.of_jsoninletsigningParameters=field_mapjson__"signingParameters"SigningParameters.of_jsoninletoverrides=field_mapjson__"overrides"SigningPlatformOverrides.of_jsoninletplatformId=field_map_exnjson__"platformId"PlatformId.of_jsoninletsignatureValidityPeriod=field_mapjson__"signatureValidityPeriod"SignatureValidityPeriod.of_jsoninletsigningMaterial=field_mapjson__"signingMaterial"SigningMaterial.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake?tags?signingParameters?overrides~platformId?signatureValidityPeriod?signingMaterial~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagMap.toption[@ocaml.doc"A list of tags associated with the signing profile."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("tags",(Option.mapx.tags~f:TagMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagMap.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the tags associated with a signing profile resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) for the signing profile."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(String_.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=String_.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"String_.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the tags associated with a signing profile resource."]moduleListSigningProfilesResponse=structtypenonrect={profiles:SigningProfiles.toption[@ocaml.doc"A list of profiles that are available in the AWS account. This includes profiles with the status of CANCELED if the includeCanceled parameter is set to true."];nextToken:NextToken.toption[@ocaml.doc"Value for specifying the next set of paginated results to return."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profiles=fun?nextToken->fun()->{profiles;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("profiles",(Option.mapx.profiles~f:SigningProfiles.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")inletprofiles=(Option.map~f:SigningProfiles.of_xml)(Xml.childxml_arg0"profiles")inmake?nextToken?profiles()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletprofiles=field_mapjson__"profiles"SigningProfiles.of_jsoninmake?nextToken?profiles()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned."]moduleListSigningProfilesRequest=structtypenonrect={includeCanceled:Bool_.toption[@ocaml.doc"Designates whether to include profiles with the status of CANCELED."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of profiles to be returned."];nextToken:NextToken.toption[@ocaml.doc"Value for specifying the next set of paginated results to return. After you receive a response with truncated results, use this parameter in a subsequent request. Set it to the value of nextToken from the response that you just received."];platformId:PlatformId.toption[@ocaml.doc"Filters results to return only signing jobs initiated for a specified signing platform."];statuses:Statuses.toption[@ocaml.doc"Filters results to return only signing jobs with statuses in the specified list."]}letmake?includeCanceled=fun?maxResults->fun?nextToken->fun?platformId->fun?statuses->fun()->{includeCanceled;maxResults;nextToken;platformId;statuses}letto_valuex=structure_to_value[("includeCanceled",(Option.mapx.includeCanceled~f:Bool_.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("platformId",(Option.mapx.platformId~f:PlatformId.to_value));("statuses",(Option.mapx.statuses~f:Statuses.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatuses=(Option.map~f:Statuses.of_xml)(Xml.childxml_arg0"statuses")inletplatformId=(Option.map~f:PlatformId.of_xml)(Xml.childxml_arg0"platformId")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletincludeCanceled=(Option.map~f:Bool_.of_xml)(Xml.childxml_arg0"includeCanceled")inmake?statuses?platformId?nextToken?maxResults?includeCanceled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatuses=field_mapjson__"statuses"Statuses.of_jsoninletplatformId=field_mapjson__"platformId"PlatformId.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletincludeCanceled=field_mapjson__"includeCanceled"Bool_.of_jsoninmake?statuses?platformId?nextToken?maxResults?includeCanceled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned."]moduleListSigningPlatformsResponse=structtypenonrect={platforms:SigningPlatforms.toption[@ocaml.doc"A list of all platforms that match the request parameters."];nextToken:String_.toption[@ocaml.doc"Value for specifying the next set of paginated results to return."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?platforms=fun?nextToken->fun()->{platforms;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("platforms",(Option.mapx.platforms~f:SigningPlatforms.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletplatforms=(Option.map~f:SigningPlatforms.of_xml)(Xml.childxml_arg0"platforms")inmake?nextToken?platforms()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletplatforms=field_mapjson__"platforms"SigningPlatforms.of_jsoninmake?nextToken?platforms()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned."]moduleListSigningPlatformsRequest=structtypenonrect={category:String_.toption[@ocaml.doc"The category type of a signing platform."];partner:String_.toption[@ocaml.doc"Any partner entities connected to a signing platform."];target:String_.toption[@ocaml.doc"The validation template that is used by the target signing platform."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to be returned by this operation."];nextToken:String_.toption[@ocaml.doc"Value for specifying the next set of paginated results to return. After you receive a response with truncated results, use this parameter in a subsequent request. Set it to the value of nextToken from the response that you just received."]}letmake?category=fun?partner->fun?target->fun?maxResults->fun?nextToken->fun()->{category;partner;target;maxResults;nextToken}letto_valuex=structure_to_value[("category",(Option.mapx.category~f:String_.to_value));("partner",(Option.mapx.partner~f:String_.to_value));("target",(Option.mapx.target~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inlettarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"target")inletpartner=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"partner")inletcategory=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"category")inmake?nextToken?maxResults?target?partner?category()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninlettarget=field_mapjson__"target"String_.of_jsoninletpartner=field_mapjson__"partner"String_.of_jsoninletcategory=field_mapjson__"category"String_.of_jsoninmake?nextToken?maxResults?target?partner?category()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned."]moduleListSigningJobsResponse=structtypenonrect={jobs:SigningJobs.toption[@ocaml.doc"A list of your signing jobs."];nextToken:NextToken.toption[@ocaml.doc"String for specifying the next set of paginated results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobs=fun?nextToken->fun()->{jobs;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("jobs",(Option.mapx.jobs~f:SigningJobs.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")inletjobs=(Option.map~f:SigningJobs.of_xml)(Xml.childxml_arg0"jobs")inmake?nextToken?jobs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletjobs=field_mapjson__"jobs"SigningJobs.of_jsoninmake?nextToken?jobs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned."]moduleListSigningJobsRequest=structtypenonrect={status:SigningStatus.toption[@ocaml.doc"A status value with which to filter your results."];platformId:PlatformId.toption[@ocaml.doc"The ID of microcontroller platform that you specified for the distribution of your code image."];requestedBy:RequestedBy.toption[@ocaml.doc"The IAM principal that requested the signing job."];maxResults:MaxResults.toption[@ocaml.doc"Specifies the maximum number of items to return in the response. Use this parameter when paginating results. If additional items exist beyond the number you specify, the nextToken element is set in the response. Use the nextToken value in a subsequent request to retrieve additional items."];nextToken:NextToken.toption[@ocaml.doc"String for specifying the next set of paginated results to return. After you receive a response with truncated results, use this parameter in a subsequent request. Set it to the value of nextToken from the response that you just received."];isRevoked:Bool_.toption[@ocaml.doc"Filters results to return only signing jobs with revoked signatures."];signatureExpiresBefore:Timestamp.toption[@ocaml.doc"Filters results to return only signing jobs with signatures expiring before a specified timestamp."];signatureExpiresAfter:Timestamp.toption[@ocaml.doc"Filters results to return only signing jobs with signatures expiring after a specified timestamp."];jobInvoker:AccountId.toption[@ocaml.doc"Filters results to return only signing jobs initiated by a specified IAM entity."]}letmake?status=fun?platformId->fun?requestedBy->fun?maxResults->fun?nextToken->fun?isRevoked->fun?signatureExpiresBefore->fun?signatureExpiresAfter->fun?jobInvoker->fun()->{status;platformId;requestedBy;maxResults;nextToken;isRevoked;signatureExpiresBefore;signatureExpiresAfter;jobInvoker}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:SigningStatus.to_value));("platformId",(Option.mapx.platformId~f:PlatformId.to_value));("requestedBy",(Option.mapx.requestedBy~f:RequestedBy.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("isRevoked",(Option.mapx.isRevoked~f:Bool_.to_value));("signatureExpiresBefore",(Option.mapx.signatureExpiresBefore~f:Timestamp.to_value));("signatureExpiresAfter",(Option.mapx.signatureExpiresAfter~f:Timestamp.to_value));("jobInvoker",(Option.mapx.jobInvoker~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobInvoker=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobInvoker")inletsignatureExpiresAfter=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"signatureExpiresAfter")inletsignatureExpiresBefore=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"signatureExpiresBefore")inletisRevoked=(Option.map~f:Bool_.of_xml)(Xml.childxml_arg0"isRevoked")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletrequestedBy=(Option.map~f:RequestedBy.of_xml)(Xml.childxml_arg0"requestedBy")inletplatformId=(Option.map~f:PlatformId.of_xml)(Xml.childxml_arg0"platformId")inletstatus=(Option.map~f:SigningStatus.of_xml)(Xml.childxml_arg0"status")inmake?jobInvoker?signatureExpiresAfter?signatureExpiresBefore?isRevoked?nextToken?maxResults?requestedBy?platformId?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobInvoker=field_mapjson__"jobInvoker"AccountId.of_jsoninletsignatureExpiresAfter=field_mapjson__"signatureExpiresAfter"Timestamp.of_jsoninletsignatureExpiresBefore=field_mapjson__"signatureExpiresBefore"Timestamp.of_jsoninletisRevoked=field_mapjson__"isRevoked"Bool_.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletrequestedBy=field_mapjson__"requestedBy"RequestedBy.of_jsoninletplatformId=field_mapjson__"platformId"PlatformId.of_jsoninletstatus=field_mapjson__"status"SigningStatus.of_jsoninmake?jobInvoker?signatureExpiresAfter?signatureExpiresBefore?isRevoked?nextToken?maxResults?requestedBy?platformId?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned."]moduleListProfilePermissionsResponse=structtypenonrect={revisionId:String_.toption[@ocaml.doc"The identifier for the current revision of profile permissions."];policySizeBytes:PolicySizeBytes.toption[@ocaml.doc"Total size of the policy associated with the Signing Profile in bytes."];permissions:Permissions.toption[@ocaml.doc"List of permissions associated with the Signing Profile."];nextToken:String_.toption[@ocaml.doc"String for specifying the next set of paginated results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?revisionId=fun?policySizeBytes->fun?permissions->fun?nextToken->fun()->{revisionId;policySizeBytes;permissions;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("revisionId",(Option.mapx.revisionId~f:String_.to_value));("policySizeBytes",(Option.mapx.policySizeBytes~f:PolicySizeBytes.to_value));("permissions",(Option.mapx.permissions~f:Permissions.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletpermissions=(Option.map~f:Permissions.of_xml)(Xml.childxml_arg0"permissions")inletpolicySizeBytes=(Option.map~f:PolicySizeBytes.of_xml)(Xml.childxml_arg0"policySizeBytes")inletrevisionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"revisionId")inmake?nextToken?permissions?policySizeBytes?revisionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletpermissions=field_mapjson__"permissions"Permissions.of_jsoninletpolicySizeBytes=field_mapjson__"policySizeBytes"PolicySizeBytes.of_jsoninletrevisionId=field_mapjson__"revisionId"String_.of_jsoninmake?nextToken?permissions?policySizeBytes?revisionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the cross-account permissions associated with a signing profile."]moduleListProfilePermissionsRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"Name of the signing profile containing the cross-account permissions."];nextToken:String_.toption[@ocaml.doc"String for specifying the next set of paginated results."]}letcontext_="ListProfilePermissionsRequest"letmake?nextToken=fun~profileName->fun()->{nextToken;profileName}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake?nextToken~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake?nextToken~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the cross-account permissions associated with a signing profile."]moduleGetSigningProfileResponse=structtypenonrect={profileName:ProfileName.toption[@ocaml.doc"The name of the target signing profile."];profileVersion:ProfileVersion.toption[@ocaml.doc"The current version of the signing profile."];profileVersionArn:Arn.toption[@ocaml.doc"The signing profile ARN, including the profile version."];revocationRecord:SigningProfileRevocationRecord.toption;signingMaterial:SigningMaterial.toption[@ocaml.doc"The ARN of the certificate that the target profile uses for signing operations."];platformId:PlatformId.toption[@ocaml.doc"The ID of the platform that is used by the target signing profile."];platformDisplayName:DisplayName.toption[@ocaml.doc"A human-readable name for the signing platform associated with the signing profile."];signatureValidityPeriod:SignatureValidityPeriod.toption;overrides:SigningPlatformOverrides.toption[@ocaml.doc"A list of overrides applied by the target signing profile for signing operations."];signingParameters:SigningParameters.toption[@ocaml.doc"A map of key-value pairs for signing operations that is attached to the target signing profile."];status:SigningProfileStatus.toption[@ocaml.doc"The status of the target signing profile."];statusReason:String_.toption[@ocaml.doc"Reason for the status of the target signing profile."];arn:String__lc1.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the signing profile."];tags:TagMap.toption[@ocaml.doc"A list of tags associated with the signing profile."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileName=fun?profileVersion->fun?profileVersionArn->fun?revocationRecord->fun?signingMaterial->fun?platformId->fun?platformDisplayName->fun?signatureValidityPeriod->fun?overrides->fun?signingParameters->fun?status->fun?statusReason->fun?arn->fun?tags->fun()->{profileName;profileVersion;profileVersionArn;revocationRecord;signingMaterial;platformId;platformDisplayName;signatureValidityPeriod;overrides;signingParameters;status;statusReason;arn;tags}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("profileName",(Option.mapx.profileName~f:ProfileName.to_value));("profileVersion",(Option.mapx.profileVersion~f:ProfileVersion.to_value));("profileVersionArn",(Option.mapx.profileVersionArn~f:Arn.to_value));("revocationRecord",(Option.mapx.revocationRecord~f:SigningProfileRevocationRecord.to_value));("signingMaterial",(Option.mapx.signingMaterial~f:SigningMaterial.to_value));("platformId",(Option.mapx.platformId~f:PlatformId.to_value));("platformDisplayName",(Option.mapx.platformDisplayName~f:DisplayName.to_value));("signatureValidityPeriod",(Option.mapx.signatureValidityPeriod~f:SignatureValidityPeriod.to_value));("overrides",(Option.mapx.overrides~f:SigningPlatformOverrides.to_value));("signingParameters",(Option.mapx.signingParameters~f:SigningParameters.to_value));("status",(Option.mapx.status~f:SigningProfileStatus.to_value));("statusReason",(Option.mapx.statusReason~f:String_.to_value));("arn",(Option.mapx.arn~f:String__lc1.to_value));("tags",(Option.mapx.tags~f:TagMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inletarn=(Option.map~f:String__lc1.of_xml)(Xml.childxml_arg0"arn")inletstatusReason=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusReason")inletstatus=(Option.map~f:SigningProfileStatus.of_xml)(Xml.childxml_arg0"status")inletsigningParameters=(Option.map~f:SigningParameters.of_xml)(Xml.childxml_arg0"signingParameters")inletoverrides=(Option.map~f:SigningPlatformOverrides.of_xml)(Xml.childxml_arg0"overrides")inletsignatureValidityPeriod=(Option.map~f:SignatureValidityPeriod.of_xml)(Xml.childxml_arg0"signatureValidityPeriod")inletplatformDisplayName=(Option.map~f:DisplayName.of_xml)(Xml.childxml_arg0"platformDisplayName")inletplatformId=(Option.map~f:PlatformId.of_xml)(Xml.childxml_arg0"platformId")inletsigningMaterial=(Option.map~f:SigningMaterial.of_xml)(Xml.childxml_arg0"signingMaterial")inletrevocationRecord=(Option.map~f:SigningProfileRevocationRecord.of_xml)(Xml.childxml_arg0"revocationRecord")inletprofileVersionArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"profileVersionArn")inletprofileVersion=(Option.map~f:ProfileVersion.of_xml)(Xml.childxml_arg0"profileVersion")inletprofileName=(Option.map~f:ProfileName.of_xml)(Xml.childxml_arg0"profileName")inmake?tags?arn?statusReason?status?signingParameters?overrides?signatureValidityPeriod?platformDisplayName?platformId?signingMaterial?revocationRecord?profileVersionArn?profileVersion?profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagMap.of_jsoninletarn=field_mapjson__"arn"String__lc1.of_jsoninletstatusReason=field_mapjson__"statusReason"String_.of_jsoninletstatus=field_mapjson__"status"SigningProfileStatus.of_jsoninletsigningParameters=field_mapjson__"signingParameters"SigningParameters.of_jsoninletoverrides=field_mapjson__"overrides"SigningPlatformOverrides.of_jsoninletsignatureValidityPeriod=field_mapjson__"signatureValidityPeriod"SignatureValidityPeriod.of_jsoninletplatformDisplayName=field_mapjson__"platformDisplayName"DisplayName.of_jsoninletplatformId=field_mapjson__"platformId"PlatformId.of_jsoninletsigningMaterial=field_mapjson__"signingMaterial"SigningMaterial.of_jsoninletrevocationRecord=field_mapjson__"revocationRecord"SigningProfileRevocationRecord.of_jsoninletprofileVersionArn=field_mapjson__"profileVersionArn"Arn.of_jsoninletprofileVersion=field_mapjson__"profileVersion"ProfileVersion.of_jsoninletprofileName=field_mapjson__"profileName"ProfileName.of_jsoninmake?tags?arn?statusReason?status?signingParameters?overrides?signatureValidityPeriod?platformDisplayName?platformId?signingMaterial?revocationRecord?profileVersionArn?profileVersion?profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information on a specific signing profile."]moduleGetSigningProfileRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"The name of the target signing profile."];profileOwner:AccountId.toption[@ocaml.doc"The AWS account ID of the profile owner."]}letcontext_="GetSigningProfileRequest"letmake?profileOwner=fun~profileName->fun()->{profileOwner;profileName}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)));("profileOwner",(Option.mapx.profileOwner~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"profileOwner")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake?profileOwner~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileOwner=field_mapjson__"profileOwner"AccountId.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake?profileOwner~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information on a specific signing profile."]moduleGetSigningPlatformResponse=structtypenonrect={platformId:PlatformId.toption[@ocaml.doc"The ID of the target signing platform."];displayName:DisplayName.toption[@ocaml.doc"The display name of the target signing platform."];partner:String_.toption[@ocaml.doc"A list of partner entities that use the target signing platform."];target:String_.toption[@ocaml.doc"The validation template that is used by the target signing platform."];category:Category.toption[@ocaml.doc"The category type of the target signing platform."];signingConfiguration:SigningConfiguration.toption[@ocaml.doc"A list of configurations applied to the target platform at signing."];signingImageFormat:SigningImageFormat.toption[@ocaml.doc"The format of the target platform's signing image."];maxSizeInMB:MaxSizeInMB.toption[@ocaml.doc"The maximum size (in MB) of the payload that can be signed by the target platform."];revocationSupported:Bool_.toption[@ocaml.doc"A flag indicating whether signatures generated for the signing platform can be revoked."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?platformId=fun?displayName->fun?partner->fun?target->fun?category->fun?signingConfiguration->fun?signingImageFormat->fun?maxSizeInMB->fun?revocationSupported->fun()->{platformId;displayName;partner;target;category;signingConfiguration;signingImageFormat;maxSizeInMB;revocationSupported}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("platformId",(Option.mapx.platformId~f:PlatformId.to_value));("displayName",(Option.mapx.displayName~f:DisplayName.to_value));("partner",(Option.mapx.partner~f:String_.to_value));("target",(Option.mapx.target~f:String_.to_value));("category",(Option.mapx.category~f:Category.to_value));("signingConfiguration",(Option.mapx.signingConfiguration~f:SigningConfiguration.to_value));("signingImageFormat",(Option.mapx.signingImageFormat~f:SigningImageFormat.to_value));("maxSizeInMB",(Option.mapx.maxSizeInMB~f:MaxSizeInMB.to_value));("revocationSupported",(Option.mapx.revocationSupported~f:Bool_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevocationSupported=(Option.map~f:Bool_.of_xml)(Xml.childxml_arg0"revocationSupported")inletmaxSizeInMB=(Option.map~f:MaxSizeInMB.of_xml)(Xml.childxml_arg0"maxSizeInMB")inletsigningImageFormat=(Option.map~f:SigningImageFormat.of_xml)(Xml.childxml_arg0"signingImageFormat")inletsigningConfiguration=(Option.map~f:SigningConfiguration.of_xml)(Xml.childxml_arg0"signingConfiguration")inletcategory=(Option.map~f:Category.of_xml)(Xml.childxml_arg0"category")inlettarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"target")inletpartner=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"partner")inletdisplayName=(Option.map~f:DisplayName.of_xml)(Xml.childxml_arg0"displayName")inletplatformId=(Option.map~f:PlatformId.of_xml)(Xml.childxml_arg0"platformId")inmake?revocationSupported?maxSizeInMB?signingImageFormat?signingConfiguration?category?target?partner?displayName?platformId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevocationSupported=field_mapjson__"revocationSupported"Bool_.of_jsoninletmaxSizeInMB=field_mapjson__"maxSizeInMB"MaxSizeInMB.of_jsoninletsigningImageFormat=field_mapjson__"signingImageFormat"SigningImageFormat.of_jsoninletsigningConfiguration=field_mapjson__"signingConfiguration"SigningConfiguration.of_jsoninletcategory=field_mapjson__"category"Category.of_jsoninlettarget=field_mapjson__"target"String_.of_jsoninletpartner=field_mapjson__"partner"String_.of_jsoninletdisplayName=field_mapjson__"displayName"DisplayName.of_jsoninletplatformId=field_mapjson__"platformId"PlatformId.of_jsoninmake?revocationSupported?maxSizeInMB?signingImageFormat?signingConfiguration?category?target?partner?displayName?platformId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information on a specific signing platform."]moduleGetSigningPlatformRequest=structtypenonrect={platformId:PlatformId.t[@ocaml.doc"The ID of the target signing platform."]}letcontext_="GetSigningPlatformRequest"letmake~platformId=fun()->{platformId}letto_valuex=structure_to_value[("platformId",(Some(PlatformId.to_valuex.platformId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letplatformId=PlatformId.of_xml(Xml.child_exn~context:context_xml_arg0"platformId")inmake~platformId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letplatformId=field_map_exnjson__"platformId"PlatformId.of_jsoninmake~platformId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information on a specific signing platform."]moduleGetRevocationStatusResponse=structtypenonrect={revokedEntities:RevokedEntities.toption[@ocaml.doc"A list of revoked entities (including zero or more of the signing profile ARN, signing job ARN, and certificate hashes) supplied as input to the API."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?revokedEntities=fun()->{revokedEntities}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("revokedEntities",(Option.mapx.revokedEntities~f:RevokedEntities.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevokedEntities=(Option.map~f:RevokedEntities.of_xml)(Xml.childxml_arg0"revokedEntities")inmake?revokedEntities()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevokedEntities=field_mapjson__"revokedEntities"RevokedEntities.of_jsoninmake?revokedEntities()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate."]moduleGetRevocationStatusRequest=structtypenonrect={signatureTimestamp:Timestamp.t[@ocaml.doc"The timestamp of the signature that validates the profile or job."];platformId:PlatformId.t[@ocaml.doc"The ID of a signing platform."];profileVersionArn:Arn.t[@ocaml.doc"The version of a signing profile."];jobArn:Arn.t[@ocaml.doc"The ARN of a signing job."];certificateHashes:CertificateHashes.t[@ocaml.doc"A list of composite signed hashes that identify certificates. A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a parent CA TBS hash (signed by the parent CA\226\128\153s CA). Root certificates are defined as their own CA. The following example shows how to calculate a hash for this parameter using OpenSSL commands: openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs openssl sha384 < childCert.tbs -binary > childCertTbsHash openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex cat certificateHash.hex | tr -d '\\n'"]}letcontext_="GetRevocationStatusRequest"letmake~signatureTimestamp=fun~platformId->fun~profileVersionArn->fun~jobArn->fun~certificateHashes->fun()->{signatureTimestamp;platformId;profileVersionArn;jobArn;certificateHashes}letto_valuex=structure_to_value[("signatureTimestamp",(Some(Timestamp.to_valuex.signatureTimestamp)));("platformId",(Some(PlatformId.to_valuex.platformId)));("profileVersionArn",(Some(Arn.to_valuex.profileVersionArn)));("jobArn",(Some(Arn.to_valuex.jobArn)));("certificateHashes",(Some(CertificateHashes.to_valuex.certificateHashes)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcertificateHashes=CertificateHashes.of_xml(Xml.child_exn~context:context_xml_arg0"certificateHashes")inletjobArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"jobArn")inletprofileVersionArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"profileVersionArn")inletplatformId=PlatformId.of_xml(Xml.child_exn~context:context_xml_arg0"platformId")inletsignatureTimestamp=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"signatureTimestamp")inmake~certificateHashes~jobArn~profileVersionArn~platformId~signatureTimestamp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcertificateHashes=field_map_exnjson__"certificateHashes"CertificateHashes.of_jsoninletjobArn=field_map_exnjson__"jobArn"Arn.of_jsoninletprofileVersionArn=field_map_exnjson__"profileVersionArn"Arn.of_jsoninletplatformId=field_map_exnjson__"platformId"PlatformId.of_jsoninletsignatureTimestamp=field_map_exnjson__"signatureTimestamp"Timestamp.of_jsoninmake~certificateHashes~jobArn~profileVersionArn~platformId~signatureTimestamp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate."]moduleDescribeSigningJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The ID of the signing job on output."];source:Source.toption[@ocaml.doc"The object that contains the name of your S3 bucket or your raw code."];signingMaterial:SigningMaterial.toption[@ocaml.doc"The Amazon Resource Name (ARN) of your code signing certificate."];platformId:PlatformId.toption[@ocaml.doc"The microcontroller platform to which your signed code image will be distributed."];platformDisplayName:DisplayName.toption[@ocaml.doc"A human-readable name for the signing platform associated with the signing job."];profileName:ProfileName.toption[@ocaml.doc"The name of the profile that initiated the signing operation."];profileVersion:ProfileVersion.toption[@ocaml.doc"The version of the signing profile used to initiate the signing job."];overrides:SigningPlatformOverrides.toption[@ocaml.doc"A list of any overrides that were applied to the signing operation."];signingParameters:SigningParameters.toption[@ocaml.doc"Map of user-assigned key-value pairs used during signing. These values contain any information that you specified for use in your signing job."];createdAt:Timestamp.toption[@ocaml.doc"Date and time that the signing job was created."];completedAt:Timestamp.toption[@ocaml.doc"Date and time that the signing job was completed."];signatureExpiresAt:Timestamp.toption[@ocaml.doc"Thr expiration timestamp for the signature generated by the signing job."];requestedBy:RequestedBy.toption[@ocaml.doc"The IAM principal that requested the signing job."];status:SigningStatus.toption[@ocaml.doc"Status of the signing job."];statusReason:StatusReason.toption[@ocaml.doc"String value that contains the status reason."];revocationRecord:SigningJobRevocationRecord.toption[@ocaml.doc"A revocation record if the signature generated by the signing job has been revoked. Contains a timestamp and the ID of the IAM entity that revoked the signature."];signedObject:SignedObject.toption[@ocaml.doc"Name of the S3 bucket where the signed code image is saved by AWS Signer."];jobOwner:AccountId.toption[@ocaml.doc"The AWS account ID of the job owner."];jobInvoker:AccountId.toption[@ocaml.doc"The IAM entity that initiated the signing job."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun?source->fun?signingMaterial->fun?platformId->fun?platformDisplayName->fun?profileName->fun?profileVersion->fun?overrides->fun?signingParameters->fun?createdAt->fun?completedAt->fun?signatureExpiresAt->fun?requestedBy->fun?status->fun?statusReason->fun?revocationRecord->fun?signedObject->fun?jobOwner->fun?jobInvoker->fun()->{jobId;source;signingMaterial;platformId;platformDisplayName;profileName;profileVersion;overrides;signingParameters;createdAt;completedAt;signatureExpiresAt;requestedBy;status;statusReason;revocationRecord;signedObject;jobOwner;jobInvoker}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("jobId",(Option.mapx.jobId~f:JobId.to_value));("source",(Option.mapx.source~f:Source.to_value));("signingMaterial",(Option.mapx.signingMaterial~f:SigningMaterial.to_value));("platformId",(Option.mapx.platformId~f:PlatformId.to_value));("platformDisplayName",(Option.mapx.platformDisplayName~f:DisplayName.to_value));("profileName",(Option.mapx.profileName~f:ProfileName.to_value));("profileVersion",(Option.mapx.profileVersion~f:ProfileVersion.to_value));("overrides",(Option.mapx.overrides~f:SigningPlatformOverrides.to_value));("signingParameters",(Option.mapx.signingParameters~f:SigningParameters.to_value));("createdAt",(Option.mapx.createdAt~f:Timestamp.to_value));("completedAt",(Option.mapx.completedAt~f:Timestamp.to_value));("signatureExpiresAt",(Option.mapx.signatureExpiresAt~f:Timestamp.to_value));("requestedBy",(Option.mapx.requestedBy~f:RequestedBy.to_value));("status",(Option.mapx.status~f:SigningStatus.to_value));("statusReason",(Option.mapx.statusReason~f:StatusReason.to_value));("revocationRecord",(Option.mapx.revocationRecord~f:SigningJobRevocationRecord.to_value));("signedObject",(Option.mapx.signedObject~f:SignedObject.to_value));("jobOwner",(Option.mapx.jobOwner~f:AccountId.to_value));("jobInvoker",(Option.mapx.jobInvoker~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobInvoker=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobInvoker")inletjobOwner=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"jobOwner")inletsignedObject=(Option.map~f:SignedObject.of_xml)(Xml.childxml_arg0"signedObject")inletrevocationRecord=(Option.map~f:SigningJobRevocationRecord.of_xml)(Xml.childxml_arg0"revocationRecord")inletstatusReason=(Option.map~f:StatusReason.of_xml)(Xml.childxml_arg0"statusReason")inletstatus=(Option.map~f:SigningStatus.of_xml)(Xml.childxml_arg0"status")inletrequestedBy=(Option.map~f:RequestedBy.of_xml)(Xml.childxml_arg0"requestedBy")inletsignatureExpiresAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"signatureExpiresAt")inletcompletedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"completedAt")inletcreatedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"createdAt")inletsigningParameters=(Option.map~f:SigningParameters.of_xml)(Xml.childxml_arg0"signingParameters")inletoverrides=(Option.map~f:SigningPlatformOverrides.of_xml)(Xml.childxml_arg0"overrides")inletprofileVersion=(Option.map~f:ProfileVersion.of_xml)(Xml.childxml_arg0"profileVersion")inletprofileName=(Option.map~f:ProfileName.of_xml)(Xml.childxml_arg0"profileName")inletplatformDisplayName=(Option.map~f:DisplayName.of_xml)(Xml.childxml_arg0"platformDisplayName")inletplatformId=(Option.map~f:PlatformId.of_xml)(Xml.childxml_arg0"platformId")inletsigningMaterial=(Option.map~f:SigningMaterial.of_xml)(Xml.childxml_arg0"signingMaterial")inletsource=(Option.map~f:Source.of_xml)(Xml.childxml_arg0"source")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"jobId")inmake?jobInvoker?jobOwner?signedObject?revocationRecord?statusReason?status?requestedBy?signatureExpiresAt?completedAt?createdAt?signingParameters?overrides?profileVersion?profileName?platformDisplayName?platformId?signingMaterial?source?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobInvoker=field_mapjson__"jobInvoker"AccountId.of_jsoninletjobOwner=field_mapjson__"jobOwner"AccountId.of_jsoninletsignedObject=field_mapjson__"signedObject"SignedObject.of_jsoninletrevocationRecord=field_mapjson__"revocationRecord"SigningJobRevocationRecord.of_jsoninletstatusReason=field_mapjson__"statusReason"StatusReason.of_jsoninletstatus=field_mapjson__"status"SigningStatus.of_jsoninletrequestedBy=field_mapjson__"requestedBy"RequestedBy.of_jsoninletsignatureExpiresAt=field_mapjson__"signatureExpiresAt"Timestamp.of_jsoninletcompletedAt=field_mapjson__"completedAt"Timestamp.of_jsoninletcreatedAt=field_mapjson__"createdAt"Timestamp.of_jsoninletsigningParameters=field_mapjson__"signingParameters"SigningParameters.of_jsoninletoverrides=field_mapjson__"overrides"SigningPlatformOverrides.of_jsoninletprofileVersion=field_mapjson__"profileVersion"ProfileVersion.of_jsoninletprofileName=field_mapjson__"profileName"ProfileName.of_jsoninletplatformDisplayName=field_mapjson__"platformDisplayName"DisplayName.of_jsoninletplatformId=field_mapjson__"platformId"PlatformId.of_jsoninletsigningMaterial=field_mapjson__"signingMaterial"SigningMaterial.of_jsoninletsource=field_mapjson__"source"Source.of_jsoninletjobId=field_mapjson__"jobId"JobId.of_jsoninmake?jobInvoker?jobOwner?signedObject?revocationRecord?statusReason?status?requestedBy?signatureExpiresAt?completedAt?createdAt?signingParameters?overrides?profileVersion?profileName?platformDisplayName?platformId?signingMaterial?source?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation."]moduleDescribeSigningJobRequest=structtypenonrect={jobId:JobId.t[@ocaml.doc"The ID of the signing job on input."]}letcontext_="DescribeSigningJobRequest"letmake~jobId=fun()->{jobId}letto_valuex=structure_to_value[("jobId",(Some(JobId.to_valuex.jobId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"jobId")inmake~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_map_exnjson__"jobId"JobId.of_jsoninmake~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation."]moduleCancelSigningProfileRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"The name of the signing profile to be canceled."]}letcontext_="CancelSigningProfileRequest"letmake~profileName=fun()->{profileName}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the state of an ACTIVE signing profile to CANCELED. A canceled profile is still viewable with the ListSigningProfiles operation, but it cannot perform new signing jobs. See Data Retention for more information on scheduled deletion of a canceled signing profile."]moduleAddProfilePermissionResponse=structtypenonrect={revisionId:String_.toption[@ocaml.doc"A unique identifier for the current profile revision."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceLimitExceededExceptionofServiceLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?revisionId=fun()->{revisionId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceLimitExceededException"->`ServiceLimitExceededException(ServiceLimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceLimitExceededException"->`ServiceLimitExceededException(ServiceLimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceLimitExceededExceptione->`Assoc[("error",(`String"ServiceLimitExceededException"));("details",(ServiceLimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("revisionId",(Option.mapx.revisionId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevisionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"revisionId")inmake?revisionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevisionId=field_mapjson__"revisionId"String_.of_jsoninmake?revisionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds cross-account permissions to a signing profile."]moduleAddProfilePermissionRequest=structtypenonrect={profileName:ProfileName.t[@ocaml.doc"The human-readable name of the signing profile."];profileVersion:ProfileVersion.toption[@ocaml.doc"The version of the signing profile."];action:String_.t[@ocaml.doc"For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide. You can designate the following actions to an account. signer:StartSigningJob. This action isn't supported for container image workflows. For details, see StartSigningJob. signer:SignPayload. This action isn't supported for AWS Lambda workflows. For details, see SignPayload signer:GetSigningProfile. For details, see GetSigningProfile. signer:RevokeSignature. For details, see RevokeSignature."];principal:String_.t[@ocaml.doc"The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID."];revisionId:String_.toption[@ocaml.doc"A unique identifier for the current profile revision."];statementId:String_.t[@ocaml.doc"A unique identifier for the cross-account permission statement."]}letcontext_="AddProfilePermissionRequest"letmake?profileVersion=fun?revisionId->fun~profileName->fun~action->fun~principal->fun~statementId->fun()->{profileVersion;revisionId;profileName;action;principal;statementId}letto_valuex=structure_to_value[("profileName",(Some(ProfileName.to_valuex.profileName)));("profileVersion",(Option.mapx.profileVersion~f:ProfileVersion.to_value));("action",(Some(String_.to_valuex.action)));("principal",(Some(String_.to_valuex.principal)));("revisionId",(Option.mapx.revisionId~f:String_.to_value));("statementId",(Some(String_.to_valuex.statementId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatementId=String_.of_xml(Xml.child_exn~context:context_xml_arg0"statementId")inletrevisionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"revisionId")inletprincipal=String_.of_xml(Xml.child_exn~context:context_xml_arg0"principal")inletaction=String_.of_xml(Xml.child_exn~context:context_xml_arg0"action")inletprofileVersion=(Option.map~f:ProfileVersion.of_xml)(Xml.childxml_arg0"profileVersion")inletprofileName=ProfileName.of_xml(Xml.child_exn~context:context_xml_arg0"profileName")inmake~statementId?revisionId~principal~action?profileVersion~profileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatementId=field_map_exnjson__"statementId"String_.of_jsoninletrevisionId=field_mapjson__"revisionId"String_.of_jsoninletprincipal=field_map_exnjson__"principal"String_.of_jsoninletaction=field_map_exnjson__"action"String_.of_jsoninletprofileVersion=field_mapjson__"profileVersion"ProfileVersion.of_jsoninletprofileName=field_map_exnjson__"profileName"ProfileName.of_jsoninmake~statementId?revisionId~principal~action?profileVersion~profileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds cross-account permissions to a signing profile."]