Service.php 370 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479
  1. <?php
  2. namespace Qcloud\Cos;
  3. /**
  4. * @link http://guzzle3.readthedocs.io/webservice-client/guzzle-service-descriptions.html
  5. */
  6. class Service {
  7. public static function getService() {
  8. return array(
  9. 'name' => 'Cos Service',
  10. 'apiVersion' => 'V5',
  11. 'description' => 'Cos V5 API Service',
  12. 'operations' => array(
  13. // 舍弃一个分块上传且删除已上传的分片块
  14. 'AbortMultipartUpload' => array(
  15. 'httpMethod' => 'DELETE',
  16. 'uri' => '/{Bucket}{/Key*}',
  17. 'class' => 'Qcloud\\Cos\\Command',
  18. 'responseClass' => 'AbortMultipartUploadOutput',
  19. 'responseType' => 'model',
  20. 'parameters' => array(
  21. 'Bucket' => array(
  22. 'required' => true,
  23. 'type' => 'string',
  24. 'location' => 'uri'),
  25. 'Key' => array(
  26. 'required' => true,
  27. 'type' => 'string',
  28. 'location' => 'uri',
  29. 'minLength' => 1,
  30. 'filters' => array(
  31. 'Qcloud\\Cos\\Client::explodeKey')),
  32. 'UploadId' => array(
  33. 'required' => true,
  34. 'type' => 'string',
  35. 'location' => 'query',
  36. 'sentAs' => 'uploadId'
  37. )
  38. )
  39. ),
  40. // 创建存储桶(Bucket)
  41. 'CreateBucket' => array(
  42. 'httpMethod' => 'PUT',
  43. 'uri' => '/{Bucket}',
  44. 'class' => 'Qcloud\\Cos\\Command',
  45. 'responseClass' => 'CreateBucketOutput',
  46. 'responseType' => 'model',
  47. 'data' => array(
  48. 'xmlRoot' => array(
  49. 'name' => 'CreateBucketConfiguration')),
  50. 'parameters' => array(
  51. 'ACL' => array(
  52. 'type' => 'string',
  53. 'location' => 'header',
  54. 'sentAs' => 'x-cos-acl'),
  55. 'Bucket' => array(
  56. 'required' => true,
  57. 'type' => 'string',
  58. 'location' => 'uri'
  59. )
  60. )
  61. ),
  62. // 完成整个分块上传
  63. 'CompleteMultipartUpload' => array(
  64. 'httpMethod' => 'POST',
  65. 'uri' => '/{Bucket}{/Key*}',
  66. 'class' => 'Qcloud\\Cos\\Command',
  67. 'responseClass' => 'CompleteMultipartUploadOutput',
  68. 'responseType' => 'model',
  69. 'data' => array(
  70. 'xmlRoot' => array(
  71. 'name' => 'CompleteMultipartUpload'
  72. )
  73. ),
  74. 'parameters' => array(
  75. 'Bucket' => array(
  76. 'required' => true,
  77. 'type' => 'string',
  78. 'location' => 'uri'),
  79. 'Key' => array(
  80. 'required' => true,
  81. 'type' => 'string',
  82. 'location' => 'uri',
  83. 'minLength' => 1,
  84. 'filters' => array(
  85. 'Qcloud\\Cos\\Client::explodeKey'
  86. )
  87. ),
  88. 'Parts' => array(
  89. 'type' => 'array',
  90. 'location' => 'xml',
  91. 'data' => array(
  92. 'xmlFlattened' => true),
  93. 'items' => array(
  94. 'name' => 'CompletedPart',
  95. 'type' => 'object',
  96. 'sentAs' => 'Part',
  97. 'properties' => array(
  98. 'ETag' => array(
  99. 'type' => 'string'
  100. ),
  101. 'PartNumber' => array(
  102. 'type' => 'numeric'
  103. )
  104. )
  105. )
  106. ),
  107. 'UploadId' => array(
  108. 'required' => true,
  109. 'type' => 'string',
  110. 'location' => 'query',
  111. 'sentAs' => 'uploadId',
  112. ),
  113. 'PicOperations' => array(
  114. 'type' => 'string',
  115. 'location' => 'header',
  116. 'sentAs' => 'Pic-Operations',
  117. )
  118. )
  119. ),
  120. // 初始化分块上传
  121. 'CreateMultipartUpload' => array(
  122. 'httpMethod' => 'POST',
  123. 'uri' => '/{Bucket}{/Key*}?uploads',
  124. 'class' => 'Qcloud\\Cos\\Command',
  125. 'responseClass' => 'CreateMultipartUploadOutput',
  126. 'responseType' => 'model',
  127. 'data' => array(
  128. 'xmlRoot' => array(
  129. 'name' => 'CreateMultipartUploadRequest'
  130. )
  131. ),
  132. 'parameters' => array(
  133. 'ACL' => array(
  134. 'type' => 'string',
  135. 'location' => 'header',
  136. 'sentAs' => 'x-cos-acl',
  137. ),
  138. 'Bucket' => array(
  139. 'required' => true,
  140. 'type' => 'string',
  141. 'location' => 'uri',
  142. ),
  143. 'CacheControl' => array(
  144. 'type' => 'string',
  145. 'location' => 'header',
  146. 'sentAs' => 'Cache-Control',
  147. ),
  148. 'ContentDisposition' => array(
  149. 'type' => 'string',
  150. 'location' => 'header',
  151. 'sentAs' => 'Content-Disposition',
  152. ),
  153. 'ContentEncoding' => array(
  154. 'type' => 'string',
  155. 'location' => 'header',
  156. 'sentAs' => 'Content-Encoding',
  157. ),
  158. 'ContentLanguage' => array(
  159. 'type' => 'string',
  160. 'location' => 'header',
  161. 'sentAs' => 'Content-Language',
  162. ),
  163. 'ContentType' => array(
  164. 'type' => 'string',
  165. 'location' => 'header',
  166. 'sentAs' => 'Content-Type',
  167. ),
  168. 'Expires' => array(
  169. 'type' => array(
  170. 'object',
  171. 'string',
  172. 'integer',
  173. ),
  174. 'format' => 'date-time-http',
  175. 'location' => 'header',
  176. ),
  177. 'GrantFullControl' => array(
  178. 'type' => 'string',
  179. 'location' => 'header',
  180. 'sentAs' => 'x-cos-grant-full-control',
  181. ),
  182. 'GrantRead' => array(
  183. 'type' => 'string',
  184. 'location' => 'header',
  185. 'sentAs' => 'x-cos-grant-read',
  186. ),
  187. 'GrantReadACP' => array(
  188. 'type' => 'string',
  189. 'location' => 'header',
  190. 'sentAs' => 'x-cos-grant-read-acp',
  191. ),
  192. 'GrantWriteACP' => array(
  193. 'type' => 'string',
  194. 'location' => 'header',
  195. 'sentAs' => 'x-cos-grant-write-acp',
  196. ),
  197. 'Key' => array(
  198. 'required' => true,
  199. 'type' => 'string',
  200. 'location' => 'uri',
  201. 'minLength' => 1,
  202. 'filters' => array(
  203. 'Qcloud\\Cos\\Client::explodeKey'
  204. )
  205. ),
  206. 'ServerSideEncryption' => array(
  207. 'type' => 'string',
  208. 'location' => 'header',
  209. 'sentAs' => 'x-cos-server-side-encryption',
  210. ),
  211. 'StorageClass' => array(
  212. 'type' => 'string',
  213. 'location' => 'header',
  214. 'sentAs' => 'x-cos-storage-class',
  215. ),
  216. 'WebsiteRedirectLocation' => array(
  217. 'type' => 'string',
  218. 'location' => 'header',
  219. 'sentAs' => 'x-cos-website-redirect-location',
  220. ),
  221. 'SSECustomerAlgorithm' => array(
  222. 'type' => 'string',
  223. 'location' => 'header',
  224. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  225. ),
  226. 'SSECustomerKey' => array(
  227. 'type' => 'string',
  228. 'location' => 'header',
  229. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  230. ),
  231. 'SSECustomerKeyMD5' => array(
  232. 'type' => 'string',
  233. 'location' => 'header',
  234. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  235. ),
  236. 'SSEKMSKeyId' => array(
  237. 'type' => 'string',
  238. 'location' => 'header',
  239. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  240. ),
  241. 'RequestPayer' => array(
  242. 'type' => 'string',
  243. 'location' => 'header',
  244. 'sentAs' => 'x-cos-request-payer',
  245. ),
  246. 'ACP' => array(
  247. 'type' => 'object',
  248. 'additionalProperties' => true,
  249. ),
  250. 'PicOperations' => array(
  251. 'type' => 'string',
  252. 'location' => 'header',
  253. 'sentAs' => 'Pic-Operations',
  254. )
  255. )
  256. ),
  257. // 复制对象
  258. 'CopyObject' => array(
  259. 'httpMethod' => 'PUT',
  260. 'uri' => '/{Bucket}{/Key*}',
  261. 'class' => 'Qcloud\\Cos\\Command',
  262. 'responseClass' => 'CopyObjectOutput',
  263. 'responseType' => 'model',
  264. 'data' => array(
  265. 'xmlRoot' => array(
  266. 'name' => 'CopyObjectRequest',
  267. ),
  268. ),
  269. 'parameters' => array(
  270. 'ACL' => array(
  271. 'type' => 'string',
  272. 'location' => 'header',
  273. 'sentAs' => 'x-cos-acl',
  274. ),
  275. 'Bucket' => array(
  276. 'required' => true,
  277. 'type' => 'string',
  278. 'location' => 'uri',
  279. ),
  280. 'CacheControl' => array(
  281. 'type' => 'string',
  282. 'location' => 'header',
  283. 'sentAs' => 'Cache-Control',
  284. ),
  285. 'ContentDisposition' => array(
  286. 'type' => 'string',
  287. 'location' => 'header',
  288. 'sentAs' => 'Content-Disposition',
  289. ),
  290. 'ContentEncoding' => array(
  291. 'type' => 'string',
  292. 'location' => 'header',
  293. 'sentAs' => 'Content-Encoding',
  294. ),
  295. 'ContentLanguage' => array(
  296. 'type' => 'string',
  297. 'location' => 'header',
  298. 'sentAs' => 'Content-Language',
  299. ),
  300. 'ContentType' => array(
  301. 'type' => 'string',
  302. 'location' => 'header',
  303. 'sentAs' => 'Content-Type',
  304. ),
  305. 'CopySource' => array(
  306. 'required' => true,
  307. 'type' => 'string',
  308. 'location' => 'header',
  309. 'sentAs' => 'x-cos-copy-source',
  310. ),
  311. 'CopySourceIfMatch' => array(
  312. 'type' => 'string',
  313. 'location' => 'header',
  314. 'sentAs' => 'x-cos-copy-source-if-match',
  315. ),
  316. 'CopySourceIfModifiedSince' => array(
  317. 'type' => array(
  318. 'object',
  319. 'string',
  320. 'integer',
  321. ),
  322. 'format' => 'date-time-http',
  323. 'location' => 'header',
  324. 'sentAs' => 'x-cos-copy-source-if-modified-since',
  325. ),
  326. 'CopySourceIfNoneMatch' => array(
  327. 'type' => 'string',
  328. 'location' => 'header',
  329. 'sentAs' => 'x-cos-copy-source-if-none-match',
  330. ),
  331. 'CopySourceIfUnmodifiedSince' => array(
  332. 'type' => array(
  333. 'object',
  334. 'string',
  335. 'integer',
  336. ),
  337. 'format' => 'date-time-http',
  338. 'location' => 'header',
  339. 'sentAs' => 'x-cos-copy-source-if-unmodified-since',
  340. ),
  341. 'Expires' => array(
  342. 'type' => array(
  343. 'object',
  344. 'string',
  345. 'integer',
  346. ),
  347. 'format' => 'date-time-http',
  348. 'location' => 'header',
  349. ),
  350. 'GrantFullControl' => array(
  351. 'type' => 'string',
  352. 'location' => 'header',
  353. 'sentAs' => 'x-cos-grant-full-control',
  354. ),
  355. 'GrantRead' => array(
  356. 'type' => 'string',
  357. 'location' => 'header',
  358. 'sentAs' => 'x-cos-grant-read',
  359. ),
  360. 'GrantReadACP' => array(
  361. 'type' => 'string',
  362. 'location' => 'header',
  363. 'sentAs' => 'x-cos-grant-read-acp',
  364. ),
  365. 'GrantWriteACP' => array(
  366. 'type' => 'string',
  367. 'location' => 'header',
  368. 'sentAs' => 'x-cos-grant-write-acp',
  369. ),
  370. 'Key' => array(
  371. 'required' => true,
  372. 'type' => 'string',
  373. 'location' => 'uri',
  374. 'minLength' => 1,
  375. 'filters' => array(
  376. 'Qcloud\\Cos\\Client::explodeKey')
  377. ),
  378. 'MetadataDirective' => array(
  379. 'type' => 'string',
  380. 'location' => 'header',
  381. 'sentAs' => 'x-cos-metadata-directive',
  382. ),
  383. 'ServerSideEncryption' => array(
  384. 'type' => 'string',
  385. 'location' => 'header',
  386. 'sentAs' => 'x-cos-server-side-encryption',
  387. ),
  388. 'StorageClass' => array(
  389. 'type' => 'string',
  390. 'location' => 'header',
  391. 'sentAs' => 'x-cos-storage-class',
  392. ),
  393. 'WebsiteRedirectLocation' => array(
  394. 'type' => 'string',
  395. 'location' => 'header',
  396. 'sentAs' => 'x-cos-website-redirect-location',
  397. ),
  398. 'SSECustomerAlgorithm' => array(
  399. 'type' => 'string',
  400. 'location' => 'header',
  401. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  402. ),
  403. 'SSECustomerKey' => array(
  404. 'type' => 'string',
  405. 'location' => 'header',
  406. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  407. ),
  408. 'CopySourceSSECustomerAlgorithm' => array(
  409. 'type' => 'string',
  410. 'location' => 'header',
  411. 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-algorithm',
  412. ),
  413. 'CopySourceSSECustomerKey' => array(
  414. 'type' => 'string',
  415. 'location' => 'header',
  416. 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key',
  417. ),
  418. 'CopySourceSSECustomerKeyMD5' => array(
  419. 'type' => 'string',
  420. 'location' => 'header',
  421. 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key-MD5',
  422. ),
  423. 'RequestPayer' => array(
  424. 'type' => 'string',
  425. 'location' => 'header',
  426. 'sentAs' => 'x-cos-request-payer',
  427. ),
  428. 'ACP' => array(
  429. 'type' => 'object',
  430. 'additionalProperties' => true,
  431. )
  432. ),
  433. ),
  434. // 删除存储桶 (Bucket)
  435. 'DeleteBucket' => array(
  436. 'httpMethod' => 'DELETE',
  437. 'uri' => '/{Bucket}',
  438. 'class' => 'Qcloud\\Cos\\Command',
  439. 'responseClass' => 'DeleteBucketOutput',
  440. 'responseType' => 'model',
  441. 'parameters' => array(
  442. 'Bucket' => array(
  443. 'required' => true,
  444. 'type' => 'string',
  445. 'location' => 'uri'
  446. )
  447. )
  448. ),
  449. // 删除跨域访问配置信息
  450. 'DeleteBucketCors' => array(
  451. 'httpMethod' => 'DELETE',
  452. 'uri' => '/{Bucket}?cors',
  453. 'class' => 'Qcloud\\Cos\\Command',
  454. 'responseClass' => 'DeleteBucketCorsOutput',
  455. 'responseType' => 'model',
  456. 'parameters' => array(
  457. 'Bucket' => array(
  458. 'required' => true,
  459. 'type' => 'string',
  460. 'location' => 'uri',
  461. ),
  462. ),
  463. ),
  464. // 删除存储桶标签信息
  465. 'DeleteBucketTagging' => array(
  466. 'httpMethod' => 'DELETE',
  467. 'uri' => '/{Bucket}?tagging',
  468. 'class' => 'Qcloud\\Cos\\Command',
  469. 'responseClass' => 'DeleteBucketTaggingOutput',
  470. 'responseType' => 'model',
  471. 'parameters' => array(
  472. 'Bucket' => array(
  473. 'required' => true,
  474. 'type' => 'string',
  475. 'location' => 'uri',
  476. ),
  477. ),
  478. ),
  479. // 删除存储桶标清单任务
  480. 'DeleteBucketInventory' => array(
  481. 'httpMethod' => 'Delete',
  482. 'uri' => '/{Bucket}?inventory',
  483. 'class' => 'Qcloud\\Cos\\Command',
  484. 'responseClass' => 'DeleteBucketInventoryOutput',
  485. 'responseType' => 'model',
  486. 'parameters' => array(
  487. 'Bucket' => array(
  488. 'required' => true,
  489. 'type' => 'string',
  490. 'location' => 'uri',
  491. ),
  492. 'Id' => array(
  493. 'required' => true,
  494. 'type' => 'string',
  495. 'location' => 'query',
  496. 'sentAs' => 'id',
  497. )
  498. ),
  499. ),
  500. // 删除 COS 上单个对象
  501. 'DeleteObject' => array(
  502. 'httpMethod' => 'DELETE',
  503. 'uri' => '/{Bucket}{/Key*}',
  504. 'class' => 'Qcloud\\Cos\\Command',
  505. 'responseClass' => 'DeleteObjectOutput',
  506. 'responseType' => 'model',
  507. 'parameters' => array(
  508. 'Bucket' => array(
  509. 'required' => true,
  510. 'type' => 'string',
  511. 'location' => 'uri'
  512. ),
  513. 'Key' => array(
  514. 'required' => true,
  515. 'type' => 'string',
  516. 'location' => 'uri',
  517. 'minLength' => 1,
  518. 'filters' => array(
  519. 'Qcloud\\Cos\\Client::explodeKey'
  520. )
  521. ),
  522. 'MFA' => array(
  523. 'type' => 'string',
  524. 'location' => 'header',
  525. 'sentAs' => 'x-cos-mfa',
  526. ),
  527. 'VersionId' => array(
  528. 'type' => 'string',
  529. 'location' => 'query',
  530. 'sentAs' => 'versionId',
  531. ),
  532. 'RequestPayer' => array(
  533. 'type' => 'string',
  534. 'location' => 'header',
  535. 'sentAs' => 'x-cos-request-payer',
  536. )
  537. )
  538. ),
  539. // 批量删除 COS 对象
  540. 'DeleteObjects' => array(
  541. 'httpMethod' => 'POST',
  542. 'uri' => '/{Bucket}?delete',
  543. 'class' => 'Qcloud\\Cos\\Command',
  544. 'responseClass' => 'DeleteObjectsOutput',
  545. 'responseType' => 'model',
  546. 'data' => array(
  547. 'xmlRoot' => array(
  548. 'name' => 'Delete',
  549. ),
  550. 'contentMd5' => true,
  551. ),
  552. 'parameters' => array(
  553. 'Bucket' => array(
  554. 'required' => true,
  555. 'type' => 'string',
  556. 'location' => 'uri',
  557. ),
  558. 'Objects' => array(
  559. 'required' => true,
  560. 'type' => 'array',
  561. 'location' => 'xml',
  562. 'data' => array(
  563. 'xmlFlattened' => true,
  564. ),
  565. 'items' => array(
  566. 'type' => 'object',
  567. 'sentAs' => 'Object',
  568. 'properties' => array(
  569. 'Key' => array(
  570. 'required' => true,
  571. 'type' => 'string',
  572. 'minLength' => 1,
  573. ),
  574. 'VersionId' => array(
  575. 'type' => 'string',
  576. ),
  577. ),
  578. ),
  579. ),
  580. 'Quiet' => array(
  581. 'type' => 'boolean',
  582. 'format' => 'boolean-string',
  583. 'location' => 'xml',
  584. ),
  585. 'MFA' => array(
  586. 'type' => 'string',
  587. 'location' => 'header',
  588. 'sentAs' => 'x-cos-mfa',
  589. ),
  590. 'RequestPayer' => array(
  591. 'type' => 'string',
  592. 'location' => 'header',
  593. 'sentAs' => 'x-cos-request-payer',
  594. )
  595. ),
  596. ),
  597. // 删除存储桶(Bucket)的website
  598. 'DeleteBucketWebsite' => array(
  599. 'httpMethod' => 'DELETE',
  600. 'uri' => '/{Bucket}?website',
  601. 'class' => 'Qcloud\\Cos\\Command',
  602. 'responseClass' => 'DeleteBucketWebsiteOutput',
  603. 'responseType' => 'model',
  604. 'parameters' => array(
  605. 'Bucket' => array(
  606. 'required' => true,
  607. 'type' => 'string',
  608. 'location' => 'uri',
  609. ),
  610. ),
  611. ),
  612. // 删除存储桶(Bucket)的生命周期配置
  613. 'DeleteBucketLifecycle' => array(
  614. 'httpMethod' => 'DELETE',
  615. 'uri' => '/{Bucket}?lifecycle',
  616. 'class' => 'Qcloud\\Cos\\Command',
  617. 'responseClass' => 'DeleteBucketLifecycleOutput',
  618. 'responseType' => 'model',
  619. 'parameters' => array(
  620. 'Bucket' => array(
  621. 'required' => true,
  622. 'type' => 'string',
  623. 'location' => 'uri',
  624. ),
  625. ),
  626. ),
  627. // 删除跨区域复制配置
  628. 'DeleteBucketReplication' => array(
  629. 'httpMethod' => 'DELETE',
  630. 'uri' => '/{Bucket}?replication',
  631. 'class' => 'Qcloud\\Cos\\Command',
  632. 'responseClass' => 'DeleteBucketReplicationOutput',
  633. 'responseType' => 'model',
  634. 'parameters' => array(
  635. 'Bucket' => array(
  636. 'required' => true,
  637. 'type' => 'string',
  638. 'location' => 'uri',
  639. ),
  640. ),
  641. ),
  642. // 配置对象标签
  643. 'PutObjectTagging' => array(
  644. 'httpMethod' => 'PUT',
  645. 'uri' => '/{Bucket}{/Key*}?tagging',
  646. 'class' => 'Qcloud\\Cos\\Command',
  647. 'responseClass' => 'PutObjectTaggingOutput',
  648. 'responseType' => 'model',
  649. 'data' => array(
  650. 'xmlRoot' => array(
  651. 'name' => 'Tagging',
  652. ),
  653. 'contentMd5' => true,
  654. ),
  655. 'parameters' => array(
  656. 'Bucket' => array(
  657. 'required' => true,
  658. 'type' => 'string',
  659. 'location' => 'uri',
  660. ),
  661. 'Key' => array(
  662. 'required' => true,
  663. 'type' => 'string',
  664. 'location' => 'uri',
  665. 'minLength' => 1,
  666. 'filters' => array(
  667. 'Qcloud\\Cos\\Client::explodeKey'
  668. )
  669. ),
  670. 'TagSet' => array(
  671. 'required' => true,
  672. 'type' => 'array',
  673. 'location' => 'xml',
  674. 'items' => array(
  675. 'name' => 'TagRule',
  676. 'type' => 'object',
  677. 'sentAs' => 'Tag',
  678. 'properties' => array(
  679. 'Key' => array(
  680. 'required' => true,
  681. 'type' => 'string',
  682. ),
  683. 'Value' => array(
  684. 'required' => true,
  685. 'type' => 'string',
  686. ),
  687. ),
  688. ),
  689. ),
  690. ),
  691. ),
  692. // 获取对象标签信息
  693. 'GetObjectTagging' => array(
  694. 'httpMethod' => 'GET',
  695. 'uri' => '/{Bucket}{/Key*}?tagging',
  696. 'class' => 'Qcloud\\Cos\\Command',
  697. 'responseClass' => 'GetObjectTaggingOutput',
  698. 'responseType' => 'model',
  699. 'parameters' => array(
  700. 'Bucket' => array(
  701. 'required' => true,
  702. 'type' => 'string',
  703. 'location' => 'uri',
  704. ),
  705. 'Key' => array(
  706. 'required' => true,
  707. 'type' => 'string',
  708. 'location' => 'uri',
  709. 'minLength' => 1,
  710. 'filters' => array(
  711. 'Qcloud\\Cos\\Client::explodeKey'
  712. )
  713. )
  714. ),
  715. ),
  716. // 删除对象标签
  717. 'DeleteObjectTagging' => array(
  718. 'httpMethod' => 'DELETE',
  719. 'uri' => '/{Bucket}{/Key*}?tagging',
  720. 'class' => 'Qcloud\\Cos\\Command',
  721. 'responseClass' => 'DeleteObjectTaggingOutput',
  722. 'responseType' => 'model',
  723. 'parameters' => array(
  724. 'Bucket' => array(
  725. 'required' => true,
  726. 'type' => 'string',
  727. 'location' => 'uri'
  728. ),
  729. 'Key' => array(
  730. 'required' => true,
  731. 'type' => 'string',
  732. 'location' => 'uri',
  733. 'minLength' => 1,
  734. 'filters' => array(
  735. 'Qcloud\\Cos\\Client::explodeKey'
  736. )
  737. )
  738. )
  739. ),
  740. // 下载对象
  741. 'GetObject' => array(
  742. 'httpMethod' => 'GET',
  743. 'uri' => '/{Bucket}{/Key*}',
  744. 'class' => 'Qcloud\\Cos\\Command',
  745. 'responseClass' => 'GetObjectOutput',
  746. 'responseType' => 'model',
  747. 'parameters' => array(
  748. 'Bucket' => array(
  749. 'required' => true,
  750. 'type' => 'string',
  751. 'location' => 'uri'
  752. ),
  753. 'IfMatch' => array(
  754. 'type' => 'string',
  755. 'location' => 'header',
  756. 'sentAs' => 'If-Match'
  757. ),
  758. 'IfModifiedSince' => array(
  759. 'type' => array(
  760. 'object',
  761. 'string',
  762. 'integer'
  763. ),
  764. 'format' => 'date-time-http',
  765. 'location' => 'header',
  766. 'sentAs' => 'If-Modified-Since'
  767. ),
  768. 'IfNoneMatch' => array(
  769. 'type' => 'string',
  770. 'location' => 'header',
  771. 'sentAs' => 'If-None-Match'
  772. ),
  773. 'IfUnmodifiedSince' => array(
  774. 'type' => array(
  775. 'object',
  776. 'string',
  777. 'integer'
  778. ),
  779. 'format' => 'date-time-http',
  780. 'location' => 'header',
  781. 'sentAs' => 'If-Unmodified-Since'
  782. ),
  783. 'Key' => array(
  784. 'required' => true,
  785. 'type' => 'string',
  786. 'location' => 'uri',
  787. 'minLength' => 1,
  788. 'filters' => array(
  789. 'Qcloud\\Cos\\Client::explodeKey'
  790. )
  791. ),
  792. 'Range' => array(
  793. 'type' => 'string',
  794. 'location' => 'header'),
  795. 'ResponseCacheControl' => array(
  796. 'type' => 'string',
  797. 'location' => 'query',
  798. 'sentAs' => 'response-cache-control'
  799. ),
  800. 'ResponseContentDisposition' => array(
  801. 'type' => 'string',
  802. 'location' => 'query',
  803. 'sentAs' => 'response-content-disposition'
  804. ),
  805. 'ResponseContentEncoding' => array(
  806. 'type' => 'string',
  807. 'location' => 'query',
  808. 'sentAs' => 'response-content-encoding'
  809. ),
  810. 'ResponseContentLanguage' => array(
  811. 'type' => 'string',
  812. 'location' => 'query',
  813. 'sentAs' => 'response-content-language'
  814. ),
  815. 'ResponseContentType' => array(
  816. 'type' => 'string',
  817. 'location' => 'query',
  818. 'sentAs' => 'response-content-type'
  819. ),
  820. 'ResponseExpires' => array(
  821. 'type' => array(
  822. 'object',
  823. 'string',
  824. 'integer'
  825. ),
  826. 'format' => 'date-time-http',
  827. 'location' => 'query',
  828. 'sentAs' => 'response-expires'
  829. ),
  830. 'VersionId' => array(
  831. 'type' => 'string',
  832. 'location' => 'query',
  833. 'sentAs' => 'versionId',
  834. ),
  835. 'SSECustomerAlgorithm' => array(
  836. 'type' => 'string',
  837. 'location' => 'header',
  838. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  839. ),
  840. 'SSECustomerKey' => array(
  841. 'type' => 'string',
  842. 'location' => 'header',
  843. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  844. ),
  845. 'SSECustomerKeyMD5' => array(
  846. 'type' => 'string',
  847. 'location' => 'header',
  848. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  849. ),
  850. 'TrafficLimit' => array(
  851. 'type' => 'integer',
  852. 'location' => 'header',
  853. 'sentAs' => 'x-cos-traffic-limit',
  854. )
  855. )
  856. ),
  857. // 获取 COS 对象的访问权限信息(Access Control List, ACL)
  858. 'GetObjectAcl' => array(
  859. 'httpMethod' => 'GET',
  860. 'uri' => '/{Bucket}{/Key*}?acl',
  861. 'class' => 'Qcloud\\Cos\\Command',
  862. 'responseClass' => 'GetObjectAclOutput',
  863. 'responseType' => 'model',
  864. 'parameters' => array(
  865. 'Bucket' => array(
  866. 'required' => true,
  867. 'type' => 'string',
  868. 'location' => 'uri',
  869. ),
  870. 'Key' => array(
  871. 'required' => true,
  872. 'type' => 'string',
  873. 'location' => 'uri',
  874. 'minLength' => 1,
  875. 'filters' => array(
  876. 'Qcloud\\Cos\\Client::explodeKey')
  877. ),
  878. 'VersionId' => array(
  879. 'type' => 'string',
  880. 'location' => 'query',
  881. 'sentAs' => 'versionId',
  882. ),
  883. 'RequestPayer' => array(
  884. 'type' => 'string',
  885. 'location' => 'header',
  886. 'sentAs' => 'x-cos-request-payer',
  887. )
  888. )
  889. ),
  890. // 获取存储桶(Bucket)的访问权限信息(Access Control List, ACL)
  891. 'GetBucketAcl' => array(
  892. 'httpMethod' => 'GET',
  893. 'uri' => '/{Bucket}?acl',
  894. 'class' => 'Qcloud\\Cos\\Command',
  895. 'responseClass' => 'GetBucketAclOutput',
  896. 'responseType' => 'model',
  897. 'parameters' => array(
  898. 'Bucket' => array(
  899. 'required' => true,
  900. 'type' => 'string',
  901. 'location' => 'uri'
  902. )
  903. )
  904. ),
  905. // 查询存储桶(Bucket)跨域访问配置信息
  906. 'GetBucketCors' => array(
  907. 'httpMethod' => 'GET',
  908. 'uri' => '/{Bucket}?cors',
  909. 'class' => 'Qcloud\\Cos\\Command',
  910. 'responseClass' => 'GetBucketCorsOutput',
  911. 'responseType' => 'model',
  912. 'parameters' => array(
  913. 'Bucket' => array(
  914. 'required' => true,
  915. 'type' => 'string',
  916. 'location' => 'uri',
  917. )
  918. ),
  919. ),
  920. // 查询存储桶(Bucket)Domain配置信息
  921. 'GetBucketDomain' => array(
  922. 'httpMethod' => 'GET',
  923. 'uri' => '/{Bucket}?domain',
  924. 'class' => 'Qcloud\\Cos\\Command',
  925. 'responseClass' => 'GetBucketDomainOutput',
  926. 'responseType' => 'model',
  927. 'parameters' => array(
  928. 'Bucket' => array(
  929. 'required' => true,
  930. 'type' => 'string',
  931. 'location' => 'uri',
  932. )
  933. ),
  934. ),
  935. // 查询存储桶(Bucket)Accelerate配置信息
  936. 'GetBucketAccelerate' => array(
  937. 'httpMethod' => 'GET',
  938. 'uri' => '/{Bucket}?accelerate',
  939. 'class' => 'Qcloud\\Cos\\Command',
  940. 'responseClass' => 'GetBucketAccelerateOutput',
  941. 'responseType' => 'model',
  942. 'parameters' => array(
  943. 'Bucket' => array(
  944. 'required' => true,
  945. 'type' => 'string',
  946. 'location' => 'uri',
  947. )
  948. ),
  949. ),
  950. // 查询存储桶(Bucket)Website配置信息
  951. 'GetBucketWebsite' => array(
  952. 'httpMethod' => 'GET',
  953. 'uri' => '/{Bucket}?website',
  954. 'class' => 'Qcloud\\Cos\\Command',
  955. 'responseClass' => 'GetBucketWebsiteOutput',
  956. 'responseType' => 'model',
  957. 'parameters' => array(
  958. 'Bucket' => array(
  959. 'required' => true,
  960. 'type' => 'string',
  961. 'location' => 'uri',
  962. )
  963. ),
  964. ),
  965. // 查询存储桶(Bucket)的生命周期配置
  966. 'GetBucketLifecycle' => array(
  967. 'httpMethod' => 'GET',
  968. 'uri' => '/{Bucket}?lifecycle',
  969. 'class' => 'Qcloud\\Cos\\Command',
  970. 'responseClass' => 'GetBucketLifecycleOutput',
  971. 'responseType' => 'model',
  972. 'parameters' => array(
  973. 'Bucket' => array(
  974. 'required' => true,
  975. 'type' => 'string',
  976. 'location' => 'uri',
  977. )
  978. ),
  979. ),
  980. // 获取存储桶(Bucket)版本控制信息
  981. 'GetBucketVersioning' => array(
  982. 'httpMethod' => 'GET',
  983. 'uri' => '/{Bucket}?versioning',
  984. 'class' => 'Qcloud\\Cos\\Command',
  985. 'responseClass' => 'GetBucketVersioningOutput',
  986. 'responseType' => 'model',
  987. 'parameters' => array(
  988. 'Bucket' => array(
  989. 'required' => true,
  990. 'type' => 'string',
  991. 'location' => 'uri',
  992. )
  993. ),
  994. ),
  995. // 获取存储桶(Bucket)跨区域复制配置信息
  996. 'GetBucketReplication' => array(
  997. 'httpMethod' => 'GET',
  998. 'uri' => '/{Bucket}?replication',
  999. 'class' => 'Qcloud\\Cos\\Command',
  1000. 'responseClass' => 'GetBucketReplicationOutput',
  1001. 'responseType' => 'model',
  1002. 'parameters' => array(
  1003. 'Bucket' => array(
  1004. 'required' => true,
  1005. 'type' => 'string',
  1006. 'location' => 'uri',
  1007. )
  1008. ),
  1009. ),
  1010. // 获取存储桶(Bucket)所在的地域信息
  1011. 'GetBucketLocation' => array(
  1012. 'httpMethod' => 'GET',
  1013. 'uri' => '/{Bucket}?location',
  1014. 'class' => 'Qcloud\\Cos\\Command',
  1015. 'responseClass' => 'GetBucketLocationOutput',
  1016. 'responseType' => 'model',
  1017. 'parameters' => array(
  1018. 'Bucket' => array(
  1019. 'required' => true,
  1020. 'type' => 'string',
  1021. 'location' => 'uri',
  1022. ),
  1023. ),
  1024. ),
  1025. // 获取存储桶(Bucket)Notification信息
  1026. 'GetBucketNotification' => array(
  1027. 'httpMethod' => 'GET',
  1028. 'uri' => '/{Bucket}?notification',
  1029. 'class' => 'Qcloud\\Cos\\Command',
  1030. 'responseClass' => 'GetBucketNotificationOutput',
  1031. 'responseType' => 'model',
  1032. 'parameters' => array(
  1033. 'Bucket' => array(
  1034. 'required' => true,
  1035. 'type' => 'string',
  1036. 'location' => 'uri',
  1037. )
  1038. ),
  1039. ),
  1040. // 获取存储桶(Bucket)日志信息
  1041. 'GetBucketLogging' => array(
  1042. 'httpMethod' => 'GET',
  1043. 'uri' => '/{Bucket}?logging',
  1044. 'class' => 'Qcloud\\Cos\\Command',
  1045. 'responseClass' => 'GetBucketLoggingOutput',
  1046. 'responseType' => 'model',
  1047. 'parameters' => array(
  1048. 'Bucket' => array(
  1049. 'required' => true,
  1050. 'type' => 'string',
  1051. 'location' => 'uri',
  1052. )
  1053. ),
  1054. ),
  1055. // 获取存储桶(Bucket)清单信息
  1056. 'GetBucketInventory' => array(
  1057. 'httpMethod' => 'GET',
  1058. 'uri' => '/{Bucket}?inventory',
  1059. 'class' => 'Qcloud\\Cos\\Command',
  1060. 'responseClass' => 'GetBucketInventoryOutput',
  1061. 'responseType' => 'model',
  1062. 'parameters' => array(
  1063. 'Bucket' => array(
  1064. 'required' => true,
  1065. 'type' => 'string',
  1066. 'location' => 'uri',
  1067. ),
  1068. 'Id' => array(
  1069. 'required' => true,
  1070. 'type' => 'string',
  1071. 'location' => 'query',
  1072. 'sentAs' => 'id',
  1073. )
  1074. ),
  1075. ),
  1076. // 获取存储桶(Bucket)标签信息
  1077. 'GetBucketTagging' => array(
  1078. 'httpMethod' => 'GET',
  1079. 'uri' => '/{Bucket}?tagging',
  1080. 'class' => 'Qcloud\\Cos\\Command',
  1081. 'responseClass' => 'GetBucketTaggingOutput',
  1082. 'responseType' => 'model',
  1083. 'parameters' => array(
  1084. 'Bucket' => array(
  1085. 'required' => true,
  1086. 'type' => 'string',
  1087. 'location' => 'uri',
  1088. )
  1089. ),
  1090. ),
  1091. // 分块上传
  1092. 'UploadPart' => array(
  1093. 'httpMethod' => 'PUT',
  1094. 'uri' => '/{Bucket}{/Key*}',
  1095. 'class' => 'Qcloud\\Cos\\Command',
  1096. 'responseClass' => 'UploadPartOutput',
  1097. 'responseType' => 'model',
  1098. 'data' => array(
  1099. 'xmlRoot' => array(
  1100. 'name' => 'UploadPartRequest'
  1101. )
  1102. ),
  1103. 'parameters' => array(
  1104. 'Body' => array(
  1105. 'type' => array(
  1106. 'any'),
  1107. 'location' => 'body'
  1108. ),
  1109. 'Bucket' => array(
  1110. 'required' => true,
  1111. 'type' => 'string',
  1112. 'location' => 'uri'
  1113. ),
  1114. 'ContentLength' => array(
  1115. 'type' => 'numeric',
  1116. 'minimum'=> 0,
  1117. 'location' => 'header',
  1118. 'sentAs' => 'Content-Length'
  1119. ),
  1120. 'ContentMD5' => array(
  1121. 'type' => array(
  1122. 'boolean'
  1123. ),
  1124. 'location' => 'header',
  1125. 'sentAs' => 'Content-MD5'
  1126. ),
  1127. 'Key' => array(
  1128. 'required' => true,
  1129. 'type' => 'string',
  1130. 'location' => 'uri',
  1131. 'minLength' => 1,
  1132. 'filters' => array(
  1133. 'Qcloud\\Cos\\Client::explodeKey'
  1134. )
  1135. ),
  1136. 'PartNumber' => array(
  1137. 'required' => true,
  1138. 'type' => 'numeric',
  1139. 'location' => 'query',
  1140. 'sentAs' => 'partNumber'),
  1141. 'UploadId' => array(
  1142. 'required' => true,
  1143. 'type' => 'string',
  1144. 'location' => 'query',
  1145. 'sentAs' => 'uploadId'),
  1146. 'ServerSideEncryption' => array(
  1147. 'type' => 'string',
  1148. 'location' => 'header',
  1149. 'sentAs' => 'x-cos-server-side-encryption',
  1150. ),
  1151. 'SSECustomerAlgorithm' => array(
  1152. 'type' => 'string',
  1153. 'location' => 'header',
  1154. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  1155. ),
  1156. 'SSECustomerKey' => array(
  1157. 'type' => 'string',
  1158. 'location' => 'header',
  1159. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  1160. ),
  1161. 'SSECustomerKeyMD5' => array(
  1162. 'type' => 'string',
  1163. 'location' => 'header',
  1164. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  1165. ),
  1166. 'RequestPayer' => array(
  1167. 'type' => 'string',
  1168. 'location' => 'header',
  1169. 'sentAs' => 'x-cos-request-payer',
  1170. ),
  1171. 'TrafficLimit' => array(
  1172. 'type' => 'integer',
  1173. 'location' => 'header',
  1174. 'sentAs' => 'x-cos-traffic-limit',
  1175. )
  1176. )
  1177. ),
  1178. // 上传对象
  1179. 'PutObject' => array(
  1180. 'httpMethod' => 'PUT',
  1181. 'uri' => '/{Bucket}{/Key*}',
  1182. 'class' => 'Qcloud\\Cos\\Command',
  1183. 'responseClass' => 'PutObjectOutput',
  1184. 'responseType' => 'model',
  1185. 'data' => array(
  1186. 'xmlRoot' => array(
  1187. 'name' => 'PutObjectRequest'
  1188. )
  1189. ),
  1190. 'parameters' => array(
  1191. 'ACL' => array(
  1192. 'type' => 'string',
  1193. 'location' => 'header',
  1194. 'sentAs' => 'x-cos-acl'
  1195. ),
  1196. 'Body' => array(
  1197. 'required' => true,
  1198. 'type' => array(
  1199. 'any'
  1200. ),
  1201. 'location' => 'body'
  1202. ),
  1203. 'Bucket' => array(
  1204. 'required' => true,
  1205. 'type' => 'string',
  1206. 'location' => 'uri'
  1207. ),
  1208. 'CacheControl' => array(
  1209. 'type' => 'string',
  1210. 'location' => 'header',
  1211. 'sentAs' => 'Cache-Control'
  1212. ),
  1213. 'ContentDisposition' => array(
  1214. 'type' => 'string',
  1215. 'location' => 'header',
  1216. 'sentAs' => 'Content-Disposition'
  1217. ),
  1218. 'ContentEncoding' => array(
  1219. 'type' => 'string',
  1220. 'location' => 'header',
  1221. 'sentAs' => 'Content-Encoding'
  1222. ),
  1223. 'ContentLanguage' => array(
  1224. 'type' => 'string',
  1225. 'location' => 'header',
  1226. 'sentAs' => 'Content-Language'
  1227. ),
  1228. 'ContentLength' => array(
  1229. 'type' => 'numeric',
  1230. 'minimum'=> 0,
  1231. 'location' => 'header',
  1232. 'sentAs' => 'Content-Length'
  1233. ),
  1234. 'ContentMD5' => array(
  1235. 'type' => array(
  1236. 'boolean'
  1237. ),
  1238. 'location' => 'header',
  1239. 'sentAs' => 'Content-MD5'
  1240. ),
  1241. 'ContentType' => array(
  1242. 'type' => 'string',
  1243. 'location' => 'header',
  1244. 'sentAs' => 'Content-Type'
  1245. ),
  1246. 'Key' => array(
  1247. 'required' => true,
  1248. 'type' => 'string',
  1249. 'location' => 'uri',
  1250. 'minLength' => 1,
  1251. 'filters' => array(
  1252. 'Qcloud\\Cos\\Client::explodeKey'
  1253. )
  1254. ),
  1255. 'ServerSideEncryption' => array(
  1256. 'type' => 'string',
  1257. 'location' => 'header',
  1258. 'sentAs' => 'x-cos-server-side-encryption',
  1259. ),
  1260. 'StorageClass' => array(
  1261. 'type' => 'string',
  1262. 'location' => 'header',
  1263. 'sentAs' => 'x-cos-storage-class',
  1264. ),
  1265. 'WebsiteRedirectLocation' => array(
  1266. 'type' => 'string',
  1267. 'location' => 'header',
  1268. 'sentAs' => 'x-cos-website-redirect-location',
  1269. ),
  1270. 'SSECustomerAlgorithm' => array(
  1271. 'type' => 'string',
  1272. 'location' => 'header',
  1273. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  1274. ),
  1275. 'SSECustomerKey' => array(
  1276. 'type' => 'string',
  1277. 'location' => 'header',
  1278. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  1279. ),
  1280. 'SSECustomerKeyMD5' => array(
  1281. 'type' => 'string',
  1282. 'location' => 'header',
  1283. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  1284. ),
  1285. 'SSEKMSKeyId' => array(
  1286. 'type' => 'string',
  1287. 'location' => 'header',
  1288. 'sentAs' => 'x-cos-server-side-encryption-cos-kms-key-id',
  1289. ),
  1290. 'RequestPayer' => array(
  1291. 'type' => 'string',
  1292. 'location' => 'header',
  1293. 'sentAs' => 'x-cos-request-payer',
  1294. ),
  1295. 'ACP' => array(
  1296. 'type' => 'object',
  1297. 'additionalProperties' => true,
  1298. ),
  1299. 'PicOperations' => array(
  1300. 'type' => 'string',
  1301. 'location' => 'header',
  1302. 'sentAs' => 'Pic-Operations',
  1303. ),
  1304. 'TrafficLimit' => array(
  1305. 'type' => 'integer',
  1306. 'location' => 'header',
  1307. 'sentAs' => 'x-cos-traffic-limit',
  1308. ),
  1309. 'Tagging' => array(
  1310. 'type' => 'string',
  1311. 'location' => 'header',
  1312. 'sentAs' => 'x-cos-tagging',
  1313. ),
  1314. )
  1315. ),
  1316. // 追加对象
  1317. 'AppendObject' => array(
  1318. 'httpMethod' => 'POST',
  1319. 'uri' => '/{Bucket}{/Key*}?append',
  1320. 'class' => 'Qcloud\\Cos\\Command',
  1321. 'responseClass' => 'AppendObjectOutput',
  1322. 'responseType' => 'model',
  1323. 'data' => array(
  1324. 'xmlRoot' => array(
  1325. 'name' => 'AppendObjectRequest'
  1326. )
  1327. ),
  1328. 'parameters' => array(
  1329. 'Position' => array(
  1330. 'type' => 'integer',
  1331. 'required' => true,
  1332. 'location' => 'query',
  1333. 'sentAs' => 'position'
  1334. ),
  1335. 'ACL' => array(
  1336. 'type' => 'string',
  1337. 'location' => 'header',
  1338. 'sentAs' => 'x-cos-acl'
  1339. ),
  1340. 'Body' => array(
  1341. 'required' => true,
  1342. 'type' => array(
  1343. 'any'
  1344. ),
  1345. 'location' => 'body'
  1346. ),
  1347. 'Bucket' => array(
  1348. 'required' => true,
  1349. 'type' => 'string',
  1350. 'location' => 'uri'
  1351. ),
  1352. 'CacheControl' => array(
  1353. 'type' => 'string',
  1354. 'location' => 'header',
  1355. 'sentAs' => 'Cache-Control'
  1356. ),
  1357. 'ContentDisposition' => array(
  1358. 'type' => 'string',
  1359. 'location' => 'header',
  1360. 'sentAs' => 'Content-Disposition'
  1361. ),
  1362. 'ContentEncoding' => array(
  1363. 'type' => 'string',
  1364. 'location' => 'header',
  1365. 'sentAs' => 'Content-Encoding'
  1366. ),
  1367. 'ContentLanguage' => array(
  1368. 'type' => 'string',
  1369. 'location' => 'header',
  1370. 'sentAs' => 'Content-Language'
  1371. ),
  1372. 'ContentLength' => array(
  1373. 'type' => 'numeric',
  1374. 'minimum'=> 0,
  1375. 'location' => 'header',
  1376. 'sentAs' => 'Content-Length'
  1377. ),
  1378. 'ContentMD5' => array(
  1379. 'type' => array(
  1380. 'boolean'
  1381. ),
  1382. 'location' => 'header',
  1383. 'sentAs' => 'Content-MD5'
  1384. ),
  1385. 'ContentType' => array(
  1386. 'type' => 'string',
  1387. 'location' => 'header',
  1388. 'sentAs' => 'Content-Type'
  1389. ),
  1390. 'Key' => array(
  1391. 'required' => true,
  1392. 'type' => 'string',
  1393. 'location' => 'uri',
  1394. 'minLength' => 1,
  1395. 'filters' => array(
  1396. 'Qcloud\\Cos\\Client::explodeKey'
  1397. )
  1398. ),
  1399. 'ServerSideEncryption' => array(
  1400. 'type' => 'string',
  1401. 'location' => 'header',
  1402. 'sentAs' => 'x-cos-server-side-encryption',
  1403. ),
  1404. 'StorageClass' => array(
  1405. 'type' => 'string',
  1406. 'location' => 'header',
  1407. 'sentAs' => 'x-cos-storage-class',
  1408. ),
  1409. 'WebsiteRedirectLocation' => array(
  1410. 'type' => 'string',
  1411. 'location' => 'header',
  1412. 'sentAs' => 'x-cos-website-redirect-location',
  1413. ),
  1414. 'SSECustomerAlgorithm' => array(
  1415. 'type' => 'string',
  1416. 'location' => 'header',
  1417. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  1418. ),
  1419. 'SSECustomerKey' => array(
  1420. 'type' => 'string',
  1421. 'location' => 'header',
  1422. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  1423. ),
  1424. 'SSECustomerKeyMD5' => array(
  1425. 'type' => 'string',
  1426. 'location' => 'header',
  1427. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  1428. ),
  1429. 'SSEKMSKeyId' => array(
  1430. 'type' => 'string',
  1431. 'location' => 'header',
  1432. 'sentAs' => 'x-cos-server-side-encryption-cos-kms-key-id',
  1433. ),
  1434. 'RequestPayer' => array(
  1435. 'type' => 'string',
  1436. 'location' => 'header',
  1437. 'sentAs' => 'x-cos-request-payer',
  1438. ),
  1439. 'ACP' => array(
  1440. 'type' => 'object',
  1441. 'additionalProperties' => true,
  1442. ),
  1443. 'PicOperations' => array(
  1444. 'type' => 'string',
  1445. 'location' => 'header',
  1446. 'sentAs' => 'Pic-Operations',
  1447. ),
  1448. 'TrafficLimit' => array(
  1449. 'type' => 'integer',
  1450. 'location' => 'header',
  1451. 'sentAs' => 'x-cos-traffic-limit',
  1452. )
  1453. )
  1454. ),
  1455. // 设置 COS 对象的访问权限信息(Access Control List, ACL)
  1456. 'PutObjectAcl' => array(
  1457. 'httpMethod' => 'PUT',
  1458. 'uri' => '/{Bucket}{/Key*}?acl',
  1459. 'class' => 'Qcloud\\Cos\\Command',
  1460. 'responseClass' => 'PutObjectAclOutput',
  1461. 'responseType' => 'model',
  1462. 'data' => array(
  1463. 'xmlRoot' => array(
  1464. 'name' => 'AccessControlPolicy',
  1465. ),
  1466. ),
  1467. 'parameters' => array(
  1468. 'ACL' => array(
  1469. 'type' => 'string',
  1470. 'location' => 'header',
  1471. 'sentAs' => 'x-cos-acl',
  1472. ),
  1473. 'Grants' => array(
  1474. 'type' => 'array',
  1475. 'location' => 'xml',
  1476. 'sentAs' => 'AccessControlList',
  1477. 'items' => array(
  1478. 'name' => 'Grant',
  1479. 'type' => 'object',
  1480. 'properties' => array(
  1481. 'Grantee' => array(
  1482. 'type' => 'object',
  1483. 'properties' => array(
  1484. 'DisplayName' => array(
  1485. 'type' => 'string'),
  1486. 'ID' => array(
  1487. 'type' => 'string'),
  1488. 'Type' => array(
  1489. 'type' => 'string',
  1490. 'sentAs' => 'xsi:type',
  1491. 'data' => array(
  1492. 'xmlAttribute' => true,
  1493. 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance')),
  1494. 'URI' => array(
  1495. 'type' => 'string') )),
  1496. 'Permission' => array(
  1497. 'type' => 'string',
  1498. ),
  1499. ),
  1500. ),
  1501. ),
  1502. 'Owner' => array(
  1503. 'type' => 'object',
  1504. 'location' => 'xml',
  1505. 'properties' => array(
  1506. 'DisplayName' => array(
  1507. 'type' => 'string',
  1508. ),
  1509. 'ID' => array(
  1510. 'type' => 'string',
  1511. ),
  1512. ),
  1513. ),
  1514. 'Bucket' => array(
  1515. 'required' => true,
  1516. 'type' => 'string',
  1517. 'location' => 'uri',
  1518. ),
  1519. 'GrantFullControl' => array(
  1520. 'type' => 'string',
  1521. 'location' => 'header',
  1522. 'sentAs' => 'x-cos-grant-full-control',
  1523. ),
  1524. 'GrantRead' => array(
  1525. 'type' => 'string',
  1526. 'location' => 'header',
  1527. 'sentAs' => 'x-cos-grant-read',
  1528. ),
  1529. 'GrantReadACP' => array(
  1530. 'type' => 'string',
  1531. 'location' => 'header',
  1532. 'sentAs' => 'x-cos-grant-read-acp',
  1533. ),
  1534. 'GrantWrite' => array(
  1535. 'type' => 'string',
  1536. 'location' => 'header',
  1537. 'sentAs' => 'x-cos-grant-write',
  1538. ),
  1539. 'GrantWriteACP' => array(
  1540. 'type' => 'string',
  1541. 'location' => 'header',
  1542. 'sentAs' => 'x-cos-grant-write-acp',
  1543. ),
  1544. 'Key' => array(
  1545. 'required' => true,
  1546. 'type' => 'string',
  1547. 'location' => 'uri',
  1548. 'minLength' => 1,
  1549. 'filters' => array(
  1550. 'Qcloud\\Cos\\Client::explodeKey')
  1551. ),
  1552. 'RequestPayer' => array(
  1553. 'type' => 'string',
  1554. 'location' => 'header',
  1555. 'sentAs' => 'x-cos-request-payer',
  1556. ),
  1557. 'ACP' => array(
  1558. 'type' => 'object',
  1559. 'additionalProperties' => true,
  1560. ),
  1561. )
  1562. ),
  1563. // 设置存储桶(Bucket)的访问权限(Access Control List, ACL)
  1564. 'PutBucketAcl' => array(
  1565. 'httpMethod' => 'PUT',
  1566. 'uri' => '/{Bucket}?acl',
  1567. 'class' => 'Qcloud\\Cos\\Command',
  1568. 'responseClass' => 'PutBucketAclOutput',
  1569. 'responseType' => 'model',
  1570. 'data' => array(
  1571. 'xmlRoot' => array(
  1572. 'name' => 'AccessControlPolicy',
  1573. ),
  1574. ),
  1575. 'parameters' => array(
  1576. 'ACL' => array(
  1577. 'type' => 'string',
  1578. 'location' => 'header',
  1579. 'sentAs' => 'x-cos-acl',
  1580. ),
  1581. 'Grants' => array(
  1582. 'type' => 'array',
  1583. 'location' => 'xml',
  1584. 'sentAs' => 'AccessControlList',
  1585. 'items' => array(
  1586. 'name' => 'Grant',
  1587. 'type' => 'object',
  1588. 'properties' => array(
  1589. 'Grantee' => array(
  1590. 'type' => 'object',
  1591. 'properties' => array(
  1592. 'DisplayName' => array(
  1593. 'type' => 'string',
  1594. ),
  1595. 'EmailAddress' => array(
  1596. 'type' => 'string',
  1597. ),
  1598. 'ID' => array(
  1599. 'type' => 'string',
  1600. ),
  1601. 'Type' => array(
  1602. 'required' => true,
  1603. 'type' => 'string',
  1604. 'sentAs' => 'xsi:type',
  1605. 'data' => array(
  1606. 'xmlAttribute' => true,
  1607. 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance',
  1608. ),
  1609. ),
  1610. 'URI' => array(
  1611. 'type' => 'string',
  1612. ),
  1613. ),
  1614. ),
  1615. 'Permission' => array(
  1616. 'type' => 'string',
  1617. ),
  1618. ),
  1619. ),
  1620. ),
  1621. 'Owner' => array(
  1622. 'type' => 'object',
  1623. 'location' => 'xml',
  1624. 'properties' => array(
  1625. 'DisplayName' => array(
  1626. 'type' => 'string',
  1627. ),
  1628. 'ID' => array(
  1629. 'type' => 'string',
  1630. ),
  1631. ),
  1632. ),
  1633. 'Bucket' => array(
  1634. 'required' => true,
  1635. 'type' => 'string',
  1636. 'location' => 'uri',
  1637. ),
  1638. 'GrantFullControl' => array(
  1639. 'type' => 'string',
  1640. 'location' => 'header',
  1641. 'sentAs' => 'x-cos-grant-full-control',
  1642. ),
  1643. 'GrantRead' => array(
  1644. 'type' => 'string',
  1645. 'location' => 'header',
  1646. 'sentAs' => 'x-cos-grant-read',
  1647. ),
  1648. 'GrantReadACP' => array(
  1649. 'type' => 'string',
  1650. 'location' => 'header',
  1651. 'sentAs' => 'x-cos-grant-read-acp',
  1652. ),
  1653. 'GrantWrite' => array(
  1654. 'type' => 'string',
  1655. 'location' => 'header',
  1656. 'sentAs' => 'x-cos-grant-write',
  1657. ),
  1658. 'GrantWriteACP' => array(
  1659. 'type' => 'string',
  1660. 'location' => 'header',
  1661. 'sentAs' => 'x-cos-grant-write-acp',
  1662. ),
  1663. 'ACP' => array(
  1664. 'type' => 'object',
  1665. 'additionalProperties' => true,
  1666. ),
  1667. ),
  1668. ),
  1669. // 设置存储桶(Bucket)的跨域配置信息
  1670. 'PutBucketCors' => array(
  1671. 'httpMethod' => 'PUT',
  1672. 'uri' => '/{Bucket}?cors',
  1673. 'class' => 'Qcloud\\Cos\\Command',
  1674. 'responseClass' => 'PutBucketCorsOutput',
  1675. 'responseType' => 'model',
  1676. 'data' => array(
  1677. 'xmlRoot' => array(
  1678. 'name' => 'CORSConfiguration',
  1679. ),
  1680. 'contentMd5' => true,
  1681. ),
  1682. 'parameters' => array(
  1683. 'Bucket' => array(
  1684. 'required' => true,
  1685. 'type' => 'string',
  1686. 'location' => 'uri',
  1687. ),
  1688. 'CORSRules' => array(
  1689. 'required' => true,
  1690. 'type' => 'array',
  1691. 'location' => 'xml',
  1692. 'data' => array(
  1693. 'xmlFlattened' => true,
  1694. ),
  1695. 'items' => array(
  1696. 'name' => 'CORSRule',
  1697. 'type' => 'object',
  1698. 'sentAs' => 'CORSRule',
  1699. 'properties' => array(
  1700. 'ID' => array(
  1701. 'type' => 'string',
  1702. ),
  1703. 'AllowedHeaders' => array(
  1704. 'type' => 'array',
  1705. 'data' => array(
  1706. 'xmlFlattened' => true,
  1707. ),
  1708. 'items' => array(
  1709. 'name' => 'AllowedHeader',
  1710. 'type' => 'string',
  1711. 'sentAs' => 'AllowedHeader',
  1712. ),
  1713. ),
  1714. 'AllowedMethods' => array(
  1715. 'required' => true,
  1716. 'type' => 'array',
  1717. 'data' => array(
  1718. 'xmlFlattened' => true,
  1719. ),
  1720. 'items' => array(
  1721. 'name' => 'AllowedMethod',
  1722. 'type' => 'string',
  1723. 'sentAs' => 'AllowedMethod',
  1724. ),
  1725. ),
  1726. 'AllowedOrigins' => array(
  1727. 'required' => true,
  1728. 'type' => 'array',
  1729. 'data' => array(
  1730. 'xmlFlattened' => true,
  1731. ),
  1732. 'items' => array(
  1733. 'name' => 'AllowedOrigin',
  1734. 'type' => 'string',
  1735. 'sentAs' => 'AllowedOrigin',
  1736. ),
  1737. ),
  1738. 'ExposeHeaders' => array(
  1739. 'type' => 'array',
  1740. 'data' => array(
  1741. 'xmlFlattened' => true,
  1742. ),
  1743. 'items' => array(
  1744. 'name' => 'ExposeHeader',
  1745. 'type' => 'string',
  1746. 'sentAs' => 'ExposeHeader',
  1747. ),
  1748. ),
  1749. 'MaxAgeSeconds' => array(
  1750. 'type' => 'numeric',
  1751. ),
  1752. ),
  1753. ),
  1754. ),
  1755. ),
  1756. ),
  1757. // 设置存储桶(Bucket)的Domain信息
  1758. 'PutBucketDomain' => array(
  1759. 'httpMethod' => 'PUT',
  1760. 'uri' => '/{Bucket}?domain',
  1761. 'class' => 'Qcloud\\Cos\\Command',
  1762. 'responseClass' => 'PutBucketDomainOutput',
  1763. 'responseType' => 'model',
  1764. 'data' => array(
  1765. 'xmlRoot' => array(
  1766. 'name' => 'DomainConfiguration',
  1767. ),
  1768. 'contentMd5' => true,
  1769. ),
  1770. 'parameters' => array(
  1771. 'Bucket' => array(
  1772. 'required' => true,
  1773. 'type' => 'string',
  1774. 'location' => 'uri',
  1775. ),
  1776. 'DomainRules' => array(
  1777. 'required' => true,
  1778. 'type' => 'array',
  1779. 'location' => 'xml',
  1780. 'data' => array(
  1781. 'xmlFlattened' => true,
  1782. ),
  1783. 'items' => array(
  1784. 'name' => 'DomainRule',
  1785. 'type' => 'object',
  1786. 'sentAs' => 'DomainRule',
  1787. 'properties' => array(
  1788. 'Status' => array(
  1789. 'required' => true,
  1790. 'type' => 'string',
  1791. ),
  1792. 'Name' => array(
  1793. 'required' => true,
  1794. 'type' => 'string',
  1795. ),
  1796. 'Type' => array(
  1797. 'required' => true,
  1798. 'type' => 'string',
  1799. ),
  1800. 'ForcedReplacement' => array(
  1801. 'type' => 'string',
  1802. ),
  1803. ),
  1804. ),
  1805. ),
  1806. ),
  1807. ),
  1808. // 设置存储桶(Bucket)生命周期配置
  1809. 'PutBucketLifecycle' => array(
  1810. 'httpMethod' => 'PUT',
  1811. 'uri' => '/{Bucket}?lifecycle',
  1812. 'class' => 'Qcloud\\Cos\\Command',
  1813. 'responseClass' => 'PutBucketLifecycleOutput',
  1814. 'responseType' => 'model',
  1815. 'data' => array(
  1816. 'xmlRoot' => array(
  1817. 'name' => 'LifecycleConfiguration',
  1818. ),
  1819. 'contentMd5' => true,
  1820. ),
  1821. 'parameters' => array(
  1822. 'Bucket' => array(
  1823. 'required' => true,
  1824. 'type' => 'string',
  1825. 'location' => 'uri',
  1826. ),
  1827. 'Rules' => array(
  1828. 'required' => true,
  1829. 'type' => 'array',
  1830. 'location' => 'xml',
  1831. 'data' => array(
  1832. 'xmlFlattened' => true,
  1833. ),
  1834. 'items' => array(
  1835. 'name' => 'Rule',
  1836. 'type' => 'object',
  1837. 'sentAs' => 'Rule',
  1838. 'properties' => array(
  1839. 'Expiration' => array(
  1840. 'type' => 'object',
  1841. 'properties' => array(
  1842. 'Date' => array(
  1843. 'type' => array(
  1844. 'object',
  1845. 'string',
  1846. 'integer',
  1847. ),
  1848. 'format' => 'date-time',
  1849. ),
  1850. 'Days' => array(
  1851. 'type' => 'numeric',
  1852. ),
  1853. ),
  1854. ),
  1855. 'ID' => array(
  1856. 'type' => 'string',
  1857. ),
  1858. 'Filter' => array(
  1859. 'type' => 'object',
  1860. 'require' => true,
  1861. 'properties' => array(
  1862. 'Prefix' => array(
  1863. 'type' => 'string',
  1864. 'require' => true,
  1865. ),
  1866. 'Tag' => array(
  1867. 'type' => 'object',
  1868. 'require' => true,
  1869. 'properties' => array(
  1870. 'Key' => array(
  1871. 'type' => 'string'
  1872. ),
  1873. 'filters' => array(
  1874. 'Qcloud\\Cos\\Client::explodeKey'),
  1875. 'Value' => array(
  1876. 'type' => 'string'
  1877. ),
  1878. )
  1879. )
  1880. ),
  1881. ),
  1882. 'Status' => array(
  1883. 'required' => true,
  1884. 'type' => 'string',
  1885. ),
  1886. 'Transitions' => array(
  1887. 'type' => 'array',
  1888. 'location' => 'xml',
  1889. 'data' => array(
  1890. 'xmlFlattened' => true,
  1891. ),
  1892. 'items' => array(
  1893. 'name' => 'Transition',
  1894. 'type' => 'object',
  1895. 'sentAs' => 'Transition',
  1896. 'properties' => array(
  1897. 'Date' => array(
  1898. 'type' => array(
  1899. 'object',
  1900. 'string',
  1901. 'integer',
  1902. ),
  1903. 'format' => 'date-time',
  1904. ),
  1905. 'Days' => array(
  1906. 'type' => 'numeric',
  1907. ),
  1908. 'StorageClass' => array(
  1909. 'type' => 'string',
  1910. )))),
  1911. 'NoncurrentVersionTransition' => array(
  1912. 'type' => 'object',
  1913. 'properties' => array(
  1914. 'NoncurrentDays' => array(
  1915. 'type' => 'numeric',
  1916. ),
  1917. 'StorageClass' => array(
  1918. 'type' => 'string',
  1919. ),
  1920. ),
  1921. ),
  1922. 'NoncurrentVersionExpiration' => array(
  1923. 'type' => 'object',
  1924. 'properties' => array(
  1925. 'NoncurrentDays' => array(
  1926. 'type' => 'numeric',
  1927. ),
  1928. ),
  1929. ),
  1930. ),
  1931. ),
  1932. ),
  1933. ),
  1934. ),
  1935. // 存储桶(Bucket)版本控制
  1936. 'PutBucketVersioning' => array(
  1937. 'httpMethod' => 'PUT',
  1938. 'uri' => '/{Bucket}?versioning',
  1939. 'class' => 'Qcloud\\Cos\\Command',
  1940. 'responseClass' => 'PutBucketVersioningOutput',
  1941. 'responseType' => 'model',
  1942. 'data' => array(
  1943. 'xmlRoot' => array(
  1944. 'name' => 'VersioningConfiguration',
  1945. ),
  1946. ),
  1947. 'parameters' => array(
  1948. 'Bucket' => array(
  1949. 'required' => true,
  1950. 'type' => 'string',
  1951. 'location' => 'uri',
  1952. ),
  1953. 'MFA' => array(
  1954. 'type' => 'string',
  1955. 'location' => 'header',
  1956. 'sentAs' => 'x-cos-mfa',
  1957. ),
  1958. 'MFADelete' => array(
  1959. 'type' => 'string',
  1960. 'location' => 'xml',
  1961. 'sentAs' => 'MfaDelete',
  1962. ),
  1963. 'Status' => array(
  1964. 'type' => 'string',
  1965. 'location' => 'xml',
  1966. ),
  1967. ),
  1968. ),
  1969. // 配置存储桶(Bucket)Accelerate
  1970. 'PutBucketAccelerate' => array(
  1971. 'httpMethod' => 'PUT',
  1972. 'uri' => '/{Bucket}?accelerate',
  1973. 'class' => 'Qcloud\\Cos\\Command',
  1974. 'responseClass' => 'PutBucketAccelerateOutput',
  1975. 'responseType' => 'model',
  1976. 'data' => array(
  1977. 'xmlRoot' => array(
  1978. 'name' => 'AccelerateConfiguration',
  1979. ),
  1980. 'xmlAllowEmpty' => true,
  1981. ),
  1982. 'parameters' => array(
  1983. 'Bucket' => array(
  1984. 'required' => true,
  1985. 'type' => 'string',
  1986. 'location' => 'uri',
  1987. ),
  1988. 'Status' => array(
  1989. 'required' => true,
  1990. 'type' => 'string',
  1991. 'location' => 'xml',
  1992. )
  1993. ),
  1994. ),
  1995. // 配置存储桶(Bucket)website
  1996. 'PutBucketWebsite' => array(
  1997. 'httpMethod' => 'PUT',
  1998. 'uri' => '/{Bucket}?website',
  1999. 'class' => 'Qcloud\\Cos\\Command',
  2000. 'responseClass' => 'PutBucketWebsiteOutput',
  2001. 'responseType' => 'model',
  2002. 'data' => array(
  2003. 'xmlRoot' => array(
  2004. 'name' => 'WebsiteConfiguration',
  2005. ),
  2006. 'xmlAllowEmpty' => true,
  2007. ),
  2008. 'parameters' => array(
  2009. 'Bucket' => array(
  2010. 'required' => true,
  2011. 'type' => 'string',
  2012. 'location' => 'uri',
  2013. ),
  2014. 'ErrorDocument' => array(
  2015. 'type' => 'object',
  2016. 'location' => 'xml',
  2017. 'properties' => array(
  2018. 'Key' => array(
  2019. 'type' => 'string',
  2020. 'minLength' => 1,
  2021. ),
  2022. ),
  2023. ),
  2024. 'IndexDocument' => array(
  2025. 'required' => true,
  2026. 'type' => 'object',
  2027. 'location' => 'xml',
  2028. 'properties' => array(
  2029. 'Suffix' => array(
  2030. 'required' => true,
  2031. 'type' => 'string',
  2032. ),
  2033. ),
  2034. ),
  2035. 'RedirectAllRequestsTo' => array(
  2036. 'type' => 'object',
  2037. 'location' => 'xml',
  2038. 'properties' => array(
  2039. 'HostName' => array(
  2040. 'type' => 'string',
  2041. ),
  2042. 'Protocol' => array(
  2043. 'type' => 'string',
  2044. ),
  2045. ),
  2046. ),
  2047. 'RoutingRules' => array(
  2048. 'type' => 'array',
  2049. 'location' => 'xml',
  2050. 'items' => array(
  2051. 'name' => 'RoutingRule',
  2052. 'type' => 'object',
  2053. 'properties' => array(
  2054. 'Condition' => array(
  2055. 'type' => 'object',
  2056. 'properties' => array(
  2057. 'HttpErrorCodeReturnedEquals' => array(
  2058. 'type' => 'string',
  2059. ),
  2060. 'KeyPrefixEquals' => array(
  2061. 'type' => 'string',
  2062. ),
  2063. ),
  2064. ),
  2065. 'Redirect' => array(
  2066. 'type' => 'object',
  2067. 'properties' => array(
  2068. 'HostName' => array(
  2069. 'type' => 'string',
  2070. ),
  2071. 'HttpRedirectCode' => array(
  2072. 'type' => 'string',
  2073. ),
  2074. 'Protocol' => array(
  2075. 'type' => 'string',
  2076. ),
  2077. 'ReplaceKeyPrefixWith' => array(
  2078. 'type' => 'string',
  2079. ),
  2080. 'ReplaceKeyWith' => array(
  2081. 'type' => 'string',
  2082. ),
  2083. ),
  2084. ),
  2085. ),
  2086. ),
  2087. ),
  2088. ),
  2089. ),
  2090. // 配置存储桶(Bucket)跨区域复制
  2091. 'PutBucketReplication' => array(
  2092. 'httpMethod' => 'PUT',
  2093. 'uri' => '/{Bucket}?replication',
  2094. 'class' => 'Qcloud\\Cos\\Command',
  2095. 'responseClass' => 'PutBucketReplicationOutput',
  2096. 'responseType' => 'model',
  2097. 'data' => array(
  2098. 'xmlRoot' => array(
  2099. 'name' => 'ReplicationConfiguration',
  2100. ),
  2101. 'contentMd5' => true,
  2102. ),
  2103. 'parameters' => array(
  2104. 'Bucket' => array(
  2105. 'required' => true,
  2106. 'type' => 'string',
  2107. 'location' => 'uri',
  2108. ),
  2109. 'Role' => array(
  2110. 'required' => true,
  2111. 'type' => 'string',
  2112. 'location' => 'xml',
  2113. ),
  2114. 'Rules' => array(
  2115. 'required' => true,
  2116. 'type' => 'array',
  2117. 'location' => 'xml',
  2118. 'data' => array(
  2119. 'xmlFlattened' => true,
  2120. ),
  2121. 'items' => array(
  2122. 'name' => 'ReplicationRule',
  2123. 'type' => 'object',
  2124. 'sentAs' => 'Rule',
  2125. 'properties' => array(
  2126. 'ID' => array(
  2127. 'type' => 'string',
  2128. ),
  2129. 'Prefix' => array(
  2130. 'required' => true,
  2131. 'type' => 'string',
  2132. ),
  2133. 'Status' => array(
  2134. 'required' => true,
  2135. 'type' => 'string',
  2136. ),
  2137. 'Destination' => array(
  2138. 'required' => true,
  2139. 'type' => 'object',
  2140. 'properties' => array(
  2141. 'Bucket' => array(
  2142. 'required' => true,
  2143. 'type' => 'string',
  2144. ),
  2145. 'StorageClass' => array(
  2146. 'type' => 'string',
  2147. ),
  2148. ),
  2149. ),
  2150. ),
  2151. ),
  2152. ),
  2153. ),
  2154. ),
  2155. // 设置存储桶(Bucket)的回调设置
  2156. 'PutBucketNotification' => array(
  2157. 'httpMethod' => 'PUT',
  2158. 'uri' => '/{Bucket}?notification',
  2159. 'class' => 'Qcloud\\Cos\\Command',
  2160. 'responseClass' => 'PutBucketNotificationOutput',
  2161. 'responseType' => 'model',
  2162. 'data' => array(
  2163. 'xmlRoot' => array(
  2164. 'name' => 'NotificationConfiguration',
  2165. ),
  2166. ),
  2167. 'parameters' => array(
  2168. 'Bucket' => array(
  2169. 'required' => true,
  2170. 'type' => 'string',
  2171. 'location' => 'uri',
  2172. ),
  2173. 'CloudFunctionConfigurations' => array(
  2174. 'type' => 'array',
  2175. 'location' => 'xml',
  2176. 'data' => array(
  2177. 'xmlFlattened' => true,
  2178. ),
  2179. 'items' => array(
  2180. 'name' => 'CloudFunctionConfiguration',
  2181. 'type' => 'object',
  2182. 'sentAs' => 'CloudFunctionConfiguration',
  2183. 'properties' => array(
  2184. 'Id' => array(
  2185. 'type' => 'string',
  2186. ),
  2187. 'CloudFunction' => array(
  2188. 'required' => true,
  2189. 'type' => 'string',
  2190. 'sentAs' => 'CloudFunction',
  2191. ),
  2192. 'Events' => array(
  2193. 'required' => true,
  2194. 'type' => 'array',
  2195. 'data' => array(
  2196. 'xmlFlattened' => true,
  2197. ),
  2198. 'items' => array(
  2199. 'name' => 'Event',
  2200. 'type' => 'string',
  2201. 'sentAs' => 'Event',
  2202. ),
  2203. ),
  2204. 'Filter' => array(
  2205. 'type' => 'object',
  2206. 'properties' => array(
  2207. 'Key' => array(
  2208. 'type' => 'object',
  2209. 'sentAs' => 'Key',
  2210. 'properties' => array(
  2211. 'FilterRules' => array(
  2212. 'type' => 'array',
  2213. 'data' => array(
  2214. 'xmlFlattened' => true,
  2215. ),
  2216. 'items' => array(
  2217. 'name' => 'FilterRule',
  2218. 'type' => 'object',
  2219. 'sentAs' => 'FilterRule',
  2220. 'properties' => array(
  2221. 'Name' => array(
  2222. 'type' => 'string',
  2223. ),
  2224. 'Value' => array(
  2225. 'type' => 'string',
  2226. ),
  2227. ),
  2228. ),
  2229. ),
  2230. ),
  2231. ),
  2232. 'filters' => array(
  2233. 'Qcloud\\Cos\\Client::explodeKey')
  2234. ),
  2235. ),
  2236. ),
  2237. ),
  2238. ),
  2239. ),
  2240. ),
  2241. // 配置存储桶(Bucket)标签
  2242. 'PutBucketTagging' => array(
  2243. 'httpMethod' => 'PUT',
  2244. 'uri' => '/{Bucket}?tagging',
  2245. 'class' => 'Qcloud\\Cos\\Command',
  2246. 'responseClass' => 'PutBucketTaggingOutput',
  2247. 'responseType' => 'model',
  2248. 'data' => array(
  2249. 'xmlRoot' => array(
  2250. 'name' => 'Tagging',
  2251. ),
  2252. 'contentMd5' => true,
  2253. ),
  2254. 'parameters' => array(
  2255. 'Bucket' => array(
  2256. 'required' => true,
  2257. 'type' => 'string',
  2258. 'location' => 'uri',
  2259. ),
  2260. 'TagSet' => array(
  2261. 'required' => true,
  2262. 'type' => 'array',
  2263. 'location' => 'xml',
  2264. 'items' => array(
  2265. 'name' => 'TagRule',
  2266. 'type' => 'object',
  2267. 'sentAs' => 'Tag',
  2268. 'properties' => array(
  2269. 'Key' => array(
  2270. 'required' => true,
  2271. 'type' => 'string',
  2272. ),
  2273. 'Value' => array(
  2274. 'required' => true,
  2275. 'type' => 'string',
  2276. ),
  2277. ),
  2278. ),
  2279. ),
  2280. ),
  2281. ),
  2282. //开启存储桶(Bucket)日志服务
  2283. 'PutBucketLogging' => array(
  2284. 'httpMethod' => 'PUT',
  2285. 'uri' => '/{Bucket}?logging',
  2286. 'class' => 'Qcloud\\Cos\\Command',
  2287. 'responseClass' => 'PutBucketLoggingOutput',
  2288. 'responseType' => 'model',
  2289. 'data' => array(
  2290. 'xmlRoot' => array(
  2291. 'name' => 'BucketLoggingStatus',
  2292. ),
  2293. 'contentMd5' => true,
  2294. ),
  2295. 'parameters' => array(
  2296. 'Bucket' => array(
  2297. 'required' => true,
  2298. 'type' => 'string',
  2299. 'location' => 'uri',
  2300. ),
  2301. 'LoggingEnabled' => array(
  2302. 'location' => 'xml',
  2303. 'type' => 'object',
  2304. 'properties' => array(
  2305. 'TargetBucket' => array(
  2306. 'type' => 'string',
  2307. 'location' => 'xml',
  2308. ),
  2309. 'TargetPrefix' => array(
  2310. 'type' => 'string',
  2311. 'location' => 'xml',
  2312. ),
  2313. )
  2314. ),
  2315. ),
  2316. ),
  2317. // 配置存储桶(Bucket)清单
  2318. 'PutBucketInventory' => array(
  2319. 'httpMethod' => 'PUT',
  2320. 'uri' => '/{Bucket}?inventory',
  2321. 'class' => 'Qcloud\\Cos\\Command',
  2322. 'responseClass' => 'PutBucketInventoryOutput',
  2323. 'responseType' => 'model',
  2324. 'data' => array(
  2325. 'xmlRoot' => array(
  2326. 'name' => 'InventoryConfiguration',
  2327. ),
  2328. 'contentMd5' => true,
  2329. ),
  2330. 'parameters' => array(
  2331. 'Bucket' => array(
  2332. 'required' => true,
  2333. 'type' => 'string',
  2334. 'location' => 'uri',
  2335. ),
  2336. 'Id' => array(
  2337. 'required' => true,
  2338. 'type' => 'string',
  2339. 'location' => 'xml',
  2340. ),
  2341. 'IsEnabled' => array(
  2342. 'required' => true,
  2343. 'type' => 'string',
  2344. 'location' => 'xml',
  2345. ),
  2346. 'Destination' => array(
  2347. 'type' => 'object',
  2348. 'location' => 'xml',
  2349. 'properties' => array(
  2350. 'COSBucketDestination'=> array(
  2351. 'type' => 'object',
  2352. 'properties' => array(
  2353. 'Format' => array(
  2354. 'type' => 'string',
  2355. 'require' => true,
  2356. ),
  2357. 'AccountId' => array(
  2358. 'type' => 'string',
  2359. 'require' => true,
  2360. ),
  2361. 'Bucket' => array(
  2362. 'type' => 'string',
  2363. 'require' => true,
  2364. ),
  2365. 'Prefix' => array(
  2366. 'type' => 'string',
  2367. ),
  2368. 'Encryption' => array(
  2369. 'type' => 'object',
  2370. 'properties' => array(
  2371. 'SSE-COS' => array(
  2372. 'type' => 'string',
  2373. ),
  2374. ),
  2375. ),
  2376. ),
  2377. ),
  2378. ),
  2379. ),
  2380. 'Schedule' => array(
  2381. 'required' => true,
  2382. 'type' => 'object',
  2383. 'location' => 'xml',
  2384. 'properties' => array(
  2385. 'Frequency' => array(
  2386. 'type' => 'string',
  2387. 'require' => true,
  2388. ),
  2389. )
  2390. ),
  2391. 'Filter' => array(
  2392. 'type' => 'object',
  2393. 'location' => 'xml',
  2394. 'properties' => array(
  2395. 'Prefix' => array(
  2396. 'type' => 'string',
  2397. ),
  2398. )
  2399. ),
  2400. 'IncludedObjectVersions' => array(
  2401. 'required' => true,
  2402. 'type' => 'string',
  2403. 'location' => 'xml',
  2404. ),
  2405. 'OptionalFields' => array(
  2406. 'type' => 'array',
  2407. 'location' => 'xml',
  2408. 'items' => array(
  2409. 'name' => 'Fields',
  2410. 'type' => 'string',
  2411. 'sentAs' => 'Field',
  2412. ),
  2413. ),
  2414. ),
  2415. ),
  2416. // 回热归档对象
  2417. 'RestoreObject' => array(
  2418. 'httpMethod' => 'POST',
  2419. 'uri' => '/{Bucket}{/Key*}?restore',
  2420. 'class' => 'Qcloud\\Cos\\Command',
  2421. 'responseClass' => 'RestoreObjectOutput',
  2422. 'responseType' => 'model',
  2423. 'data' => array(
  2424. 'xmlRoot' => array(
  2425. 'name' => 'RestoreRequest',
  2426. ),
  2427. ),
  2428. 'parameters' => array(
  2429. 'Bucket' => array(
  2430. 'required' => true,
  2431. 'type' => 'string',
  2432. 'location' => 'uri',
  2433. ),
  2434. 'Key' => array(
  2435. 'required' => true,
  2436. 'type' => 'string',
  2437. 'location' => 'uri',
  2438. 'minLength' => 1,
  2439. 'filters' => array(
  2440. 'Qcloud\\Cos\\Client::explodeKey')
  2441. ),
  2442. 'VersionId' => array(
  2443. 'type' => 'string',
  2444. 'location' => 'query',
  2445. 'sentAs' => 'versionId',
  2446. ),
  2447. 'Days' => array(
  2448. 'required' => true,
  2449. 'type' => 'numeric',
  2450. 'location' => 'xml',
  2451. ),
  2452. 'CASJobParameters' => array(
  2453. 'type' => 'object',
  2454. 'location' => 'xml',
  2455. 'properties' => array(
  2456. 'Tier' => array(
  2457. 'type' => 'string',
  2458. 'required' => true,
  2459. ),
  2460. ),
  2461. ),
  2462. 'RequestPayer' => array(
  2463. 'type' => 'string',
  2464. 'location' => 'header',
  2465. 'sentAs' => 'x-cos-request-payer',
  2466. ),
  2467. ),
  2468. ),
  2469. // 查询存储桶(Bucket)中正在进行中的分块上传对象
  2470. 'ListParts' => array(
  2471. 'httpMethod' => 'GET',
  2472. 'uri' => '/{Bucket}{/Key*}',
  2473. 'class' => 'Qcloud\\Cos\\Command',
  2474. 'responseClass' => 'ListPartsOutput',
  2475. 'responseType' => 'model',
  2476. 'parameters' => array(
  2477. 'Bucket' => array(
  2478. 'required' => true,
  2479. 'type' => 'string',
  2480. 'location' => 'uri'
  2481. ),
  2482. 'Key' => array(
  2483. 'required' => true,
  2484. 'type' => 'string',
  2485. 'location' => 'uri',
  2486. 'minLength' => 1,
  2487. 'filters' => array(
  2488. 'Qcloud\\Cos\\Client::explodeKey'
  2489. )
  2490. ),
  2491. 'MaxParts' => array(
  2492. 'type' => 'numeric',
  2493. 'location' => 'query',
  2494. 'sentAs' => 'max-parts'),
  2495. 'PartNumberMarker' => array(
  2496. 'type' => 'numeric',
  2497. 'location' => 'query',
  2498. 'sentAs' => 'part-number-marker'
  2499. ),
  2500. 'UploadId' => array(
  2501. 'required' => true,
  2502. 'type' => 'string',
  2503. 'location' => 'query',
  2504. 'sentAs' => 'uploadId'
  2505. )
  2506. )
  2507. ),
  2508. // 查询存储桶(Bucket)下的部分或者全部对象
  2509. 'ListObjects' => array(
  2510. 'httpMethod' => 'GET',
  2511. 'uri' => '/{Bucket}',
  2512. 'class' => 'Qcloud\\Cos\\Command',
  2513. 'responseClass' => 'ListObjectsOutput',
  2514. 'responseType' => 'model',
  2515. 'parameters' => array(
  2516. 'Bucket' => array(
  2517. 'required' => true,
  2518. 'type' => 'string',
  2519. 'location' => 'uri'
  2520. ),
  2521. 'Delimiter' => array(
  2522. 'type' => 'string',
  2523. 'location' => 'query',
  2524. 'sentAs' => 'delimiter'
  2525. ),
  2526. 'EncodingType' => array(
  2527. 'type' => 'string',
  2528. 'location' => 'query',
  2529. 'sentAs' => 'encoding-type'
  2530. ),
  2531. 'Marker' => array(
  2532. 'type' => 'string',
  2533. 'location' => 'query',
  2534. 'sentAs' => 'marker'
  2535. ),
  2536. 'MaxKeys' => array(
  2537. 'type' => 'numeric',
  2538. 'location' => 'query',
  2539. 'sentAs' => 'max-keys'
  2540. ),
  2541. 'Prefix' => array(
  2542. 'type' => 'string',
  2543. 'location' => 'query',
  2544. 'sentAs' => 'prefix'
  2545. )
  2546. )
  2547. ),
  2548. // 获取所属账户的所有存储空间列表
  2549. 'ListBuckets' => array(
  2550. 'httpMethod' => 'GET',
  2551. 'uri' => '/',
  2552. 'class' => 'Qcloud\\Cos\\Command',
  2553. 'responseClass' => 'ListBucketsOutput',
  2554. 'responseType' => 'model',
  2555. 'parameters' => array(
  2556. ),
  2557. ),
  2558. // 获取多版本对象
  2559. 'ListObjectVersions' => array(
  2560. 'httpMethod' => 'GET',
  2561. 'uri' => '/{Bucket}?versions',
  2562. 'class' => 'Qcloud\\Cos\\Command',
  2563. 'responseClass' => 'ListObjectVersionsOutput',
  2564. 'responseType' => 'model',
  2565. 'parameters' => array(
  2566. 'Bucket' => array(
  2567. 'required' => true,
  2568. 'type' => 'string',
  2569. 'location' => 'uri',
  2570. ),
  2571. 'Delimiter' => array(
  2572. 'type' => 'string',
  2573. 'location' => 'query',
  2574. 'sentAs' => 'delimiter',
  2575. ),
  2576. 'EncodingType' => array(
  2577. 'type' => 'string',
  2578. 'location' => 'query',
  2579. 'sentAs' => 'encoding-type',
  2580. ),
  2581. 'KeyMarker' => array(
  2582. 'type' => 'string',
  2583. 'location' => 'query',
  2584. 'sentAs' => 'key-marker',
  2585. ),
  2586. 'MaxKeys' => array(
  2587. 'type' => 'numeric',
  2588. 'location' => 'query',
  2589. 'sentAs' => 'max-keys',
  2590. ),
  2591. 'Prefix' => array(
  2592. 'type' => 'string',
  2593. 'location' => 'query',
  2594. 'sentAs' => 'prefix',
  2595. ),
  2596. 'VersionIdMarker' => array(
  2597. 'type' => 'string',
  2598. 'location' => 'query',
  2599. 'sentAs' => 'version-id-marker',
  2600. )
  2601. ),
  2602. ),
  2603. // 获取已上传分块列表
  2604. 'ListMultipartUploads' => array(
  2605. 'httpMethod' => 'GET',
  2606. 'uri' => '/{Bucket}?uploads',
  2607. 'class' => 'Qcloud\\Cos\\Command',
  2608. 'responseClass' => 'ListMultipartUploadsOutput',
  2609. 'responseType' => 'model',
  2610. 'parameters' => array(
  2611. 'Bucket' => array(
  2612. 'required' => true,
  2613. 'type' => 'string',
  2614. 'location' => 'uri',
  2615. ),
  2616. 'Delimiter' => array(
  2617. 'type' => 'string',
  2618. 'location' => 'query',
  2619. 'sentAs' => 'delimiter',
  2620. ),
  2621. 'EncodingType' => array(
  2622. 'type' => 'string',
  2623. 'location' => 'query',
  2624. 'sentAs' => 'encoding-type',
  2625. ),
  2626. 'KeyMarker' => array(
  2627. 'type' => 'string',
  2628. 'location' => 'query',
  2629. 'sentAs' => 'key-marker',
  2630. ),
  2631. 'MaxUploads' => array(
  2632. 'type' => 'numeric',
  2633. 'location' => 'query',
  2634. 'sentAs' => 'max-uploads',
  2635. ),
  2636. 'Prefix' => array(
  2637. 'type' => 'string',
  2638. 'location' => 'query',
  2639. 'sentAs' => 'prefix',
  2640. ),
  2641. 'UploadIdMarker' => array(
  2642. 'type' => 'string',
  2643. 'location' => 'query',
  2644. 'sentAs' => 'upload-id-marker',
  2645. )
  2646. ),
  2647. ),
  2648. // 获取清单列表
  2649. 'ListBucketInventoryConfigurations' => array(
  2650. 'httpMethod' => 'GET',
  2651. 'uri' => '/{Bucket}?inventory',
  2652. 'class' => 'Qcloud\\Cos\\Command',
  2653. 'responseClass' => 'ListBucketInventoryConfigurationsOutput',
  2654. 'responseType' => 'model',
  2655. 'parameters' => array(
  2656. 'Bucket' => array(
  2657. 'required' => true,
  2658. 'type' => 'string',
  2659. 'location' => 'uri'
  2660. ),
  2661. 'ContinuationToken' => array(
  2662. 'type' => 'string',
  2663. 'location' => 'query',
  2664. 'sentAs' => 'continuation-token',
  2665. ),
  2666. ),
  2667. ),
  2668. // 获取对象的meta信息
  2669. 'HeadObject' => array(
  2670. 'httpMethod' => 'HEAD',
  2671. 'uri' => '/{Bucket}{/Key*}',
  2672. 'class' => 'Qcloud\\Cos\\Command',
  2673. 'responseClass' => 'HeadObjectOutput',
  2674. 'responseType' => 'model',
  2675. 'parameters' => array(
  2676. 'Bucket' => array(
  2677. 'required' => true,
  2678. 'type' => 'string',
  2679. 'location' => 'uri',
  2680. ),
  2681. 'IfMatch' => array(
  2682. 'type' => 'string',
  2683. 'location' => 'header',
  2684. 'sentAs' => 'If-Match',
  2685. ),
  2686. 'IfModifiedSince' => array(
  2687. 'type' => array(
  2688. 'object',
  2689. 'string',
  2690. 'integer',
  2691. ),
  2692. 'format' => 'date-time-http',
  2693. 'location' => 'header',
  2694. 'sentAs' => 'If-Modified-Since',
  2695. ),
  2696. 'IfNoneMatch' => array(
  2697. 'type' => 'string',
  2698. 'location' => 'header',
  2699. 'sentAs' => 'If-None-Match',
  2700. ),
  2701. 'IfUnmodifiedSince' => array(
  2702. 'type' => array(
  2703. 'object',
  2704. 'string',
  2705. 'integer',
  2706. ),
  2707. 'format' => 'date-time-http',
  2708. 'location' => 'header',
  2709. 'sentAs' => 'If-Unmodified-Since',
  2710. ),
  2711. 'Key' => array(
  2712. 'required' => true,
  2713. 'type' => 'string',
  2714. 'location' => 'uri',
  2715. 'minLength' => 1,
  2716. 'filters' => array(
  2717. 'Qcloud\\Cos\\Client::explodeKey')
  2718. ),
  2719. 'Range' => array(
  2720. 'type' => 'string',
  2721. 'location' => 'header',
  2722. ),
  2723. 'VersionId' => array(
  2724. 'type' => 'string',
  2725. 'location' => 'query',
  2726. 'sentAs' => 'versionId',
  2727. ),
  2728. 'SSECustomerAlgorithm' => array(
  2729. 'type' => 'string',
  2730. 'location' => 'header',
  2731. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  2732. ),
  2733. 'SSECustomerKey' => array(
  2734. 'type' => 'string',
  2735. 'location' => 'header',
  2736. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  2737. ),
  2738. 'SSECustomerKeyMD5' => array(
  2739. 'type' => 'string',
  2740. 'location' => 'header',
  2741. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  2742. ),
  2743. 'RequestPayer' => array(
  2744. 'type' => 'string',
  2745. 'location' => 'header',
  2746. 'sentAs' => 'x-cos-request-payer',
  2747. ),
  2748. )
  2749. ),
  2750. // 存储桶(Bucket)是否存在
  2751. 'HeadBucket' => array(
  2752. 'httpMethod' => 'HEAD',
  2753. 'uri' => '/{Bucket}',
  2754. 'class' => 'Qcloud\\Cos\\Command',
  2755. 'responseClass' => 'HeadBucketOutput',
  2756. 'responseType' => 'model',
  2757. 'parameters' => array(
  2758. 'Bucket' => array(
  2759. 'required' => true,
  2760. 'type' => 'string',
  2761. 'location' => 'uri',
  2762. ),
  2763. )
  2764. ),
  2765. // 分块copy
  2766. 'UploadPartCopy' => array(
  2767. 'httpMethod' => 'PUT',
  2768. 'uri' => '/{Bucket}{/Key*}',
  2769. 'class' => 'Qcloud\\Cos\\Command',
  2770. 'responseClass' => 'UploadPartCopyOutput',
  2771. 'responseType' => 'model',
  2772. 'data' => array(
  2773. 'xmlRoot' => array(
  2774. 'name' => 'UploadPartCopyRequest',
  2775. ),
  2776. ),
  2777. 'parameters' => array(
  2778. 'Bucket' => array(
  2779. 'required' => true,
  2780. 'type' => 'string',
  2781. 'location' => 'uri',
  2782. ),
  2783. 'CopySource' => array(
  2784. 'required' => true,
  2785. 'type' => 'string',
  2786. 'location' => 'header',
  2787. 'sentAs' => 'x-cos-copy-source',
  2788. ),
  2789. 'CopySourceIfMatch' => array(
  2790. 'type' => 'string',
  2791. 'location' => 'header',
  2792. 'sentAs' => 'x-cos-copy-source-if-match',
  2793. ),
  2794. 'CopySourceIfModifiedSince' => array(
  2795. 'type' => array(
  2796. 'object',
  2797. 'string',
  2798. 'integer',
  2799. ),
  2800. 'format' => 'date-time-http',
  2801. 'location' => 'header',
  2802. 'sentAs' => 'x-cos-copy-source-if-modified-since',
  2803. ),
  2804. 'CopySourceIfNoneMatch' => array(
  2805. 'type' => 'string',
  2806. 'location' => 'header',
  2807. 'sentAs' => 'x-cos-copy-source-if-none-match',
  2808. ),
  2809. 'CopySourceIfUnmodifiedSince' => array(
  2810. 'type' => array(
  2811. 'object',
  2812. 'string',
  2813. 'integer',
  2814. ),
  2815. 'format' => 'date-time-http',
  2816. 'location' => 'header',
  2817. 'sentAs' => 'x-cos-copy-source-if-unmodified-since',
  2818. ),
  2819. 'CopySourceRange' => array(
  2820. 'type' => 'string',
  2821. 'location' => 'header',
  2822. 'sentAs' => 'x-cos-copy-source-range',
  2823. ),
  2824. 'Key' => array(
  2825. 'required' => true,
  2826. 'type' => 'string',
  2827. 'location' => 'uri',
  2828. 'minLength' => 1,
  2829. 'filters' => array(
  2830. 'Qcloud\\Cos\\Client::explodeKey')
  2831. ),
  2832. 'PartNumber' => array(
  2833. 'required' => true,
  2834. 'type' => 'numeric',
  2835. 'location' => 'query',
  2836. 'sentAs' => 'partNumber',
  2837. ),
  2838. 'UploadId' => array(
  2839. 'required' => true,
  2840. 'type' => 'string',
  2841. 'location' => 'query',
  2842. 'sentAs' => 'uploadId',
  2843. ),
  2844. 'SSECustomerAlgorithm' => array(
  2845. 'type' => 'string',
  2846. 'location' => 'header',
  2847. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  2848. ),
  2849. 'SSECustomerKey' => array(
  2850. 'type' => 'string',
  2851. 'location' => 'header',
  2852. 'sentAs' => 'x-cos-server-side-encryption-customer-key',
  2853. ),
  2854. 'SSECustomerKeyMD5' => array(
  2855. 'type' => 'string',
  2856. 'location' => 'header',
  2857. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  2858. ),
  2859. 'CopySourceSSECustomerAlgorithm' => array(
  2860. 'type' => 'string',
  2861. 'location' => 'header',
  2862. 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-algorithm',
  2863. ),
  2864. 'CopySourceSSECustomerKey' => array(
  2865. 'type' => 'string',
  2866. 'location' => 'header',
  2867. 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key',
  2868. ),
  2869. 'CopySourceSSECustomerKeyMD5' => array(
  2870. 'type' => 'string',
  2871. 'location' => 'header',
  2872. 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key-MD5',
  2873. ),
  2874. 'RequestPayer' => array(
  2875. 'type' => 'string',
  2876. 'location' => 'header',
  2877. 'sentAs' => 'x-cos-request-payer',
  2878. )
  2879. ),
  2880. ),
  2881. // 检索对象内容
  2882. 'SelectObjectContent' => array(
  2883. 'httpMethod' => 'Post',
  2884. 'uri' => '/{/Key*}?select&select-type=2',
  2885. 'class' => 'Qcloud\\Cos\\Command',
  2886. 'responseClass' => 'SelectObjectContentOutput',
  2887. 'responseType' => 'model',
  2888. 'data' => array(
  2889. 'xmlRoot' => array(
  2890. 'name' => 'SelectRequest',
  2891. ),
  2892. 'contentMd5' => true,
  2893. ),
  2894. 'parameters' => array(
  2895. 'Bucket' => array(
  2896. 'required' => true,
  2897. 'type' => 'string',
  2898. 'location' => 'uri',
  2899. ),
  2900. 'Key' => array(
  2901. 'required' => true,
  2902. 'type' => 'string',
  2903. 'location' => 'uri',
  2904. 'minLength' => 1,
  2905. 'filters' => array(
  2906. 'Qcloud\\Cos\\Client::explodeKey')
  2907. ),
  2908. 'Expression' => array(
  2909. 'type' => 'string',
  2910. 'location' => 'xml'
  2911. ),
  2912. 'ExpressionType' => array(
  2913. 'type' => 'string',
  2914. 'location' => 'xml'
  2915. ),
  2916. 'InputSerialization' => array(
  2917. 'location' => 'xml',
  2918. 'type' => 'object',
  2919. 'properties' => array(
  2920. 'CompressionType' => array(
  2921. 'type' => 'string',
  2922. 'location' => 'xml',
  2923. ),
  2924. 'CSV' => array(
  2925. 'type' => 'object',
  2926. 'location' => 'xml',
  2927. 'properties' => array(
  2928. 'FileHeaderInfo' => array(
  2929. 'type' => 'string',
  2930. 'location' => 'xml',
  2931. ),
  2932. 'RecordDelimiter' => array(
  2933. 'type' => 'string',
  2934. 'location' => 'xml',
  2935. ),
  2936. 'FieldDelimiter' => array(
  2937. 'type' => 'string',
  2938. 'location' => 'xml',
  2939. ),
  2940. 'QuoteCharacter' => array(
  2941. 'type' => 'string',
  2942. 'location' => 'xml',
  2943. ),
  2944. 'QuoteEscapeCharacter' => array(
  2945. 'type' => 'string',
  2946. 'location' => 'xml',
  2947. ),
  2948. 'Comments' => array(
  2949. 'type' => 'string',
  2950. 'location' => 'xml',
  2951. ),
  2952. 'AllowQuotedRecordDelimiter' => array(
  2953. 'type' => 'string',
  2954. 'location' => 'xml',
  2955. ),
  2956. )
  2957. ),
  2958. 'JSON' => array(
  2959. 'type' => 'object',
  2960. 'location' => 'xml',
  2961. 'properties' => array(
  2962. 'Type' => array(
  2963. 'type' => 'string',
  2964. 'location' => 'xml',
  2965. )
  2966. )
  2967. ),
  2968. )
  2969. ),
  2970. 'OutputSerialization' => array(
  2971. 'location' => 'xml',
  2972. 'type' => 'object',
  2973. 'properties' => array(
  2974. 'CompressionType' => array(
  2975. 'type' => 'string',
  2976. 'location' => 'xml',
  2977. ),
  2978. 'CSV' => array(
  2979. 'type' => 'object',
  2980. 'location' => 'xml',
  2981. 'properties' => array(
  2982. 'QuoteFields' => array(
  2983. 'type' => 'string',
  2984. 'location' => 'xml',
  2985. ),
  2986. 'RecordDelimiter' => array(
  2987. 'type' => 'string',
  2988. 'location' => 'xml',
  2989. ),
  2990. 'FieldDelimiter' => array(
  2991. 'type' => 'string',
  2992. 'location' => 'xml',
  2993. ),
  2994. 'QuoteCharacter' => array(
  2995. 'type' => 'string',
  2996. 'location' => 'xml',
  2997. ),
  2998. 'QuoteEscapeCharacter' => array(
  2999. 'type' => 'string',
  3000. 'location' => 'xml',
  3001. ),
  3002. )
  3003. ),
  3004. 'JSON' => array(
  3005. 'type' => 'object',
  3006. 'location' => 'xml',
  3007. 'properties' => array(
  3008. 'RecordDelimiter' => array(
  3009. 'type' => 'string',
  3010. 'location' => 'xml',
  3011. )
  3012. )
  3013. ),
  3014. )
  3015. ),
  3016. 'RequestProgress' => array(
  3017. 'location' => 'xml',
  3018. 'type' => 'object',
  3019. 'properties' => array(
  3020. 'Enabled' => array(
  3021. 'type' => 'string',
  3022. 'location' => 'xml',
  3023. ),
  3024. )
  3025. ),
  3026. ),
  3027. ),
  3028. // 存储桶(Bucket)开启智能分层
  3029. 'PutBucketIntelligentTiering' => array(
  3030. 'httpMethod' => 'PUT',
  3031. 'uri' => '/{Bucket}?intelligenttiering',
  3032. 'class' => 'Qcloud\\Cos\\Command',
  3033. 'responseClass' => 'PutBucketIntelligentTieringOutput',
  3034. 'responseType' => 'model',
  3035. 'data' => array(
  3036. 'xmlRoot' => array(
  3037. 'name' => 'IntelligentTieringConfiguration',
  3038. ),
  3039. ),
  3040. 'parameters' => array(
  3041. 'Bucket' => array(
  3042. 'required' => true,
  3043. 'type' => 'string',
  3044. 'location' => 'uri',
  3045. ),
  3046. 'Status' => array(
  3047. 'type' => 'string',
  3048. 'location' => 'xml',
  3049. ),
  3050. 'Transition' => array(
  3051. 'location' => 'xml',
  3052. 'type' => 'object',
  3053. 'properties' => array(
  3054. 'Days' => array(
  3055. 'type' => 'integer',
  3056. 'location' => 'xml',
  3057. ),
  3058. 'RequestFrequent' => array(
  3059. 'type' => 'integer',
  3060. 'location' => 'xml',
  3061. ),
  3062. )
  3063. ),
  3064. ),
  3065. ),
  3066. // 查询存储桶(Bucket)智能分层
  3067. 'GetBucketIntelligentTiering' => array(
  3068. 'httpMethod' => 'GET',
  3069. 'uri' => '/{Bucket}?intelligenttiering',
  3070. 'class' => 'Qcloud\\Cos\\Command',
  3071. 'responseClass' => 'GetBucketIntelligentTieringOutput',
  3072. 'responseType' => 'model',
  3073. 'parameters' => array(
  3074. 'Bucket' => array(
  3075. 'required' => true,
  3076. 'type' => 'string',
  3077. 'location' => 'uri',
  3078. ),
  3079. ),
  3080. ),
  3081. //万象-获取图片基本信息
  3082. 'ImageInfo' => array(
  3083. 'httpMethod' => 'GET',
  3084. 'uri' => '/{Bucket}{/Key*}?imageInfo',
  3085. 'class' => 'Qcloud\\Cos\\Command',
  3086. 'responseClass' => 'ImageInfoOutput',
  3087. 'responseType' => 'model',
  3088. 'parameters' => array(
  3089. 'Bucket' => array(
  3090. 'required' => true,
  3091. 'type' => 'string',
  3092. 'location' => 'uri',
  3093. ),
  3094. 'Key' => array(
  3095. 'required' => true,
  3096. 'type' => 'string',
  3097. 'location' => 'uri',
  3098. 'minLength' => 1,
  3099. 'filters' => array(
  3100. 'Qcloud\\Cos\\Client::explodeKey'
  3101. )
  3102. ),
  3103. )
  3104. ),
  3105. //万象-获取图片EXIF信息
  3106. 'ImageExif' => array(
  3107. 'httpMethod' => 'GET',
  3108. 'uri' => '/{Bucket}{/Key*}?exif',
  3109. 'class' => 'Qcloud\\Cos\\Command',
  3110. 'responseClass' => 'ImageExifOutput',
  3111. 'responseType' => 'model',
  3112. 'parameters' => array(
  3113. 'Bucket' => array(
  3114. 'required' => true,
  3115. 'type' => 'string',
  3116. 'location' => 'uri',
  3117. ),
  3118. 'Key' => array(
  3119. 'required' => true,
  3120. 'type' => 'string',
  3121. 'location' => 'uri',
  3122. 'minLength' => 1,
  3123. 'filters' => array(
  3124. 'Qcloud\\Cos\\Client::explodeKey'
  3125. )
  3126. ),
  3127. )
  3128. ),
  3129. //万象-获取图片主色调信息
  3130. 'ImageAve' => array(
  3131. 'httpMethod' => 'GET',
  3132. 'uri' => '/{Bucket}{/Key*}?imageAve',
  3133. 'class' => 'Qcloud\\Cos\\Command',
  3134. 'responseClass' => 'ImageAveOutput',
  3135. 'responseType' => 'model',
  3136. 'parameters' => array(
  3137. 'Bucket' => array(
  3138. 'required' => true,
  3139. 'type' => 'string',
  3140. 'location' => 'uri',
  3141. ),
  3142. 'Key' => array(
  3143. 'required' => true,
  3144. 'type' => 'string',
  3145. 'location' => 'uri',
  3146. 'minLength' => 1,
  3147. 'filters' => array(
  3148. 'Qcloud\\Cos\\Client::explodeKey'
  3149. )
  3150. ),
  3151. ),
  3152. ),
  3153. //万象-云上数据处理
  3154. 'ImageProcess' => array(
  3155. 'httpMethod' => 'POST',
  3156. 'uri' => '/{Bucket}{/Key*}?image_process',
  3157. 'class' => 'Qcloud\\Cos\\Command',
  3158. 'responseClass' => 'ImageProcessOutput',
  3159. 'responseType' => 'model',
  3160. 'parameters' => array(
  3161. 'Bucket' => array(
  3162. 'required' => true,
  3163. 'type' => 'string',
  3164. 'location' => 'uri',
  3165. ),
  3166. 'Key' => array(
  3167. 'required' => true,
  3168. 'type' => 'string',
  3169. 'location' => 'uri',
  3170. 'minLength' => 1,
  3171. 'filters' => array(
  3172. 'Qcloud\\Cos\\Client::explodeKey'
  3173. )
  3174. ),
  3175. 'ContentType' => array(
  3176. 'type' => 'string',
  3177. 'location' => 'header',
  3178. 'sentAs' => 'Content-Type',
  3179. ),
  3180. 'PicOperations' => array(
  3181. 'type' => 'string',
  3182. 'location' => 'header',
  3183. 'sentAs' => 'Pic-Operations',
  3184. ),
  3185. ),
  3186. ),
  3187. //万象-二维码下载时识别
  3188. 'Qrcode' => array(
  3189. 'httpMethod' => 'GET',
  3190. 'uri' => '/{Bucket}{/Key*}?ci-process=QRcode',
  3191. 'class' => 'Qcloud\\Cos\\Command',
  3192. 'responseClass' => 'QrcodeOutput',
  3193. 'responseType' => 'model',
  3194. 'parameters' => array(
  3195. 'Bucket' => array(
  3196. 'required' => true,
  3197. 'type' => 'string',
  3198. 'location' => 'uri',
  3199. ),
  3200. 'Key' => array(
  3201. 'required' => true,
  3202. 'type' => 'string',
  3203. 'location' => 'uri',
  3204. 'minLength' => 1,
  3205. 'filters' => array(
  3206. 'Qcloud\\Cos\\Client::explodeKey'
  3207. )
  3208. ),
  3209. 'Cover' => array(
  3210. 'type' => 'integer',
  3211. 'location' => 'query',
  3212. 'sentAs' => 'cover'
  3213. ),
  3214. ),
  3215. ),
  3216. //万象-二维码生成
  3217. 'QrcodeGenerate' => array(
  3218. 'httpMethod' => 'GET',
  3219. 'uri' => '/{Bucket}?ci-process=qrcode-generate',
  3220. 'class' => 'Qcloud\\Cos\\Command',
  3221. 'responseClass' => 'QrcodeGenerateOutput',
  3222. 'responseType' => 'model',
  3223. 'parameters' => array(
  3224. 'Bucket' => array(
  3225. 'required' => true,
  3226. 'type' => 'string',
  3227. 'location' => 'uri',
  3228. ),
  3229. 'QrcodeContent' => array(
  3230. 'required' => true,
  3231. 'type' => 'string',
  3232. 'location' => 'query',
  3233. 'sentAs' => 'qrcode-content'
  3234. ),
  3235. 'QrcodeMode' => array(
  3236. 'type' => 'integer',
  3237. 'location' => 'query',
  3238. 'sentAs' => 'mode'
  3239. ),
  3240. 'QrcodeWidth' => array(
  3241. 'required' => true,
  3242. 'type' => 'string',
  3243. 'location' => 'query',
  3244. 'sentAs' => 'width'
  3245. ),
  3246. ),
  3247. ),
  3248. //万象-图片标签
  3249. 'DetectLabel' => array(
  3250. 'httpMethod' => 'GET',
  3251. 'uri' => '/{Bucket}{/Key*}?ci-process=detect-label',
  3252. 'class' => 'Qcloud\\Cos\\Command',
  3253. 'responseClass' => 'DetectLabelOutput',
  3254. 'responseType' => 'model',
  3255. 'parameters' => array(
  3256. 'Bucket' => array(
  3257. 'required' => true,
  3258. 'type' => 'string',
  3259. 'location' => 'uri',
  3260. ),
  3261. 'Key' => array(
  3262. 'required' => true,
  3263. 'type' => 'string',
  3264. 'location' => 'uri',
  3265. 'minLength' => 1,
  3266. 'filters' => array(
  3267. 'Qcloud\\Cos\\Client::explodeKey'
  3268. )
  3269. ),
  3270. ),
  3271. ),
  3272. //万象-增加样式
  3273. 'PutBucketImageStyle' => array(
  3274. 'httpMethod' => 'PUT',
  3275. 'uri' => '/{Bucket}?style',
  3276. 'class' => 'Qcloud\\Cos\\Command',
  3277. 'responseClass' => 'PutBucketImageStyleOutput',
  3278. 'responseType' => 'model',
  3279. 'data' => array(
  3280. 'xmlRoot' => array(
  3281. 'name' => 'AddStyle',
  3282. ),
  3283. ),
  3284. 'parameters' => array(
  3285. 'StyleName' => array(
  3286. 'type' => 'string',
  3287. 'location' => 'xml',
  3288. ),
  3289. 'StyleBody' => array(
  3290. 'type' => 'string',
  3291. 'location' => 'xml',
  3292. ),
  3293. 'Bucket' => array(
  3294. 'required' => true,
  3295. 'type' => 'string',
  3296. 'location' => 'uri',
  3297. ),
  3298. ),
  3299. ),
  3300. //万象-查询样式
  3301. 'GetBucketImageStyle' => array(
  3302. 'httpMethod' => 'GET',
  3303. 'uri' => '/{Bucket}?style',
  3304. 'class' => 'Qcloud\\Cos\\Command',
  3305. 'responseClass' => 'GetBucketImageStyleOutput',
  3306. 'responseType' => 'model',
  3307. 'data' => array(
  3308. 'xmlRoot' => array(
  3309. 'name' => 'GetStyle',
  3310. ),
  3311. ),
  3312. 'parameters' => array(
  3313. 'Bucket' => array(
  3314. 'required' => true,
  3315. 'type' => 'string',
  3316. 'location' => 'uri',
  3317. ),
  3318. 'StyleName' => array(
  3319. 'type' => 'string',
  3320. 'location' => 'xml',
  3321. ),
  3322. ),
  3323. ),
  3324. //万象-删除样式
  3325. 'DeleteBucketImageStyle' => array(
  3326. 'httpMethod' => 'Delete',
  3327. 'uri' => '/{Bucket}?style',
  3328. 'class' => 'Qcloud\\Cos\\Command',
  3329. 'responseClass' => 'DeleteBucketImageStyleOutput',
  3330. 'responseType' => 'model',
  3331. 'data' => array(
  3332. 'xmlRoot' => array(
  3333. 'name' => 'DeleteStyle',
  3334. ),
  3335. ),
  3336. 'parameters' => array(
  3337. 'StyleName' => array(
  3338. 'type' => 'string',
  3339. 'location' => 'xml',
  3340. ),
  3341. 'Bucket' => array(
  3342. 'required' => true,
  3343. 'type' => 'string',
  3344. 'location' => 'uri',
  3345. ),
  3346. ),
  3347. ),
  3348. //万象-开通Guetzli压缩
  3349. 'PutBucketGuetzli' => array(
  3350. 'httpMethod' => 'PUT',
  3351. 'uri' => '/{Bucket}?guetzli',
  3352. 'class' => 'Qcloud\\Cos\\Command',
  3353. 'responseClass' => 'PutBucketGuetzliOutput',
  3354. 'responseType' => 'model',
  3355. 'parameters' => array(
  3356. 'Bucket' => array(
  3357. 'required' => true,
  3358. 'type' => 'string',
  3359. 'location' => 'uri',
  3360. ),
  3361. ),
  3362. ),
  3363. //万象-查询Guetzli状态
  3364. 'GetBucketGuetzli' => array(
  3365. 'httpMethod' => 'GET',
  3366. 'uri' => '/{Bucket}?guetzli',
  3367. 'class' => 'Qcloud\\Cos\\Command',
  3368. 'responseClass' => 'GetBucketGuetzliOutput',
  3369. 'responseType' => 'model',
  3370. 'parameters' => array(
  3371. 'Bucket' => array(
  3372. 'required' => true,
  3373. 'type' => 'string',
  3374. 'location' => 'uri',
  3375. ),
  3376. ),
  3377. ),
  3378. //万象-关闭Guetzli压缩
  3379. 'DeleteBucketGuetzli' => array(
  3380. 'httpMethod' => 'Delete',
  3381. 'uri' => '/{Bucket}?guetzli',
  3382. 'class' => 'Qcloud\\Cos\\Command',
  3383. 'responseClass' => 'DeleteBucketGuetzliOutput',
  3384. 'responseType' => 'model',
  3385. 'parameters' => array(
  3386. 'Bucket' => array(
  3387. 'required' => true,
  3388. 'type' => 'string',
  3389. 'location' => 'uri',
  3390. ),
  3391. ),
  3392. ),
  3393. //图片审核
  3394. 'GetObjectSensitiveContentRecognition' => array(
  3395. 'httpMethod' => 'GET',
  3396. 'uri' => '/{Bucket}{/Key*}',
  3397. 'class' => 'Qcloud\\Cos\\Command',
  3398. 'responseClass' => 'GetObjectSensitiveContentRecognitionOutput',
  3399. 'responseType' => 'model',
  3400. 'parameters' => array(
  3401. 'Bucket' => array(
  3402. 'required' => true,
  3403. 'type' => 'string',
  3404. 'location' => 'uri',
  3405. ),
  3406. 'ci-process' => array(
  3407. 'required' => true,
  3408. 'type' => 'string',
  3409. 'location' => 'query'
  3410. ),
  3411. 'Key' => array(
  3412. 'required' => true,
  3413. 'type' => 'string',
  3414. 'location' => 'uri',
  3415. 'minLength' => 1,
  3416. 'filters' => array(
  3417. 'Qcloud\\Cos\\Client::explodeKey'
  3418. )
  3419. ),
  3420. 'DetectType' => array(
  3421. 'required' => true,
  3422. 'type' => 'string',
  3423. 'location' => 'query',
  3424. 'sentAs' => 'detect-type'
  3425. ),
  3426. 'DetectUrl' => array(
  3427. 'type' => 'string',
  3428. 'location' => 'query',
  3429. 'sentAs' => 'detect-url'
  3430. ),
  3431. 'Interval' => array(
  3432. 'type' => 'integer',
  3433. 'location' => 'query',
  3434. 'sentAs' => 'interval'
  3435. ),
  3436. 'MaxFrames' => array(
  3437. 'type' => 'integer',
  3438. 'location' => 'query',
  3439. 'sentAs' => 'max-frames'
  3440. ),
  3441. 'BizType' => array(
  3442. 'type' => 'string',
  3443. 'location' => 'query',
  3444. 'sentAs' => 'biz-type'
  3445. )
  3446. ),
  3447. ),
  3448. // 文本审核
  3449. 'DetectText' => array(
  3450. 'httpMethod' => 'POST',
  3451. 'uri' => '/{Bucket}text/auditing',
  3452. 'class' => 'Qcloud\\Cos\\Command',
  3453. 'responseClass' => 'DetectTextOutput',
  3454. 'responseType' => 'model',
  3455. 'data' => array(
  3456. 'xmlRoot' => array(
  3457. 'name' => 'Request',
  3458. ),
  3459. ),
  3460. 'parameters' => array(
  3461. 'Bucket' => array(
  3462. 'required' => true,
  3463. 'type' => 'string',
  3464. 'location' => 'uri',
  3465. ),
  3466. 'Input' => array(
  3467. 'location' => 'xml',
  3468. 'type' => 'object',
  3469. 'properties' => array(
  3470. 'Content' => array(
  3471. 'type' => 'string',
  3472. 'location' => 'xml',
  3473. ),
  3474. 'Object' => array(
  3475. 'type' => 'string',
  3476. 'location' => 'xml',
  3477. ),
  3478. 'Url' => array(
  3479. 'type' => 'string',
  3480. 'location' => 'xml',
  3481. ),
  3482. 'DataId' => array(
  3483. 'type' => 'string',
  3484. 'location' => 'xml',
  3485. ),
  3486. 'UserInfo' => array(
  3487. 'location' => 'xml',
  3488. 'type' => 'object',
  3489. 'properties' => array(
  3490. 'TokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  3491. 'Nickname' => array( 'type' => 'string', 'location' => 'xml', ),
  3492. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml', ),
  3493. 'AppId' => array( 'type' => 'string', 'location' => 'xml', ),
  3494. 'Room' => array( 'type' => 'string', 'location' => 'xml', ),
  3495. 'IP' => array( 'type' => 'string', 'location' => 'xml', ),
  3496. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  3497. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  3498. 'Gender' => array( 'type' => 'string', 'location' => 'xml', ),
  3499. 'Level' => array( 'type' => 'string', 'location' => 'xml', ),
  3500. 'Role' => array( 'type' => 'string', 'location' => 'xml', ),
  3501. ),
  3502. ),
  3503. ),
  3504. ),
  3505. 'Conf' => array(
  3506. 'location' => 'xml',
  3507. 'type' => 'object',
  3508. 'properties' => array(
  3509. 'DetectType' => array( 'type' => 'string', 'location' => 'xml', ),
  3510. 'Callback' => array( 'type' => 'string', 'location' => 'xml', ),
  3511. 'BizType' => array( 'type' => 'string', 'location' => 'xml', ),
  3512. 'CallbackVersion' => array( 'type' => 'string', 'location' => 'xml', ),
  3513. 'CallbackType' => array( 'type' => 'integer', 'location' => 'xml', ),
  3514. 'Freeze' => array(
  3515. 'location' => 'xml',
  3516. 'type' => 'object',
  3517. 'properties' => array(
  3518. 'PornScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  3519. 'AdsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  3520. 'IllegalScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  3521. 'AbuseScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  3522. 'PoliticsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  3523. 'TerrorismScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  3524. ),
  3525. ),
  3526. ),
  3527. ),
  3528. ),
  3529. ),
  3530. //媒体截图
  3531. 'GetSnapshot' => array(
  3532. 'httpMethod' => 'GET',
  3533. 'uri' => '/{Bucket}{/Key*}',
  3534. 'class' => 'Qcloud\\Cos\\Command',
  3535. 'responseClass' => 'GetSnapshotOutput',
  3536. 'responseType' => 'model',
  3537. 'parameters' => array(
  3538. 'Bucket' => array(
  3539. 'required' => true,
  3540. 'type' => 'string',
  3541. 'location' => 'uri',
  3542. ),
  3543. 'Key' => array(
  3544. 'required' => true,
  3545. 'type' => 'string',
  3546. 'location' => 'uri',
  3547. 'minLength' => 1,
  3548. 'filters' => array(
  3549. 'Qcloud\\Cos\\Client::explodeKey'
  3550. )
  3551. ),
  3552. 'Time' => array(
  3553. 'required' => true,
  3554. 'type' => 'numeric',
  3555. 'location' => 'query',
  3556. 'sentAs' => 'time'
  3557. ),
  3558. 'ci-process' => array(
  3559. 'required' => true,
  3560. 'type' => 'string',
  3561. 'location' => 'query'
  3562. ),
  3563. 'Width' => array(
  3564. 'type' => 'integer',
  3565. 'location' => 'query',
  3566. 'sentAs' => 'width'
  3567. ),
  3568. 'Height' => array(
  3569. 'type' => 'integer',
  3570. 'location' => 'query',
  3571. 'sentAs' => 'height'
  3572. ),
  3573. 'Format' => array(
  3574. 'type' => 'string',
  3575. 'location' => 'query',
  3576. 'sentAs' => 'format'
  3577. ),
  3578. 'Rotate' => array(
  3579. 'type' => 'string',
  3580. 'location' => 'query',
  3581. 'sentAs' => 'rotate'
  3582. ),
  3583. 'Mode' => array(
  3584. 'type' => 'string',
  3585. 'location' => 'query',
  3586. 'sentAs' => 'mode'
  3587. )
  3588. ),
  3589. ),
  3590. //添加防盗链
  3591. 'PutBucketReferer' => array(
  3592. 'httpMethod' => 'PUT',
  3593. 'uri' => '/{Bucket}?referer',
  3594. 'class' => 'Qcloud\\Cos\\Command',
  3595. 'responseClass' => 'PutBucketRefererOutput',
  3596. 'responseType' => 'model',
  3597. 'data' => array(
  3598. 'xmlRoot' => array(
  3599. 'name' => 'RefererConfiguration',
  3600. ),
  3601. 'contentMd5' => true,
  3602. ),
  3603. 'parameters' => array(
  3604. 'Bucket' => array(
  3605. 'required' => true,
  3606. 'type' => 'string',
  3607. 'location' => 'uri',
  3608. ),
  3609. 'Status' => array(
  3610. 'required' => true,
  3611. 'type' => 'string',
  3612. 'location' => 'xml',
  3613. ),
  3614. 'RefererType' => array(
  3615. 'required' => true,
  3616. 'type' => 'string',
  3617. 'location' => 'xml',
  3618. ),
  3619. 'EmptyReferConfiguration' => array(
  3620. 'required' => true,
  3621. 'type' => 'string',
  3622. 'location' => 'xml',
  3623. ),
  3624. 'DomainList' => array(
  3625. 'location' => 'xml',
  3626. 'type' => 'object',
  3627. 'properties' => array(
  3628. 'Domains' => array(
  3629. 'type' => 'array',
  3630. 'data' => array(
  3631. 'xmlFlattened' => true,
  3632. ),
  3633. 'items' => array(
  3634. 'name' => 'Domain',
  3635. 'type' => 'string',
  3636. 'sentAs' => 'Domain',
  3637. ),
  3638. )
  3639. )
  3640. ),
  3641. ),
  3642. ),
  3643. //获取防盗链规则
  3644. 'GetBucketReferer' => array(
  3645. 'httpMethod' => 'GET',
  3646. 'uri' => '/{Bucket}?referer',
  3647. 'class' => 'Qcloud\\Cos\\Command',
  3648. 'responseClass' => 'GetBucketRefererOutput',
  3649. 'responseType' => 'model',
  3650. 'data' => array(
  3651. 'xmlRoot' => array(
  3652. 'name' => 'RefererConfiguration',
  3653. ),
  3654. ),
  3655. 'parameters' => array(
  3656. 'Bucket' => array(
  3657. 'required' => true,
  3658. 'type' => 'string',
  3659. 'location' => 'uri'
  3660. )
  3661. )
  3662. ),
  3663. //获取媒体信息
  3664. 'GetMediaInfo' => array(
  3665. 'httpMethod' => 'GET',
  3666. 'uri' => '/{Bucket}{/Key*}',
  3667. 'class' => 'Qcloud\\Cos\\Command',
  3668. 'responseClass' => 'GetMediaInfoOutput',
  3669. 'responseType' => 'model',
  3670. 'parameters' => array(
  3671. 'Bucket' => array(
  3672. 'required' => true,
  3673. 'type' => 'string',
  3674. 'location' => 'uri',
  3675. ),
  3676. 'Key' => array(
  3677. 'required' => true,
  3678. 'type' => 'string',
  3679. 'location' => 'uri',
  3680. 'minLength' => 1,
  3681. 'filters' => array(
  3682. 'Qcloud\\Cos\\Client::explodeKey'
  3683. )
  3684. ),
  3685. 'ci-process' => array(
  3686. 'required' => true,
  3687. 'type' => 'string',
  3688. 'location' => 'query'
  3689. )
  3690. ),
  3691. ),
  3692. 'CreateMediaTranscodeJobs' => Descriptions::CreateMediaTranscodeJobs(), // 媒体转码
  3693. 'CreateMediaJobs' => Descriptions::CreateMediaJobs(), // 媒体任务
  3694. 'DescribeMediaJob' => Descriptions::DescribeMediaJob(), // 查询指定的媒体任务
  3695. 'DescribeMediaJobs' => Descriptions::DescribeMediaJobs(), // 拉取拉取符合条件的媒体任务
  3696. 'CreateMediaSnapshotJobs' => Descriptions::CreateMediaSnapshotJobs(), // 媒体截图
  3697. 'CreateMediaConcatJobs' => Descriptions::CreateMediaConcatJobs(), // 媒体拼接
  3698. 'DetectAudio' => Descriptions::DetectAudio(), // 音频审核
  3699. 'GetDetectAudioResult' => Descriptions::GetDetectAudioResult(), // 主动获取音频审核结果
  3700. 'GetDetectTextResult' => Descriptions::GetDetectTextResult(), // 主动获取文本文件审核结果
  3701. 'DetectVideo' => Descriptions::DetectVideo(), // 视频审核
  3702. 'GetDetectVideoResult' => Descriptions::GetDetectVideoResult(), // 主动获取视频审核结果
  3703. 'DetectDocument' => Descriptions::DetectDocument(), // 文档审核
  3704. 'GetDetectDocumentResult' => Descriptions::GetDetectDocumentResult(), // 主动获取文档审核结果
  3705. 'CreateDocProcessJobs' => Descriptions::CreateDocProcessJobs(), // 提交文档转码任务
  3706. 'DescribeDocProcessQueues' => Descriptions::DescribeDocProcessQueues(), // 查询文档转码队列
  3707. 'DescribeDocProcessJob' => Descriptions::DescribeDocProcessJob(), // 查询文档转码任务
  3708. 'GetDescribeDocProcessJobs' => Descriptions::GetDescribeDocProcessJobs(), // 拉取符合条件的文档转码任务
  3709. 'DetectImage' => Descriptions::DetectImage(), // 图片审核
  3710. 'DetectImages' => Descriptions::DetectImages(), // 图片审核-批量
  3711. 'DetectVirus' => Descriptions::DetectVirus(), // 云查毒
  3712. 'GetDetectVirusResult' => Descriptions::GetDetectVirusResult(), // 查询病毒检测任务结果
  3713. 'GetDetectImageResult' => Descriptions::GetDetectImageResult(), // 主动获取图片审核结果
  3714. 'CreateMediaVoiceSeparateJobs' => Descriptions::CreateMediaVoiceSeparateJobs(), // 提交人声分离任务
  3715. 'DescribeMediaVoiceSeparateJob' => Descriptions::DescribeMediaVoiceSeparateJob(), // 查询指定的人声分离任务
  3716. 'DetectWebpage' => Descriptions::DetectWebpage(), // 提交网页审核任务
  3717. 'GetDetectWebpageResult' => Descriptions::GetDetectWebpageResult(), // 查询网页审核任务结果
  3718. 'DescribeMediaBuckets' => Descriptions::DescribeMediaBuckets(), // 查询媒体处理开通状态
  3719. 'GetPrivateM3U8' => Descriptions::GetPrivateM3U8(), // 获取私有 M3U8 ts 资源的下载授权
  3720. 'DescribeMediaQueues' => Descriptions::DescribeMediaQueues(), // 搜索媒体处理队列
  3721. 'UpdateMediaQueue' => Descriptions::UpdateMediaQueue(), // 更新媒体处理队列
  3722. 'CreateMediaSmartCoverJobs' => Descriptions::CreateMediaSmartCoverJobs(), // 提交智能封面任务
  3723. 'CreateMediaVideoProcessJobs' => Descriptions::CreateMediaVideoProcessJobs(), // 提交视频增强任务
  3724. 'CreateMediaVideoMontageJobs' => Descriptions::CreateMediaVideoMontageJobs(), // 提交精彩集锦任务
  3725. 'CreateMediaAnimationJobs' => Descriptions::CreateMediaAnimationJobs(), // 提交动图任务
  3726. 'CreateMediaPicProcessJobs' => Descriptions::CreateMediaPicProcessJobs(), // 提交图片处理任务
  3727. 'CreateMediaSegmentJobs' => Descriptions::CreateMediaSegmentJobs(), // 提交转封装任务
  3728. 'CreateMediaVideoTagJobs' => Descriptions::CreateMediaVideoTagJobs(), // 提交视频标签任务
  3729. 'CreateMediaSuperResolutionJobs' => Descriptions::CreateMediaSuperResolutionJobs(), // 提交超分辨率任务
  3730. 'CreateMediaSDRtoHDRJobs' => Descriptions::CreateMediaSDRtoHDRJobs(), // 提交 SDR to HDR 任务
  3731. 'CreateMediaDigitalWatermarkJobs' => Descriptions::CreateMediaDigitalWatermarkJobs(), // 嵌入数字水印任务(添加水印)
  3732. 'CreateMediaExtractDigitalWatermarkJobs' => Descriptions::CreateMediaExtractDigitalWatermarkJobs(), // 提取数字水印任务(提取水印)
  3733. 'DetectLiveVideo' => Descriptions::DetectLiveVideo(), // 直播流审核
  3734. 'CancelLiveVideoAuditing' => Descriptions::CancelLiveVideoAuditing(), // 取消直播流审核
  3735. 'OpticalOcrRecognition' => Descriptions::OpticalOcrRecognition(), // 通用文字识别
  3736. 'TriggerWorkflow' => Descriptions::TriggerWorkflow(), // 手动触发工作流
  3737. 'GetWorkflowInstances' => Descriptions::GetWorkflowInstances(), // 获取工作流实例列表
  3738. 'GetWorkflowInstance' => Descriptions::GetWorkflowInstance(), // 获取工作流实例详情
  3739. 'CreateMediaSnapshotTemplate' => Descriptions::CreateMediaSnapshotTemplate(), // 新增截图模板
  3740. 'UpdateMediaSnapshotTemplate' => Descriptions::UpdateMediaSnapshotTemplate(), // 更新截图模板
  3741. 'CreateMediaTranscodeTemplate' => Descriptions::CreateMediaTranscodeTemplate(), // 新增转码模板
  3742. 'UpdateMediaTranscodeTemplate' => Descriptions::UpdateMediaTranscodeTemplate(), // 更新转码模板
  3743. 'CreateMediaHighSpeedHdTemplate' => Descriptions::CreateMediaHighSpeedHdTemplate(), // 新增极速高清转码模板
  3744. 'UpdateMediaHighSpeedHdTemplate' => Descriptions::UpdateMediaHighSpeedHdTemplate(), // 更新极速高清转码模板
  3745. 'CreateMediaAnimationTemplate' => Descriptions::CreateMediaAnimationTemplate(), // 新增动图模板
  3746. 'UpdateMediaAnimationTemplate' => Descriptions::UpdateMediaAnimationTemplate(), // 更新动图模板
  3747. 'CreateMediaConcatTemplate' => Descriptions::CreateMediaConcatTemplate(), // 新增拼接模板
  3748. 'UpdateMediaConcatTemplate' => Descriptions::UpdateMediaConcatTemplate(), // 更新拼接模板
  3749. 'CreateMediaVideoProcessTemplate' => Descriptions::CreateMediaVideoProcessTemplate(), // 新增视频增强模板
  3750. 'UpdateMediaVideoProcessTemplate' => Descriptions::UpdateMediaVideoProcessTemplate(), // 更新视频增强模板
  3751. 'CreateMediaVideoMontageTemplate' => Descriptions::CreateMediaVideoMontageTemplate(), // 新增精彩集锦模板
  3752. 'UpdateMediaVideoMontageTemplate' => Descriptions::UpdateMediaVideoMontageTemplate(), // 更新精彩集锦模板
  3753. 'CreateMediaVoiceSeparateTemplate' => Descriptions::CreateMediaVoiceSeparateTemplate(), // 新增人声分离模板
  3754. 'UpdateMediaVoiceSeparateTemplate' => Descriptions::UpdateMediaVoiceSeparateTemplate(), // 更新人声分离模板
  3755. 'CreateMediaSuperResolutionTemplate' => Descriptions::CreateMediaSuperResolutionTemplate(), // 新增超分辨率模板
  3756. 'UpdateMediaSuperResolutionTemplate' => Descriptions::UpdateMediaSuperResolutionTemplate(), // 更新超分辨率模板
  3757. 'CreateMediaPicProcessTemplate' => Descriptions::CreateMediaPicProcessTemplate(), // 新增图片处理模板
  3758. 'UpdateMediaPicProcessTemplate' => Descriptions::UpdateMediaPicProcessTemplate(), // 更新图片处理模板
  3759. 'CreateMediaWatermarkTemplate' => Descriptions::CreateMediaWatermarkTemplate(), // 新增水印模板
  3760. 'UpdateMediaWatermarkTemplate' => Descriptions::UpdateMediaWatermarkTemplate(), // 更新水印模板
  3761. 'DescribeMediaTemplates' => Descriptions::DescribeMediaTemplates(), // 查询模板列表
  3762. 'DescribeWorkflow' => Descriptions::DescribeWorkflow(), // 搜索工作流
  3763. 'DeleteWorkflow' => Descriptions::DeleteWorkflow(), // 删除工作流
  3764. 'CreateInventoryTriggerJob' => Descriptions::CreateInventoryTriggerJob(), // 触发批量存量任务
  3765. 'DescribeInventoryTriggerJobs' => Descriptions::DescribeInventoryTriggerJobs(), // 批量拉取存量任务
  3766. 'DescribeInventoryTriggerJob' => Descriptions::DescribeInventoryTriggerJob(), // 查询存量任务
  3767. 'CancelInventoryTriggerJob' => Descriptions::CancelInventoryTriggerJob(), // 取消存量任务
  3768. 'CreateMediaNoiseReductionJobs' => Descriptions::CreateMediaNoiseReductionJobs(), // 提交音频降噪任务
  3769. 'ImageRepairProcess' => Descriptions::ImageRepairProcess(), // 图片水印修复
  3770. 'ImageDetectCarProcess' => Descriptions::ImageDetectCarProcess(), // 车辆车牌检测
  3771. 'ImageAssessQualityProcess' => Descriptions::ImageAssessQualityProcess(), // 图片质量评估
  3772. 'ImageSearchOpen' => Descriptions::ImageSearchOpen(), // 开通以图搜图
  3773. 'ImageSearchAdd' => Descriptions::ImageSearchAdd(), // 添加图库图片
  3774. 'ImageSearch' => Descriptions::ImageSearch(), // 图片搜索接口
  3775. 'ImageSearchDelete' => Descriptions::ImageSearchDelete(), // 图片搜索接口
  3776. 'BindCiService' => Descriptions::BindCiService(), // 绑定数据万象服务
  3777. 'GetCiService' => Descriptions::GetCiService(), // 查询数据万象服务
  3778. 'UnBindCiService' => Descriptions::UnBindCiService(), // 解绑数据万象服务
  3779. 'GetHotLink' => Descriptions::GetHotLink(), // 查询防盗链
  3780. 'AddHotLink' => Descriptions::AddHotLink(), // 查询防盗链
  3781. 'OpenOriginProtect' => Descriptions::OpenOriginProtect(), // 开通原图保护
  3782. 'GetOriginProtect' => Descriptions::GetOriginProtect(), // 查询原图保护状态
  3783. 'CloseOriginProtect' => Descriptions::CloseOriginProtect(), // 关闭原图保护
  3784. 'ImageDetectFace' => Descriptions::ImageDetectFace(), // 人脸检测
  3785. 'ImageFaceEffect' => Descriptions::ImageFaceEffect(), // 人脸特效
  3786. 'IDCardOCR' => Descriptions::IDCardOCR(), // 身份证识别
  3787. 'IDCardOCRByUpload' => Descriptions::IDCardOCRByUpload(), // 身份证识别-上传时处理
  3788. 'GetLiveCode' => Descriptions::GetLiveCode(), // 获取数字验证码
  3789. 'GetActionSequence' => Descriptions::GetActionSequence(), // 获取动作顺序
  3790. 'DescribeDocProcessBuckets' => Descriptions::DescribeDocProcessBuckets(), // 查询文档预览开通状态
  3791. 'UpdateDocProcessQueue' => Descriptions::UpdateDocProcessQueue(), // 更新文档转码队列
  3792. 'CreateMediaQualityEstimateJobs' => Descriptions::CreateMediaQualityEstimateJobs(), // 提交视频质量评分任务
  3793. 'CreateMediaStreamExtractJobs' => Descriptions::CreateMediaStreamExtractJobs(), // 提交音视频流分离任务
  3794. 'FileJobs4Hash' => Descriptions::FileJobs4Hash(), // 哈希值计算同步请求
  3795. 'OpenFileProcessService' => Descriptions::OpenFileProcessService(), // 开通文件处理服务
  3796. 'GetFileProcessQueueList' => Descriptions::GetFileProcessQueueList(), // 搜索文件处理队列
  3797. 'UpdateFileProcessQueue' => Descriptions::UpdateFileProcessQueue(), // 更新文件处理的队列
  3798. 'CreateFileHashCodeJobs' => Descriptions::CreateFileHashCodeJobs(), // 提交哈希值计算任务
  3799. 'GetFileHashCodeResult' => Descriptions::GetFileHashCodeResult(), // 查询哈希值计算结果
  3800. 'CreateFileUncompressJobs' => Descriptions::CreateFileUncompressJobs(), // 提交文件解压任务
  3801. 'GetFileUncompressResult' => Descriptions::GetFileUncompressResult(), // 查询文件解压结果
  3802. 'CreateFileCompressJobs' => Descriptions::CreateFileCompressJobs(), // 提交多文件打包压缩任务
  3803. 'GetFileCompressResult' => Descriptions::GetFileCompressResult(), // 查询多文件打包压缩结果
  3804. 'CreateM3U8PlayListJobs' => Descriptions::CreateM3U8PlayListJobs(), // 获取指定hls/m3u8文件指定时间区间内的ts资源
  3805. 'GetPicQueueList' => Descriptions::GetPicQueueList(), // 搜索图片处理队列
  3806. 'UpdatePicQueue' => Descriptions::UpdatePicQueue(), // 更新图片处理队列
  3807. 'GetPicBucketList' => Descriptions::GetPicBucketList(), // 查询图片处理服务状态
  3808. 'GetAiBucketList' => Descriptions::GetAiBucketList(), // 查询 AI 内容识别服务状态
  3809. 'OpenAiService' => Descriptions::OpenAiService(), // 开通 AI 内容识别
  3810. 'GetAiQueueList' => Descriptions::GetAiQueueList(), // 搜索 AI 内容识别队列
  3811. 'UpdateAiQueue' => Descriptions::UpdateAiQueue(), // 更新 AI 内容识别队列
  3812. 'CreateMediaTranscodeProTemplate' => Descriptions::CreateMediaTranscodeProTemplate(), // 创建音视频转码 pro 模板
  3813. 'UpdateMediaTranscodeProTemplate' => Descriptions::UpdateMediaTranscodeProTemplate(), // 更新音视频转码 pro 模板
  3814. 'CreateVoiceTtsTemplate' => Descriptions::CreateVoiceTtsTemplate(), // 创建语音合成模板
  3815. 'UpdateVoiceTtsTemplate' => Descriptions::UpdateVoiceTtsTemplate(), // 更新语音合成模板
  3816. 'CreateMediaSmartCoverTemplate' => Descriptions::CreateMediaSmartCoverTemplate(), // 创建智能封面模板
  3817. 'UpdateMediaSmartCoverTemplate' => Descriptions::UpdateMediaSmartCoverTemplate(), // 更新智能封面模板
  3818. 'CreateVoiceSpeechRecognitionTemplate' => Descriptions::CreateVoiceSpeechRecognitionTemplate(), // 创建语音识别模板
  3819. 'UpdateVoiceSpeechRecognitionTemplate' => Descriptions::UpdateVoiceSpeechRecognitionTemplate(), // 更新语音识别模板
  3820. 'CreateVoiceTtsJobs' => Descriptions::CreateVoiceTtsJobs(), // 提交一个语音合成任务
  3821. 'CreateAiTranslationJobs' => Descriptions::CreateAiTranslationJobs(), // 提交一个翻译任务
  3822. 'CreateVoiceSpeechRecognitionJobs' => Descriptions::CreateVoiceSpeechRecognitionJobs(), // 提交一个语音识别任务
  3823. 'CreateAiWordsGeneralizeJobs' => Descriptions::CreateAiWordsGeneralizeJobs(), // 提交一个分词任务
  3824. 'CreateMediaVideoEnhanceJobs' => Descriptions::CreateMediaVideoEnhanceJobs(), // 提交画质增强任务
  3825. 'CreateMediaVideoEnhanceTemplate' => Descriptions::CreateMediaVideoEnhanceTemplate(), // 创建画质增强模板
  3826. 'UpdateMediaVideoEnhanceTemplate' => Descriptions::UpdateMediaVideoEnhanceTemplate(), // 更新画质增强模板
  3827. 'OpenImageSlim' => Descriptions::OpenImageSlim(), // 开通图片瘦身
  3828. 'CloseImageSlim' => Descriptions::CloseImageSlim(), // 关闭图片瘦身
  3829. 'GetImageSlim' => Descriptions::GetImageSlim(), // 查询图片瘦身状态
  3830. ),
  3831. 'models' => array(
  3832. 'AbortMultipartUploadOutput' => array(
  3833. 'type' => 'object',
  3834. 'additionalProperties' => true,
  3835. 'properties' => array(
  3836. 'RequestId' => array(
  3837. 'location' => 'header',
  3838. 'sentAs' => 'x-cos-request-id'
  3839. )
  3840. )
  3841. ),
  3842. 'CreateBucketOutput' => array(
  3843. 'type' => 'object',
  3844. 'additionalProperties' => true,
  3845. 'properties' => array(
  3846. 'Location' => array(
  3847. 'type' => 'string',
  3848. 'location' => 'header'
  3849. ),
  3850. 'RequestId' => array(
  3851. 'location' => 'header',
  3852. 'sentAs' => 'x-cos-request-id'
  3853. )
  3854. )
  3855. ),
  3856. 'CompleteMultipartUploadOutput' => array(
  3857. 'type' => 'object',
  3858. 'additionalProperties' => true,
  3859. 'properties' => array(
  3860. 'Location' => array(
  3861. 'type' => 'string',
  3862. 'location' => 'xml',
  3863. ),
  3864. 'Bucket' => array(
  3865. 'type' => 'string',
  3866. 'location' => 'xml',
  3867. ),
  3868. 'Key' => array(
  3869. 'type' => 'string',
  3870. 'location' => 'xml'
  3871. ),
  3872. 'Expiration' => array(
  3873. 'type' => 'string',
  3874. 'location' => 'header',
  3875. 'sentAs' => 'x-cos-expiration',
  3876. ),
  3877. 'ETag' => array(
  3878. 'type' => 'string',
  3879. 'location' => 'xml',
  3880. ),
  3881. 'ServerSideEncryption' => array(
  3882. 'type' => 'string',
  3883. 'location' => 'header',
  3884. 'sentAs' => 'x-cos-server-side-encryption',
  3885. ),
  3886. 'VersionId' => array(
  3887. 'type' => 'string',
  3888. 'location' => 'header',
  3889. 'sentAs' => 'x-cos-version-id',
  3890. ),
  3891. 'SSEKMSKeyId' => array(
  3892. 'type' => 'string',
  3893. 'location' => 'header',
  3894. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  3895. ),
  3896. 'RequestCharged' => array(
  3897. 'type' => 'string',
  3898. 'location' => 'header',
  3899. 'sentAs' => 'x-cos-request-charged',
  3900. ),
  3901. 'RequestId' => array(
  3902. 'location' => 'header',
  3903. 'sentAs' => 'x-cos-request-id',
  3904. ),
  3905. 'CRC' => array(
  3906. 'type' => 'string',
  3907. 'location' => 'header',
  3908. 'sentAs' => 'x-cos-hash-crc64ecma',
  3909. ),
  3910. 'ImageInfo' => array(
  3911. 'type' => 'object',
  3912. 'location' => 'xml',
  3913. 'properties' => array(
  3914. 'Format' => array(
  3915. 'type' => 'string',
  3916. ),
  3917. 'Width' => array(
  3918. 'type' => 'string',
  3919. ),
  3920. 'Height' => array(
  3921. 'type' => 'string',
  3922. ),
  3923. 'Quality' => array(
  3924. 'type' => 'string',
  3925. ),
  3926. 'Ave' => array(
  3927. 'type' => 'string',
  3928. ),
  3929. 'Orientation' => array(
  3930. 'type' => 'string',
  3931. ),
  3932. ),
  3933. ),
  3934. 'ProcessResults' => array(
  3935. 'type' => 'object',
  3936. 'location' => 'xml',
  3937. 'properties' => array(
  3938. 'Object' => array(
  3939. 'type' => 'array',
  3940. 'items' => array(
  3941. 'type' => 'object',
  3942. 'properties' => array(
  3943. 'Key' => array(
  3944. 'type' => 'string',
  3945. ),
  3946. 'Location' => array(
  3947. 'type' => 'string',
  3948. ),
  3949. 'Format' => array(
  3950. 'type' => 'string',
  3951. ),
  3952. 'Width' => array(
  3953. 'type' => 'string',
  3954. ),
  3955. 'Height' => array(
  3956. 'type' => 'string',
  3957. ),
  3958. 'Size' => array(
  3959. 'type' => 'string',
  3960. ),
  3961. 'Quality' => array(
  3962. 'type' => 'string',
  3963. ),
  3964. 'ETag' => array(
  3965. 'type' => 'string',
  3966. ),
  3967. 'WatermarkStatus' => array(
  3968. 'type' => 'integer',
  3969. ),
  3970. ),
  3971. ),
  3972. ),
  3973. ),
  3974. ),
  3975. ),
  3976. ),
  3977. 'CreateMultipartUploadOutput' => array(
  3978. 'type' => 'object',
  3979. 'additionalProperties' => true,
  3980. 'properties' => array(
  3981. 'Bucket' => array(
  3982. 'type' => 'string',
  3983. 'location' => 'xml',
  3984. 'sentAs' => 'Bucket'
  3985. ),
  3986. 'Key' => array(
  3987. 'type' => 'string',
  3988. 'location' => 'xml'
  3989. ),
  3990. 'UploadId' => array(
  3991. 'type' => 'string',
  3992. 'location' => 'xml'
  3993. ),
  3994. 'ServerSideEncryption' => array(
  3995. 'type' => 'string',
  3996. 'location' => 'header',
  3997. 'sentAs' => 'x-cos-server-side-encryption',
  3998. ),
  3999. 'SSECustomerAlgorithm' => array(
  4000. 'type' => 'string',
  4001. 'location' => 'header',
  4002. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  4003. ),
  4004. 'SSECustomerKeyMD5' => array(
  4005. 'type' => 'string',
  4006. 'location' => 'header',
  4007. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  4008. ),
  4009. 'SSEKMSKeyId' => array(
  4010. 'type' => 'string',
  4011. 'location' => 'header',
  4012. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  4013. ),
  4014. 'RequestCharged' => array(
  4015. 'type' => 'string',
  4016. 'location' => 'header',
  4017. 'sentAs' => 'x-cos-request-charged',
  4018. ),
  4019. 'RequestId' => array(
  4020. 'location' => 'header',
  4021. 'sentAs' => 'x-cos-request-id',
  4022. )
  4023. )
  4024. ),
  4025. 'CopyObjectOutput' => array(
  4026. 'type' => 'object',
  4027. 'additionalProperties' => true,
  4028. 'properties' => array(
  4029. 'ETag' => array(
  4030. 'type' => 'string',
  4031. 'location' => 'xml',
  4032. ),
  4033. 'LastModified' => array(
  4034. 'type' => 'string',
  4035. 'location' => 'xml',
  4036. ),
  4037. 'Expiration' => array(
  4038. 'type' => 'string',
  4039. 'location' => 'header',
  4040. 'sentAs' => 'x-cos-expiration',
  4041. ),
  4042. 'CopySourceVersionId' => array(
  4043. 'type' => 'string',
  4044. 'location' => 'header',
  4045. 'sentAs' => 'x-cos-copy-source-version-id',
  4046. ),
  4047. 'VersionId' => array(
  4048. 'type' => 'string',
  4049. 'location' => 'header',
  4050. 'sentAs' => 'x-cos-version-id',
  4051. ),
  4052. 'ServerSideEncryption' => array(
  4053. 'type' => 'string',
  4054. 'location' => 'header',
  4055. 'sentAs' => 'x-cos-server-side-encryption',
  4056. ),
  4057. 'SSECustomerAlgorithm' => array(
  4058. 'type' => 'string',
  4059. 'location' => 'header',
  4060. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  4061. ),
  4062. 'RequestCharged' => array(
  4063. 'type' => 'string',
  4064. 'location' => 'header',
  4065. 'sentAs' => 'x-cos-request-charged',
  4066. ),
  4067. 'RequestId' => array(
  4068. 'location' => 'header',
  4069. 'sentAs' => 'x-cos-request-id',
  4070. ),
  4071. 'CRC' => array(
  4072. 'type' => 'string',
  4073. 'location' => 'header',
  4074. 'sentAs' => 'x-cos-hash-crc64ecma',
  4075. )
  4076. ),
  4077. ),
  4078. 'DeleteBucketOutput' => array(
  4079. 'type' => 'object',
  4080. 'additionalProperties' => true,
  4081. 'properties' => array(
  4082. 'RequestId' => array(
  4083. 'location' => 'header',
  4084. 'sentAs' => 'x-cos-request-id'
  4085. )
  4086. )
  4087. ),
  4088. 'DeleteBucketCorsOutput' => array(
  4089. 'type' => 'object',
  4090. 'additionalProperties' => true,
  4091. 'properties' => array(
  4092. 'RequestId' => array(
  4093. 'location' => 'header',
  4094. 'sentAs' => 'x-cos-request-id',
  4095. ),
  4096. ),
  4097. ),
  4098. 'DeleteBucketTaggingOutput' => array(
  4099. 'type' => 'object',
  4100. 'additionalProperties' => true,
  4101. 'properties' => array(
  4102. 'RequestId' => array(
  4103. 'location' => 'header',
  4104. 'sentAs' => 'x-cos-request-id',
  4105. ),
  4106. ),
  4107. ),
  4108. 'DeleteBucketInventoryOutput' => array(
  4109. 'type' => 'object',
  4110. 'additionalProperties' => true,
  4111. 'properties' => array(
  4112. 'RequestId' => array(
  4113. 'location' => 'header',
  4114. 'sentAs' => 'x-cos-request-id',
  4115. ),
  4116. ),
  4117. ),
  4118. 'DeleteObjectOutput' => array(
  4119. 'type' => 'object',
  4120. 'additionalProperties' => true,
  4121. 'properties' => array(
  4122. 'DeleteMarker' => array(
  4123. 'type' => 'boolean',
  4124. 'location' => 'header',
  4125. 'sentAs' => 'x-cos-delete-marker',
  4126. ),
  4127. 'VersionId' => array(
  4128. 'type' => 'string',
  4129. 'location' => 'header',
  4130. 'sentAs' => 'x-cos-version-id',
  4131. ),
  4132. 'RequestCharged' => array(
  4133. 'type' => 'string',
  4134. 'location' => 'header',
  4135. 'sentAs' => 'x-cos-request-charged',
  4136. ),
  4137. 'RequestId' => array(
  4138. 'location' => 'header',
  4139. 'sentAs' => 'x-cos-request-id',
  4140. ),
  4141. ),
  4142. ),
  4143. 'DeleteObjectsOutput' => array(
  4144. 'type' => 'object',
  4145. 'additionalProperties' => true,
  4146. 'properties' => array(
  4147. 'Deleted' => array(
  4148. 'type' => 'array',
  4149. 'location' => 'xml',
  4150. 'sentAs' => 'Deleted',
  4151. 'data' => array(
  4152. 'xmlFlattened' => true,
  4153. ),
  4154. 'items' => array(
  4155. 'type' => 'object',
  4156. 'properties' => array(
  4157. 'Key' => array(
  4158. 'type' => 'string',
  4159. ),
  4160. 'VersionId' => array(
  4161. 'type' => 'string',
  4162. ),
  4163. 'DeleteMarker' => array(
  4164. 'type' => 'boolean',
  4165. ),
  4166. 'DeleteMarkerVersionId' => array(
  4167. 'type' => 'string',
  4168. ),
  4169. ),
  4170. ),
  4171. ),
  4172. 'RequestCharged' => array(
  4173. 'type' => 'string',
  4174. 'location' => 'header',
  4175. 'sentAs' => 'x-cos-request-charged',
  4176. ),
  4177. 'Errors' => array(
  4178. 'type' => 'array',
  4179. 'location' => 'xml',
  4180. 'sentAs' => 'Error',
  4181. 'data' => array(
  4182. 'xmlFlattened' => true,
  4183. ),
  4184. 'items' => array(
  4185. 'type' => 'object',
  4186. 'properties' => array(
  4187. 'Key' => array(
  4188. 'type' => 'string',
  4189. ),
  4190. 'VersionId' => array(
  4191. 'type' => 'string',
  4192. ),
  4193. 'Code' => array(
  4194. 'type' => 'string',
  4195. ),
  4196. 'Message' => array(
  4197. 'type' => 'string',
  4198. ),
  4199. ),
  4200. ),
  4201. ),
  4202. 'RequestId' => array(
  4203. 'location' => 'header',
  4204. 'sentAs' => 'x-cos-request-id',
  4205. ),
  4206. ),
  4207. ),
  4208. 'DeleteBucketLifecycleOutput' => array(
  4209. 'type' => 'object',
  4210. 'additionalProperties' => true,
  4211. 'properties' => array(
  4212. 'RequestId' => array(
  4213. 'location' => 'header',
  4214. 'sentAs' => 'x-cos-request-id',
  4215. ),
  4216. ),
  4217. ),
  4218. 'DeleteBucketReplicationOutput' => array(
  4219. 'type' => 'object',
  4220. 'additionalProperties' => true,
  4221. 'properties' => array(
  4222. 'RequestId' => array(
  4223. 'location' => 'header',
  4224. 'sentAs' => 'x-cos-request-id',
  4225. ),
  4226. ),
  4227. ),
  4228. 'DeleteBucketWebsiteOutput' => array(
  4229. 'type' => 'object',
  4230. 'additionalProperties' => true,
  4231. 'properties' => array(
  4232. 'RequestId' => array(
  4233. 'location' => 'header',
  4234. 'sentAs' => 'x-cos-request-id',
  4235. ),
  4236. ),
  4237. ),
  4238. 'PutObjectTaggingOutput' => array(
  4239. 'type' => 'object',
  4240. 'additionalProperties' => true,
  4241. 'properties' => array(
  4242. 'RequestId' => array(
  4243. 'location' => 'header',
  4244. 'sentAs' => 'x-cos-request-id',
  4245. ),
  4246. ),
  4247. ),
  4248. 'GetObjectTaggingOutput' => array(
  4249. 'type' => 'object',
  4250. 'additionalProperties' => true,
  4251. 'properties' => array(
  4252. 'TagSet' => array(
  4253. 'type' => 'array',
  4254. 'location' => 'xml',
  4255. 'items' => array(
  4256. 'sentAs' => 'Tag',
  4257. 'type' => 'object',
  4258. 'properties' => array(
  4259. 'Key' => array(
  4260. 'type' => 'string',
  4261. ),
  4262. 'Value' => array(
  4263. 'type' => 'string',
  4264. ),
  4265. ),
  4266. ),
  4267. ),
  4268. 'RequestId' => array(
  4269. 'location' => 'header',
  4270. 'sentAs' => 'x-cos-request-id',
  4271. ),
  4272. ),
  4273. ),
  4274. 'DeleteObjectTaggingOutput' => array(
  4275. 'type' => 'object',
  4276. 'additionalProperties' => true,
  4277. 'properties' => array(
  4278. 'RequestId' => array(
  4279. 'location' => 'header',
  4280. 'sentAs' => 'x-cos-request-id'
  4281. )
  4282. )
  4283. ),
  4284. 'GetObjectOutput' => array(
  4285. 'type' => 'object',
  4286. 'additionalProperties' => true,
  4287. 'properties' => array(
  4288. 'Body' => array(
  4289. 'type' => 'string',
  4290. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  4291. 'location' => 'body',
  4292. ),
  4293. 'DeleteMarker' => array(
  4294. 'type' => 'boolean',
  4295. 'location' => 'header',
  4296. 'sentAs' => 'x-cos-delete-marker',
  4297. ),
  4298. 'AcceptRanges' => array(
  4299. 'type' => 'string',
  4300. 'location' => 'header',
  4301. 'sentAs' => 'accept-ranges',
  4302. ),
  4303. 'Expiration' => array(
  4304. 'type' => 'string',
  4305. 'location' => 'header',
  4306. 'sentAs' => 'x-cos-expiration',
  4307. ),
  4308. 'Restore' => array(
  4309. 'type' => 'string',
  4310. 'location' => 'header',
  4311. 'sentAs' => 'x-cos-restore',
  4312. ),
  4313. 'LastModified' => array(
  4314. 'type' => 'string',
  4315. 'location' => 'header',
  4316. 'sentAs' => 'Last-Modified',
  4317. ),
  4318. 'ContentLength' => array(
  4319. 'type' => 'numeric',
  4320. 'minimum'=> 0,
  4321. 'location' => 'header',
  4322. 'sentAs' => 'Content-Length',
  4323. ),
  4324. 'ETag' => array(
  4325. 'type' => 'string',
  4326. 'location' => 'header',
  4327. ),
  4328. 'MissingMeta' => array(
  4329. 'type' => 'numeric',
  4330. 'location' => 'header',
  4331. 'sentAs' => 'x-cos-missing-meta',
  4332. ),
  4333. 'VersionId' => array(
  4334. 'type' => 'string',
  4335. 'location' => 'header',
  4336. 'sentAs' => 'x-cos-version-id',
  4337. ),
  4338. 'CacheControl' => array(
  4339. 'type' => 'string',
  4340. 'location' => 'header',
  4341. 'sentAs' => 'Cache-Control',
  4342. ),
  4343. 'ContentDisposition' => array(
  4344. 'type' => 'string',
  4345. 'location' => 'header',
  4346. 'sentAs' => 'Content-Disposition',
  4347. ),
  4348. 'ContentEncoding' => array(
  4349. 'type' => 'string',
  4350. 'location' => 'header',
  4351. 'sentAs' => 'Content-Encoding',
  4352. ),
  4353. 'ContentLanguage' => array(
  4354. 'type' => 'string',
  4355. 'location' => 'header',
  4356. 'sentAs' => 'Content-Language',
  4357. ),
  4358. 'ContentRange' => array(
  4359. 'type' => 'string',
  4360. 'location' => 'header',
  4361. 'sentAs' => 'Content-Range',
  4362. ),
  4363. 'ContentType' => array(
  4364. 'type' => 'string',
  4365. 'location' => 'header',
  4366. 'sentAs' => 'Content-Type',
  4367. ),
  4368. 'Expires' => array(
  4369. 'type' => 'string',
  4370. 'location' => 'header',
  4371. ),
  4372. 'WebsiteRedirectLocation' => array(
  4373. 'type' => 'string',
  4374. 'location' => 'header',
  4375. 'sentAs' => 'x-cos-website-redirect-location',
  4376. ),
  4377. 'ServerSideEncryption' => array(
  4378. 'type' => 'string',
  4379. 'location' => 'header',
  4380. 'sentAs' => 'x-cos-server-side-encryption',
  4381. ),
  4382. 'SSECustomerAlgorithm' => array(
  4383. 'type' => 'string',
  4384. 'location' => 'header',
  4385. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  4386. ),
  4387. 'SSECustomerKeyMD5' => array(
  4388. 'type' => 'string',
  4389. 'location' => 'header',
  4390. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  4391. ),
  4392. 'SSEKMSKeyId' => array(
  4393. 'type' => 'string',
  4394. 'location' => 'header',
  4395. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  4396. ),
  4397. 'StorageClass' => array(
  4398. 'type' => 'string',
  4399. 'location' => 'header',
  4400. 'sentAs' => 'x-cos-storage-class',
  4401. ),
  4402. 'RequestCharged' => array(
  4403. 'type' => 'string',
  4404. 'location' => 'header',
  4405. 'sentAs' => 'x-cos-request-charged',
  4406. ),
  4407. 'ReplicationStatus' => array(
  4408. 'type' => 'string',
  4409. 'location' => 'header',
  4410. 'sentAs' => 'x-cos-replication-status',
  4411. ),
  4412. 'RequestId' => array(
  4413. 'location' => 'header',
  4414. 'sentAs' => 'x-cos-request-id',
  4415. ),
  4416. 'CRC' => array(
  4417. 'type' => 'string',
  4418. 'location' => 'header',
  4419. 'sentAs' => 'x-cos-hash-crc64ecma',
  4420. )
  4421. ),
  4422. ),
  4423. 'GetObjectAclOutput' => array(
  4424. 'type' => 'object',
  4425. 'additionalProperties' => true,
  4426. 'properties' => array(
  4427. 'Owner' => array(
  4428. 'type' => 'object',
  4429. 'location' => 'xml',
  4430. 'properties' => array(
  4431. 'DisplayName' => array(
  4432. 'type' => 'string',
  4433. ),
  4434. 'ID' => array(
  4435. 'type' => 'string',
  4436. ),
  4437. ),
  4438. ),
  4439. 'Grants' => array(
  4440. 'type' => 'array',
  4441. 'location' => 'xml',
  4442. 'sentAs' => 'AccessControlList',
  4443. 'items' => array(
  4444. 'type' => 'object',
  4445. 'properties' => array(
  4446. 'Grantee' => array(
  4447. 'type' => 'object',
  4448. 'properties' => array(
  4449. 'DisplayName' => array(
  4450. 'type' => 'string'),
  4451. 'ID' => array(
  4452. 'type' => 'string'))),
  4453. 'Permission' => array(
  4454. 'type' => 'string',
  4455. ),
  4456. ),
  4457. ),
  4458. ),
  4459. 'RequestCharged' => array(
  4460. 'type' => 'string',
  4461. 'location' => 'header',
  4462. 'sentAs' => 'x-cos-request-charged',
  4463. ),
  4464. 'RequestId' => array(
  4465. 'location' => 'header',
  4466. 'sentAs' => 'x-cos-request-id',
  4467. ),
  4468. ),
  4469. ),
  4470. 'GetBucketAclOutput' => array(
  4471. 'type' => 'object',
  4472. 'additionalProperties' => true,
  4473. 'properties' => array(
  4474. 'Owner' => array(
  4475. 'type' => 'object',
  4476. 'location' => 'xml',
  4477. 'properties' => array(
  4478. 'DisplayName' => array(
  4479. 'type' => 'string'
  4480. ),
  4481. 'ID' => array(
  4482. 'type' => 'string'
  4483. )
  4484. )
  4485. ),
  4486. 'Grants' => array(
  4487. 'type' => 'array',
  4488. 'location' => 'xml',
  4489. 'sentAs' => 'AccessControlList',
  4490. 'items' => array(
  4491. 'type' => 'object',
  4492. 'properties' => array(
  4493. 'Grantee' => array(
  4494. 'type' => 'object',
  4495. 'properties' => array(
  4496. 'DisplayName' => array(
  4497. 'type' => 'string'
  4498. ),
  4499. 'ID' => array(
  4500. 'type' => 'string'
  4501. )
  4502. )
  4503. ),
  4504. 'Permission' => array(
  4505. 'type' => 'string'
  4506. )
  4507. )
  4508. )
  4509. ),
  4510. 'RequestId' => array(
  4511. 'location' => 'header',
  4512. 'sentAs' => 'x-cos-request-id'
  4513. )
  4514. )
  4515. ),
  4516. 'GetBucketCorsOutput' => array(
  4517. 'type' => 'object',
  4518. 'additionalProperties' => true,
  4519. 'properties' => array(
  4520. 'CORSRules' => array(
  4521. 'type' => 'array',
  4522. 'location' => 'xml',
  4523. 'sentAs' => 'CORSRule',
  4524. 'data' => array(
  4525. 'xmlFlattened' => true,
  4526. ),
  4527. 'items' => array(
  4528. 'type' => 'object',
  4529. 'properties' => array(
  4530. 'ID' => array(
  4531. 'type' => 'string'),
  4532. 'AllowedHeaders' => array(
  4533. 'type' => 'array',
  4534. 'sentAs' => 'AllowedHeader',
  4535. 'data' => array(
  4536. 'xmlFlattened' => true,
  4537. ),
  4538. 'items' => array(
  4539. 'type' => 'string',
  4540. )
  4541. ),
  4542. 'AllowedMethods' => array(
  4543. 'type' => 'array',
  4544. 'sentAs' => 'AllowedMethod',
  4545. 'data' => array(
  4546. 'xmlFlattened' => true,
  4547. ),
  4548. 'items' => array(
  4549. 'type' => 'string',
  4550. ),
  4551. ),
  4552. 'AllowedOrigins' => array(
  4553. 'type' => 'array',
  4554. 'sentAs' => 'AllowedOrigin',
  4555. 'data' => array(
  4556. 'xmlFlattened' => true,
  4557. ),
  4558. 'items' => array(
  4559. 'type' => 'string',
  4560. ),
  4561. ),
  4562. 'ExposeHeaders' => array(
  4563. 'type' => 'array',
  4564. 'sentAs' => 'ExposeHeader',
  4565. 'data' => array(
  4566. 'xmlFlattened' => true,
  4567. ),
  4568. 'items' => array(
  4569. 'type' => 'string',
  4570. ),
  4571. ),
  4572. 'MaxAgeSeconds' => array(
  4573. 'type' => 'numeric',
  4574. ),
  4575. ),
  4576. ),
  4577. ),
  4578. 'RequestId' => array(
  4579. 'location' => 'header',
  4580. 'sentAs' => 'x-cos-request-id',
  4581. ),
  4582. ),
  4583. ),
  4584. 'GetBucketDomainOutput' => array(
  4585. 'type' => 'object',
  4586. 'additionalProperties' => true,
  4587. 'properties' => array(
  4588. 'DomainRules' => array(
  4589. 'type' => 'array',
  4590. 'location' => 'xml',
  4591. 'sentAs' => 'DomainRule',
  4592. 'data' => array(
  4593. 'xmlFlattened' => true,
  4594. ),
  4595. 'items' => array(
  4596. 'type' => 'object',
  4597. 'properties' => array(
  4598. 'Status' => array(
  4599. 'type' => 'string'
  4600. ),
  4601. 'Name' => array(
  4602. 'type' => 'string'
  4603. ),
  4604. 'Type' => array(
  4605. 'type' => 'string'
  4606. ),
  4607. 'ForcedReplacement' => array(
  4608. 'type' => 'string'
  4609. ),
  4610. ),
  4611. ),
  4612. ),
  4613. 'DomainTxtVerification' => array(
  4614. 'location' => 'header',
  4615. 'sentAs' => 'x-cos-domain-txt-verification',
  4616. ),
  4617. 'RequestId' => array(
  4618. 'location' => 'header',
  4619. 'sentAs' => 'x-cos-request-id',
  4620. ),
  4621. ),
  4622. ),
  4623. 'GetBucketLifecycleOutput' => array(
  4624. 'type' => 'object',
  4625. 'additionalProperties' => true,
  4626. 'properties' => array(
  4627. 'Rules' => array(
  4628. 'type' => 'array',
  4629. 'location' => 'xml',
  4630. 'sentAs' => 'Rule',
  4631. 'data' => array(
  4632. 'xmlFlattened' => true,
  4633. ),
  4634. 'items' => array(
  4635. 'type' => 'object',
  4636. 'properties' => array(
  4637. 'Expiration' => array(
  4638. 'type' => 'object',
  4639. 'properties' => array(
  4640. 'Date' => array(
  4641. 'type' => 'string',
  4642. ),
  4643. 'Days' => array(
  4644. 'type' => 'numeric',
  4645. ),
  4646. ),
  4647. ),
  4648. 'ID' => array(
  4649. 'type' => 'string',
  4650. ),
  4651. 'Filter' => array(
  4652. 'type' => 'object',
  4653. 'properties' => array(
  4654. 'Prefix' => array(
  4655. 'type' => 'string',
  4656. ),
  4657. 'Tag' => array(
  4658. 'type' => 'object',
  4659. 'properties' => array(
  4660. 'Key' => array(
  4661. 'type' => 'string'
  4662. ),
  4663. 'Value' => array(
  4664. 'type' => 'string'
  4665. ),
  4666. )
  4667. )
  4668. ),
  4669. ),
  4670. 'Status' => array(
  4671. 'type' => 'string',
  4672. ),
  4673. 'Transition' => array(
  4674. 'type' => 'object',
  4675. 'properties' => array(
  4676. 'Date' => array(
  4677. 'type' => 'string',
  4678. ),
  4679. 'Days' => array(
  4680. 'type' => 'numeric',
  4681. ),
  4682. 'StorageClass' => array(
  4683. 'type' => 'string',
  4684. ),
  4685. ),
  4686. ),
  4687. 'NoncurrentVersionTransition' => array(
  4688. 'type' => 'object',
  4689. 'properties' => array(
  4690. 'NoncurrentDays' => array(
  4691. 'type' => 'numeric',
  4692. ),
  4693. 'StorageClass' => array(
  4694. 'type' => 'string',
  4695. ),
  4696. ),
  4697. ),
  4698. 'NoncurrentVersionExpiration' => array(
  4699. 'type' => 'object',
  4700. 'properties' => array(
  4701. 'NoncurrentDays' => array(
  4702. 'type' => 'numeric',
  4703. ),
  4704. ),
  4705. ),
  4706. ),
  4707. ),
  4708. ),
  4709. 'RequestId' => array(
  4710. 'location' => 'header',
  4711. 'sentAs' => 'x-cos-request-id',
  4712. ),
  4713. ),
  4714. ),
  4715. 'GetBucketVersioningOutput' => array(
  4716. 'type' => 'object',
  4717. 'additionalProperties' => true,
  4718. 'properties' => array(
  4719. 'Status' => array(
  4720. 'type' => 'string',
  4721. 'location' => 'xml',
  4722. ),
  4723. 'MFADelete' => array(
  4724. 'type' => 'string',
  4725. 'location' => 'xml',
  4726. 'sentAs' => 'MfaDelete',
  4727. ),
  4728. 'RequestId' => array(
  4729. 'location' => 'header',
  4730. 'sentAs' => 'x-cos-request-id',
  4731. ),
  4732. ),
  4733. ),
  4734. 'GetBucketReplicationOutput' => array(
  4735. 'type' => 'object',
  4736. 'additionalProperties' => true,
  4737. 'properties' => array(
  4738. 'Role' => array(
  4739. 'type' => 'string',
  4740. 'location' => 'xml',
  4741. ),
  4742. 'Rules' => array(
  4743. 'type' => 'array',
  4744. 'location' => 'xml',
  4745. 'sentAs' => 'Rule',
  4746. 'data' => array(
  4747. 'xmlFlattened' => true,
  4748. ),
  4749. 'items' => array(
  4750. 'type' => 'object',
  4751. 'properties' => array(
  4752. 'ID' => array(
  4753. 'type' => 'string',
  4754. ),
  4755. 'Prefix' => array(
  4756. 'type' => 'string',
  4757. ),
  4758. 'Status' => array(
  4759. 'type' => 'string',
  4760. ),
  4761. 'Destination' => array(
  4762. 'type' => 'object',
  4763. 'properties' => array(
  4764. 'Bucket' => array(
  4765. 'type' => 'string',
  4766. ),
  4767. 'StorageClass' => array(
  4768. 'type' => 'string',
  4769. ),
  4770. ),
  4771. ),
  4772. ),
  4773. ),
  4774. ),
  4775. 'RequestId' => array(
  4776. 'location' => 'header',
  4777. 'sentAs' => 'x-cos-request-id',
  4778. ),
  4779. ),
  4780. ),
  4781. 'GetBucketLocationOutput' => array(
  4782. 'type' => 'object',
  4783. 'additionalProperties' => true,
  4784. 'properties' => array(
  4785. 'Location' => array(
  4786. 'type' => 'string',
  4787. 'location' => 'body',
  4788. 'filters' => array(
  4789. 'strval',
  4790. 'strip_tags',
  4791. 'trim',
  4792. ),
  4793. ),
  4794. ),
  4795. ),
  4796. 'GetBucketAccelerateOutput' => array(
  4797. 'type' => 'object',
  4798. 'additionalProperties' => true,
  4799. 'properties' => array(
  4800. 'Status' => array(
  4801. 'type' => 'string',
  4802. 'location' => 'xml',
  4803. ),
  4804. 'Type' => array(
  4805. 'type' => 'string',
  4806. 'location' => 'xml',
  4807. ),
  4808. 'RequestId' => array(
  4809. 'location' => 'header',
  4810. 'sentAs' => 'x-cos-request-id',
  4811. ),
  4812. ),
  4813. ),
  4814. 'GetBucketWebsiteOutput' => array(
  4815. 'type' => 'object',
  4816. 'additionalProperties' => true,
  4817. 'properties' => array(
  4818. 'RedirectAllRequestsTo' => array(
  4819. 'type' => 'object',
  4820. 'location' => 'xml',
  4821. 'properties' => array(
  4822. 'HostName' => array(
  4823. 'type' => 'string',
  4824. ),
  4825. 'Protocol' => array(
  4826. 'type' => 'string',
  4827. ),
  4828. ),
  4829. ),
  4830. 'IndexDocument' => array(
  4831. 'type' => 'object',
  4832. 'location' => 'xml',
  4833. 'properties' => array(
  4834. 'Suffix' => array(
  4835. 'type' => 'string',
  4836. ),
  4837. ),
  4838. ),
  4839. 'ErrorDocument' => array(
  4840. 'type' => 'object',
  4841. 'location' => 'xml',
  4842. 'properties' => array(
  4843. 'Key' => array(
  4844. 'type' => 'string',
  4845. ),
  4846. ),
  4847. ),
  4848. 'RoutingRules' => array(
  4849. 'type' => 'array',
  4850. 'location' => 'xml',
  4851. 'items' => array(
  4852. 'name' => 'RoutingRule',
  4853. 'type' => 'object',
  4854. 'sentAs' => 'RoutingRule',
  4855. 'properties' => array(
  4856. 'Condition' => array(
  4857. 'type' => 'object',
  4858. 'properties' => array(
  4859. 'HttpErrorCodeReturnedEquals' => array(
  4860. 'type' => 'string',
  4861. ),
  4862. 'KeyPrefixEquals' => array(
  4863. 'type' => 'string',
  4864. ),
  4865. ),
  4866. ),
  4867. 'Redirect' => array(
  4868. 'type' => 'object',
  4869. 'properties' => array(
  4870. 'HostName' => array(
  4871. 'type' => 'string',
  4872. ),
  4873. 'HttpRedirectCode' => array(
  4874. 'type' => 'string',
  4875. ),
  4876. 'Protocol' => array(
  4877. 'type' => 'string',
  4878. ),
  4879. 'ReplaceKeyPrefixWith' => array(
  4880. 'type' => 'string',
  4881. ),
  4882. 'ReplaceKeyWith' => array(
  4883. 'type' => 'string',
  4884. ),
  4885. ),
  4886. ),
  4887. ),
  4888. ),
  4889. ),
  4890. 'RequestId' => array(
  4891. 'location' => 'header',
  4892. 'sentAs' => 'x-cos-request-id',
  4893. ),
  4894. ),
  4895. ),
  4896. 'GetBucketInventoryOutput' => array(
  4897. 'type' => 'object',
  4898. 'additionalProperties' => true,
  4899. 'properties' => array(
  4900. 'Destination' => array(
  4901. 'type' => 'object',
  4902. 'location' => 'xml',
  4903. 'properties' => array(
  4904. 'COSBucketDestination' => array(
  4905. 'type' => 'object',
  4906. 'properties' => array(
  4907. 'Format' => array(
  4908. 'type' => 'string',
  4909. ),
  4910. 'AccountId' => array(
  4911. 'type' => 'string',
  4912. ),
  4913. 'Bucket' => array(
  4914. 'type' => 'string',
  4915. ),
  4916. 'Prefix' => array(
  4917. 'type' => 'string',
  4918. ),
  4919. 'Encryption' => array(
  4920. 'type' => 'object',
  4921. 'properties' => array(
  4922. 'SSE-COS' => array(
  4923. 'type' => 'string',
  4924. )
  4925. )
  4926. ),
  4927. ),
  4928. ),
  4929. ),
  4930. ),
  4931. 'Schedule' => array(
  4932. 'type' => 'object',
  4933. 'location' => 'xml',
  4934. 'properties' => array(
  4935. 'Frequency' => array(
  4936. 'type' => 'string',
  4937. ),
  4938. ),
  4939. ),
  4940. 'OptionalFields' => array(
  4941. 'type' => 'array',
  4942. 'location' => 'xml',
  4943. 'properties' => array(
  4944. 'Key' => array(
  4945. 'type' => 'string',
  4946. ),
  4947. ),
  4948. ),
  4949. 'OptionalFields' => array(
  4950. 'type' => 'array',
  4951. 'location' => 'xml',
  4952. 'items' => array(
  4953. 'name' => 'Field',
  4954. 'type' => 'string',
  4955. 'sentAs' => 'Field',
  4956. ),
  4957. ),
  4958. 'IsEnabled' => array(
  4959. 'type' => 'string',
  4960. 'location' => 'xml',
  4961. ),
  4962. 'Id' => array(
  4963. 'type' => 'string',
  4964. 'location' => 'xml',
  4965. ),
  4966. 'IncludedObjectVersions' => array(
  4967. 'type' => 'string',
  4968. 'location' => 'xml',
  4969. ),
  4970. 'RequestId' => array(
  4971. 'location' => 'header',
  4972. 'sentAs' => 'x-cos-request-id',
  4973. ),
  4974. ),
  4975. ),
  4976. 'GetBucketTaggingOutput' => array(
  4977. 'type' => 'object',
  4978. 'additionalProperties' => true,
  4979. 'properties' => array(
  4980. 'TagSet' => array(
  4981. 'type' => 'array',
  4982. 'location' => 'xml',
  4983. 'items' => array(
  4984. 'sentAs' => 'Tag',
  4985. 'type' => 'object',
  4986. 'properties' => array(
  4987. 'Key' => array(
  4988. 'type' => 'string',
  4989. ),
  4990. 'Value' => array(
  4991. 'type' => 'string',
  4992. ),
  4993. ),
  4994. ),
  4995. ),
  4996. 'RequestId' => array(
  4997. 'location' => 'header',
  4998. 'sentAs' => 'x-cos-request-id',
  4999. ),
  5000. ),
  5001. ),
  5002. 'GetBucketNotificationOutput' => array(
  5003. 'type' => 'object',
  5004. 'additionalProperties' => true,
  5005. 'properties' => array(
  5006. 'CloudFunctionConfigurations' => array(
  5007. 'type' => 'array',
  5008. 'location' => 'xml',
  5009. 'sentAs' => 'CloudFunctionConfiguration',
  5010. 'data' => array(
  5011. 'xmlFlattened' => true,
  5012. ),
  5013. 'items' => array(
  5014. 'type' => 'object',
  5015. 'properties' => array(
  5016. 'Id' => array(
  5017. 'type' => 'string',
  5018. ),
  5019. 'CloudFunction' => array(
  5020. 'type' => 'string',
  5021. 'sentAs' => 'CloudFunction',
  5022. ),
  5023. 'Events' => array(
  5024. 'type' => 'array',
  5025. 'sentAs' => 'Event',
  5026. 'data' => array(
  5027. 'xmlFlattened' => true,
  5028. ),
  5029. 'items' => array(
  5030. 'type' => 'string',
  5031. ),
  5032. ),
  5033. 'Filter' => array(
  5034. 'type' => 'object',
  5035. 'properties' => array(
  5036. 'Key' => array(
  5037. 'type' => 'object',
  5038. 'sentAs' => 'Key',
  5039. 'properties' => array(
  5040. 'FilterRules' => array(
  5041. 'type' => 'array',
  5042. 'sentAs' => 'FilterRule',
  5043. 'data' => array(
  5044. 'xmlFlattened' => true,
  5045. ),
  5046. 'items' => array(
  5047. 'type' => 'object',
  5048. 'properties' => array(
  5049. 'Name' => array(
  5050. 'type' => 'string',
  5051. ),
  5052. 'Value' => array(
  5053. 'type' => 'string',
  5054. ),
  5055. ),
  5056. ),
  5057. ),
  5058. ),
  5059. ),
  5060. ),
  5061. ),
  5062. ),
  5063. ),
  5064. ),
  5065. 'RequestId' => array(
  5066. 'location' => 'header',
  5067. 'sentAs' => 'x-cos-request-id',
  5068. ),
  5069. ),
  5070. ),
  5071. 'GetBucketLoggingOutput' => array(
  5072. 'type' => 'object',
  5073. 'additionalProperties' => true,
  5074. 'properties' => array(
  5075. 'LoggingEnabled' => array(
  5076. 'location' => 'xml',
  5077. 'type' => 'object',
  5078. 'properties' => array(
  5079. 'TargetBucket' => array(
  5080. 'type' => 'string',
  5081. 'location' => 'xml',
  5082. ),
  5083. 'TargetPrefix' => array(
  5084. 'type' => 'string',
  5085. ),
  5086. ),
  5087. ),
  5088. 'RequestId' => array(
  5089. 'location' => 'header',
  5090. 'sentAs' => 'x-cos-request-id',
  5091. ),
  5092. ),
  5093. ),
  5094. 'UploadPartOutput' => array(
  5095. 'type' => 'object',
  5096. 'additionalProperties' => true,
  5097. 'properties' => array(
  5098. 'ServerSideEncryption' => array(
  5099. 'type' => 'string',
  5100. 'location' => 'header',
  5101. 'sentAs' => 'x-cos-server-side-encryption',
  5102. ),
  5103. 'ETag' => array(
  5104. 'type' => 'string',
  5105. 'location' => 'header',
  5106. ),
  5107. 'SSECustomerAlgorithm' => array(
  5108. 'type' => 'string',
  5109. 'location' => 'header',
  5110. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  5111. ),
  5112. 'SSECustomerKeyMD5' => array(
  5113. 'type' => 'string',
  5114. 'location' => 'header',
  5115. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  5116. ),
  5117. 'SSEKMSKeyId' => array(
  5118. 'type' => 'string',
  5119. 'location' => 'header',
  5120. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  5121. ),
  5122. 'RequestCharged' => array(
  5123. 'type' => 'string',
  5124. 'location' => 'header',
  5125. 'sentAs' => 'x-cos-request-charged',
  5126. ),
  5127. 'RequestId' => array(
  5128. 'location' => 'header',
  5129. 'sentAs' => 'x-cos-request-id',
  5130. ),
  5131. 'CRC' => array(
  5132. 'type' => 'string',
  5133. 'location' => 'header',
  5134. 'sentAs' => 'x-cos-hash-crc64ecma',
  5135. )
  5136. ),
  5137. ),
  5138. 'UploadPartCopyOutput' => array(
  5139. 'type' => 'object',
  5140. 'additionalProperties' => true,
  5141. 'properties' => array(
  5142. 'CopySourceVersionId' => array(
  5143. 'type' => 'string',
  5144. 'location' => 'header',
  5145. 'sentAs' => 'x-cos-copy-source-version-id',
  5146. ),
  5147. 'ETag' => array(
  5148. 'type' => 'string',
  5149. 'location' => 'xml',
  5150. ),
  5151. 'LastModified' => array(
  5152. 'type' => 'string',
  5153. 'location' => 'xml',
  5154. ),
  5155. 'ServerSideEncryption' => array(
  5156. 'type' => 'string',
  5157. 'location' => 'header',
  5158. 'sentAs' => 'x-cos-server-side-encryption',
  5159. ),
  5160. 'SSECustomerAlgorithm' => array(
  5161. 'type' => 'string',
  5162. 'location' => 'header',
  5163. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  5164. ),
  5165. 'SSECustomerKeyMD5' => array(
  5166. 'type' => 'string',
  5167. 'location' => 'header',
  5168. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  5169. ),
  5170. 'SSEKMSKeyId' => array(
  5171. 'type' => 'string',
  5172. 'location' => 'header',
  5173. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  5174. ),
  5175. 'RequestCharged' => array(
  5176. 'type' => 'string',
  5177. 'location' => 'header',
  5178. 'sentAs' => 'x-cos-request-charged',
  5179. ),
  5180. 'RequestId' => array(
  5181. 'location' => 'header',
  5182. 'sentAs' => 'x-cos-request-id',
  5183. ),
  5184. 'CRC' => array(
  5185. 'type' => 'string',
  5186. 'location' => 'header',
  5187. 'sentAs' => 'x-cos-hash-crc64ecma',
  5188. )
  5189. ),
  5190. ),
  5191. 'PutBucketAclOutput' => array(
  5192. 'type' => 'object',
  5193. 'additionalProperties' => true,
  5194. 'properties' => array(
  5195. 'RequestId' => array(
  5196. 'location' => 'header',
  5197. 'sentAs' => 'x-cos-request-id'
  5198. )
  5199. )
  5200. ),
  5201. 'PutObjectOutput' => array(
  5202. 'type' => 'object',
  5203. 'additionalProperties' => true,
  5204. 'properties' => array(
  5205. 'Expiration' => array(
  5206. 'type' => 'string',
  5207. 'location' => 'header',
  5208. 'sentAs' => 'x-cos-expiration',
  5209. ),
  5210. 'ETag' => array(
  5211. 'type' => 'string',
  5212. 'location' => 'header',
  5213. ),
  5214. 'ServerSideEncryption' => array(
  5215. 'type' => 'string',
  5216. 'location' => 'header',
  5217. 'sentAs' => 'x-cos-server-side-encryption',
  5218. ),
  5219. 'VersionId' => array(
  5220. 'type' => 'string',
  5221. 'location' => 'header',
  5222. 'sentAs' => 'x-cos-version-id',
  5223. ),
  5224. 'SSECustomerAlgorithm' => array(
  5225. 'type' => 'string',
  5226. 'location' => 'header',
  5227. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  5228. ),
  5229. 'SSECustomerKeyMD5' => array(
  5230. 'type' => 'string',
  5231. 'location' => 'header',
  5232. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  5233. ),
  5234. 'SSEKMSKeyId' => array(
  5235. 'type' => 'string',
  5236. 'location' => 'header',
  5237. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  5238. ),
  5239. 'RequestCharged' => array(
  5240. 'type' => 'string',
  5241. 'location' => 'header',
  5242. 'sentAs' => 'x-cos-request-charged',
  5243. ),
  5244. 'RequestId' => array(
  5245. 'location' => 'header',
  5246. 'sentAs' => 'x-cos-request-id',
  5247. ),
  5248. 'ContentLength' => array(
  5249. 'type' => 'numeric',
  5250. 'minimum'=> 0,
  5251. 'location' => 'header',
  5252. 'sentAs' => 'Content-Length',
  5253. ),
  5254. 'Body' => array(
  5255. 'type' => 'string',
  5256. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  5257. 'location' => 'body',
  5258. ),
  5259. 'CRC' => array(
  5260. 'type' => 'string',
  5261. 'location' => 'header',
  5262. 'sentAs' => 'x-cos-hash-crc64ecma',
  5263. )
  5264. ),
  5265. ),
  5266. 'AppendObjectOutput' => array(
  5267. 'type' => 'object',
  5268. 'additionalProperties' => true,
  5269. 'properties' => array(
  5270. 'ETag' => array(
  5271. 'type' => 'string',
  5272. 'location' => 'header',
  5273. ),
  5274. 'Position' => array(
  5275. 'type' => 'integer',
  5276. 'location' => 'header',
  5277. 'sentAs' => 'x-cos-next-append-position',
  5278. ),
  5279. 'RequestId' => array(
  5280. 'location' => 'header',
  5281. 'sentAs' => 'x-cos-request-id',
  5282. )
  5283. ),
  5284. ),
  5285. 'PutObjectAclOutput' => array(
  5286. 'type' => 'object',
  5287. 'additionalProperties' => true,
  5288. 'properties' => array(
  5289. 'RequestCharged' => array(
  5290. 'type' => 'string',
  5291. 'location' => 'header',
  5292. 'sentAs' => 'x-cos-request-charged',
  5293. ),
  5294. 'RequestId' => array(
  5295. 'location' => 'header',
  5296. 'sentAs' => 'x-cos-request-id',
  5297. ),
  5298. ),
  5299. ),
  5300. 'PutBucketCorsOutput' => array(
  5301. 'type' => 'object',
  5302. 'additionalProperties' => true,
  5303. 'properties' => array(
  5304. 'RequestId' => array(
  5305. 'location' => 'header',
  5306. 'sentAs' => 'x-cos-request-id',
  5307. ),
  5308. ),
  5309. ),
  5310. 'PutBucketDomainOutput' => array(
  5311. 'type' => 'object',
  5312. 'additionalProperties' => true,
  5313. 'properties' => array(
  5314. 'RequestId' => array(
  5315. 'location' => 'header',
  5316. 'sentAs' => 'x-cos-request-id',
  5317. ),
  5318. ),
  5319. ),
  5320. 'PutBucketLifecycleOutput' => array(
  5321. 'type' => 'object',
  5322. 'additionalProperties' => true,
  5323. 'properties' => array(
  5324. 'RequestId' => array(
  5325. 'location' => 'header',
  5326. 'sentAs' => 'x-cos-request-id',
  5327. ),
  5328. ),
  5329. ),
  5330. 'PutBucketVersioningOutput' => array(
  5331. 'type' => 'object',
  5332. 'additionalProperties' => true,
  5333. 'properties' => array(
  5334. 'RequestId' => array(
  5335. 'location' => 'header',
  5336. 'sentAs' => 'x-cos-request-id',
  5337. ),
  5338. ),
  5339. ),
  5340. 'PutBucketReplicationOutput' => array(
  5341. 'type' => 'object',
  5342. 'additionalProperties' => true,
  5343. 'properties' => array(
  5344. 'RequestId' => array(
  5345. 'location' => 'header',
  5346. 'sentAs' => 'x-cos-request-id',
  5347. ),
  5348. ),
  5349. ),
  5350. 'PutBucketNotificationOutput' => array(
  5351. 'type' => 'object',
  5352. 'additionalProperties' => true,
  5353. 'properties' => array(
  5354. 'RequestId' => array(
  5355. 'location' => 'header',
  5356. 'sentAs' => 'x-cos-request-id',
  5357. ),
  5358. ),
  5359. ),
  5360. 'PutBucketWebsiteOutput' => array(
  5361. 'type' => 'object',
  5362. 'additionalProperties' => true,
  5363. 'properties' => array(
  5364. 'RequestId' => array(
  5365. 'location' => 'header',
  5366. 'sentAs' => 'x-cos-request-id',
  5367. ),
  5368. ),
  5369. ),
  5370. 'PutBucketAccelerateOutput' => array(
  5371. 'type' => 'object',
  5372. 'additionalProperties' => true,
  5373. 'properties' => array(
  5374. 'RequestId' => array(
  5375. 'location' => 'header',
  5376. 'sentAs' => 'x-cos-request-id',
  5377. ),
  5378. ),
  5379. ),
  5380. 'PutBucketLoggingOutput' => array(
  5381. 'type' => 'object',
  5382. 'additionalProperties' => true,
  5383. 'properties' => array(
  5384. 'RequestId' => array(
  5385. 'location' => 'header',
  5386. 'sentAs' => 'x-cos-request-id',
  5387. ),
  5388. ),
  5389. ),
  5390. 'PutBucketInventoryOutput' => array(
  5391. 'type' => 'object',
  5392. 'additionalProperties' => true,
  5393. 'properties' => array(
  5394. 'RequestId' => array(
  5395. 'location' => 'header',
  5396. 'sentAs' => 'x-cos-request-id',
  5397. ),
  5398. ),
  5399. ),
  5400. 'PutBucketTaggingOutput' => array(
  5401. 'type' => 'object',
  5402. 'additionalProperties' => true,
  5403. 'properties' => array(
  5404. 'RequestId' => array(
  5405. 'location' => 'header',
  5406. 'sentAs' => 'x-cos-request-id',
  5407. ),
  5408. ),
  5409. ),
  5410. 'RestoreObjectOutput' => array(
  5411. 'type' => 'object',
  5412. 'additionalProperties' => true,
  5413. 'properties' => array(
  5414. 'RequestCharged' => array(
  5415. 'type' => 'string',
  5416. 'location' => 'header',
  5417. 'sentAs' => 'x-cos-request-charged',
  5418. ),
  5419. 'RequestId' => array(
  5420. 'location' => 'header',
  5421. 'sentAs' => 'x-cos-request-id',
  5422. ),
  5423. ),
  5424. ),
  5425. 'ListPartsOutput' => array(
  5426. 'type' => 'object',
  5427. 'additionalProperties' => true,
  5428. 'properties' => array(
  5429. 'Bucket' => array(
  5430. 'type' => 'string',
  5431. 'location' => 'xml'
  5432. ),
  5433. 'Key' => array(
  5434. 'type' => 'string',
  5435. 'location' => 'xml'
  5436. ),
  5437. 'UploadId' => array(
  5438. 'type' => 'string',
  5439. 'location' => 'xml'
  5440. ),
  5441. 'PartNumberMarker' => array(
  5442. 'type' => 'numeric',
  5443. 'location' => 'xml'
  5444. ),
  5445. 'NextPartNumberMarker' => array(
  5446. 'type' => 'numeric',
  5447. 'location' => 'xml'
  5448. ),
  5449. 'MaxParts' => array(
  5450. 'type' => 'numeric',
  5451. 'location' => 'xml'
  5452. ),
  5453. 'IsTruncated' => array(
  5454. 'type' => 'boolean',
  5455. 'location' => 'xml'
  5456. ),
  5457. 'Parts' => array(
  5458. 'type' => 'array',
  5459. 'location' => 'xml',
  5460. 'sentAs' => 'Part',
  5461. 'data' => array(
  5462. 'xmlFlattened' => true
  5463. ),
  5464. 'items' => array(
  5465. 'type' => 'object',
  5466. 'properties' => array(
  5467. 'PartNumber' => array(
  5468. 'type' => 'numeric'
  5469. ),
  5470. 'LastModified' => array(
  5471. 'type' => 'string'
  5472. ),
  5473. 'ETag' => array(
  5474. 'type' => 'string'
  5475. ),
  5476. 'Size' => array(
  5477. 'type' => 'numeric'
  5478. )
  5479. )
  5480. )
  5481. ),
  5482. 'Initiator' => array(
  5483. 'type' => 'object',
  5484. 'location' => 'xml',
  5485. 'properties' => array(
  5486. 'ID' => array(
  5487. 'type' => 'string'
  5488. ),
  5489. 'DisplayName' => array(
  5490. 'type' => 'string'
  5491. )
  5492. )
  5493. ),
  5494. 'Owner' => array(
  5495. 'type' => 'object',
  5496. 'location' => 'xml',
  5497. 'properties' => array(
  5498. 'DisplayName' => array(
  5499. 'type' => 'string'
  5500. ),
  5501. 'ID' => array(
  5502. 'type' => 'string'
  5503. )
  5504. )
  5505. ),
  5506. 'StorageClass' => array(
  5507. 'type' => 'string',
  5508. 'location' => 'xml'
  5509. ),
  5510. 'RequestId' => array(
  5511. 'location' => 'header',
  5512. 'sentAs' => 'x-cos-request-id'
  5513. )
  5514. )
  5515. ),
  5516. 'ListObjectsOutput' => array(
  5517. 'type' => 'object',
  5518. 'additionalProperties' => true,
  5519. 'properties' => array(
  5520. 'IsTruncated' => array(
  5521. 'type' => 'boolean',
  5522. 'location' => 'xml'
  5523. ),
  5524. 'Marker' => array(
  5525. 'type' => 'string',
  5526. 'location' => 'xml'
  5527. ),
  5528. 'NextMarker' => array(
  5529. 'type' => 'string',
  5530. 'location' => 'xml'
  5531. ),
  5532. 'Contents' => array(
  5533. 'type' => 'array',
  5534. 'location' => 'xml',
  5535. 'data' => array(
  5536. 'xmlFlattened' => true
  5537. ),
  5538. 'items' => array(
  5539. 'type' => 'object',
  5540. 'properties' => array(
  5541. 'Key' => array(
  5542. 'type' => 'string'
  5543. ),
  5544. 'LastModified' => array(
  5545. 'type' => 'string'
  5546. ),
  5547. 'ETag' => array(
  5548. 'type' => 'string'
  5549. ),
  5550. 'Size' => array(
  5551. 'type' => 'numeric'
  5552. ),
  5553. 'StorageClass' => array(
  5554. 'type' => 'string'
  5555. ),
  5556. 'Owner' => array(
  5557. 'type' => 'object',
  5558. 'properties' => array(
  5559. 'DisplayName' => array(
  5560. 'type' => 'string'
  5561. ),
  5562. 'ID' => array(
  5563. 'type' => 'string'
  5564. )
  5565. )
  5566. )
  5567. )
  5568. )
  5569. ),
  5570. 'Name' => array(
  5571. 'type' => 'string',
  5572. 'location' => 'xml'
  5573. ),
  5574. 'Prefix' => array(
  5575. 'type' => 'string',
  5576. 'location' => 'xml'
  5577. ),
  5578. 'Delimiter' => array(
  5579. 'type' => 'string',
  5580. 'location' => 'xml'
  5581. ),
  5582. 'MaxKeys' => array(
  5583. 'type' => 'numeric',
  5584. 'location' => 'xml'
  5585. ),
  5586. 'CommonPrefixes' => array(
  5587. 'type' => 'array',
  5588. 'location' => 'xml',
  5589. 'data' => array(
  5590. 'xmlFlattened' => true
  5591. ),
  5592. 'items' => array(
  5593. 'type' => 'object',
  5594. 'properties' => array(
  5595. 'Prefix' => array(
  5596. 'type' => 'string'
  5597. )
  5598. )
  5599. )
  5600. ),
  5601. 'EncodingType' => array(
  5602. 'type' => 'string',
  5603. 'location' => 'xml'),
  5604. 'RequestId' => array(
  5605. 'location' => 'header',
  5606. 'sentAs' => 'x-cos-request-id'
  5607. )
  5608. )
  5609. ),
  5610. 'ListBucketsOutput' => array(
  5611. 'type' => 'object',
  5612. 'additionalProperties' => true,
  5613. 'properties' => array(
  5614. 'Buckets' => array(
  5615. 'type' => 'array',
  5616. 'location' => 'xml',
  5617. 'items' => array(
  5618. 'type' => 'object',
  5619. 'properties' => array(
  5620. 'Name' => array(
  5621. 'type' => 'string',
  5622. ),
  5623. 'CreationDate' => array(
  5624. 'type' => 'string',
  5625. ),
  5626. ),
  5627. ),
  5628. ),
  5629. 'Owner' => array(
  5630. 'type' => 'object',
  5631. 'location' => 'xml',
  5632. 'properties' => array(
  5633. 'DisplayName' => array(
  5634. 'type' => 'string',
  5635. ),
  5636. 'ID' => array(
  5637. 'type' => 'string',
  5638. ),
  5639. ),
  5640. ),
  5641. 'RequestId' => array(
  5642. 'location' => 'header',
  5643. 'sentAs' => 'x-cos-request-id',
  5644. ),
  5645. ),
  5646. ),
  5647. 'ListObjectVersionsOutput' => array(
  5648. 'type' => 'object',
  5649. 'additionalProperties' => true,
  5650. 'properties' => array(
  5651. 'IsTruncated' => array(
  5652. 'type' => 'boolean',
  5653. 'location' => 'xml',
  5654. ),
  5655. 'KeyMarker' => array(
  5656. 'type' => 'string',
  5657. 'location' => 'xml',
  5658. ),
  5659. 'VersionIdMarker' => array(
  5660. 'type' => 'string',
  5661. 'location' => 'xml',
  5662. ),
  5663. 'NextKeyMarker' => array(
  5664. 'type' => 'string',
  5665. 'location' => 'xml',
  5666. ),
  5667. 'NextVersionIdMarker' => array(
  5668. 'type' => 'string',
  5669. 'location' => 'xml',
  5670. ),
  5671. 'Version' => array(
  5672. 'type' => 'array',
  5673. 'location' => 'xml',
  5674. 'data' => array(
  5675. 'xmlFlattened' => true,
  5676. ),
  5677. 'items' => array(
  5678. 'type' => 'object',
  5679. 'properties' => array(
  5680. 'ETag' => array(
  5681. 'type' => 'string',
  5682. ),
  5683. 'Size' => array(
  5684. 'type' => 'numeric',
  5685. ),
  5686. 'StorageClass' => array(
  5687. 'type' => 'string',
  5688. ),
  5689. 'Key' => array(
  5690. 'type' => 'string',
  5691. ),
  5692. 'VersionId' => array(
  5693. 'type' => 'string',
  5694. ),
  5695. 'IsLatest' => array(
  5696. 'type' => 'boolean',
  5697. ),
  5698. 'LastModified' => array(
  5699. 'type' => 'string',
  5700. ),
  5701. 'Owner' => array(
  5702. 'type' => 'object',
  5703. 'properties' => array(
  5704. 'DisplayName' => array(
  5705. 'type' => 'string',
  5706. ),
  5707. 'ID' => array(
  5708. 'type' => 'string',
  5709. ),
  5710. ),
  5711. ),
  5712. ),
  5713. ),
  5714. ),
  5715. 'DeleteMarkers' => array(
  5716. 'type' => 'array',
  5717. 'location' => 'xml',
  5718. 'sentAs' => 'DeleteMarker',
  5719. 'data' => array(
  5720. 'xmlFlattened' => true,
  5721. ),
  5722. 'items' => array(
  5723. 'type' => 'object',
  5724. 'properties' => array(
  5725. 'Owner' => array(
  5726. 'type' => 'object',
  5727. 'properties' => array(
  5728. 'DisplayName' => array(
  5729. 'type' => 'string',
  5730. ),
  5731. 'ID' => array(
  5732. 'type' => 'string',
  5733. ),
  5734. ),
  5735. ),
  5736. 'Key' => array(
  5737. 'type' => 'string',
  5738. ),
  5739. 'VersionId' => array(
  5740. 'type' => 'string',
  5741. ),
  5742. 'IsLatest' => array(
  5743. 'type' => 'boolean',
  5744. ),
  5745. 'LastModified' => array(
  5746. 'type' => 'string',
  5747. ),
  5748. ),
  5749. ),
  5750. ),
  5751. 'Name' => array(
  5752. 'type' => 'string',
  5753. 'location' => 'xml',
  5754. ),
  5755. 'Prefix' => array(
  5756. 'type' => 'string',
  5757. 'location' => 'xml',
  5758. ),
  5759. 'Delimiter' => array(
  5760. 'type' => 'string',
  5761. 'location' => 'xml',
  5762. ),
  5763. 'MaxKeys' => array(
  5764. 'type' => 'numeric',
  5765. 'location' => 'xml',
  5766. ),
  5767. 'CommonPrefixes' => array(
  5768. 'type' => 'array',
  5769. 'location' => 'xml',
  5770. 'data' => array(
  5771. 'xmlFlattened' => true,
  5772. ),
  5773. 'items' => array(
  5774. 'type' => 'object',
  5775. 'properties' => array(
  5776. 'Prefix' => array(
  5777. 'type' => 'string',
  5778. ),
  5779. ),
  5780. ),
  5781. ),
  5782. 'EncodingType' => array(
  5783. 'type' => 'string',
  5784. 'location' => 'xml',
  5785. ),
  5786. 'RequestId' => array(
  5787. 'location' => 'header',
  5788. 'sentAs' => 'x-cos-request-id',
  5789. ),
  5790. ),
  5791. ),
  5792. 'ListMultipartUploadsOutput' => array(
  5793. 'type' => 'object',
  5794. 'additionalProperties' => true,
  5795. 'properties' => array(
  5796. 'Bucket' => array(
  5797. 'type' => 'string',
  5798. 'location' => 'xml',
  5799. ),
  5800. 'KeyMarker' => array(
  5801. 'type' => 'string',
  5802. 'location' => 'xml',
  5803. ),
  5804. 'UploadIdMarker' => array(
  5805. 'type' => 'string',
  5806. 'location' => 'xml',
  5807. ),
  5808. 'NextKeyMarker' => array(
  5809. 'type' => 'string',
  5810. 'location' => 'xml',
  5811. ),
  5812. 'Prefix' => array(
  5813. 'type' => 'string',
  5814. 'location' => 'xml',
  5815. ),
  5816. 'Delimiter' => array(
  5817. 'type' => 'string',
  5818. 'location' => 'xml',
  5819. ),
  5820. 'NextUploadIdMarker' => array(
  5821. 'type' => 'string',
  5822. 'location' => 'xml',
  5823. ),
  5824. 'MaxUploads' => array(
  5825. 'type' => 'numeric',
  5826. 'location' => 'xml',
  5827. ),
  5828. 'IsTruncated' => array(
  5829. 'type' => 'boolean',
  5830. 'location' => 'xml',
  5831. ),
  5832. 'Uploads' => array(
  5833. 'type' => 'array',
  5834. 'location' => 'xml',
  5835. 'sentAs' => 'Upload',
  5836. 'data' => array(
  5837. 'xmlFlattened' => true,
  5838. ),
  5839. 'items' => array(
  5840. 'type' => 'object',
  5841. 'properties' => array(
  5842. 'UploadId' => array(
  5843. 'type' => 'string',
  5844. ),
  5845. 'Key' => array(
  5846. 'type' => 'string',
  5847. ),
  5848. 'Initiated' => array(
  5849. 'type' => 'string',
  5850. ),
  5851. 'StorageClass' => array(
  5852. 'type' => 'string',
  5853. ),
  5854. 'Owner' => array(
  5855. 'type' => 'object',
  5856. 'properties' => array(
  5857. 'DisplayName' => array(
  5858. 'type' => 'string',
  5859. ),
  5860. 'ID' => array(
  5861. 'type' => 'string',
  5862. ),
  5863. ),
  5864. ),
  5865. 'Initiator' => array(
  5866. 'type' => 'object',
  5867. 'properties' => array(
  5868. 'ID' => array(
  5869. 'type' => 'string',
  5870. ),
  5871. 'DisplayName' => array(
  5872. 'type' => 'string',
  5873. ),
  5874. ),
  5875. ),
  5876. ),
  5877. ),
  5878. ),
  5879. 'CommonPrefixes' => array(
  5880. 'type' => 'array',
  5881. 'location' => 'xml',
  5882. 'data' => array(
  5883. 'xmlFlattened' => true,
  5884. ),
  5885. 'items' => array(
  5886. 'type' => 'object',
  5887. 'properties' => array(
  5888. 'Prefix' => array(
  5889. 'type' => 'string',
  5890. ),
  5891. ),
  5892. ),
  5893. ),
  5894. 'EncodingType' => array(
  5895. 'type' => 'string',
  5896. 'location' => 'xml',
  5897. ),
  5898. 'RequestId' => array(
  5899. 'location' => 'header',
  5900. 'sentAs' => 'x-cos-request-id',
  5901. ),
  5902. ),
  5903. ),
  5904. 'ListBucketInventoryConfigurationsOutput' => array(
  5905. 'type' => 'object',
  5906. 'additionalProperties' => true,
  5907. 'properties' => array(
  5908. 'InventoryConfiguration' => array(
  5909. 'type' => 'array',
  5910. 'location' => 'xml',
  5911. 'sentAs' => 'InventoryConfiguration',
  5912. 'items' => array(
  5913. 'type' => 'object',
  5914. 'properties' => array(
  5915. 'Destination' => array(
  5916. 'type' => 'object',
  5917. 'location' => 'xml',
  5918. 'properties' => array(
  5919. 'COSBucketDestination' => array(
  5920. 'type' => 'object',
  5921. 'properties' => array(
  5922. 'Format' => array(
  5923. 'type' => 'string',
  5924. ),
  5925. 'AccountId' => array(
  5926. 'type' => 'string',
  5927. ),
  5928. 'Bucket' => array(
  5929. 'type' => 'string',
  5930. ),
  5931. 'Prefix' => array(
  5932. 'type' => 'string',
  5933. ),
  5934. 'Encryption' => array(
  5935. 'type' => 'object',
  5936. 'properties' => array(
  5937. 'SSE-COS' => array(
  5938. 'type' => 'string',
  5939. )
  5940. )
  5941. ),
  5942. ),
  5943. ),
  5944. ),
  5945. ),
  5946. 'Schedule' => array(
  5947. 'type' => 'object',
  5948. 'location' => 'xml',
  5949. 'properties' => array(
  5950. 'Frequency' => array(
  5951. 'type' => 'string',
  5952. ),
  5953. ),
  5954. ),
  5955. 'OptionalFields' => array(
  5956. 'type' => 'array',
  5957. 'location' => 'xml',
  5958. 'properties' => array(
  5959. 'Key' => array(
  5960. 'type' => 'string',
  5961. ),
  5962. ),
  5963. ),
  5964. 'OptionalFields' => array(
  5965. 'type' => 'array',
  5966. 'location' => 'xml',
  5967. 'items' => array(
  5968. 'name' => 'Field',
  5969. 'type' => 'string',
  5970. 'sentAs' => 'Field',
  5971. ),
  5972. ),
  5973. 'IsEnabled' => array(
  5974. 'type' => 'string',
  5975. 'location' => 'xml',
  5976. ),
  5977. 'Id' => array(
  5978. 'type' => 'string',
  5979. 'location' => 'xml',
  5980. ),
  5981. 'IncludedObjectVersions' => array(
  5982. 'type' => 'string',
  5983. 'location' => 'xml',
  5984. ),
  5985. 'RequestId' => array(
  5986. 'location' => 'header',
  5987. 'sentAs' => 'x-cos-request-id',
  5988. ),
  5989. ),
  5990. ),
  5991. ),
  5992. ),
  5993. ),
  5994. 'HeadObjectOutput' => array(
  5995. 'type' => 'object',
  5996. 'additionalProperties' => true,
  5997. 'properties' => array(
  5998. 'DeleteMarker' => array(
  5999. 'type' => 'boolean',
  6000. 'location' => 'header',
  6001. 'sentAs' => 'x-cos-delete-marker',
  6002. ),
  6003. 'AcceptRanges' => array(
  6004. 'type' => 'string',
  6005. 'location' => 'header',
  6006. 'sentAs' => 'accept-ranges',
  6007. ),
  6008. 'Expiration' => array(
  6009. 'type' => 'string',
  6010. 'location' => 'header',
  6011. 'sentAs' => 'x-cos-expiration',
  6012. ),
  6013. 'Restore' => array(
  6014. 'type' => 'string',
  6015. 'location' => 'header',
  6016. 'sentAs' => 'x-cos-restore',
  6017. ),
  6018. 'LastModified' => array(
  6019. 'type' => 'string',
  6020. 'location' => 'header',
  6021. 'sentAs' => 'Last-Modified',
  6022. ),
  6023. 'ContentLength' => array(
  6024. 'type' => 'numeric',
  6025. 'minimum'=> 0,
  6026. 'location' => 'header',
  6027. 'sentAs' => 'Content-Length',
  6028. ),
  6029. 'ETag' => array(
  6030. 'type' => 'string',
  6031. 'location' => 'header',
  6032. ),
  6033. 'MissingMeta' => array(
  6034. 'type' => 'numeric',
  6035. 'location' => 'header',
  6036. 'sentAs' => 'x-cos-missing-meta',
  6037. ),
  6038. 'VersionId' => array(
  6039. 'type' => 'string',
  6040. 'location' => 'header',
  6041. 'sentAs' => 'x-cos-version-id',
  6042. ),
  6043. 'CacheControl' => array(
  6044. 'type' => 'string',
  6045. 'location' => 'header',
  6046. 'sentAs' => 'Cache-Control',
  6047. ),
  6048. 'ContentDisposition' => array(
  6049. 'type' => 'string',
  6050. 'location' => 'header',
  6051. 'sentAs' => 'Content-Disposition',
  6052. ),
  6053. 'ContentEncoding' => array(
  6054. 'type' => 'string',
  6055. 'location' => 'header',
  6056. 'sentAs' => 'Content-Encoding',
  6057. ),
  6058. 'ContentLanguage' => array(
  6059. 'type' => 'string',
  6060. 'location' => 'header',
  6061. 'sentAs' => 'Content-Language',
  6062. ),
  6063. 'ContentType' => array(
  6064. 'type' => 'string',
  6065. 'location' => 'header',
  6066. 'sentAs' => 'Content-Type',
  6067. ),
  6068. 'Expires' => array(
  6069. 'type' => 'string',
  6070. 'location' => 'header',
  6071. ),
  6072. 'WebsiteRedirectLocation' => array(
  6073. 'type' => 'string',
  6074. 'location' => 'header',
  6075. 'sentAs' => 'x-cos-website-redirect-location',
  6076. ),
  6077. 'ServerSideEncryption' => array(
  6078. 'type' => 'string',
  6079. 'location' => 'header',
  6080. 'sentAs' => 'x-cos-server-side-encryption',
  6081. ),
  6082. 'SSECustomerAlgorithm' => array(
  6083. 'type' => 'string',
  6084. 'location' => 'header',
  6085. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  6086. ),
  6087. 'SSECustomerKeyMD5' => array(
  6088. 'type' => 'string',
  6089. 'location' => 'header',
  6090. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  6091. ),
  6092. 'SSEKMSKeyId' => array(
  6093. 'type' => 'string',
  6094. 'location' => 'header',
  6095. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  6096. ),
  6097. 'StorageClass' => array(
  6098. 'type' => 'string',
  6099. 'location' => 'header',
  6100. 'sentAs' => 'x-cos-storage-class',
  6101. ),
  6102. 'RequestCharged' => array(
  6103. 'type' => 'string',
  6104. 'location' => 'header',
  6105. 'sentAs' => 'x-cos-request-charged',
  6106. ),
  6107. 'ReplicationStatus' => array(
  6108. 'type' => 'string',
  6109. 'location' => 'header',
  6110. 'sentAs' => 'x-cos-replication-status',
  6111. ),
  6112. 'RequestId' => array(
  6113. 'location' => 'header',
  6114. 'sentAs' => 'x-cos-request-id',
  6115. ),
  6116. 'CRC' => array(
  6117. 'type' => 'string',
  6118. 'location' => 'header',
  6119. 'sentAs' => 'x-cos-hash-crc64ecma',
  6120. )
  6121. )
  6122. ),
  6123. 'HeadBucketOutput' => array(
  6124. 'type' => 'object',
  6125. 'additionalProperties' => true,
  6126. 'properties' => array(
  6127. 'RequestId' => array(
  6128. 'location' => 'header',
  6129. 'sentAs' => 'x-cos-request-id',
  6130. ),
  6131. 'BucketAzType' => array(
  6132. 'location' => 'header',
  6133. 'sentAs' => 'x-cos-bucket-az-type', // undefined 或 MAZ
  6134. ),
  6135. 'BucketArch' => array(
  6136. 'location' => 'header',
  6137. 'sentAs' => 'x-cos-bucket-arch', // undefined 或 OFS
  6138. ),
  6139. ),
  6140. ),
  6141. 'SelectObjectContentOutput' => array(
  6142. 'type' => 'object',
  6143. 'additionalProperties' => true,
  6144. 'properties' => array(
  6145. 'RawData' => array(
  6146. 'type' => 'string',
  6147. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6148. 'location' => 'body',
  6149. ),
  6150. ),
  6151. ),
  6152. 'GetBucketIntelligentTieringOutput' => array(
  6153. 'type' => 'object',
  6154. 'additionalProperties' => true,
  6155. 'properties' => array(
  6156. 'Status' => array(
  6157. 'type' => 'string',
  6158. 'location' => 'xml',
  6159. ),
  6160. 'Transition' => array(
  6161. 'type' => 'object',
  6162. 'location' => 'xml',
  6163. 'properties' => array(
  6164. 'Days' => array(
  6165. 'type' => 'string',
  6166. ),
  6167. 'RequestFrequent' => array(
  6168. 'type' => 'string',
  6169. ),
  6170. )
  6171. ),
  6172. 'RequestId' => array(
  6173. 'location' => 'header',
  6174. 'sentAs' => 'x-cos-request-id',
  6175. ),
  6176. ),
  6177. ),
  6178. 'PutBucketIntelligentTieringOutput' => array(
  6179. 'type' => 'object',
  6180. 'additionalProperties' => true,
  6181. 'properties' => array(
  6182. 'RequestId' => array(
  6183. 'location' => 'header',
  6184. 'sentAs' => 'x-cos-request-id',
  6185. ),
  6186. ),
  6187. ),
  6188. 'ImageInfoOutput' => array(
  6189. 'type' => 'object',
  6190. 'additionalProperties' => true,
  6191. 'properties' => array(
  6192. 'Body' => array(
  6193. 'type' => 'string',
  6194. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6195. 'location' => 'body',
  6196. ),
  6197. 'RequestId' => array(
  6198. 'location' => 'header',
  6199. 'sentAs' => 'x-cos-request-id',
  6200. ),
  6201. 'ContentType' => array(
  6202. 'type' => 'string',
  6203. 'location' => 'header',
  6204. 'sentAs' => 'Content-Type',
  6205. ),
  6206. 'ContentLength' => array(
  6207. 'type' => 'numeric',
  6208. 'minimum'=> 0,
  6209. 'location' => 'header',
  6210. 'sentAs' => 'Content-Length',
  6211. ),
  6212. ),
  6213. ),
  6214. 'ImageExifOutput' => array(
  6215. 'type' => 'object',
  6216. 'additionalProperties' => true,
  6217. 'properties' => array(
  6218. 'Body' => array(
  6219. 'type' => 'string',
  6220. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6221. 'location' => 'body',
  6222. ),
  6223. 'RequestId' => array(
  6224. 'location' => 'header',
  6225. 'sentAs' => 'x-cos-request-id',
  6226. ),
  6227. 'ContentType' => array(
  6228. 'type' => 'string',
  6229. 'location' => 'header',
  6230. 'sentAs' => 'Content-Type',
  6231. ),
  6232. 'ContentLength' => array(
  6233. 'type' => 'numeric',
  6234. 'minimum'=> 0,
  6235. 'location' => 'header',
  6236. 'sentAs' => 'Content-Length',
  6237. ),
  6238. ),
  6239. ),
  6240. 'ImageAveOutput' => array(
  6241. 'type' => 'object',
  6242. 'additionalProperties' => true,
  6243. 'properties' => array(
  6244. 'Body' => array(
  6245. 'type' => 'string',
  6246. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6247. 'location' => 'body',
  6248. ),
  6249. 'RequestId' => array(
  6250. 'location' => 'header',
  6251. 'sentAs' => 'x-cos-request-id',
  6252. ),
  6253. 'ContentType' => array(
  6254. 'type' => 'string',
  6255. 'location' => 'header',
  6256. 'sentAs' => 'Content-Type',
  6257. ),
  6258. 'ContentLength' => array(
  6259. 'type' => 'numeric',
  6260. 'minimum'=> 0,
  6261. 'location' => 'header',
  6262. 'sentAs' => 'Content-Length',
  6263. ),
  6264. ),
  6265. ),
  6266. 'ImageProcessOutput' => array(
  6267. 'type' => 'object',
  6268. 'additionalProperties' => true,
  6269. 'properties' => array(
  6270. 'RequestId' => array(
  6271. 'location' => 'header',
  6272. 'sentAs' => 'x-cos-request-id',
  6273. ),
  6274. 'OriginalInfo' => array(
  6275. 'type' => 'object',
  6276. 'location' => 'xml',
  6277. 'properties' => array(
  6278. 'Key' => array(
  6279. 'type' => 'string',
  6280. ),
  6281. 'Location' => array(
  6282. 'type' => 'string',
  6283. ),
  6284. 'ETag' => array(
  6285. 'type' => 'string',
  6286. ),
  6287. 'ImageInfo' => array(
  6288. 'type' => 'object',
  6289. 'properties' => array(
  6290. 'Format' => array(
  6291. 'type' => 'string',
  6292. ),
  6293. 'Width' => array(
  6294. 'type' => 'string',
  6295. ),
  6296. 'Height' => array(
  6297. 'type' => 'string',
  6298. ),
  6299. 'Quality' => array(
  6300. 'type' => 'string',
  6301. ),
  6302. 'Ave' => array(
  6303. 'type' => 'string',
  6304. ),
  6305. 'Orientation' => array(
  6306. 'type' => 'string',
  6307. ),
  6308. ),
  6309. ),
  6310. ),
  6311. ),
  6312. 'ProcessResults' => array(
  6313. 'type' => 'object',
  6314. 'location' => 'xml',
  6315. 'properties' => array(
  6316. 'Object' => array(
  6317. 'type' => 'array',
  6318. 'items' => array(
  6319. 'type' => 'object',
  6320. 'properties' => array(
  6321. 'Key' => array(
  6322. 'type' => 'string',
  6323. ),
  6324. 'Location' => array(
  6325. 'type' => 'string',
  6326. ),
  6327. 'Format' => array(
  6328. 'type' => 'string',
  6329. ),
  6330. 'Width' => array(
  6331. 'type' => 'string',
  6332. ),
  6333. 'Height' => array(
  6334. 'type' => 'string',
  6335. ),
  6336. 'Size' => array(
  6337. 'type' => 'string',
  6338. ),
  6339. 'Quality' => array(
  6340. 'type' => 'string',
  6341. ),
  6342. 'ETag' => array(
  6343. 'type' => 'string',
  6344. ),
  6345. 'WatermarkStatus' => array(
  6346. 'type' => 'integer',
  6347. ),
  6348. ),
  6349. ),
  6350. ),
  6351. ),
  6352. ),
  6353. ),
  6354. ),
  6355. 'QrcodeOutput' => array(
  6356. 'type' => 'object',
  6357. 'additionalProperties' => true,
  6358. 'properties' => array(
  6359. 'RequestId' => array(
  6360. 'location' => 'header',
  6361. 'sentAs' => 'x-cos-request-id',
  6362. ),
  6363. 'CodeStatus' => array(
  6364. 'type' => 'integer',
  6365. 'location' => 'xml',
  6366. ),
  6367. 'QRcodeInfo' => array(
  6368. 'type' => 'array',
  6369. 'location' => 'xml',
  6370. 'items' => array(
  6371. 'type' => 'object',
  6372. 'properties' => array(
  6373. 'CodeUrl' => array(
  6374. 'type' => 'string',
  6375. ),
  6376. 'Point' => array(
  6377. 'type' => 'array',
  6378. 'items' => array(
  6379. 'type' => 'string',
  6380. ),
  6381. ),
  6382. ),
  6383. ),
  6384. ),
  6385. 'ResultImage' => array(
  6386. 'type' => 'string',
  6387. 'location' => 'xml',
  6388. ),
  6389. ),
  6390. ),
  6391. 'QrcodeGenerateOutput' => array(
  6392. 'type' => 'object',
  6393. 'additionalProperties' => true,
  6394. 'properties' => array(
  6395. 'RequestId' => array(
  6396. 'location' => 'header',
  6397. 'sentAs' => 'x-cos-request-id',
  6398. ),
  6399. 'ResultImage' => array(
  6400. 'type' => 'string',
  6401. 'location' => 'xml',
  6402. ),
  6403. ),
  6404. ),
  6405. 'DetectLabelOutput' => array(
  6406. 'type' => 'object',
  6407. 'additionalProperties' => true,
  6408. 'properties' => array(
  6409. 'RequestId' => array(
  6410. 'location' => 'header',
  6411. 'sentAs' => 'x-cos-request-id',
  6412. ),
  6413. 'Labels' => array(
  6414. 'type' => 'array',
  6415. 'location' => 'xml',
  6416. 'items' => array(
  6417. 'type' => 'object',
  6418. 'properties' => array(
  6419. 'Confidence' => array(
  6420. 'type' => 'integer',
  6421. ),
  6422. 'Name' => array(
  6423. 'type' => 'string',
  6424. ),
  6425. ),
  6426. ),
  6427. ),
  6428. ),
  6429. ),
  6430. 'PutBucketImageStyleOutput' => array(
  6431. 'type' => 'object',
  6432. 'additionalProperties' => true,
  6433. 'properties' => array(
  6434. 'RequestId' => array(
  6435. 'location' => 'header',
  6436. 'sentAs' => 'x-cos-request-id',
  6437. ),
  6438. ),
  6439. ),
  6440. 'GetBucketImageStyleOutput' => array(
  6441. 'type' => 'object',
  6442. 'additionalProperties' => true,
  6443. 'properties' => array(
  6444. 'RequestId' => array(
  6445. 'location' => 'header',
  6446. 'sentAs' => 'x-cos-request-id',
  6447. ),
  6448. 'StyleRule' => array(
  6449. 'type' => 'array',
  6450. 'location' => 'xml',
  6451. 'items' => array(
  6452. 'type' => 'object',
  6453. 'properties' => array(
  6454. 'StyleName' => array(
  6455. 'type' => 'string',
  6456. ),
  6457. 'StyleBody' => array(
  6458. 'type' => 'string',
  6459. ),
  6460. ),
  6461. ),
  6462. ),
  6463. ),
  6464. ),
  6465. 'DeleteBucketImageStyleOutput' => array(
  6466. 'type' => 'object',
  6467. 'additionalProperties' => true,
  6468. 'properties' => array(
  6469. 'RequestId' => array(
  6470. 'location' => 'header',
  6471. 'sentAs' => 'x-cos-request-id',
  6472. ),
  6473. ),
  6474. ),
  6475. 'PutBucketGuetzliOutput' => array(
  6476. 'type' => 'object',
  6477. 'additionalProperties' => true,
  6478. 'properties' => array(
  6479. 'RequestId' => array(
  6480. 'location' => 'header',
  6481. 'sentAs' => 'x-cos-request-id',
  6482. ),
  6483. ),
  6484. ),
  6485. 'GetBucketGuetzliOutput' => array(
  6486. 'type' => 'object',
  6487. 'additionalProperties' => true,
  6488. 'properties' => array(
  6489. 'RequestId' => array(
  6490. 'location' => 'header',
  6491. 'sentAs' => 'x-cos-request-id',
  6492. ),
  6493. 'ContentLength' => array(
  6494. 'type' => 'numeric',
  6495. 'minimum'=> 0,
  6496. 'location' => 'header',
  6497. 'sentAs' => 'Content-Length',
  6498. ),
  6499. 'Body' => array(
  6500. 'type' => 'string',
  6501. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6502. 'location' => 'body',
  6503. ),
  6504. ),
  6505. ),
  6506. 'DeleteBucketGuetzliOutput' => array(
  6507. 'type' => 'object',
  6508. 'additionalProperties' => true,
  6509. 'properties' => array(
  6510. 'RequestId' => array(
  6511. 'location' => 'header',
  6512. 'sentAs' => 'x-cos-request-id',
  6513. ),
  6514. ),
  6515. ),
  6516. 'GetObjectSensitiveContentRecognitionOutput' => array(
  6517. 'type' => 'object',
  6518. 'additionalProperties' => true,
  6519. 'properties' => array(
  6520. 'RequestId' => array(
  6521. 'location' => 'header',
  6522. 'sentAs' => 'x-cos-request-id',
  6523. ),
  6524. 'PornInfo' => array(
  6525. 'type' => 'array',
  6526. 'location' => 'xml',
  6527. 'items' => array(
  6528. 'type' => 'object',
  6529. 'properties' => array(
  6530. 'Code' => array(
  6531. 'type' => 'integer',
  6532. ),
  6533. 'Msg' => array(
  6534. 'type' => 'string',
  6535. ),
  6536. 'HitFlag' => array(
  6537. 'type' => 'integer',
  6538. ),
  6539. 'Score' => array(
  6540. 'type' => 'integer',
  6541. ),
  6542. 'Label' => array(
  6543. 'type' => 'string',
  6544. )
  6545. ),
  6546. ),
  6547. ),
  6548. 'TerroristInfo' => array(
  6549. 'type' => 'array',
  6550. 'location' => 'xml',
  6551. 'items' => array(
  6552. 'type' => 'object',
  6553. 'properties' => array(
  6554. 'Code' => array(
  6555. 'type' => 'integer',
  6556. ),
  6557. 'Msg' => array(
  6558. 'type' => 'string',
  6559. ),
  6560. 'HitFlag' => array(
  6561. 'type' => 'integer',
  6562. ),
  6563. 'Score' => array(
  6564. 'type' => 'integer',
  6565. ),
  6566. 'Label' => array(
  6567. 'type' => 'string',
  6568. )
  6569. ),
  6570. ),
  6571. ),
  6572. 'PoliticsInfo' => array(
  6573. 'type' => 'array',
  6574. 'location' => 'xml',
  6575. 'items' => array(
  6576. 'type' => 'object',
  6577. 'properties' => array(
  6578. 'Code' => array(
  6579. 'type' => 'integer',
  6580. ),
  6581. 'Msg' => array(
  6582. 'type' => 'string',
  6583. ),
  6584. 'HitFlag' => array(
  6585. 'type' => 'integer',
  6586. ),
  6587. 'Score' => array(
  6588. 'type' => 'integer',
  6589. ),
  6590. 'Label' => array(
  6591. 'type' => 'string',
  6592. )
  6593. ),
  6594. ),
  6595. ),
  6596. 'AdsInfo' => array(
  6597. 'type' => 'array',
  6598. 'location' => 'xml',
  6599. 'items' => array(
  6600. 'type' => 'object',
  6601. 'properties' => array(
  6602. 'Code' => array(
  6603. 'type' => 'integer',
  6604. ),
  6605. 'Msg' => array(
  6606. 'type' => 'string',
  6607. ),
  6608. 'HitFlag' => array(
  6609. 'type' => 'integer',
  6610. ),
  6611. 'Score' => array(
  6612. 'type' => 'integer',
  6613. ),
  6614. 'Label' => array(
  6615. 'type' => 'string',
  6616. )
  6617. ),
  6618. ),
  6619. ),
  6620. )
  6621. ),
  6622. 'DetectTextOutput' => array(
  6623. 'type' => 'object',
  6624. 'additionalProperties' => true,
  6625. 'properties' => array(
  6626. 'RequestId' => array(
  6627. 'type' => 'string',
  6628. 'location' => 'header',
  6629. 'sentAs' => 'x-ci-request-id',
  6630. ),
  6631. 'ContentType' => array(
  6632. 'type' => 'string',
  6633. 'location' => 'header',
  6634. 'sentAs' => 'Content-Type',
  6635. ),
  6636. 'ContentLength' => array(
  6637. 'type' => 'numeric',
  6638. 'minimum'=> 0,
  6639. 'location' => 'header',
  6640. 'sentAs' => 'Content-Length',
  6641. ),
  6642. 'JobsDetail' => array(
  6643. 'type' => 'object',
  6644. 'location' => 'xml',
  6645. 'properties' => array(
  6646. 'Code' => array( 'type' => 'string', 'location' => 'xml',),
  6647. 'DataId' => array( 'type' => 'string', 'location' => 'xml',),
  6648. 'Message' => array( 'type' => 'string', 'location' => 'xml',),
  6649. 'JobId' => array( 'type' => 'string', 'location' => 'xml',),
  6650. 'State' => array( 'type' => 'string', 'location' => 'xml',),
  6651. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml',),
  6652. 'Content' => array( 'type' => 'string', 'location' => 'xml',),
  6653. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  6654. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6655. 'Result' => array( 'type' => 'integer', 'location' => 'xml',),
  6656. 'SectionCount' => array( 'type' => 'integer', 'location' => 'xml',),
  6657. 'PornInfo' => array(
  6658. 'type' => 'object',
  6659. 'location' => 'xml',
  6660. 'properties' => array(
  6661. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6662. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6663. ),
  6664. ),
  6665. 'TerrorismInfo' => array(
  6666. 'type' => 'object',
  6667. 'location' => 'xml',
  6668. 'properties' => array(
  6669. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6670. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6671. ),
  6672. ),
  6673. 'PoliticsInfo' => array(
  6674. 'type' => 'object',
  6675. 'location' => 'xml',
  6676. 'properties' => array(
  6677. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6678. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6679. ),
  6680. ),
  6681. 'AdsInfo' => array(
  6682. 'type' => 'object',
  6683. 'location' => 'xml',
  6684. 'properties' => array(
  6685. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6686. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6687. ),
  6688. ),
  6689. 'IllegalInfo' => array(
  6690. 'type' => 'object',
  6691. 'location' => 'xml',
  6692. 'properties' => array(
  6693. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6694. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6695. ),
  6696. ),
  6697. 'AbuseInfo' => array(
  6698. 'type' => 'object',
  6699. 'location' => 'xml',
  6700. 'properties' => array(
  6701. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6702. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6703. ),
  6704. ),
  6705. 'Section' => array(
  6706. 'type' => 'array',
  6707. 'location' => 'xml',
  6708. 'items' => array(
  6709. 'type' => 'object',
  6710. 'properties' => array(
  6711. 'StartByte' => array( 'type' => 'integer', 'location' => 'xml',),
  6712. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  6713. 'Result' => array( 'type' => 'integer', 'location' => 'xml',),
  6714. 'PornInfo' => array(
  6715. 'type' => 'object',
  6716. 'location' => 'xml',
  6717. 'properties' => array(
  6718. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6719. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6720. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6721. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6722. 'LibResults' => array(
  6723. 'type' => 'array',
  6724. 'location' => 'xml',
  6725. 'items' => array(
  6726. 'type' => 'object',
  6727. 'location' => 'xml',
  6728. 'properties' => array(
  6729. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6730. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6731. 'Keywords' => array(
  6732. 'type' => 'array',
  6733. 'location' => 'xml',
  6734. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6735. ),
  6736. ),
  6737. ),
  6738. ),
  6739. ),
  6740. ),
  6741. 'TerrorismInfo' => array(
  6742. 'type' => 'object',
  6743. 'location' => 'xml',
  6744. 'properties' => array(
  6745. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6746. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6747. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6748. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6749. 'LibResults' => array(
  6750. 'type' => 'array',
  6751. 'location' => 'xml',
  6752. 'items' => array(
  6753. 'type' => 'object',
  6754. 'location' => 'xml',
  6755. 'properties' => array(
  6756. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6757. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6758. 'Keywords' => array(
  6759. 'type' => 'array',
  6760. 'location' => 'xml',
  6761. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6762. ),
  6763. ),
  6764. ),
  6765. ),
  6766. ),
  6767. ),
  6768. 'PoliticsInfo' => array(
  6769. 'type' => 'object',
  6770. 'location' => 'xml',
  6771. 'properties' => array(
  6772. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6773. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6774. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6775. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6776. 'LibResults' => array(
  6777. 'type' => 'array',
  6778. 'location' => 'xml',
  6779. 'items' => array(
  6780. 'type' => 'object',
  6781. 'location' => 'xml',
  6782. 'properties' => array(
  6783. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6784. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6785. 'Keywords' => array(
  6786. 'type' => 'array',
  6787. 'location' => 'xml',
  6788. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6789. ),
  6790. ),
  6791. ),
  6792. ),
  6793. ),
  6794. ),
  6795. 'AdsInfo' => array(
  6796. 'type' => 'object',
  6797. 'location' => 'xml',
  6798. 'properties' => array(
  6799. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6800. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6801. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6802. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6803. 'LibResults' => array(
  6804. 'type' => 'array',
  6805. 'location' => 'xml',
  6806. 'items' => array(
  6807. 'type' => 'object',
  6808. 'location' => 'xml',
  6809. 'properties' => array(
  6810. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6811. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6812. 'Keywords' => array(
  6813. 'type' => 'array',
  6814. 'location' => 'xml',
  6815. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6816. ),
  6817. ),
  6818. ),
  6819. ),
  6820. ),
  6821. ),
  6822. 'IllegalInfo' => array(
  6823. 'type' => 'object',
  6824. 'location' => 'xml',
  6825. 'properties' => array(
  6826. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6827. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6828. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6829. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6830. 'LibResults' => array(
  6831. 'type' => 'array',
  6832. 'location' => 'xml',
  6833. 'items' => array(
  6834. 'type' => 'object',
  6835. 'location' => 'xml',
  6836. 'properties' => array(
  6837. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6838. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6839. 'Keywords' => array(
  6840. 'type' => 'array',
  6841. 'location' => 'xml',
  6842. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6843. ),
  6844. ),
  6845. ),
  6846. ),
  6847. ),
  6848. ),
  6849. 'AbuseInfo' => array(
  6850. 'type' => 'object',
  6851. 'location' => 'xml',
  6852. 'properties' => array(
  6853. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6854. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6855. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6856. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6857. 'LibResults' => array(
  6858. 'type' => 'array',
  6859. 'location' => 'xml',
  6860. 'items' => array(
  6861. 'type' => 'object',
  6862. 'location' => 'xml',
  6863. 'properties' => array(
  6864. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6865. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6866. 'Keywords' => array(
  6867. 'type' => 'array',
  6868. 'location' => 'xml',
  6869. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6870. ),
  6871. ),
  6872. ),
  6873. ),
  6874. ),
  6875. ),
  6876. ),
  6877. ),
  6878. ),
  6879. 'UserInfo' => array(
  6880. 'type' => 'object',
  6881. 'location' => 'xml',
  6882. 'properties' => array(
  6883. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  6884. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  6885. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  6886. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  6887. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  6888. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  6889. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  6890. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  6891. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  6892. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  6893. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  6894. ),
  6895. ),
  6896. 'ListInfo' => array(
  6897. 'type' => 'object',
  6898. 'location' => 'xml',
  6899. 'properties' => array(
  6900. 'ListResults' => array(
  6901. 'type' => 'array',
  6902. 'location' => 'xml',
  6903. 'items' => array(
  6904. 'type' => 'object',
  6905. 'location' => 'xml',
  6906. 'properties' => array(
  6907. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  6908. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  6909. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  6910. ),
  6911. ),
  6912. ),
  6913. ),
  6914. ),
  6915. ),
  6916. ),
  6917. ),
  6918. ),
  6919. 'GetSnapshotOutput' => array(
  6920. 'type' => 'object',
  6921. 'additionalProperties' => true,
  6922. 'properties' => array(
  6923. 'Body' => array(
  6924. 'type' => 'string',
  6925. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6926. 'location' => 'body',
  6927. ),
  6928. 'DeleteMarker' => array(
  6929. 'type' => 'boolean',
  6930. 'location' => 'header',
  6931. 'sentAs' => 'x-cos-delete-marker',
  6932. ),
  6933. 'AcceptRanges' => array(
  6934. 'type' => 'string',
  6935. 'location' => 'header',
  6936. 'sentAs' => 'accept-ranges',
  6937. ),
  6938. 'Expiration' => array(
  6939. 'type' => 'string',
  6940. 'location' => 'header',
  6941. 'sentAs' => 'x-cos-expiration',
  6942. ),
  6943. 'Restore' => array(
  6944. 'type' => 'string',
  6945. 'location' => 'header',
  6946. 'sentAs' => 'x-cos-restore',
  6947. ),
  6948. 'LastModified' => array(
  6949. 'type' => 'string',
  6950. 'location' => 'header',
  6951. 'sentAs' => 'Last-Modified',
  6952. ),
  6953. 'ContentLength' => array(
  6954. 'type' => 'numeric',
  6955. 'minimum'=> 0,
  6956. 'location' => 'header',
  6957. 'sentAs' => 'Content-Length',
  6958. ),
  6959. 'ETag' => array(
  6960. 'type' => 'string',
  6961. 'location' => 'header',
  6962. ),
  6963. 'MissingMeta' => array(
  6964. 'type' => 'numeric',
  6965. 'location' => 'header',
  6966. 'sentAs' => 'x-cos-missing-meta',
  6967. ),
  6968. 'VersionId' => array(
  6969. 'type' => 'string',
  6970. 'location' => 'header',
  6971. 'sentAs' => 'x-cos-version-id',
  6972. ),
  6973. 'CacheControl' => array(
  6974. 'type' => 'string',
  6975. 'location' => 'header',
  6976. 'sentAs' => 'Cache-Control',
  6977. ),
  6978. 'ContentDisposition' => array(
  6979. 'type' => 'string',
  6980. 'location' => 'header',
  6981. 'sentAs' => 'Content-Disposition',
  6982. ),
  6983. 'ContentEncoding' => array(
  6984. 'type' => 'string',
  6985. 'location' => 'header',
  6986. 'sentAs' => 'Content-Encoding',
  6987. ),
  6988. 'ContentLanguage' => array(
  6989. 'type' => 'string',
  6990. 'location' => 'header',
  6991. 'sentAs' => 'Content-Language',
  6992. ),
  6993. 'ContentRange' => array(
  6994. 'type' => 'string',
  6995. 'location' => 'header',
  6996. 'sentAs' => 'Content-Range',
  6997. ),
  6998. 'ContentType' => array(
  6999. 'type' => 'string',
  7000. 'location' => 'header',
  7001. 'sentAs' => 'Content-Type',
  7002. ),
  7003. 'Expires' => array(
  7004. 'type' => 'string',
  7005. 'location' => 'header',
  7006. ),
  7007. 'WebsiteRedirectLocation' => array(
  7008. 'type' => 'string',
  7009. 'location' => 'header',
  7010. 'sentAs' => 'x-cos-website-redirect-location',
  7011. ),
  7012. 'ServerSideEncryption' => array(
  7013. 'type' => 'string',
  7014. 'location' => 'header',
  7015. 'sentAs' => 'x-cos-server-side-encryption',
  7016. ),
  7017. 'SSECustomerAlgorithm' => array(
  7018. 'type' => 'string',
  7019. 'location' => 'header',
  7020. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  7021. ),
  7022. 'SSECustomerKeyMD5' => array(
  7023. 'type' => 'string',
  7024. 'location' => 'header',
  7025. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  7026. ),
  7027. 'SSEKMSKeyId' => array(
  7028. 'type' => 'string',
  7029. 'location' => 'header',
  7030. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  7031. ),
  7032. 'StorageClass' => array(
  7033. 'type' => 'string',
  7034. 'location' => 'header',
  7035. 'sentAs' => 'x-cos-storage-class',
  7036. ),
  7037. 'RequestCharged' => array(
  7038. 'type' => 'string',
  7039. 'location' => 'header',
  7040. 'sentAs' => 'x-cos-request-charged',
  7041. ),
  7042. 'ReplicationStatus' => array(
  7043. 'type' => 'string',
  7044. 'location' => 'header',
  7045. 'sentAs' => 'x-cos-replication-status',
  7046. ),
  7047. 'RequestId' => array(
  7048. 'location' => 'header',
  7049. 'sentAs' => 'x-cos-request-id',
  7050. )
  7051. )
  7052. ),
  7053. 'PutBucketRefererOutput' => array(
  7054. 'type' => 'object',
  7055. 'additionalProperties' => true,
  7056. 'properties' => array(
  7057. 'ContentLength' => array(
  7058. 'type' => 'numeric',
  7059. 'minimum'=> 0,
  7060. 'location' => 'header',
  7061. 'sentAs' => 'Content-Length',
  7062. ),
  7063. 'ETag' => array(
  7064. 'type' => 'string',
  7065. 'location' => 'header',
  7066. ),
  7067. 'RequestId' => array(
  7068. 'location' => 'header',
  7069. 'sentAs' => 'x-cos-request-id',
  7070. )
  7071. )
  7072. ),
  7073. 'GetBucketRefererOutput' => array(
  7074. 'type' => 'object',
  7075. 'additionalProperties' => true,
  7076. 'properties' => array(
  7077. 'RequestId' => array(
  7078. 'location' => 'header',
  7079. 'sentAs' => 'x-cos-request-id'
  7080. ),
  7081. 'ContentType' => array(
  7082. 'type' => 'string',
  7083. 'location' => 'header',
  7084. 'sentAs' => 'Content-Type',
  7085. ),
  7086. 'ContentLength' => array(
  7087. 'type' => 'numeric',
  7088. 'minimum'=> 0,
  7089. 'location' => 'header',
  7090. 'sentAs' => 'Content-Length',
  7091. ),
  7092. 'Status' => array(
  7093. 'type' => 'string',
  7094. 'location' => 'xml'
  7095. ),
  7096. 'RefererType' => array(
  7097. 'type' => 'string',
  7098. 'location' => 'xml'
  7099. ),
  7100. 'EmptyReferConfiguration' => array(
  7101. 'type' => 'string',
  7102. 'location' => 'xml'
  7103. ),
  7104. 'DomainList' => array(
  7105. 'location' => 'xml',
  7106. 'type' => 'object',
  7107. 'properties' => array(
  7108. 'Domains' => array(
  7109. 'type' => 'array',
  7110. 'data' => array(
  7111. 'xmlFlattened' => true,
  7112. ),
  7113. 'items' => array(
  7114. 'name' => 'Domain',
  7115. 'type' => 'string',
  7116. 'sentAs' => 'Domain',
  7117. ),
  7118. )
  7119. )
  7120. )
  7121. )
  7122. ),
  7123. 'GetMediaInfoOutput' => array(
  7124. 'type' => 'object',
  7125. 'additionalProperties' => true,
  7126. 'properties' => array(
  7127. 'RequestId' => array(
  7128. 'type' => 'string',
  7129. 'location' => 'header',
  7130. 'sentAs' => 'x-cos-request-id',
  7131. ),
  7132. 'ContentType' => array(
  7133. 'type' => 'string',
  7134. 'location' => 'header',
  7135. 'sentAs' => 'Content-Type',
  7136. ),
  7137. 'ContentLength' => array(
  7138. 'type' => 'numeric',
  7139. 'minimum'=> 0,
  7140. 'location' => 'header',
  7141. 'sentAs' => 'Content-Length',
  7142. ),
  7143. 'MediaInfo' => array(
  7144. 'type' => 'object',
  7145. 'location' => 'xml',
  7146. 'properties' => array(
  7147. 'Stream' => array(
  7148. 'type' => 'object',
  7149. 'location' => 'xml',
  7150. 'properties' => array(
  7151. 'JobId' => array(
  7152. 'type' => 'string',
  7153. ),
  7154. 'State' => array(
  7155. 'type' => 'string',
  7156. ),
  7157. 'Video' => array(
  7158. 'type' => 'object',
  7159. 'location' => 'xml',
  7160. 'properties' => array(
  7161. 'Index' => array(
  7162. 'type' => 'integer',
  7163. ),
  7164. 'CodecName' => array(
  7165. 'type' => 'string',
  7166. ),
  7167. 'CodecLongName' => array(
  7168. 'type' => 'string',
  7169. ),
  7170. 'CodecTimeBase' => array(
  7171. 'type' => 'string',
  7172. ),
  7173. 'CodecTag' => array(
  7174. 'type' => 'string',
  7175. ),
  7176. 'Profile' => array(
  7177. 'type' => 'string',
  7178. ),
  7179. 'Height' => array(
  7180. 'type' => 'integer',
  7181. ),
  7182. 'Width' => array(
  7183. 'type' => 'integer',
  7184. ),
  7185. 'HasBFrame' => array(
  7186. 'type' => 'integer',
  7187. ),
  7188. 'RefFrames' => array(
  7189. 'type' => 'integer',
  7190. ),
  7191. 'Sar' => array(
  7192. 'type' => 'string',
  7193. ),
  7194. 'Dar' => array(
  7195. 'type' => 'string',
  7196. ),
  7197. 'PixFormat' => array(
  7198. 'type' => 'string',
  7199. ),
  7200. 'FieldOrder' => array(
  7201. 'type' => 'string',
  7202. ),
  7203. 'Level' => array(
  7204. 'type' => 'integer',
  7205. ),
  7206. 'Fps' => array(
  7207. 'type' => 'integer',
  7208. ),
  7209. 'AvgFps' => array(
  7210. 'type' => 'string',
  7211. ),
  7212. 'Timebase' => array(
  7213. 'type' => 'string',
  7214. ),
  7215. 'StartTime' => array(
  7216. 'type' => 'numeric',
  7217. ),
  7218. 'Duration' => array(
  7219. 'type' => 'numeric',
  7220. ),
  7221. 'Bitrate' => array(
  7222. 'type' => 'numeric',
  7223. ),
  7224. 'NumFrames' => array(
  7225. 'type' => 'integer',
  7226. ),
  7227. 'Language' => array(
  7228. 'type' => 'string',
  7229. )
  7230. ),
  7231. 'Audio' => array(
  7232. 'type' => 'object',
  7233. 'location' => 'xml',
  7234. 'properties' => array(
  7235. 'Index' => array(
  7236. 'type' => 'integer',
  7237. ),
  7238. 'CodecName' => array(
  7239. 'type' => 'string',
  7240. ),
  7241. 'CodecLongName' => array(
  7242. 'type' => 'string',
  7243. ),
  7244. 'CodecTimeBase' => array(
  7245. 'type' => 'string',
  7246. ),
  7247. 'CodecTagString' => array(
  7248. 'type' => 'string',
  7249. ),
  7250. 'CodecTag' => array(
  7251. 'type' => 'string',
  7252. ),
  7253. 'SampleFmt' => array(
  7254. 'type' => 'string',
  7255. ),
  7256. 'SampleRate' => array(
  7257. 'type' => 'integer',
  7258. ),
  7259. 'Channel' => array(
  7260. 'type' => 'integer',
  7261. ),
  7262. 'ChannelLayout' => array(
  7263. 'type' => 'string',
  7264. ),
  7265. 'Timebase' => array(
  7266. 'type' => 'string',
  7267. ),
  7268. 'StartTime' => array(
  7269. 'type' => 'numeric',
  7270. ),
  7271. 'Duration' => array(
  7272. 'type' => 'numeric',
  7273. ),
  7274. 'Bitrate' => array(
  7275. 'type' => 'numeric',
  7276. ),
  7277. 'Language' => array(
  7278. 'type' => 'string',
  7279. )
  7280. )
  7281. ),
  7282. 'Subtitle' => array(
  7283. 'type' => 'object',
  7284. 'location' => 'xml',
  7285. 'properties' => array(
  7286. 'Index' => array(
  7287. 'type' => 'integer',
  7288. ),
  7289. 'Language' => array(
  7290. 'type' => 'string',
  7291. )
  7292. )
  7293. )
  7294. ),
  7295. )
  7296. ),
  7297. 'Format' => array(
  7298. 'type' => 'object',
  7299. 'location' => 'xml',
  7300. 'properties' => array(
  7301. 'NumStream' => array(
  7302. 'type' => 'integer',
  7303. ),
  7304. 'NumProgram' => array(
  7305. 'type' => 'integer',
  7306. ),
  7307. 'FormatName' => array(
  7308. 'type' => 'string',
  7309. ),
  7310. 'FormatLongName' => array(
  7311. 'type' => 'string',
  7312. ),
  7313. 'StartTime' => array(
  7314. 'type' => 'numeric',
  7315. ),
  7316. 'Duration' => array(
  7317. 'type' => 'numeric',
  7318. ),
  7319. 'Bitrate' => array(
  7320. 'type' => 'integer',
  7321. ),
  7322. 'Size' => array(
  7323. 'type' => 'integer',
  7324. )
  7325. )
  7326. )
  7327. )
  7328. )
  7329. )
  7330. ),
  7331. 'CreateMediaTranscodeJobsOutput' => Descriptions::CreateMediaTranscodeJobsOutput(),
  7332. 'DescribeMediaJobOutput' => Descriptions::DescribeMediaJobOutput(),
  7333. 'DescribeMediaJobsOutput' => Descriptions::DescribeMediaJobsOutput(),
  7334. 'CreateMediaJobsOutput' => Descriptions::CreateMediaJobsOutput(),
  7335. 'CreateMediaSnapshotJobsOutput' => Descriptions::CreateMediaSnapshotJobsOutput(),
  7336. 'CreateMediaConcatJobsOutput' => Descriptions::CreateMediaConcatJobsOutput(),
  7337. 'DetectAudioOutput' => Descriptions::DetectAudioOutput(),
  7338. 'GetDetectAudioResultOutput' => Descriptions::GetDetectAudioResultOutput(),
  7339. 'GetDetectTextResultOutput' => Descriptions::GetDetectTextResultOutput(),
  7340. 'DetectVideoOutput' => Descriptions::DetectVideoOutput(),
  7341. 'GetDetectVideoResultOutput' => Descriptions::GetDetectVideoResultOutput(),
  7342. 'DetectDocumentOutput' => Descriptions::DetectDocumentOutput(),
  7343. 'GetDetectDocumentResultOutput' => Descriptions::GetDetectDocumentResultOutput(),
  7344. 'CreateDocProcessJobsOutput' => Descriptions::CreateDocProcessJobsOutput(),
  7345. 'DescribeDocProcessQueuesOutput' => Descriptions::DescribeDocProcessQueuesOutput(),
  7346. 'DescribeDocProcessJobOutput' => Descriptions::DescribeDocProcessJobOutput(),
  7347. 'GetDescribeDocProcessJobsOutput' => Descriptions::GetDescribeDocProcessJobsOutput(),
  7348. 'DetectImageOutput' => Descriptions::DetectImageOutput(),
  7349. 'DetectImagesOutput' => Descriptions::DetectImagesOutput(),
  7350. 'DetectVirusOutput' => Descriptions::DetectVirusOutput(),
  7351. 'GetDetectVirusResultOutput' => Descriptions::GetDetectVirusResultOutput(),
  7352. 'GetDetectImageResultOutput' => Descriptions::GetDetectImageResultOutput(),
  7353. 'CreateMediaVoiceSeparateJobsOutput' => Descriptions::CreateMediaVoiceSeparateJobsOutput(),
  7354. 'DescribeMediaVoiceSeparateJobOutput' => Descriptions::DescribeMediaVoiceSeparateJobOutput(),
  7355. 'DetectWebpageOutput' => Descriptions::DetectWebpageOutput(),
  7356. 'GetDetectWebpageResultOutput' => Descriptions::GetDetectWebpageResultOutput(),
  7357. 'DescribeMediaBucketsOutput' => Descriptions::DescribeMediaBucketsOutput(),
  7358. 'GetPrivateM3U8Output' => Descriptions::GetPrivateM3U8Output(),
  7359. 'DescribeMediaQueuesOutput' => Descriptions::DescribeMediaQueuesOutput(),
  7360. 'UpdateMediaQueueOutput' => Descriptions::UpdateMediaQueueOutput(),
  7361. 'CreateMediaSmartCoverJobsOutput' => Descriptions::CreateMediaSmartCoverJobsOutput(),
  7362. 'CreateMediaVideoProcessJobsOutput' => Descriptions::CreateMediaVideoProcessJobsOutput(),
  7363. 'CreateMediaVideoMontageJobsOutput' => Descriptions::CreateMediaVideoMontageJobsOutput(),
  7364. 'CreateMediaAnimationJobsOutput' => Descriptions::CreateMediaAnimationJobsOutput(),
  7365. 'CreateMediaPicProcessJobsOutput' => Descriptions::CreateMediaPicProcessJobsOutput(),
  7366. 'CreateMediaSegmentJobsOutput' => Descriptions::CreateMediaSegmentJobsOutput(),
  7367. 'CreateMediaVideoTagJobsOutput' => Descriptions::CreateMediaVideoTagJobsOutput(),
  7368. 'CreateMediaSuperResolutionJobsOutput' => Descriptions::CreateMediaSuperResolutionJobsOutput(),
  7369. 'CreateMediaSDRtoHDRJobsOutput' => Descriptions::CreateMediaSDRtoHDRJobsOutput(),
  7370. 'CreateMediaDigitalWatermarkJobsOutput' => Descriptions::CreateMediaDigitalWatermarkJobsOutput(),
  7371. 'CreateMediaExtractDigitalWatermarkJobsOutput' => Descriptions::CreateMediaExtractDigitalWatermarkJobsOutput(),
  7372. 'DetectLiveVideoOutput' => Descriptions::DetectLiveVideoOutput(),
  7373. 'CancelLiveVideoAuditingOutput' => Descriptions::CancelLiveVideoAuditingOutput(),
  7374. 'OpticalOcrRecognitionOutput' => Descriptions::OpticalOcrRecognitionOutput(),
  7375. 'TriggerWorkflowOutput' => Descriptions::TriggerWorkflowOutput(),
  7376. 'GetWorkflowInstancesOutput' => Descriptions::GetWorkflowInstancesOutput(),
  7377. 'GetWorkflowInstanceOutput' => Descriptions::GetWorkflowInstanceOutput(),
  7378. 'CreateMediaSnapshotTemplateOutput' => Descriptions::CreateMediaSnapshotTemplateOutput(),
  7379. 'UpdateMediaSnapshotTemplateOutput' => Descriptions::UpdateMediaSnapshotTemplateOutput(),
  7380. 'CreateMediaTranscodeTemplateOutput' => Descriptions::CreateMediaTranscodeTemplateOutput(),
  7381. 'UpdateMediaTranscodeTemplateOutput' => Descriptions::UpdateMediaTranscodeTemplateOutput(),
  7382. 'CreateMediaHighSpeedHdTemplateOutput' => Descriptions::CreateMediaHighSpeedHdTemplateOutput(),
  7383. 'UpdateMediaHighSpeedHdTemplateOutput' => Descriptions::UpdateMediaHighSpeedHdTemplateOutput(),
  7384. 'CreateMediaAnimationTemplateOutput' => Descriptions::CreateMediaAnimationTemplateOutput(),
  7385. 'UpdateMediaAnimationTemplateOutput' => Descriptions::UpdateMediaAnimationTemplateOutput(),
  7386. 'CreateMediaConcatTemplateOutput' => Descriptions::CreateMediaConcatTemplateOutput(),
  7387. 'UpdateMediaConcatTemplateOutput' => Descriptions::UpdateMediaConcatTemplateOutput(),
  7388. 'CreateMediaVideoProcessTemplateOutput' => Descriptions::CreateMediaVideoProcessTemplateOutput(),
  7389. 'UpdateMediaVideoProcessTemplateOutput' => Descriptions::UpdateMediaVideoProcessTemplateOutput(),
  7390. 'CreateMediaVideoMontageTemplateOutput' => Descriptions::CreateMediaVideoMontageTemplateOutput(),
  7391. 'UpdateMediaVideoMontageTemplateOutput' => Descriptions::UpdateMediaVideoMontageTemplateOutput(),
  7392. 'CreateMediaVoiceSeparateTemplateOutput' => Descriptions::CreateMediaVoiceSeparateTemplateOutput(),
  7393. 'UpdateMediaVoiceSeparateTemplateOutput' => Descriptions::UpdateMediaVoiceSeparateTemplateOutput(),
  7394. 'CreateMediaSuperResolutionTemplateOutput' => Descriptions::CreateMediaSuperResolutionTemplateOutput(),
  7395. 'UpdateMediaSuperResolutionTemplateOutput' => Descriptions::UpdateMediaSuperResolutionTemplateOutput(),
  7396. 'CreateMediaPicProcessTemplateOutput' => Descriptions::CreateMediaPicProcessTemplateOutput(),
  7397. 'UpdateMediaPicProcessTemplateOutput' => Descriptions::UpdateMediaPicProcessTemplateOutput(),
  7398. 'CreateMediaWatermarkTemplateOutput' => Descriptions::CreateMediaWatermarkTemplateOutput(),
  7399. 'UpdateMediaWatermarkTemplateOutput' => Descriptions::UpdateMediaWatermarkTemplateOutput(),
  7400. 'DescribeMediaTemplatesOutput' => Descriptions::DescribeMediaTemplatesOutput(),
  7401. 'DescribeWorkflowOutput' => Descriptions::DescribeWorkflowOutput(),
  7402. 'DeleteWorkflowOutput' => Descriptions::DeleteWorkflowOutput(),
  7403. 'CreateInventoryTriggerJobOutput' => Descriptions::CreateInventoryTriggerJobOutput(),
  7404. 'DescribeInventoryTriggerJobsOutput' => Descriptions::DescribeInventoryTriggerJobsOutput(),
  7405. 'DescribeInventoryTriggerJobOutput' => Descriptions::DescribeInventoryTriggerJobOutput(),
  7406. 'CancelInventoryTriggerJobOutput' => Descriptions::CancelInventoryTriggerJobOutput(),
  7407. 'CreateMediaNoiseReductionJobsOutput' => Descriptions::CreateMediaNoiseReductionJobsOutput(),
  7408. 'ImageRepairProcessOutput' => Descriptions::ImageRepairProcessOutput(),
  7409. 'ImageDetectCarProcessOutput' => Descriptions::ImageDetectCarProcessOutput(),
  7410. 'ImageAssessQualityProcessOutput' => Descriptions::ImageAssessQualityProcessOutput(),
  7411. 'ImageSearchOpenOutput' => Descriptions::ImageSearchOpenOutput(),
  7412. 'ImageSearchAddOutput' => Descriptions::ImageSearchAddOutput(),
  7413. 'ImageSearchOutput' => Descriptions::ImageSearchOutput(),
  7414. 'ImageSearchDeleteOutput' => Descriptions::ImageSearchDeleteOutput(),
  7415. 'BindCiServiceOutput' => Descriptions::BindCiServiceOutput(),
  7416. 'GetCiServiceOutput' => Descriptions::GetCiServiceOutput(),
  7417. 'UnBindCiServiceOutput' => Descriptions::UnBindCiServiceOutput(),
  7418. 'GetHotLinkOutput' => Descriptions::GetHotLinkOutput(),
  7419. 'AddHotLinkOutput' => Descriptions::AddHotLinkOutput(),
  7420. 'OpenOriginProtectOutput' => Descriptions::OpenOriginProtectOutput(),
  7421. 'GetOriginProtectOutput' => Descriptions::GetOriginProtectOutput(),
  7422. 'CloseOriginProtectOutput' => Descriptions::CloseOriginProtectOutput(),
  7423. 'ImageDetectFaceOutput' => Descriptions::ImageDetectFaceOutput(),
  7424. 'ImageFaceEffectOutput' => Descriptions::ImageFaceEffectOutput(),
  7425. 'IDCardOCROutput' => Descriptions::IDCardOCROutput(),
  7426. 'IDCardOCRByUploadOutput' => Descriptions::IDCardOCRByUploadOutput(),
  7427. 'GetLiveCodeOutput' => Descriptions::GetLiveCodeOutput(),
  7428. 'GetActionSequenceOutput' => Descriptions::GetActionSequenceOutput(),
  7429. 'DescribeDocProcessBucketsOutput' => Descriptions::DescribeDocProcessBucketsOutput(),
  7430. 'UpdateDocProcessQueueOutput' => Descriptions::UpdateDocProcessQueueOutput(),
  7431. 'CreateMediaQualityEstimateJobsOutput' => Descriptions::CreateMediaQualityEstimateJobsOutput(),
  7432. 'CreateMediaStreamExtractJobsOutput' => Descriptions::CreateMediaStreamExtractJobsOutput(),
  7433. 'FileJobs4HashOutput' => Descriptions::FileJobs4HashOutput(),
  7434. 'OpenFileProcessServiceOutput' => Descriptions::OpenFileProcessServiceOutput(),
  7435. 'GetFileProcessQueueListOutput' => Descriptions::GetFileProcessQueueListOutput(),
  7436. 'UpdateFileProcessQueueOutput' => Descriptions::UpdateFileProcessQueueOutput(),
  7437. 'CreateFileHashCodeJobsOutput' => Descriptions::CreateFileHashCodeJobsOutput(),
  7438. 'GetFileHashCodeResultOutput' => Descriptions::GetFileHashCodeResultOutput(),
  7439. 'CreateFileUncompressJobsOutput' => Descriptions::CreateFileUncompressJobsOutput(),
  7440. 'GetFileUncompressResultOutput' => Descriptions::GetFileUncompressResultOutput(),
  7441. 'CreateFileCompressJobsOutput' => Descriptions::CreateFileCompressJobsOutput(),
  7442. 'GetFileCompressResultOutput' => Descriptions::GetFileCompressResultOutput(),
  7443. 'CreateM3U8PlayListJobsOutput' => Descriptions::CreateM3U8PlayListJobsOutput(),
  7444. 'GetPicQueueListOutput' => Descriptions::GetPicQueueListOutput(),
  7445. 'UpdatePicQueueOutput' => Descriptions::UpdatePicQueueOutput(),
  7446. 'GetPicBucketListOutput' => Descriptions::GetPicBucketListOutput(),
  7447. 'GetAiBucketListOutput' => Descriptions::GetAiBucketListOutput(),
  7448. 'OpenAiServiceOutput' => Descriptions::OpenAiServiceOutput(),
  7449. 'GetAiQueueListOutput' => Descriptions::GetAiQueueListOutput(),
  7450. 'UpdateAiQueueOutput' => Descriptions::UpdateAiQueueOutput(),
  7451. 'CreateMediaTranscodeProTemplateOutput' => Descriptions::CreateMediaTranscodeProTemplateOutput(),
  7452. 'UpdateMediaTranscodeProTemplateOutput' => Descriptions::UpdateMediaTranscodeProTemplateOutput(),
  7453. 'CreateVoiceTtsTemplateOutput' => Descriptions::CreateVoiceTtsTemplateOutput(),
  7454. 'UpdateVoiceTtsTemplateOutput' => Descriptions::UpdateVoiceTtsTemplateOutput(),
  7455. 'CreateMediaSmartCoverTemplateOutput' => Descriptions::CreateMediaSmartCoverTemplateOutput(),
  7456. 'UpdateMediaSmartCoverTemplateOutput' => Descriptions::UpdateMediaSmartCoverTemplateOutput(),
  7457. 'CreateVoiceSpeechRecognitionTemplateOutput' => Descriptions::CreateVoiceSpeechRecognitionTemplateOutput(),
  7458. 'UpdateVoiceSpeechRecognitionTemplateOutput' => Descriptions::UpdateVoiceSpeechRecognitionTemplateOutput(),
  7459. 'CreateVoiceTtsJobsOutput' => Descriptions::CreateVoiceTtsJobsOutput(),
  7460. 'CreateAiTranslationJobsOutput' => Descriptions::CreateAiTranslationJobsOutput(),
  7461. 'CreateVoiceSpeechRecognitionJobsOutput' => Descriptions::CreateVoiceSpeechRecognitionJobsOutput(),
  7462. 'CreateAiWordsGeneralizeJobsOutput' => Descriptions::CreateAiWordsGeneralizeJobsOutput(),
  7463. 'CreateMediaVideoEnhanceJobsOutput' => Descriptions::CreateMediaVideoEnhanceJobsOutput(),
  7464. 'CreateMediaVideoEnhanceTemplateOutput' => Descriptions::CreateMediaVideoEnhanceTemplateOutput(),
  7465. 'UpdateMediaVideoEnhanceTemplateOutput' => Descriptions::UpdateMediaVideoEnhanceTemplateOutput(),
  7466. 'OpenImageSlimOutput' => Descriptions::OpenImageSlimOutput(),
  7467. 'CloseImageSlimOutput' => Descriptions::CloseImageSlimOutput(),
  7468. 'GetImageSlimOutput' => Descriptions::GetImageSlimOutput(),
  7469. )
  7470. );
  7471. }
  7472. }