Service.php 379 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577
  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. 'DetectImageUrl' => Descriptions::DetectImageUrl(), // 图片审核
  3711. 'DetectImages' => Descriptions::DetectImages(), // 图片审核-批量
  3712. 'DetectVirus' => Descriptions::DetectVirus(), // 云查毒
  3713. 'GetDetectVirusResult' => Descriptions::GetDetectVirusResult(), // 查询病毒检测任务结果
  3714. 'GetDetectImageResult' => Descriptions::GetDetectImageResult(), // 主动获取图片审核结果
  3715. 'CreateMediaVoiceSeparateJobs' => Descriptions::CreateMediaVoiceSeparateJobs(), // 提交人声分离任务
  3716. 'DescribeMediaVoiceSeparateJob' => Descriptions::DescribeMediaVoiceSeparateJob(), // 查询指定的人声分离任务
  3717. 'DetectWebpage' => Descriptions::DetectWebpage(), // 提交网页审核任务
  3718. 'GetDetectWebpageResult' => Descriptions::GetDetectWebpageResult(), // 查询网页审核任务结果
  3719. 'DescribeMediaBuckets' => Descriptions::DescribeMediaBuckets(), // 查询媒体处理开通状态
  3720. 'GetPrivateM3U8' => Descriptions::GetPrivateM3U8(), // 获取私有 M3U8 ts 资源的下载授权
  3721. 'DescribeMediaQueues' => Descriptions::DescribeMediaQueues(), // 搜索媒体处理队列
  3722. 'UpdateMediaQueue' => Descriptions::UpdateMediaQueue(), // 更新媒体处理队列
  3723. 'CreateMediaSmartCoverJobs' => Descriptions::CreateMediaSmartCoverJobs(), // 提交智能封面任务
  3724. 'CreateMediaVideoProcessJobs' => Descriptions::CreateMediaVideoProcessJobs(), // 提交视频增强任务
  3725. 'CreateMediaVideoMontageJobs' => Descriptions::CreateMediaVideoMontageJobs(), // 提交精彩集锦任务
  3726. 'CreateMediaAnimationJobs' => Descriptions::CreateMediaAnimationJobs(), // 提交动图任务
  3727. 'CreateMediaPicProcessJobs' => Descriptions::CreateMediaPicProcessJobs(), // 提交图片处理任务
  3728. 'CreateMediaSegmentJobs' => Descriptions::CreateMediaSegmentJobs(), // 提交转封装任务
  3729. 'CreateMediaVideoTagJobs' => Descriptions::CreateMediaVideoTagJobs(), // 提交视频标签任务
  3730. 'CreateMediaSuperResolutionJobs' => Descriptions::CreateMediaSuperResolutionJobs(), // 提交超分辨率任务
  3731. 'CreateMediaSDRtoHDRJobs' => Descriptions::CreateMediaSDRtoHDRJobs(), // 提交 SDR to HDR 任务
  3732. 'CreateMediaDigitalWatermarkJobs' => Descriptions::CreateMediaDigitalWatermarkJobs(), // 嵌入数字水印任务(添加水印)
  3733. 'CreateMediaExtractDigitalWatermarkJobs' => Descriptions::CreateMediaExtractDigitalWatermarkJobs(), // 提取数字水印任务(提取水印)
  3734. 'DetectLiveVideo' => Descriptions::DetectLiveVideo(), // 直播流审核
  3735. 'CancelLiveVideoAuditing' => Descriptions::CancelLiveVideoAuditing(), // 取消直播流审核
  3736. 'OpticalOcrRecognition' => Descriptions::OpticalOcrRecognition(), // 通用文字识别
  3737. 'TriggerWorkflow' => Descriptions::TriggerWorkflow(), // 手动触发工作流
  3738. 'GetWorkflowInstances' => Descriptions::GetWorkflowInstances(), // 获取工作流实例列表
  3739. 'GetWorkflowInstance' => Descriptions::GetWorkflowInstance(), // 获取工作流实例详情
  3740. 'CreateMediaSnapshotTemplate' => Descriptions::CreateMediaSnapshotTemplate(), // 新增截图模板
  3741. 'UpdateMediaSnapshotTemplate' => Descriptions::UpdateMediaSnapshotTemplate(), // 更新截图模板
  3742. 'CreateMediaTranscodeTemplate' => Descriptions::CreateMediaTranscodeTemplate(), // 新增转码模板
  3743. 'UpdateMediaTranscodeTemplate' => Descriptions::UpdateMediaTranscodeTemplate(), // 更新转码模板
  3744. 'CreateMediaHighSpeedHdTemplate' => Descriptions::CreateMediaHighSpeedHdTemplate(), // 新增极速高清转码模板
  3745. 'UpdateMediaHighSpeedHdTemplate' => Descriptions::UpdateMediaHighSpeedHdTemplate(), // 更新极速高清转码模板
  3746. 'CreateMediaAnimationTemplate' => Descriptions::CreateMediaAnimationTemplate(), // 新增动图模板
  3747. 'UpdateMediaAnimationTemplate' => Descriptions::UpdateMediaAnimationTemplate(), // 更新动图模板
  3748. 'CreateMediaConcatTemplate' => Descriptions::CreateMediaConcatTemplate(), // 新增拼接模板
  3749. 'UpdateMediaConcatTemplate' => Descriptions::UpdateMediaConcatTemplate(), // 更新拼接模板
  3750. 'CreateMediaVideoProcessTemplate' => Descriptions::CreateMediaVideoProcessTemplate(), // 新增视频增强模板
  3751. 'UpdateMediaVideoProcessTemplate' => Descriptions::UpdateMediaVideoProcessTemplate(), // 更新视频增强模板
  3752. 'CreateMediaVideoMontageTemplate' => Descriptions::CreateMediaVideoMontageTemplate(), // 新增精彩集锦模板
  3753. 'UpdateMediaVideoMontageTemplate' => Descriptions::UpdateMediaVideoMontageTemplate(), // 更新精彩集锦模板
  3754. 'CreateMediaVoiceSeparateTemplate' => Descriptions::CreateMediaVoiceSeparateTemplate(), // 新增人声分离模板
  3755. 'UpdateMediaVoiceSeparateTemplate' => Descriptions::UpdateMediaVoiceSeparateTemplate(), // 更新人声分离模板
  3756. 'CreateMediaSuperResolutionTemplate' => Descriptions::CreateMediaSuperResolutionTemplate(), // 新增超分辨率模板
  3757. 'UpdateMediaSuperResolutionTemplate' => Descriptions::UpdateMediaSuperResolutionTemplate(), // 更新超分辨率模板
  3758. 'CreateMediaPicProcessTemplate' => Descriptions::CreateMediaPicProcessTemplate(), // 新增图片处理模板
  3759. 'UpdateMediaPicProcessTemplate' => Descriptions::UpdateMediaPicProcessTemplate(), // 更新图片处理模板
  3760. 'CreateMediaWatermarkTemplate' => Descriptions::CreateMediaWatermarkTemplate(), // 新增水印模板
  3761. 'UpdateMediaWatermarkTemplate' => Descriptions::UpdateMediaWatermarkTemplate(), // 更新水印模板
  3762. 'DescribeMediaTemplates' => Descriptions::DescribeMediaTemplates(), // 查询模板列表
  3763. 'DescribeWorkflow' => Descriptions::DescribeWorkflow(), // 搜索工作流
  3764. 'DeleteWorkflow' => Descriptions::DeleteWorkflow(), // 删除工作流
  3765. 'CreateInventoryTriggerJob' => Descriptions::CreateInventoryTriggerJob(), // 触发批量存量任务
  3766. 'DescribeInventoryTriggerJobs' => Descriptions::DescribeInventoryTriggerJobs(), // 批量拉取存量任务
  3767. 'DescribeInventoryTriggerJob' => Descriptions::DescribeInventoryTriggerJob(), // 查询存量任务
  3768. 'CancelInventoryTriggerJob' => Descriptions::CancelInventoryTriggerJob(), // 取消存量任务
  3769. 'CreateMediaNoiseReductionJobs' => Descriptions::CreateMediaNoiseReductionJobs(), // 提交音频降噪任务
  3770. 'ImageRepairProcess' => Descriptions::ImageRepairProcess(), // 图片水印修复
  3771. 'ImageDetectCarProcess' => Descriptions::ImageDetectCarProcess(), // 车辆车牌检测
  3772. 'ImageAssessQualityProcess' => Descriptions::ImageAssessQualityProcess(), // 图片质量评估
  3773. 'ImageSearchOpen' => Descriptions::ImageSearchOpen(), // 开通以图搜图
  3774. 'ImageSearchAdd' => Descriptions::ImageSearchAdd(), // 添加图库图片
  3775. 'ImageSearch' => Descriptions::ImageSearch(), // 图片搜索接口
  3776. 'ImageSearchDelete' => Descriptions::ImageSearchDelete(), // 图片搜索接口
  3777. 'BindCiService' => Descriptions::BindCiService(), // 绑定数据万象服务
  3778. 'GetCiService' => Descriptions::GetCiService(), // 查询数据万象服务
  3779. 'UnBindCiService' => Descriptions::UnBindCiService(), // 解绑数据万象服务
  3780. 'GetHotLink' => Descriptions::GetHotLink(), // 查询防盗链
  3781. 'AddHotLink' => Descriptions::AddHotLink(), // 查询防盗链
  3782. 'OpenOriginProtect' => Descriptions::OpenOriginProtect(), // 开通原图保护
  3783. 'GetOriginProtect' => Descriptions::GetOriginProtect(), // 查询原图保护状态
  3784. 'CloseOriginProtect' => Descriptions::CloseOriginProtect(), // 关闭原图保护
  3785. 'ImageDetectFace' => Descriptions::ImageDetectFace(), // 人脸检测
  3786. 'ImageFaceEffect' => Descriptions::ImageFaceEffect(), // 人脸特效
  3787. 'ImageUrlFaceEffect' => Descriptions::ImageUrlFaceEffect(), // 人脸特效
  3788. 'IDCardOCR' => Descriptions::IDCardOCR(), // 身份证识别
  3789. 'IDCardOCRByUpload' => Descriptions::IDCardOCRByUpload(), // 身份证识别-上传时处理
  3790. 'GetLiveCode' => Descriptions::GetLiveCode(), // 获取数字验证码
  3791. 'GetActionSequence' => Descriptions::GetActionSequence(), // 获取动作顺序
  3792. 'DescribeDocProcessBuckets' => Descriptions::DescribeDocProcessBuckets(), // 查询文档预览开通状态
  3793. 'UpdateDocProcessQueue' => Descriptions::UpdateDocProcessQueue(), // 更新文档转码队列
  3794. 'CreateMediaQualityEstimateJobs' => Descriptions::CreateMediaQualityEstimateJobs(), // 提交视频质量评分任务
  3795. 'CreateMediaStreamExtractJobs' => Descriptions::CreateMediaStreamExtractJobs(), // 提交音视频流分离任务
  3796. 'FileJobs4Hash' => Descriptions::FileJobs4Hash(), // 哈希值计算同步请求
  3797. 'OpenFileProcessService' => Descriptions::OpenFileProcessService(), // 开通文件处理服务
  3798. 'GetFileProcessQueueList' => Descriptions::GetFileProcessQueueList(), // 搜索文件处理队列
  3799. 'UpdateFileProcessQueue' => Descriptions::UpdateFileProcessQueue(), // 更新文件处理的队列
  3800. 'CreateFileHashCodeJobs' => Descriptions::CreateFileHashCodeJobs(), // 提交哈希值计算任务
  3801. 'GetFileHashCodeResult' => Descriptions::GetFileHashCodeResult(), // 查询哈希值计算结果
  3802. 'CreateFileUncompressJobs' => Descriptions::CreateFileUncompressJobs(), // 提交文件解压任务
  3803. 'GetFileUncompressResult' => Descriptions::GetFileUncompressResult(), // 查询文件解压结果
  3804. 'CreateFileCompressJobs' => Descriptions::CreateFileCompressJobs(), // 提交多文件打包压缩任务
  3805. 'GetFileCompressResult' => Descriptions::GetFileCompressResult(), // 查询多文件打包压缩结果
  3806. 'CreateM3U8PlayListJobs' => Descriptions::CreateM3U8PlayListJobs(), // 获取指定hls/m3u8文件指定时间区间内的ts资源
  3807. 'GetPicQueueList' => Descriptions::GetPicQueueList(), // 搜索图片处理队列
  3808. 'UpdatePicQueue' => Descriptions::UpdatePicQueue(), // 更新图片处理队列
  3809. 'GetPicBucketList' => Descriptions::GetPicBucketList(), // 查询图片处理服务状态
  3810. 'GetAiBucketList' => Descriptions::GetAiBucketList(), // 查询 AI 内容识别服务状态
  3811. 'OpenAiService' => Descriptions::OpenAiService(), // 开通 AI 内容识别
  3812. 'CloseAiService' => Descriptions::CloseAiService(), // 关闭AI内容识别服务
  3813. 'GetAiQueueList' => Descriptions::GetAiQueueList(), // 搜索 AI 内容识别队列
  3814. 'UpdateAiQueue' => Descriptions::UpdateAiQueue(), // 更新 AI 内容识别队列
  3815. 'CreateMediaTranscodeProTemplate' => Descriptions::CreateMediaTranscodeProTemplate(), // 创建音视频转码 pro 模板
  3816. 'UpdateMediaTranscodeProTemplate' => Descriptions::UpdateMediaTranscodeProTemplate(), // 更新音视频转码 pro 模板
  3817. 'CreateVoiceTtsTemplate' => Descriptions::CreateVoiceTtsTemplate(), // 创建语音合成模板
  3818. 'UpdateVoiceTtsTemplate' => Descriptions::UpdateVoiceTtsTemplate(), // 更新语音合成模板
  3819. 'CreateMediaSmartCoverTemplate' => Descriptions::CreateMediaSmartCoverTemplate(), // 创建智能封面模板
  3820. 'UpdateMediaSmartCoverTemplate' => Descriptions::UpdateMediaSmartCoverTemplate(), // 更新智能封面模板
  3821. 'CreateVoiceSpeechRecognitionTemplate' => Descriptions::CreateVoiceSpeechRecognitionTemplate(), // 创建语音识别模板
  3822. 'UpdateVoiceSpeechRecognitionTemplate' => Descriptions::UpdateVoiceSpeechRecognitionTemplate(), // 更新语音识别模板
  3823. 'CreateVoiceTtsJobs' => Descriptions::CreateVoiceTtsJobs(), // 提交一个语音合成任务
  3824. 'CreateAiTranslationJobs' => Descriptions::CreateAiTranslationJobs(), // 提交一个翻译任务
  3825. 'CreateVoiceSpeechRecognitionJobs' => Descriptions::CreateVoiceSpeechRecognitionJobs(), // 提交一个语音识别任务
  3826. 'CreateAiWordsGeneralizeJobs' => Descriptions::CreateAiWordsGeneralizeJobs(), // 提交一个分词任务
  3827. 'CreateMediaVideoEnhanceJobs' => Descriptions::CreateMediaVideoEnhanceJobs(), // 提交画质增强任务
  3828. 'CreateMediaVideoEnhanceTemplate' => Descriptions::CreateMediaVideoEnhanceTemplate(), // 创建画质增强模板
  3829. 'UpdateMediaVideoEnhanceTemplate' => Descriptions::UpdateMediaVideoEnhanceTemplate(), // 更新画质增强模板
  3830. 'OpenImageSlim' => Descriptions::OpenImageSlim(), // 开通图片瘦身
  3831. 'CloseImageSlim' => Descriptions::CloseImageSlim(), // 关闭图片瘦身
  3832. 'GetImageSlim' => Descriptions::GetImageSlim(), // 查询图片瘦身状态
  3833. 'AutoTranslationBlockProcess' => Descriptions::AutoTranslationBlockProcess(), // 实时文字翻译
  3834. 'RecognizeLogoProcess' => Descriptions::RecognizeLogoProcess(), // Logo 识别
  3835. 'DetectLabelProcess' => Descriptions::DetectLabelProcess(), // 图片标签
  3836. 'AIGameRecProcess' => Descriptions::AIGameRecProcess(), // 游戏场景识别
  3837. 'AIBodyRecognitionProcess' => Descriptions::AIBodyRecognitionProcess(), // 人体识别
  3838. 'DetectPetProcess' => Descriptions::DetectPetProcess(), // 宠物识别
  3839. 'AILicenseRecProcess' => Descriptions::AILicenseRecProcess(), // 卡证识别
  3840. 'CreateMediaTargetRecTemplate' => Descriptions::CreateMediaTargetRecTemplate(), // 创建视频目标检测模板
  3841. 'UpdateMediaTargetRecTemplate' => Descriptions::UpdateMediaTargetRecTemplate(), // 更新视频目标检测模板
  3842. 'CreateMediaTargetRecJobs' => Descriptions::CreateMediaTargetRecJobs(), // 提交视频目标检测任务
  3843. 'CreateMediaSegmentVideoBodyJobs' => Descriptions::CreateMediaSegmentVideoBodyJobs(), // 提交视频人像抠图任务
  3844. 'OpenAsrService' => Descriptions::OpenAsrService(), //开通智能语音服务
  3845. 'GetAsrBucketList' => Descriptions::GetAsrBucketList(), // 查询智能语音服务
  3846. 'CloseAsrService' => Descriptions::CloseAsrService(), // 关闭智能语音服务
  3847. 'GetAsrQueueList' => Descriptions::GetAsrQueueList(), // 查询智能语音队列
  3848. 'UpdateAsrQueue' => Descriptions::UpdateAsrQueue(), // 更新智能语音队列
  3849. 'CreateMediaNoiseReductionTemplate' => Descriptions::CreateMediaNoiseReductionTemplate(), // 创建音频降噪模板
  3850. 'UpdateMediaNoiseReductionTemplate' => Descriptions::UpdateMediaNoiseReductionTemplate(), // 更新音频降噪模板
  3851. 'CreateVoiceSoundHoundJobs' => Descriptions::CreateVoiceSoundHoundJobs(), // 提交听歌识曲任务
  3852. 'CreateVoiceVocalScoreJobs' => Descriptions::CreateVoiceVocalScoreJobs(), // 提交音乐评分任务
  3853. 'CreateDataset' => Descriptions::CreateDataset(), // 创建数据集
  3854. 'CreateDatasetBinding' => Descriptions::CreateDatasetBinding(), // 绑定存储桶与数据集
  3855. 'CreateFileMetaIndex' => Descriptions::CreateFileMetaIndex(), // 创建元数据索引
  3856. 'DatasetFaceSearch' => Descriptions::DatasetFaceSearch(), // 人脸搜索
  3857. 'DatasetSimpleQuery' => Descriptions::DatasetSimpleQuery(), // 简单查询
  3858. 'DeleteDataset' => Descriptions::DeleteDataset(), // 删除数据集
  3859. 'DeleteDatasetBinding' => Descriptions::DeleteDatasetBinding(), // 解绑存储桶与数据集
  3860. 'DeleteFileMetaIndex' => Descriptions::DeleteFileMetaIndex(), // 删除元数据索引
  3861. 'DescribeDataset' => Descriptions::DescribeDataset(), // 查询数据集
  3862. 'DescribeDatasetBinding' => Descriptions::DescribeDatasetBinding(), // 查询数据集与存储桶的绑定关系
  3863. 'DescribeDatasetBindings' => Descriptions::DescribeDatasetBindings(), // 查询绑定关系列表
  3864. 'DescribeDatasets' => Descriptions::DescribeDatasets(), // 列出数据集
  3865. 'DescribeFileMetaIndex' => Descriptions::DescribeFileMetaIndex(), // 查询元数据索引
  3866. 'SearchImage' => Descriptions::SearchImage(), // 图像检索
  3867. 'UpdateDataset' => Descriptions::UpdateDataset(), // 更新数据集
  3868. 'UpdateFileMetaIndex' => Descriptions::UpdateFileMetaIndex(), // 更新元数据索引
  3869. 'ZipFilePreview' => Descriptions::ZipFilePreview(), // 压缩包预览同步请求
  3870. 'GetHLSPlayKey' => Descriptions::GetHLSPlayKey(), // 获取hls播放密钥
  3871. 'PostWatermarkJobs' => Descriptions::PostWatermarkJobs(), // 视频明水印-提交任务
  3872. 'GeneratePlayList' => Descriptions::GeneratePlayList(), // 生成播放列表
  3873. 'CreateWatermarkTemplate' => Descriptions::CreateWatermarkTemplate(), // 创建明水印模板
  3874. ),
  3875. 'models' => array(
  3876. 'AbortMultipartUploadOutput' => array(
  3877. 'type' => 'object',
  3878. 'additionalProperties' => true,
  3879. 'properties' => array(
  3880. 'RequestId' => array(
  3881. 'location' => 'header',
  3882. 'sentAs' => 'x-cos-request-id'
  3883. )
  3884. )
  3885. ),
  3886. 'CreateBucketOutput' => array(
  3887. 'type' => 'object',
  3888. 'additionalProperties' => true,
  3889. 'properties' => array(
  3890. 'Location' => array(
  3891. 'type' => 'string',
  3892. 'location' => 'header'
  3893. ),
  3894. 'RequestId' => array(
  3895. 'location' => 'header',
  3896. 'sentAs' => 'x-cos-request-id'
  3897. )
  3898. )
  3899. ),
  3900. 'CompleteMultipartUploadOutput' => array(
  3901. 'type' => 'object',
  3902. 'additionalProperties' => true,
  3903. 'properties' => array(
  3904. 'Location' => array(
  3905. 'type' => 'string',
  3906. 'location' => 'xml',
  3907. ),
  3908. 'Bucket' => array(
  3909. 'type' => 'string',
  3910. 'location' => 'xml',
  3911. ),
  3912. 'Key' => array(
  3913. 'type' => 'string',
  3914. 'location' => 'xml'
  3915. ),
  3916. 'Expiration' => array(
  3917. 'type' => 'string',
  3918. 'location' => 'header',
  3919. 'sentAs' => 'x-cos-expiration',
  3920. ),
  3921. 'ETag' => array(
  3922. 'type' => 'string',
  3923. 'location' => 'xml',
  3924. ),
  3925. 'ServerSideEncryption' => array(
  3926. 'type' => 'string',
  3927. 'location' => 'header',
  3928. 'sentAs' => 'x-cos-server-side-encryption',
  3929. ),
  3930. 'VersionId' => array(
  3931. 'type' => 'string',
  3932. 'location' => 'header',
  3933. 'sentAs' => 'x-cos-version-id',
  3934. ),
  3935. 'SSEKMSKeyId' => array(
  3936. 'type' => 'string',
  3937. 'location' => 'header',
  3938. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  3939. ),
  3940. 'RequestCharged' => array(
  3941. 'type' => 'string',
  3942. 'location' => 'header',
  3943. 'sentAs' => 'x-cos-request-charged',
  3944. ),
  3945. 'RequestId' => array(
  3946. 'location' => 'header',
  3947. 'sentAs' => 'x-cos-request-id',
  3948. ),
  3949. 'CRC' => array(
  3950. 'type' => 'string',
  3951. 'location' => 'header',
  3952. 'sentAs' => 'x-cos-hash-crc64ecma',
  3953. ),
  3954. 'ImageInfo' => array(
  3955. 'type' => 'object',
  3956. 'location' => 'xml',
  3957. 'properties' => array(
  3958. 'Format' => array(
  3959. 'type' => 'string',
  3960. ),
  3961. 'Width' => array(
  3962. 'type' => 'string',
  3963. ),
  3964. 'Height' => array(
  3965. 'type' => 'string',
  3966. ),
  3967. 'Quality' => array(
  3968. 'type' => 'string',
  3969. ),
  3970. 'Ave' => array(
  3971. 'type' => 'string',
  3972. ),
  3973. 'Orientation' => array(
  3974. 'type' => 'string',
  3975. ),
  3976. ),
  3977. ),
  3978. 'ProcessResults' => array(
  3979. 'type' => 'object',
  3980. 'location' => 'xml',
  3981. 'properties' => array(
  3982. 'Object' => array(
  3983. 'type' => 'array',
  3984. 'items' => array(
  3985. 'type' => 'object',
  3986. 'properties' => array(
  3987. 'Key' => array(
  3988. 'type' => 'string',
  3989. ),
  3990. 'Location' => array(
  3991. 'type' => 'string',
  3992. ),
  3993. 'Format' => array(
  3994. 'type' => 'string',
  3995. ),
  3996. 'Width' => array(
  3997. 'type' => 'string',
  3998. ),
  3999. 'Height' => array(
  4000. 'type' => 'string',
  4001. ),
  4002. 'Size' => array(
  4003. 'type' => 'string',
  4004. ),
  4005. 'Quality' => array(
  4006. 'type' => 'string',
  4007. ),
  4008. 'ETag' => array(
  4009. 'type' => 'string',
  4010. ),
  4011. 'WatermarkStatus' => array(
  4012. 'type' => 'integer',
  4013. ),
  4014. ),
  4015. ),
  4016. ),
  4017. ),
  4018. ),
  4019. ),
  4020. ),
  4021. 'CreateMultipartUploadOutput' => array(
  4022. 'type' => 'object',
  4023. 'additionalProperties' => true,
  4024. 'properties' => array(
  4025. 'Bucket' => array(
  4026. 'type' => 'string',
  4027. 'location' => 'xml',
  4028. 'sentAs' => 'Bucket'
  4029. ),
  4030. 'Key' => array(
  4031. 'type' => 'string',
  4032. 'location' => 'xml'
  4033. ),
  4034. 'UploadId' => array(
  4035. 'type' => 'string',
  4036. 'location' => 'xml'
  4037. ),
  4038. 'ServerSideEncryption' => array(
  4039. 'type' => 'string',
  4040. 'location' => 'header',
  4041. 'sentAs' => 'x-cos-server-side-encryption',
  4042. ),
  4043. 'SSECustomerAlgorithm' => array(
  4044. 'type' => 'string',
  4045. 'location' => 'header',
  4046. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  4047. ),
  4048. 'SSECustomerKeyMD5' => array(
  4049. 'type' => 'string',
  4050. 'location' => 'header',
  4051. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  4052. ),
  4053. 'SSEKMSKeyId' => array(
  4054. 'type' => 'string',
  4055. 'location' => 'header',
  4056. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  4057. ),
  4058. 'RequestCharged' => array(
  4059. 'type' => 'string',
  4060. 'location' => 'header',
  4061. 'sentAs' => 'x-cos-request-charged',
  4062. ),
  4063. 'RequestId' => array(
  4064. 'location' => 'header',
  4065. 'sentAs' => 'x-cos-request-id',
  4066. )
  4067. )
  4068. ),
  4069. 'CopyObjectOutput' => array(
  4070. 'type' => 'object',
  4071. 'additionalProperties' => true,
  4072. 'properties' => array(
  4073. 'ETag' => array(
  4074. 'type' => 'string',
  4075. 'location' => 'xml',
  4076. ),
  4077. 'LastModified' => array(
  4078. 'type' => 'string',
  4079. 'location' => 'xml',
  4080. ),
  4081. 'Expiration' => array(
  4082. 'type' => 'string',
  4083. 'location' => 'header',
  4084. 'sentAs' => 'x-cos-expiration',
  4085. ),
  4086. 'CopySourceVersionId' => array(
  4087. 'type' => 'string',
  4088. 'location' => 'header',
  4089. 'sentAs' => 'x-cos-copy-source-version-id',
  4090. ),
  4091. 'VersionId' => array(
  4092. 'type' => 'string',
  4093. 'location' => 'header',
  4094. 'sentAs' => 'x-cos-version-id',
  4095. ),
  4096. 'ServerSideEncryption' => array(
  4097. 'type' => 'string',
  4098. 'location' => 'header',
  4099. 'sentAs' => 'x-cos-server-side-encryption',
  4100. ),
  4101. 'SSECustomerAlgorithm' => array(
  4102. 'type' => 'string',
  4103. 'location' => 'header',
  4104. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  4105. ),
  4106. 'RequestCharged' => array(
  4107. 'type' => 'string',
  4108. 'location' => 'header',
  4109. 'sentAs' => 'x-cos-request-charged',
  4110. ),
  4111. 'RequestId' => array(
  4112. 'location' => 'header',
  4113. 'sentAs' => 'x-cos-request-id',
  4114. ),
  4115. 'CRC' => array(
  4116. 'type' => 'string',
  4117. 'location' => 'header',
  4118. 'sentAs' => 'x-cos-hash-crc64ecma',
  4119. )
  4120. ),
  4121. ),
  4122. 'DeleteBucketOutput' => array(
  4123. 'type' => 'object',
  4124. 'additionalProperties' => true,
  4125. 'properties' => array(
  4126. 'RequestId' => array(
  4127. 'location' => 'header',
  4128. 'sentAs' => 'x-cos-request-id'
  4129. )
  4130. )
  4131. ),
  4132. 'DeleteBucketCorsOutput' => array(
  4133. 'type' => 'object',
  4134. 'additionalProperties' => true,
  4135. 'properties' => array(
  4136. 'RequestId' => array(
  4137. 'location' => 'header',
  4138. 'sentAs' => 'x-cos-request-id',
  4139. ),
  4140. ),
  4141. ),
  4142. 'DeleteBucketTaggingOutput' => array(
  4143. 'type' => 'object',
  4144. 'additionalProperties' => true,
  4145. 'properties' => array(
  4146. 'RequestId' => array(
  4147. 'location' => 'header',
  4148. 'sentAs' => 'x-cos-request-id',
  4149. ),
  4150. ),
  4151. ),
  4152. 'DeleteBucketInventoryOutput' => array(
  4153. 'type' => 'object',
  4154. 'additionalProperties' => true,
  4155. 'properties' => array(
  4156. 'RequestId' => array(
  4157. 'location' => 'header',
  4158. 'sentAs' => 'x-cos-request-id',
  4159. ),
  4160. ),
  4161. ),
  4162. 'DeleteObjectOutput' => array(
  4163. 'type' => 'object',
  4164. 'additionalProperties' => true,
  4165. 'properties' => array(
  4166. 'DeleteMarker' => array(
  4167. 'type' => 'boolean',
  4168. 'location' => 'header',
  4169. 'sentAs' => 'x-cos-delete-marker',
  4170. ),
  4171. 'VersionId' => array(
  4172. 'type' => 'string',
  4173. 'location' => 'header',
  4174. 'sentAs' => 'x-cos-version-id',
  4175. ),
  4176. 'RequestCharged' => array(
  4177. 'type' => 'string',
  4178. 'location' => 'header',
  4179. 'sentAs' => 'x-cos-request-charged',
  4180. ),
  4181. 'RequestId' => array(
  4182. 'location' => 'header',
  4183. 'sentAs' => 'x-cos-request-id',
  4184. ),
  4185. ),
  4186. ),
  4187. 'DeleteObjectsOutput' => array(
  4188. 'type' => 'object',
  4189. 'additionalProperties' => true,
  4190. 'properties' => array(
  4191. 'Deleted' => array(
  4192. 'type' => 'array',
  4193. 'location' => 'xml',
  4194. 'sentAs' => 'Deleted',
  4195. 'data' => array(
  4196. 'xmlFlattened' => true,
  4197. ),
  4198. 'items' => array(
  4199. 'type' => 'object',
  4200. 'properties' => array(
  4201. 'Key' => array(
  4202. 'type' => 'string',
  4203. ),
  4204. 'VersionId' => array(
  4205. 'type' => 'string',
  4206. ),
  4207. 'DeleteMarker' => array(
  4208. 'type' => 'boolean',
  4209. ),
  4210. 'DeleteMarkerVersionId' => array(
  4211. 'type' => 'string',
  4212. ),
  4213. ),
  4214. ),
  4215. ),
  4216. 'RequestCharged' => array(
  4217. 'type' => 'string',
  4218. 'location' => 'header',
  4219. 'sentAs' => 'x-cos-request-charged',
  4220. ),
  4221. 'Errors' => array(
  4222. 'type' => 'array',
  4223. 'location' => 'xml',
  4224. 'sentAs' => 'Error',
  4225. 'data' => array(
  4226. 'xmlFlattened' => true,
  4227. ),
  4228. 'items' => array(
  4229. 'type' => 'object',
  4230. 'properties' => array(
  4231. 'Key' => array(
  4232. 'type' => 'string',
  4233. ),
  4234. 'VersionId' => array(
  4235. 'type' => 'string',
  4236. ),
  4237. 'Code' => array(
  4238. 'type' => 'string',
  4239. ),
  4240. 'Message' => array(
  4241. 'type' => 'string',
  4242. ),
  4243. ),
  4244. ),
  4245. ),
  4246. 'RequestId' => array(
  4247. 'location' => 'header',
  4248. 'sentAs' => 'x-cos-request-id',
  4249. ),
  4250. ),
  4251. ),
  4252. 'DeleteBucketLifecycleOutput' => array(
  4253. 'type' => 'object',
  4254. 'additionalProperties' => true,
  4255. 'properties' => array(
  4256. 'RequestId' => array(
  4257. 'location' => 'header',
  4258. 'sentAs' => 'x-cos-request-id',
  4259. ),
  4260. ),
  4261. ),
  4262. 'DeleteBucketReplicationOutput' => array(
  4263. 'type' => 'object',
  4264. 'additionalProperties' => true,
  4265. 'properties' => array(
  4266. 'RequestId' => array(
  4267. 'location' => 'header',
  4268. 'sentAs' => 'x-cos-request-id',
  4269. ),
  4270. ),
  4271. ),
  4272. 'DeleteBucketWebsiteOutput' => array(
  4273. 'type' => 'object',
  4274. 'additionalProperties' => true,
  4275. 'properties' => array(
  4276. 'RequestId' => array(
  4277. 'location' => 'header',
  4278. 'sentAs' => 'x-cos-request-id',
  4279. ),
  4280. ),
  4281. ),
  4282. 'PutObjectTaggingOutput' => array(
  4283. 'type' => 'object',
  4284. 'additionalProperties' => true,
  4285. 'properties' => array(
  4286. 'RequestId' => array(
  4287. 'location' => 'header',
  4288. 'sentAs' => 'x-cos-request-id',
  4289. ),
  4290. ),
  4291. ),
  4292. 'GetObjectTaggingOutput' => array(
  4293. 'type' => 'object',
  4294. 'additionalProperties' => true,
  4295. 'properties' => array(
  4296. 'TagSet' => array(
  4297. 'type' => 'array',
  4298. 'location' => 'xml',
  4299. 'items' => array(
  4300. 'sentAs' => 'Tag',
  4301. 'type' => 'object',
  4302. 'properties' => array(
  4303. 'Key' => array(
  4304. 'type' => 'string',
  4305. ),
  4306. 'Value' => array(
  4307. 'type' => 'string',
  4308. ),
  4309. ),
  4310. ),
  4311. ),
  4312. 'RequestId' => array(
  4313. 'location' => 'header',
  4314. 'sentAs' => 'x-cos-request-id',
  4315. ),
  4316. ),
  4317. ),
  4318. 'DeleteObjectTaggingOutput' => array(
  4319. 'type' => 'object',
  4320. 'additionalProperties' => true,
  4321. 'properties' => array(
  4322. 'RequestId' => array(
  4323. 'location' => 'header',
  4324. 'sentAs' => 'x-cos-request-id'
  4325. )
  4326. )
  4327. ),
  4328. 'GetObjectOutput' => array(
  4329. 'type' => 'object',
  4330. 'additionalProperties' => true,
  4331. 'properties' => array(
  4332. 'Body' => array(
  4333. 'type' => 'string',
  4334. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  4335. 'location' => 'body',
  4336. ),
  4337. 'DeleteMarker' => array(
  4338. 'type' => 'boolean',
  4339. 'location' => 'header',
  4340. 'sentAs' => 'x-cos-delete-marker',
  4341. ),
  4342. 'AcceptRanges' => array(
  4343. 'type' => 'string',
  4344. 'location' => 'header',
  4345. 'sentAs' => 'accept-ranges',
  4346. ),
  4347. 'Expiration' => array(
  4348. 'type' => 'string',
  4349. 'location' => 'header',
  4350. 'sentAs' => 'x-cos-expiration',
  4351. ),
  4352. 'Restore' => array(
  4353. 'type' => 'string',
  4354. 'location' => 'header',
  4355. 'sentAs' => 'x-cos-restore',
  4356. ),
  4357. 'LastModified' => array(
  4358. 'type' => 'string',
  4359. 'location' => 'header',
  4360. 'sentAs' => 'Last-Modified',
  4361. ),
  4362. 'ContentLength' => array(
  4363. 'type' => 'numeric',
  4364. 'minimum'=> 0,
  4365. 'location' => 'header',
  4366. 'sentAs' => 'Content-Length',
  4367. ),
  4368. 'ETag' => array(
  4369. 'type' => 'string',
  4370. 'location' => 'header',
  4371. ),
  4372. 'MissingMeta' => array(
  4373. 'type' => 'numeric',
  4374. 'location' => 'header',
  4375. 'sentAs' => 'x-cos-missing-meta',
  4376. ),
  4377. 'VersionId' => array(
  4378. 'type' => 'string',
  4379. 'location' => 'header',
  4380. 'sentAs' => 'x-cos-version-id',
  4381. ),
  4382. 'CacheControl' => array(
  4383. 'type' => 'string',
  4384. 'location' => 'header',
  4385. 'sentAs' => 'Cache-Control',
  4386. ),
  4387. 'ContentDisposition' => array(
  4388. 'type' => 'string',
  4389. 'location' => 'header',
  4390. 'sentAs' => 'Content-Disposition',
  4391. ),
  4392. 'ContentEncoding' => array(
  4393. 'type' => 'string',
  4394. 'location' => 'header',
  4395. 'sentAs' => 'Content-Encoding',
  4396. ),
  4397. 'ContentLanguage' => array(
  4398. 'type' => 'string',
  4399. 'location' => 'header',
  4400. 'sentAs' => 'Content-Language',
  4401. ),
  4402. 'ContentRange' => array(
  4403. 'type' => 'string',
  4404. 'location' => 'header',
  4405. 'sentAs' => 'Content-Range',
  4406. ),
  4407. 'ContentType' => array(
  4408. 'type' => 'string',
  4409. 'location' => 'header',
  4410. 'sentAs' => 'Content-Type',
  4411. ),
  4412. 'Expires' => array(
  4413. 'type' => 'string',
  4414. 'location' => 'header',
  4415. ),
  4416. 'WebsiteRedirectLocation' => array(
  4417. 'type' => 'string',
  4418. 'location' => 'header',
  4419. 'sentAs' => 'x-cos-website-redirect-location',
  4420. ),
  4421. 'ServerSideEncryption' => array(
  4422. 'type' => 'string',
  4423. 'location' => 'header',
  4424. 'sentAs' => 'x-cos-server-side-encryption',
  4425. ),
  4426. 'SSECustomerAlgorithm' => array(
  4427. 'type' => 'string',
  4428. 'location' => 'header',
  4429. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  4430. ),
  4431. 'SSECustomerKeyMD5' => array(
  4432. 'type' => 'string',
  4433. 'location' => 'header',
  4434. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  4435. ),
  4436. 'SSEKMSKeyId' => array(
  4437. 'type' => 'string',
  4438. 'location' => 'header',
  4439. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  4440. ),
  4441. 'StorageClass' => array(
  4442. 'type' => 'string',
  4443. 'location' => 'header',
  4444. 'sentAs' => 'x-cos-storage-class',
  4445. ),
  4446. 'RequestCharged' => array(
  4447. 'type' => 'string',
  4448. 'location' => 'header',
  4449. 'sentAs' => 'x-cos-request-charged',
  4450. ),
  4451. 'ReplicationStatus' => array(
  4452. 'type' => 'string',
  4453. 'location' => 'header',
  4454. 'sentAs' => 'x-cos-replication-status',
  4455. ),
  4456. 'RequestId' => array(
  4457. 'location' => 'header',
  4458. 'sentAs' => 'x-cos-request-id',
  4459. ),
  4460. 'CRC' => array(
  4461. 'type' => 'string',
  4462. 'location' => 'header',
  4463. 'sentAs' => 'x-cos-hash-crc64ecma',
  4464. )
  4465. ),
  4466. ),
  4467. 'GetObjectAclOutput' => array(
  4468. 'type' => 'object',
  4469. 'additionalProperties' => true,
  4470. 'properties' => array(
  4471. 'Owner' => array(
  4472. 'type' => 'object',
  4473. 'location' => 'xml',
  4474. 'properties' => array(
  4475. 'DisplayName' => array(
  4476. 'type' => 'string',
  4477. ),
  4478. 'ID' => array(
  4479. 'type' => 'string',
  4480. ),
  4481. ),
  4482. ),
  4483. 'Grants' => array(
  4484. 'type' => 'array',
  4485. 'location' => 'xml',
  4486. 'sentAs' => 'AccessControlList',
  4487. 'items' => array(
  4488. 'type' => 'object',
  4489. 'properties' => array(
  4490. 'Grantee' => array(
  4491. 'type' => 'object',
  4492. 'properties' => array(
  4493. 'DisplayName' => array(
  4494. 'type' => 'string'),
  4495. 'ID' => array(
  4496. 'type' => 'string'))),
  4497. 'Permission' => array(
  4498. 'type' => 'string',
  4499. ),
  4500. ),
  4501. ),
  4502. ),
  4503. 'RequestCharged' => array(
  4504. 'type' => 'string',
  4505. 'location' => 'header',
  4506. 'sentAs' => 'x-cos-request-charged',
  4507. ),
  4508. 'RequestId' => array(
  4509. 'location' => 'header',
  4510. 'sentAs' => 'x-cos-request-id',
  4511. ),
  4512. ),
  4513. ),
  4514. 'GetBucketAclOutput' => array(
  4515. 'type' => 'object',
  4516. 'additionalProperties' => true,
  4517. 'properties' => array(
  4518. 'Owner' => array(
  4519. 'type' => 'object',
  4520. 'location' => 'xml',
  4521. 'properties' => array(
  4522. 'DisplayName' => array(
  4523. 'type' => 'string'
  4524. ),
  4525. 'ID' => array(
  4526. 'type' => 'string'
  4527. )
  4528. )
  4529. ),
  4530. 'Grants' => array(
  4531. 'type' => 'array',
  4532. 'location' => 'xml',
  4533. 'sentAs' => 'AccessControlList',
  4534. 'items' => array(
  4535. 'type' => 'object',
  4536. 'properties' => array(
  4537. 'Grantee' => array(
  4538. 'type' => 'object',
  4539. 'properties' => array(
  4540. 'DisplayName' => array(
  4541. 'type' => 'string'
  4542. ),
  4543. 'ID' => array(
  4544. 'type' => 'string'
  4545. )
  4546. )
  4547. ),
  4548. 'Permission' => array(
  4549. 'type' => 'string'
  4550. )
  4551. )
  4552. )
  4553. ),
  4554. 'RequestId' => array(
  4555. 'location' => 'header',
  4556. 'sentAs' => 'x-cos-request-id'
  4557. )
  4558. )
  4559. ),
  4560. 'GetBucketCorsOutput' => array(
  4561. 'type' => 'object',
  4562. 'additionalProperties' => true,
  4563. 'properties' => array(
  4564. 'CORSRules' => array(
  4565. 'type' => 'array',
  4566. 'location' => 'xml',
  4567. 'sentAs' => 'CORSRule',
  4568. 'data' => array(
  4569. 'xmlFlattened' => true,
  4570. ),
  4571. 'items' => array(
  4572. 'type' => 'object',
  4573. 'properties' => array(
  4574. 'ID' => array(
  4575. 'type' => 'string'),
  4576. 'AllowedHeaders' => array(
  4577. 'type' => 'array',
  4578. 'sentAs' => 'AllowedHeader',
  4579. 'data' => array(
  4580. 'xmlFlattened' => true,
  4581. ),
  4582. 'items' => array(
  4583. 'type' => 'string',
  4584. )
  4585. ),
  4586. 'AllowedMethods' => array(
  4587. 'type' => 'array',
  4588. 'sentAs' => 'AllowedMethod',
  4589. 'data' => array(
  4590. 'xmlFlattened' => true,
  4591. ),
  4592. 'items' => array(
  4593. 'type' => 'string',
  4594. ),
  4595. ),
  4596. 'AllowedOrigins' => array(
  4597. 'type' => 'array',
  4598. 'sentAs' => 'AllowedOrigin',
  4599. 'data' => array(
  4600. 'xmlFlattened' => true,
  4601. ),
  4602. 'items' => array(
  4603. 'type' => 'string',
  4604. ),
  4605. ),
  4606. 'ExposeHeaders' => array(
  4607. 'type' => 'array',
  4608. 'sentAs' => 'ExposeHeader',
  4609. 'data' => array(
  4610. 'xmlFlattened' => true,
  4611. ),
  4612. 'items' => array(
  4613. 'type' => 'string',
  4614. ),
  4615. ),
  4616. 'MaxAgeSeconds' => array(
  4617. 'type' => 'numeric',
  4618. ),
  4619. ),
  4620. ),
  4621. ),
  4622. 'RequestId' => array(
  4623. 'location' => 'header',
  4624. 'sentAs' => 'x-cos-request-id',
  4625. ),
  4626. ),
  4627. ),
  4628. 'GetBucketDomainOutput' => array(
  4629. 'type' => 'object',
  4630. 'additionalProperties' => true,
  4631. 'properties' => array(
  4632. 'DomainRules' => array(
  4633. 'type' => 'array',
  4634. 'location' => 'xml',
  4635. 'sentAs' => 'DomainRule',
  4636. 'data' => array(
  4637. 'xmlFlattened' => true,
  4638. ),
  4639. 'items' => array(
  4640. 'type' => 'object',
  4641. 'properties' => array(
  4642. 'Status' => array(
  4643. 'type' => 'string'
  4644. ),
  4645. 'Name' => array(
  4646. 'type' => 'string'
  4647. ),
  4648. 'Type' => array(
  4649. 'type' => 'string'
  4650. ),
  4651. 'ForcedReplacement' => array(
  4652. 'type' => 'string'
  4653. ),
  4654. ),
  4655. ),
  4656. ),
  4657. 'DomainTxtVerification' => array(
  4658. 'location' => 'header',
  4659. 'sentAs' => 'x-cos-domain-txt-verification',
  4660. ),
  4661. 'RequestId' => array(
  4662. 'location' => 'header',
  4663. 'sentAs' => 'x-cos-request-id',
  4664. ),
  4665. ),
  4666. ),
  4667. 'GetBucketLifecycleOutput' => array(
  4668. 'type' => 'object',
  4669. 'additionalProperties' => true,
  4670. 'properties' => array(
  4671. 'Rules' => array(
  4672. 'type' => 'array',
  4673. 'location' => 'xml',
  4674. 'sentAs' => 'Rule',
  4675. 'data' => array(
  4676. 'xmlFlattened' => true,
  4677. ),
  4678. 'items' => array(
  4679. 'type' => 'object',
  4680. 'properties' => array(
  4681. 'Expiration' => array(
  4682. 'type' => 'object',
  4683. 'properties' => array(
  4684. 'Date' => array(
  4685. 'type' => 'string',
  4686. ),
  4687. 'Days' => array(
  4688. 'type' => 'numeric',
  4689. ),
  4690. ),
  4691. ),
  4692. 'ID' => array(
  4693. 'type' => 'string',
  4694. ),
  4695. 'Filter' => array(
  4696. 'type' => 'object',
  4697. 'properties' => array(
  4698. 'Prefix' => array(
  4699. 'type' => 'string',
  4700. ),
  4701. 'Tag' => array(
  4702. 'type' => 'object',
  4703. 'properties' => array(
  4704. 'Key' => array(
  4705. 'type' => 'string'
  4706. ),
  4707. 'Value' => array(
  4708. 'type' => 'string'
  4709. ),
  4710. )
  4711. )
  4712. ),
  4713. ),
  4714. 'Status' => array(
  4715. 'type' => 'string',
  4716. ),
  4717. 'Transition' => array(
  4718. 'type' => 'object',
  4719. 'properties' => array(
  4720. 'Date' => array(
  4721. 'type' => 'string',
  4722. ),
  4723. 'Days' => array(
  4724. 'type' => 'numeric',
  4725. ),
  4726. 'StorageClass' => array(
  4727. 'type' => 'string',
  4728. ),
  4729. ),
  4730. ),
  4731. 'NoncurrentVersionTransition' => array(
  4732. 'type' => 'object',
  4733. 'properties' => array(
  4734. 'NoncurrentDays' => array(
  4735. 'type' => 'numeric',
  4736. ),
  4737. 'StorageClass' => array(
  4738. 'type' => 'string',
  4739. ),
  4740. ),
  4741. ),
  4742. 'NoncurrentVersionExpiration' => array(
  4743. 'type' => 'object',
  4744. 'properties' => array(
  4745. 'NoncurrentDays' => array(
  4746. 'type' => 'numeric',
  4747. ),
  4748. ),
  4749. ),
  4750. ),
  4751. ),
  4752. ),
  4753. 'RequestId' => array(
  4754. 'location' => 'header',
  4755. 'sentAs' => 'x-cos-request-id',
  4756. ),
  4757. ),
  4758. ),
  4759. 'GetBucketVersioningOutput' => array(
  4760. 'type' => 'object',
  4761. 'additionalProperties' => true,
  4762. 'properties' => array(
  4763. 'Status' => array(
  4764. 'type' => 'string',
  4765. 'location' => 'xml',
  4766. ),
  4767. 'MFADelete' => array(
  4768. 'type' => 'string',
  4769. 'location' => 'xml',
  4770. 'sentAs' => 'MfaDelete',
  4771. ),
  4772. 'RequestId' => array(
  4773. 'location' => 'header',
  4774. 'sentAs' => 'x-cos-request-id',
  4775. ),
  4776. ),
  4777. ),
  4778. 'GetBucketReplicationOutput' => array(
  4779. 'type' => 'object',
  4780. 'additionalProperties' => true,
  4781. 'properties' => array(
  4782. 'Role' => array(
  4783. 'type' => 'string',
  4784. 'location' => 'xml',
  4785. ),
  4786. 'Rules' => array(
  4787. 'type' => 'array',
  4788. 'location' => 'xml',
  4789. 'sentAs' => 'Rule',
  4790. 'data' => array(
  4791. 'xmlFlattened' => true,
  4792. ),
  4793. 'items' => array(
  4794. 'type' => 'object',
  4795. 'properties' => array(
  4796. 'ID' => array(
  4797. 'type' => 'string',
  4798. ),
  4799. 'Prefix' => array(
  4800. 'type' => 'string',
  4801. ),
  4802. 'Status' => array(
  4803. 'type' => 'string',
  4804. ),
  4805. 'Destination' => array(
  4806. 'type' => 'object',
  4807. 'properties' => array(
  4808. 'Bucket' => array(
  4809. 'type' => 'string',
  4810. ),
  4811. 'StorageClass' => array(
  4812. 'type' => 'string',
  4813. ),
  4814. ),
  4815. ),
  4816. ),
  4817. ),
  4818. ),
  4819. 'RequestId' => array(
  4820. 'location' => 'header',
  4821. 'sentAs' => 'x-cos-request-id',
  4822. ),
  4823. ),
  4824. ),
  4825. 'GetBucketLocationOutput' => array(
  4826. 'type' => 'object',
  4827. 'additionalProperties' => true,
  4828. 'properties' => array(
  4829. 'Location' => array(
  4830. 'type' => 'string',
  4831. 'location' => 'body',
  4832. 'filters' => array(
  4833. 'strval',
  4834. 'strip_tags',
  4835. 'trim',
  4836. ),
  4837. ),
  4838. ),
  4839. ),
  4840. 'GetBucketAccelerateOutput' => array(
  4841. 'type' => 'object',
  4842. 'additionalProperties' => true,
  4843. 'properties' => array(
  4844. 'Status' => array(
  4845. 'type' => 'string',
  4846. 'location' => 'xml',
  4847. ),
  4848. 'Type' => array(
  4849. 'type' => 'string',
  4850. 'location' => 'xml',
  4851. ),
  4852. 'RequestId' => array(
  4853. 'location' => 'header',
  4854. 'sentAs' => 'x-cos-request-id',
  4855. ),
  4856. ),
  4857. ),
  4858. 'GetBucketWebsiteOutput' => array(
  4859. 'type' => 'object',
  4860. 'additionalProperties' => true,
  4861. 'properties' => array(
  4862. 'RedirectAllRequestsTo' => array(
  4863. 'type' => 'object',
  4864. 'location' => 'xml',
  4865. 'properties' => array(
  4866. 'HostName' => array(
  4867. 'type' => 'string',
  4868. ),
  4869. 'Protocol' => array(
  4870. 'type' => 'string',
  4871. ),
  4872. ),
  4873. ),
  4874. 'IndexDocument' => array(
  4875. 'type' => 'object',
  4876. 'location' => 'xml',
  4877. 'properties' => array(
  4878. 'Suffix' => array(
  4879. 'type' => 'string',
  4880. ),
  4881. ),
  4882. ),
  4883. 'ErrorDocument' => array(
  4884. 'type' => 'object',
  4885. 'location' => 'xml',
  4886. 'properties' => array(
  4887. 'Key' => array(
  4888. 'type' => 'string',
  4889. ),
  4890. ),
  4891. ),
  4892. 'RoutingRules' => array(
  4893. 'type' => 'array',
  4894. 'location' => 'xml',
  4895. 'items' => array(
  4896. 'name' => 'RoutingRule',
  4897. 'type' => 'object',
  4898. 'sentAs' => 'RoutingRule',
  4899. 'properties' => array(
  4900. 'Condition' => array(
  4901. 'type' => 'object',
  4902. 'properties' => array(
  4903. 'HttpErrorCodeReturnedEquals' => array(
  4904. 'type' => 'string',
  4905. ),
  4906. 'KeyPrefixEquals' => array(
  4907. 'type' => 'string',
  4908. ),
  4909. ),
  4910. ),
  4911. 'Redirect' => array(
  4912. 'type' => 'object',
  4913. 'properties' => array(
  4914. 'HostName' => array(
  4915. 'type' => 'string',
  4916. ),
  4917. 'HttpRedirectCode' => array(
  4918. 'type' => 'string',
  4919. ),
  4920. 'Protocol' => array(
  4921. 'type' => 'string',
  4922. ),
  4923. 'ReplaceKeyPrefixWith' => array(
  4924. 'type' => 'string',
  4925. ),
  4926. 'ReplaceKeyWith' => array(
  4927. 'type' => 'string',
  4928. ),
  4929. ),
  4930. ),
  4931. ),
  4932. ),
  4933. ),
  4934. 'RequestId' => array(
  4935. 'location' => 'header',
  4936. 'sentAs' => 'x-cos-request-id',
  4937. ),
  4938. ),
  4939. ),
  4940. 'GetBucketInventoryOutput' => array(
  4941. 'type' => 'object',
  4942. 'additionalProperties' => true,
  4943. 'properties' => array(
  4944. 'Destination' => array(
  4945. 'type' => 'object',
  4946. 'location' => 'xml',
  4947. 'properties' => array(
  4948. 'COSBucketDestination' => array(
  4949. 'type' => 'object',
  4950. 'properties' => array(
  4951. 'Format' => array(
  4952. 'type' => 'string',
  4953. ),
  4954. 'AccountId' => array(
  4955. 'type' => 'string',
  4956. ),
  4957. 'Bucket' => array(
  4958. 'type' => 'string',
  4959. ),
  4960. 'Prefix' => array(
  4961. 'type' => 'string',
  4962. ),
  4963. 'Encryption' => array(
  4964. 'type' => 'object',
  4965. 'properties' => array(
  4966. 'SSE-COS' => array(
  4967. 'type' => 'string',
  4968. )
  4969. )
  4970. ),
  4971. ),
  4972. ),
  4973. ),
  4974. ),
  4975. 'Schedule' => array(
  4976. 'type' => 'object',
  4977. 'location' => 'xml',
  4978. 'properties' => array(
  4979. 'Frequency' => array(
  4980. 'type' => 'string',
  4981. ),
  4982. ),
  4983. ),
  4984. 'OptionalFields' => array(
  4985. 'type' => 'array',
  4986. 'location' => 'xml',
  4987. 'properties' => array(
  4988. 'Key' => array(
  4989. 'type' => 'string',
  4990. ),
  4991. ),
  4992. ),
  4993. 'OptionalFields' => array(
  4994. 'type' => 'array',
  4995. 'location' => 'xml',
  4996. 'items' => array(
  4997. 'name' => 'Field',
  4998. 'type' => 'string',
  4999. 'sentAs' => 'Field',
  5000. ),
  5001. ),
  5002. 'IsEnabled' => array(
  5003. 'type' => 'string',
  5004. 'location' => 'xml',
  5005. ),
  5006. 'Id' => array(
  5007. 'type' => 'string',
  5008. 'location' => 'xml',
  5009. ),
  5010. 'IncludedObjectVersions' => array(
  5011. 'type' => 'string',
  5012. 'location' => 'xml',
  5013. ),
  5014. 'RequestId' => array(
  5015. 'location' => 'header',
  5016. 'sentAs' => 'x-cos-request-id',
  5017. ),
  5018. ),
  5019. ),
  5020. 'GetBucketTaggingOutput' => array(
  5021. 'type' => 'object',
  5022. 'additionalProperties' => true,
  5023. 'properties' => array(
  5024. 'TagSet' => array(
  5025. 'type' => 'array',
  5026. 'location' => 'xml',
  5027. 'items' => array(
  5028. 'sentAs' => 'Tag',
  5029. 'type' => 'object',
  5030. 'properties' => array(
  5031. 'Key' => array(
  5032. 'type' => 'string',
  5033. ),
  5034. 'Value' => array(
  5035. 'type' => 'string',
  5036. ),
  5037. ),
  5038. ),
  5039. ),
  5040. 'RequestId' => array(
  5041. 'location' => 'header',
  5042. 'sentAs' => 'x-cos-request-id',
  5043. ),
  5044. ),
  5045. ),
  5046. 'GetBucketNotificationOutput' => array(
  5047. 'type' => 'object',
  5048. 'additionalProperties' => true,
  5049. 'properties' => array(
  5050. 'CloudFunctionConfigurations' => array(
  5051. 'type' => 'array',
  5052. 'location' => 'xml',
  5053. 'sentAs' => 'CloudFunctionConfiguration',
  5054. 'data' => array(
  5055. 'xmlFlattened' => true,
  5056. ),
  5057. 'items' => array(
  5058. 'type' => 'object',
  5059. 'properties' => array(
  5060. 'Id' => array(
  5061. 'type' => 'string',
  5062. ),
  5063. 'CloudFunction' => array(
  5064. 'type' => 'string',
  5065. 'sentAs' => 'CloudFunction',
  5066. ),
  5067. 'Events' => array(
  5068. 'type' => 'array',
  5069. 'sentAs' => 'Event',
  5070. 'data' => array(
  5071. 'xmlFlattened' => true,
  5072. ),
  5073. 'items' => array(
  5074. 'type' => 'string',
  5075. ),
  5076. ),
  5077. 'Filter' => array(
  5078. 'type' => 'object',
  5079. 'properties' => array(
  5080. 'Key' => array(
  5081. 'type' => 'object',
  5082. 'sentAs' => 'Key',
  5083. 'properties' => array(
  5084. 'FilterRules' => array(
  5085. 'type' => 'array',
  5086. 'sentAs' => 'FilterRule',
  5087. 'data' => array(
  5088. 'xmlFlattened' => true,
  5089. ),
  5090. 'items' => array(
  5091. 'type' => 'object',
  5092. 'properties' => array(
  5093. 'Name' => array(
  5094. 'type' => 'string',
  5095. ),
  5096. 'Value' => array(
  5097. 'type' => 'string',
  5098. ),
  5099. ),
  5100. ),
  5101. ),
  5102. ),
  5103. ),
  5104. ),
  5105. ),
  5106. ),
  5107. ),
  5108. ),
  5109. 'RequestId' => array(
  5110. 'location' => 'header',
  5111. 'sentAs' => 'x-cos-request-id',
  5112. ),
  5113. ),
  5114. ),
  5115. 'GetBucketLoggingOutput' => array(
  5116. 'type' => 'object',
  5117. 'additionalProperties' => true,
  5118. 'properties' => array(
  5119. 'LoggingEnabled' => array(
  5120. 'location' => 'xml',
  5121. 'type' => 'object',
  5122. 'properties' => array(
  5123. 'TargetBucket' => array(
  5124. 'type' => 'string',
  5125. 'location' => 'xml',
  5126. ),
  5127. 'TargetPrefix' => array(
  5128. 'type' => 'string',
  5129. ),
  5130. ),
  5131. ),
  5132. 'RequestId' => array(
  5133. 'location' => 'header',
  5134. 'sentAs' => 'x-cos-request-id',
  5135. ),
  5136. ),
  5137. ),
  5138. 'UploadPartOutput' => array(
  5139. 'type' => 'object',
  5140. 'additionalProperties' => true,
  5141. 'properties' => array(
  5142. 'ServerSideEncryption' => array(
  5143. 'type' => 'string',
  5144. 'location' => 'header',
  5145. 'sentAs' => 'x-cos-server-side-encryption',
  5146. ),
  5147. 'ETag' => array(
  5148. 'type' => 'string',
  5149. 'location' => 'header',
  5150. ),
  5151. 'SSECustomerAlgorithm' => array(
  5152. 'type' => 'string',
  5153. 'location' => 'header',
  5154. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  5155. ),
  5156. 'SSECustomerKeyMD5' => array(
  5157. 'type' => 'string',
  5158. 'location' => 'header',
  5159. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  5160. ),
  5161. 'SSEKMSKeyId' => array(
  5162. 'type' => 'string',
  5163. 'location' => 'header',
  5164. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  5165. ),
  5166. 'RequestCharged' => array(
  5167. 'type' => 'string',
  5168. 'location' => 'header',
  5169. 'sentAs' => 'x-cos-request-charged',
  5170. ),
  5171. 'RequestId' => array(
  5172. 'location' => 'header',
  5173. 'sentAs' => 'x-cos-request-id',
  5174. ),
  5175. 'CRC' => array(
  5176. 'type' => 'string',
  5177. 'location' => 'header',
  5178. 'sentAs' => 'x-cos-hash-crc64ecma',
  5179. )
  5180. ),
  5181. ),
  5182. 'UploadPartCopyOutput' => array(
  5183. 'type' => 'object',
  5184. 'additionalProperties' => true,
  5185. 'properties' => array(
  5186. 'CopySourceVersionId' => array(
  5187. 'type' => 'string',
  5188. 'location' => 'header',
  5189. 'sentAs' => 'x-cos-copy-source-version-id',
  5190. ),
  5191. 'ETag' => array(
  5192. 'type' => 'string',
  5193. 'location' => 'xml',
  5194. ),
  5195. 'LastModified' => array(
  5196. 'type' => 'string',
  5197. 'location' => 'xml',
  5198. ),
  5199. 'ServerSideEncryption' => array(
  5200. 'type' => 'string',
  5201. 'location' => 'header',
  5202. 'sentAs' => 'x-cos-server-side-encryption',
  5203. ),
  5204. 'SSECustomerAlgorithm' => array(
  5205. 'type' => 'string',
  5206. 'location' => 'header',
  5207. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  5208. ),
  5209. 'SSECustomerKeyMD5' => array(
  5210. 'type' => 'string',
  5211. 'location' => 'header',
  5212. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  5213. ),
  5214. 'SSEKMSKeyId' => array(
  5215. 'type' => 'string',
  5216. 'location' => 'header',
  5217. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  5218. ),
  5219. 'RequestCharged' => array(
  5220. 'type' => 'string',
  5221. 'location' => 'header',
  5222. 'sentAs' => 'x-cos-request-charged',
  5223. ),
  5224. 'RequestId' => array(
  5225. 'location' => 'header',
  5226. 'sentAs' => 'x-cos-request-id',
  5227. ),
  5228. 'CRC' => array(
  5229. 'type' => 'string',
  5230. 'location' => 'header',
  5231. 'sentAs' => 'x-cos-hash-crc64ecma',
  5232. )
  5233. ),
  5234. ),
  5235. 'PutBucketAclOutput' => array(
  5236. 'type' => 'object',
  5237. 'additionalProperties' => true,
  5238. 'properties' => array(
  5239. 'RequestId' => array(
  5240. 'location' => 'header',
  5241. 'sentAs' => 'x-cos-request-id'
  5242. )
  5243. )
  5244. ),
  5245. 'PutObjectOutput' => array(
  5246. 'type' => 'object',
  5247. 'additionalProperties' => true,
  5248. 'properties' => array(
  5249. 'Expiration' => array(
  5250. 'type' => 'string',
  5251. 'location' => 'header',
  5252. 'sentAs' => 'x-cos-expiration',
  5253. ),
  5254. 'ETag' => array(
  5255. 'type' => 'string',
  5256. 'location' => 'header',
  5257. ),
  5258. 'ServerSideEncryption' => array(
  5259. 'type' => 'string',
  5260. 'location' => 'header',
  5261. 'sentAs' => 'x-cos-server-side-encryption',
  5262. ),
  5263. 'VersionId' => array(
  5264. 'type' => 'string',
  5265. 'location' => 'header',
  5266. 'sentAs' => 'x-cos-version-id',
  5267. ),
  5268. 'SSECustomerAlgorithm' => array(
  5269. 'type' => 'string',
  5270. 'location' => 'header',
  5271. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  5272. ),
  5273. 'SSECustomerKeyMD5' => array(
  5274. 'type' => 'string',
  5275. 'location' => 'header',
  5276. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  5277. ),
  5278. 'SSEKMSKeyId' => array(
  5279. 'type' => 'string',
  5280. 'location' => 'header',
  5281. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  5282. ),
  5283. 'RequestCharged' => array(
  5284. 'type' => 'string',
  5285. 'location' => 'header',
  5286. 'sentAs' => 'x-cos-request-charged',
  5287. ),
  5288. 'RequestId' => array(
  5289. 'location' => 'header',
  5290. 'sentAs' => 'x-cos-request-id',
  5291. ),
  5292. 'ContentLength' => array(
  5293. 'type' => 'numeric',
  5294. 'minimum'=> 0,
  5295. 'location' => 'header',
  5296. 'sentAs' => 'Content-Length',
  5297. ),
  5298. 'Body' => array(
  5299. 'type' => 'string',
  5300. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  5301. 'location' => 'body',
  5302. ),
  5303. 'CRC' => array(
  5304. 'type' => 'string',
  5305. 'location' => 'header',
  5306. 'sentAs' => 'x-cos-hash-crc64ecma',
  5307. )
  5308. ),
  5309. ),
  5310. 'AppendObjectOutput' => array(
  5311. 'type' => 'object',
  5312. 'additionalProperties' => true,
  5313. 'properties' => array(
  5314. 'ETag' => array(
  5315. 'type' => 'string',
  5316. 'location' => 'header',
  5317. ),
  5318. 'Position' => array(
  5319. 'type' => 'integer',
  5320. 'location' => 'header',
  5321. 'sentAs' => 'x-cos-next-append-position',
  5322. ),
  5323. 'RequestId' => array(
  5324. 'location' => 'header',
  5325. 'sentAs' => 'x-cos-request-id',
  5326. )
  5327. ),
  5328. ),
  5329. 'PutObjectAclOutput' => array(
  5330. 'type' => 'object',
  5331. 'additionalProperties' => true,
  5332. 'properties' => array(
  5333. 'RequestCharged' => array(
  5334. 'type' => 'string',
  5335. 'location' => 'header',
  5336. 'sentAs' => 'x-cos-request-charged',
  5337. ),
  5338. 'RequestId' => array(
  5339. 'location' => 'header',
  5340. 'sentAs' => 'x-cos-request-id',
  5341. ),
  5342. ),
  5343. ),
  5344. 'PutBucketCorsOutput' => array(
  5345. 'type' => 'object',
  5346. 'additionalProperties' => true,
  5347. 'properties' => array(
  5348. 'RequestId' => array(
  5349. 'location' => 'header',
  5350. 'sentAs' => 'x-cos-request-id',
  5351. ),
  5352. ),
  5353. ),
  5354. 'PutBucketDomainOutput' => array(
  5355. 'type' => 'object',
  5356. 'additionalProperties' => true,
  5357. 'properties' => array(
  5358. 'RequestId' => array(
  5359. 'location' => 'header',
  5360. 'sentAs' => 'x-cos-request-id',
  5361. ),
  5362. ),
  5363. ),
  5364. 'PutBucketLifecycleOutput' => array(
  5365. 'type' => 'object',
  5366. 'additionalProperties' => true,
  5367. 'properties' => array(
  5368. 'RequestId' => array(
  5369. 'location' => 'header',
  5370. 'sentAs' => 'x-cos-request-id',
  5371. ),
  5372. ),
  5373. ),
  5374. 'PutBucketVersioningOutput' => array(
  5375. 'type' => 'object',
  5376. 'additionalProperties' => true,
  5377. 'properties' => array(
  5378. 'RequestId' => array(
  5379. 'location' => 'header',
  5380. 'sentAs' => 'x-cos-request-id',
  5381. ),
  5382. ),
  5383. ),
  5384. 'PutBucketReplicationOutput' => array(
  5385. 'type' => 'object',
  5386. 'additionalProperties' => true,
  5387. 'properties' => array(
  5388. 'RequestId' => array(
  5389. 'location' => 'header',
  5390. 'sentAs' => 'x-cos-request-id',
  5391. ),
  5392. ),
  5393. ),
  5394. 'PutBucketNotificationOutput' => array(
  5395. 'type' => 'object',
  5396. 'additionalProperties' => true,
  5397. 'properties' => array(
  5398. 'RequestId' => array(
  5399. 'location' => 'header',
  5400. 'sentAs' => 'x-cos-request-id',
  5401. ),
  5402. ),
  5403. ),
  5404. 'PutBucketWebsiteOutput' => array(
  5405. 'type' => 'object',
  5406. 'additionalProperties' => true,
  5407. 'properties' => array(
  5408. 'RequestId' => array(
  5409. 'location' => 'header',
  5410. 'sentAs' => 'x-cos-request-id',
  5411. ),
  5412. ),
  5413. ),
  5414. 'PutBucketAccelerateOutput' => array(
  5415. 'type' => 'object',
  5416. 'additionalProperties' => true,
  5417. 'properties' => array(
  5418. 'RequestId' => array(
  5419. 'location' => 'header',
  5420. 'sentAs' => 'x-cos-request-id',
  5421. ),
  5422. ),
  5423. ),
  5424. 'PutBucketLoggingOutput' => array(
  5425. 'type' => 'object',
  5426. 'additionalProperties' => true,
  5427. 'properties' => array(
  5428. 'RequestId' => array(
  5429. 'location' => 'header',
  5430. 'sentAs' => 'x-cos-request-id',
  5431. ),
  5432. ),
  5433. ),
  5434. 'PutBucketInventoryOutput' => array(
  5435. 'type' => 'object',
  5436. 'additionalProperties' => true,
  5437. 'properties' => array(
  5438. 'RequestId' => array(
  5439. 'location' => 'header',
  5440. 'sentAs' => 'x-cos-request-id',
  5441. ),
  5442. ),
  5443. ),
  5444. 'PutBucketTaggingOutput' => array(
  5445. 'type' => 'object',
  5446. 'additionalProperties' => true,
  5447. 'properties' => array(
  5448. 'RequestId' => array(
  5449. 'location' => 'header',
  5450. 'sentAs' => 'x-cos-request-id',
  5451. ),
  5452. ),
  5453. ),
  5454. 'RestoreObjectOutput' => array(
  5455. 'type' => 'object',
  5456. 'additionalProperties' => true,
  5457. 'properties' => array(
  5458. 'RequestCharged' => array(
  5459. 'type' => 'string',
  5460. 'location' => 'header',
  5461. 'sentAs' => 'x-cos-request-charged',
  5462. ),
  5463. 'RequestId' => array(
  5464. 'location' => 'header',
  5465. 'sentAs' => 'x-cos-request-id',
  5466. ),
  5467. ),
  5468. ),
  5469. 'ListPartsOutput' => array(
  5470. 'type' => 'object',
  5471. 'additionalProperties' => true,
  5472. 'properties' => array(
  5473. 'Bucket' => array(
  5474. 'type' => 'string',
  5475. 'location' => 'xml'
  5476. ),
  5477. 'Key' => array(
  5478. 'type' => 'string',
  5479. 'location' => 'xml'
  5480. ),
  5481. 'UploadId' => array(
  5482. 'type' => 'string',
  5483. 'location' => 'xml'
  5484. ),
  5485. 'PartNumberMarker' => array(
  5486. 'type' => 'numeric',
  5487. 'location' => 'xml'
  5488. ),
  5489. 'NextPartNumberMarker' => array(
  5490. 'type' => 'numeric',
  5491. 'location' => 'xml'
  5492. ),
  5493. 'MaxParts' => array(
  5494. 'type' => 'numeric',
  5495. 'location' => 'xml'
  5496. ),
  5497. 'IsTruncated' => array(
  5498. 'type' => 'boolean',
  5499. 'location' => 'xml'
  5500. ),
  5501. 'Parts' => array(
  5502. 'type' => 'array',
  5503. 'location' => 'xml',
  5504. 'sentAs' => 'Part',
  5505. 'data' => array(
  5506. 'xmlFlattened' => true
  5507. ),
  5508. 'items' => array(
  5509. 'type' => 'object',
  5510. 'properties' => array(
  5511. 'PartNumber' => array(
  5512. 'type' => 'numeric'
  5513. ),
  5514. 'LastModified' => array(
  5515. 'type' => 'string'
  5516. ),
  5517. 'ETag' => array(
  5518. 'type' => 'string'
  5519. ),
  5520. 'Size' => array(
  5521. 'type' => 'numeric'
  5522. )
  5523. )
  5524. )
  5525. ),
  5526. 'Initiator' => array(
  5527. 'type' => 'object',
  5528. 'location' => 'xml',
  5529. 'properties' => array(
  5530. 'ID' => array(
  5531. 'type' => 'string'
  5532. ),
  5533. 'DisplayName' => array(
  5534. 'type' => 'string'
  5535. )
  5536. )
  5537. ),
  5538. 'Owner' => array(
  5539. 'type' => 'object',
  5540. 'location' => 'xml',
  5541. 'properties' => array(
  5542. 'DisplayName' => array(
  5543. 'type' => 'string'
  5544. ),
  5545. 'ID' => array(
  5546. 'type' => 'string'
  5547. )
  5548. )
  5549. ),
  5550. 'StorageClass' => array(
  5551. 'type' => 'string',
  5552. 'location' => 'xml'
  5553. ),
  5554. 'RequestId' => array(
  5555. 'location' => 'header',
  5556. 'sentAs' => 'x-cos-request-id'
  5557. )
  5558. )
  5559. ),
  5560. 'ListObjectsOutput' => array(
  5561. 'type' => 'object',
  5562. 'additionalProperties' => true,
  5563. 'properties' => array(
  5564. 'IsTruncated' => array(
  5565. 'type' => 'boolean',
  5566. 'location' => 'xml'
  5567. ),
  5568. 'Marker' => array(
  5569. 'type' => 'string',
  5570. 'location' => 'xml'
  5571. ),
  5572. 'NextMarker' => array(
  5573. 'type' => 'string',
  5574. 'location' => 'xml'
  5575. ),
  5576. 'Contents' => array(
  5577. 'type' => 'array',
  5578. 'location' => 'xml',
  5579. 'data' => array(
  5580. 'xmlFlattened' => true
  5581. ),
  5582. 'items' => array(
  5583. 'type' => 'object',
  5584. 'properties' => array(
  5585. 'Key' => array(
  5586. 'type' => 'string'
  5587. ),
  5588. 'LastModified' => array(
  5589. 'type' => 'string'
  5590. ),
  5591. 'ETag' => array(
  5592. 'type' => 'string'
  5593. ),
  5594. 'Size' => array(
  5595. 'type' => 'numeric'
  5596. ),
  5597. 'StorageClass' => array(
  5598. 'type' => 'string'
  5599. ),
  5600. 'Owner' => array(
  5601. 'type' => 'object',
  5602. 'properties' => array(
  5603. 'DisplayName' => array(
  5604. 'type' => 'string'
  5605. ),
  5606. 'ID' => array(
  5607. 'type' => 'string'
  5608. )
  5609. )
  5610. )
  5611. )
  5612. )
  5613. ),
  5614. 'Name' => array(
  5615. 'type' => 'string',
  5616. 'location' => 'xml'
  5617. ),
  5618. 'Prefix' => array(
  5619. 'type' => 'string',
  5620. 'location' => 'xml'
  5621. ),
  5622. 'Delimiter' => array(
  5623. 'type' => 'string',
  5624. 'location' => 'xml'
  5625. ),
  5626. 'MaxKeys' => array(
  5627. 'type' => 'numeric',
  5628. 'location' => 'xml'
  5629. ),
  5630. 'CommonPrefixes' => array(
  5631. 'type' => 'array',
  5632. 'location' => 'xml',
  5633. 'data' => array(
  5634. 'xmlFlattened' => true
  5635. ),
  5636. 'items' => array(
  5637. 'type' => 'object',
  5638. 'properties' => array(
  5639. 'Prefix' => array(
  5640. 'type' => 'string'
  5641. )
  5642. )
  5643. )
  5644. ),
  5645. 'EncodingType' => array(
  5646. 'type' => 'string',
  5647. 'location' => 'xml'),
  5648. 'RequestId' => array(
  5649. 'location' => 'header',
  5650. 'sentAs' => 'x-cos-request-id'
  5651. )
  5652. )
  5653. ),
  5654. 'ListBucketsOutput' => array(
  5655. 'type' => 'object',
  5656. 'additionalProperties' => true,
  5657. 'properties' => array(
  5658. 'Buckets' => array(
  5659. 'type' => 'array',
  5660. 'location' => 'xml',
  5661. 'items' => array(
  5662. 'type' => 'object',
  5663. 'properties' => array(
  5664. 'Bucket' => array(
  5665. 'type' => 'array',
  5666. 'items' => array(
  5667. 'type' => 'object',
  5668. 'items' => array(
  5669. 'properties' => array(
  5670. 'Name' => array(
  5671. 'type' => 'string',
  5672. ),
  5673. 'CreationDate' => array(
  5674. 'type' => 'string',
  5675. ),
  5676. ),
  5677. ),
  5678. )
  5679. ),
  5680. ),
  5681. ),
  5682. ),
  5683. 'Owner' => array(
  5684. 'type' => 'object',
  5685. 'location' => 'xml',
  5686. 'properties' => array(
  5687. 'DisplayName' => array(
  5688. 'type' => 'string',
  5689. ),
  5690. 'ID' => array(
  5691. 'type' => 'string',
  5692. ),
  5693. ),
  5694. ),
  5695. 'RequestId' => array(
  5696. 'location' => 'header',
  5697. 'sentAs' => 'x-cos-request-id',
  5698. ),
  5699. ),
  5700. ),
  5701. 'ListObjectVersionsOutput' => array(
  5702. 'type' => 'object',
  5703. 'additionalProperties' => true,
  5704. 'properties' => array(
  5705. 'IsTruncated' => array(
  5706. 'type' => 'boolean',
  5707. 'location' => 'xml',
  5708. ),
  5709. 'KeyMarker' => array(
  5710. 'type' => 'string',
  5711. 'location' => 'xml',
  5712. ),
  5713. 'VersionIdMarker' => array(
  5714. 'type' => 'string',
  5715. 'location' => 'xml',
  5716. ),
  5717. 'NextKeyMarker' => array(
  5718. 'type' => 'string',
  5719. 'location' => 'xml',
  5720. ),
  5721. 'NextVersionIdMarker' => array(
  5722. 'type' => 'string',
  5723. 'location' => 'xml',
  5724. ),
  5725. 'Version' => array(
  5726. 'type' => 'array',
  5727. 'location' => 'xml',
  5728. 'data' => array(
  5729. 'xmlFlattened' => true,
  5730. ),
  5731. 'items' => array(
  5732. 'type' => 'object',
  5733. 'properties' => array(
  5734. 'ETag' => array(
  5735. 'type' => 'string',
  5736. ),
  5737. 'Size' => array(
  5738. 'type' => 'numeric',
  5739. ),
  5740. 'StorageClass' => array(
  5741. 'type' => 'string',
  5742. ),
  5743. 'Key' => array(
  5744. 'type' => 'string',
  5745. ),
  5746. 'VersionId' => array(
  5747. 'type' => 'string',
  5748. ),
  5749. 'IsLatest' => array(
  5750. 'type' => 'boolean',
  5751. ),
  5752. 'LastModified' => array(
  5753. 'type' => 'string',
  5754. ),
  5755. 'Owner' => array(
  5756. 'type' => 'object',
  5757. 'properties' => array(
  5758. 'DisplayName' => array(
  5759. 'type' => 'string',
  5760. ),
  5761. 'ID' => array(
  5762. 'type' => 'string',
  5763. ),
  5764. ),
  5765. ),
  5766. ),
  5767. ),
  5768. ),
  5769. 'DeleteMarkers' => array(
  5770. 'type' => 'array',
  5771. 'location' => 'xml',
  5772. 'sentAs' => 'DeleteMarker',
  5773. 'data' => array(
  5774. 'xmlFlattened' => true,
  5775. ),
  5776. 'items' => array(
  5777. 'type' => 'object',
  5778. 'properties' => array(
  5779. 'Owner' => array(
  5780. 'type' => 'object',
  5781. 'properties' => array(
  5782. 'DisplayName' => array(
  5783. 'type' => 'string',
  5784. ),
  5785. 'ID' => array(
  5786. 'type' => 'string',
  5787. ),
  5788. ),
  5789. ),
  5790. 'Key' => array(
  5791. 'type' => 'string',
  5792. ),
  5793. 'VersionId' => array(
  5794. 'type' => 'string',
  5795. ),
  5796. 'IsLatest' => array(
  5797. 'type' => 'boolean',
  5798. ),
  5799. 'LastModified' => array(
  5800. 'type' => 'string',
  5801. ),
  5802. ),
  5803. ),
  5804. ),
  5805. 'Name' => array(
  5806. 'type' => 'string',
  5807. 'location' => 'xml',
  5808. ),
  5809. 'Prefix' => array(
  5810. 'type' => 'string',
  5811. 'location' => 'xml',
  5812. ),
  5813. 'Delimiter' => array(
  5814. 'type' => 'string',
  5815. 'location' => 'xml',
  5816. ),
  5817. 'MaxKeys' => array(
  5818. 'type' => 'numeric',
  5819. 'location' => 'xml',
  5820. ),
  5821. 'CommonPrefixes' => array(
  5822. 'type' => 'array',
  5823. 'location' => 'xml',
  5824. 'data' => array(
  5825. 'xmlFlattened' => true,
  5826. ),
  5827. 'items' => array(
  5828. 'type' => 'object',
  5829. 'properties' => array(
  5830. 'Prefix' => array(
  5831. 'type' => 'string',
  5832. ),
  5833. ),
  5834. ),
  5835. ),
  5836. 'EncodingType' => array(
  5837. 'type' => 'string',
  5838. 'location' => 'xml',
  5839. ),
  5840. 'RequestId' => array(
  5841. 'location' => 'header',
  5842. 'sentAs' => 'x-cos-request-id',
  5843. ),
  5844. ),
  5845. ),
  5846. 'ListMultipartUploadsOutput' => array(
  5847. 'type' => 'object',
  5848. 'additionalProperties' => true,
  5849. 'properties' => array(
  5850. 'Bucket' => array(
  5851. 'type' => 'string',
  5852. 'location' => 'xml',
  5853. ),
  5854. 'KeyMarker' => array(
  5855. 'type' => 'string',
  5856. 'location' => 'xml',
  5857. ),
  5858. 'UploadIdMarker' => array(
  5859. 'type' => 'string',
  5860. 'location' => 'xml',
  5861. ),
  5862. 'NextKeyMarker' => array(
  5863. 'type' => 'string',
  5864. 'location' => 'xml',
  5865. ),
  5866. 'Prefix' => array(
  5867. 'type' => 'string',
  5868. 'location' => 'xml',
  5869. ),
  5870. 'Delimiter' => array(
  5871. 'type' => 'string',
  5872. 'location' => 'xml',
  5873. ),
  5874. 'NextUploadIdMarker' => array(
  5875. 'type' => 'string',
  5876. 'location' => 'xml',
  5877. ),
  5878. 'MaxUploads' => array(
  5879. 'type' => 'numeric',
  5880. 'location' => 'xml',
  5881. ),
  5882. 'IsTruncated' => array(
  5883. 'type' => 'boolean',
  5884. 'location' => 'xml',
  5885. ),
  5886. 'Uploads' => array(
  5887. 'type' => 'array',
  5888. 'location' => 'xml',
  5889. 'sentAs' => 'Upload',
  5890. 'data' => array(
  5891. 'xmlFlattened' => true,
  5892. ),
  5893. 'items' => array(
  5894. 'type' => 'object',
  5895. 'properties' => array(
  5896. 'UploadId' => array(
  5897. 'type' => 'string',
  5898. ),
  5899. 'Key' => array(
  5900. 'type' => 'string',
  5901. ),
  5902. 'Initiated' => array(
  5903. 'type' => 'string',
  5904. ),
  5905. 'StorageClass' => array(
  5906. 'type' => 'string',
  5907. ),
  5908. 'Owner' => array(
  5909. 'type' => 'object',
  5910. 'properties' => array(
  5911. 'DisplayName' => array(
  5912. 'type' => 'string',
  5913. ),
  5914. 'ID' => array(
  5915. 'type' => 'string',
  5916. ),
  5917. ),
  5918. ),
  5919. 'Initiator' => array(
  5920. 'type' => 'object',
  5921. 'properties' => array(
  5922. 'ID' => array(
  5923. 'type' => 'string',
  5924. ),
  5925. 'DisplayName' => array(
  5926. 'type' => 'string',
  5927. ),
  5928. ),
  5929. ),
  5930. ),
  5931. ),
  5932. ),
  5933. 'CommonPrefixes' => array(
  5934. 'type' => 'array',
  5935. 'location' => 'xml',
  5936. 'data' => array(
  5937. 'xmlFlattened' => true,
  5938. ),
  5939. 'items' => array(
  5940. 'type' => 'object',
  5941. 'properties' => array(
  5942. 'Prefix' => array(
  5943. 'type' => 'string',
  5944. ),
  5945. ),
  5946. ),
  5947. ),
  5948. 'EncodingType' => array(
  5949. 'type' => 'string',
  5950. 'location' => 'xml',
  5951. ),
  5952. 'RequestId' => array(
  5953. 'location' => 'header',
  5954. 'sentAs' => 'x-cos-request-id',
  5955. ),
  5956. ),
  5957. ),
  5958. 'ListBucketInventoryConfigurationsOutput' => array(
  5959. 'type' => 'object',
  5960. 'additionalProperties' => true,
  5961. 'properties' => array(
  5962. 'InventoryConfiguration' => array(
  5963. 'type' => 'array',
  5964. 'location' => 'xml',
  5965. 'sentAs' => 'InventoryConfiguration',
  5966. 'items' => array(
  5967. 'type' => 'object',
  5968. 'properties' => array(
  5969. 'Destination' => array(
  5970. 'type' => 'object',
  5971. 'location' => 'xml',
  5972. 'properties' => array(
  5973. 'COSBucketDestination' => array(
  5974. 'type' => 'object',
  5975. 'properties' => array(
  5976. 'Format' => array(
  5977. 'type' => 'string',
  5978. ),
  5979. 'AccountId' => array(
  5980. 'type' => 'string',
  5981. ),
  5982. 'Bucket' => array(
  5983. 'type' => 'string',
  5984. ),
  5985. 'Prefix' => array(
  5986. 'type' => 'string',
  5987. ),
  5988. 'Encryption' => array(
  5989. 'type' => 'object',
  5990. 'properties' => array(
  5991. 'SSE-COS' => array(
  5992. 'type' => 'string',
  5993. )
  5994. )
  5995. ),
  5996. ),
  5997. ),
  5998. ),
  5999. ),
  6000. 'Schedule' => array(
  6001. 'type' => 'object',
  6002. 'location' => 'xml',
  6003. 'properties' => array(
  6004. 'Frequency' => array(
  6005. 'type' => 'string',
  6006. ),
  6007. ),
  6008. ),
  6009. 'OptionalFields' => array(
  6010. 'type' => 'array',
  6011. 'location' => 'xml',
  6012. 'properties' => array(
  6013. 'Key' => array(
  6014. 'type' => 'string',
  6015. ),
  6016. ),
  6017. ),
  6018. 'OptionalFields' => array(
  6019. 'type' => 'array',
  6020. 'location' => 'xml',
  6021. 'items' => array(
  6022. 'name' => 'Field',
  6023. 'type' => 'string',
  6024. 'sentAs' => 'Field',
  6025. ),
  6026. ),
  6027. 'IsEnabled' => array(
  6028. 'type' => 'string',
  6029. 'location' => 'xml',
  6030. ),
  6031. 'Id' => array(
  6032. 'type' => 'string',
  6033. 'location' => 'xml',
  6034. ),
  6035. 'IncludedObjectVersions' => array(
  6036. 'type' => 'string',
  6037. 'location' => 'xml',
  6038. ),
  6039. 'RequestId' => array(
  6040. 'location' => 'header',
  6041. 'sentAs' => 'x-cos-request-id',
  6042. ),
  6043. ),
  6044. ),
  6045. ),
  6046. ),
  6047. ),
  6048. 'HeadObjectOutput' => array(
  6049. 'type' => 'object',
  6050. 'additionalProperties' => true,
  6051. 'properties' => array(
  6052. 'DeleteMarker' => array(
  6053. 'type' => 'boolean',
  6054. 'location' => 'header',
  6055. 'sentAs' => 'x-cos-delete-marker',
  6056. ),
  6057. 'AcceptRanges' => array(
  6058. 'type' => 'string',
  6059. 'location' => 'header',
  6060. 'sentAs' => 'accept-ranges',
  6061. ),
  6062. 'Expiration' => array(
  6063. 'type' => 'string',
  6064. 'location' => 'header',
  6065. 'sentAs' => 'x-cos-expiration',
  6066. ),
  6067. 'Restore' => array(
  6068. 'type' => 'string',
  6069. 'location' => 'header',
  6070. 'sentAs' => 'x-cos-restore',
  6071. ),
  6072. 'LastModified' => array(
  6073. 'type' => 'string',
  6074. 'location' => 'header',
  6075. 'sentAs' => 'Last-Modified',
  6076. ),
  6077. 'ContentLength' => array(
  6078. 'type' => 'numeric',
  6079. 'minimum'=> 0,
  6080. 'location' => 'header',
  6081. 'sentAs' => 'Content-Length',
  6082. ),
  6083. 'ETag' => array(
  6084. 'type' => 'string',
  6085. 'location' => 'header',
  6086. ),
  6087. 'MissingMeta' => array(
  6088. 'type' => 'numeric',
  6089. 'location' => 'header',
  6090. 'sentAs' => 'x-cos-missing-meta',
  6091. ),
  6092. 'VersionId' => array(
  6093. 'type' => 'string',
  6094. 'location' => 'header',
  6095. 'sentAs' => 'x-cos-version-id',
  6096. ),
  6097. 'CacheControl' => array(
  6098. 'type' => 'string',
  6099. 'location' => 'header',
  6100. 'sentAs' => 'Cache-Control',
  6101. ),
  6102. 'ContentDisposition' => array(
  6103. 'type' => 'string',
  6104. 'location' => 'header',
  6105. 'sentAs' => 'Content-Disposition',
  6106. ),
  6107. 'ContentEncoding' => array(
  6108. 'type' => 'string',
  6109. 'location' => 'header',
  6110. 'sentAs' => 'Content-Encoding',
  6111. ),
  6112. 'ContentLanguage' => array(
  6113. 'type' => 'string',
  6114. 'location' => 'header',
  6115. 'sentAs' => 'Content-Language',
  6116. ),
  6117. 'ContentType' => array(
  6118. 'type' => 'string',
  6119. 'location' => 'header',
  6120. 'sentAs' => 'Content-Type',
  6121. ),
  6122. 'Expires' => array(
  6123. 'type' => 'string',
  6124. 'location' => 'header',
  6125. ),
  6126. 'WebsiteRedirectLocation' => array(
  6127. 'type' => 'string',
  6128. 'location' => 'header',
  6129. 'sentAs' => 'x-cos-website-redirect-location',
  6130. ),
  6131. 'ServerSideEncryption' => array(
  6132. 'type' => 'string',
  6133. 'location' => 'header',
  6134. 'sentAs' => 'x-cos-server-side-encryption',
  6135. ),
  6136. 'SSECustomerAlgorithm' => array(
  6137. 'type' => 'string',
  6138. 'location' => 'header',
  6139. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  6140. ),
  6141. 'SSECustomerKeyMD5' => array(
  6142. 'type' => 'string',
  6143. 'location' => 'header',
  6144. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  6145. ),
  6146. 'SSEKMSKeyId' => array(
  6147. 'type' => 'string',
  6148. 'location' => 'header',
  6149. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  6150. ),
  6151. 'StorageClass' => array(
  6152. 'type' => 'string',
  6153. 'location' => 'header',
  6154. 'sentAs' => 'x-cos-storage-class',
  6155. ),
  6156. 'RequestCharged' => array(
  6157. 'type' => 'string',
  6158. 'location' => 'header',
  6159. 'sentAs' => 'x-cos-request-charged',
  6160. ),
  6161. 'ReplicationStatus' => array(
  6162. 'type' => 'string',
  6163. 'location' => 'header',
  6164. 'sentAs' => 'x-cos-replication-status',
  6165. ),
  6166. 'RequestId' => array(
  6167. 'location' => 'header',
  6168. 'sentAs' => 'x-cos-request-id',
  6169. ),
  6170. 'CRC' => array(
  6171. 'type' => 'string',
  6172. 'location' => 'header',
  6173. 'sentAs' => 'x-cos-hash-crc64ecma',
  6174. )
  6175. )
  6176. ),
  6177. 'HeadBucketOutput' => array(
  6178. 'type' => 'object',
  6179. 'additionalProperties' => true,
  6180. 'properties' => array(
  6181. 'RequestId' => array(
  6182. 'location' => 'header',
  6183. 'sentAs' => 'x-cos-request-id',
  6184. ),
  6185. 'BucketAzType' => array(
  6186. 'location' => 'header',
  6187. 'sentAs' => 'x-cos-bucket-az-type', // undefined 或 MAZ
  6188. ),
  6189. 'BucketArch' => array(
  6190. 'location' => 'header',
  6191. 'sentAs' => 'x-cos-bucket-arch', // undefined 或 OFS
  6192. ),
  6193. ),
  6194. ),
  6195. 'SelectObjectContentOutput' => array(
  6196. 'type' => 'object',
  6197. 'additionalProperties' => true,
  6198. 'properties' => array(
  6199. 'RawData' => array(
  6200. 'type' => 'string',
  6201. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6202. 'location' => 'body',
  6203. ),
  6204. ),
  6205. ),
  6206. 'GetBucketIntelligentTieringOutput' => array(
  6207. 'type' => 'object',
  6208. 'additionalProperties' => true,
  6209. 'properties' => array(
  6210. 'Status' => array(
  6211. 'type' => 'string',
  6212. 'location' => 'xml',
  6213. ),
  6214. 'Transition' => array(
  6215. 'type' => 'object',
  6216. 'location' => 'xml',
  6217. 'properties' => array(
  6218. 'Days' => array(
  6219. 'type' => 'string',
  6220. ),
  6221. 'RequestFrequent' => array(
  6222. 'type' => 'string',
  6223. ),
  6224. )
  6225. ),
  6226. 'RequestId' => array(
  6227. 'location' => 'header',
  6228. 'sentAs' => 'x-cos-request-id',
  6229. ),
  6230. ),
  6231. ),
  6232. 'PutBucketIntelligentTieringOutput' => array(
  6233. 'type' => 'object',
  6234. 'additionalProperties' => true,
  6235. 'properties' => array(
  6236. 'RequestId' => array(
  6237. 'location' => 'header',
  6238. 'sentAs' => 'x-cos-request-id',
  6239. ),
  6240. ),
  6241. ),
  6242. 'ImageInfoOutput' => array(
  6243. 'type' => 'object',
  6244. 'additionalProperties' => true,
  6245. 'properties' => array(
  6246. 'Body' => array(
  6247. 'type' => 'string',
  6248. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6249. 'location' => 'body',
  6250. ),
  6251. 'RequestId' => array(
  6252. 'location' => 'header',
  6253. 'sentAs' => 'x-cos-request-id',
  6254. ),
  6255. 'ContentType' => array(
  6256. 'type' => 'string',
  6257. 'location' => 'header',
  6258. 'sentAs' => 'Content-Type',
  6259. ),
  6260. 'ContentLength' => array(
  6261. 'type' => 'numeric',
  6262. 'minimum'=> 0,
  6263. 'location' => 'header',
  6264. 'sentAs' => 'Content-Length',
  6265. ),
  6266. ),
  6267. ),
  6268. 'ImageExifOutput' => array(
  6269. 'type' => 'object',
  6270. 'additionalProperties' => true,
  6271. 'properties' => array(
  6272. 'Body' => array(
  6273. 'type' => 'string',
  6274. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6275. 'location' => 'body',
  6276. ),
  6277. 'RequestId' => array(
  6278. 'location' => 'header',
  6279. 'sentAs' => 'x-cos-request-id',
  6280. ),
  6281. 'ContentType' => array(
  6282. 'type' => 'string',
  6283. 'location' => 'header',
  6284. 'sentAs' => 'Content-Type',
  6285. ),
  6286. 'ContentLength' => array(
  6287. 'type' => 'numeric',
  6288. 'minimum'=> 0,
  6289. 'location' => 'header',
  6290. 'sentAs' => 'Content-Length',
  6291. ),
  6292. ),
  6293. ),
  6294. 'ImageAveOutput' => array(
  6295. 'type' => 'object',
  6296. 'additionalProperties' => true,
  6297. 'properties' => array(
  6298. 'Body' => array(
  6299. 'type' => 'string',
  6300. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6301. 'location' => 'body',
  6302. ),
  6303. 'RequestId' => array(
  6304. 'location' => 'header',
  6305. 'sentAs' => 'x-cos-request-id',
  6306. ),
  6307. 'ContentType' => array(
  6308. 'type' => 'string',
  6309. 'location' => 'header',
  6310. 'sentAs' => 'Content-Type',
  6311. ),
  6312. 'ContentLength' => array(
  6313. 'type' => 'numeric',
  6314. 'minimum'=> 0,
  6315. 'location' => 'header',
  6316. 'sentAs' => 'Content-Length',
  6317. ),
  6318. ),
  6319. ),
  6320. 'ImageProcessOutput' => array(
  6321. 'type' => 'object',
  6322. 'additionalProperties' => true,
  6323. 'properties' => array(
  6324. 'RequestId' => array(
  6325. 'location' => 'header',
  6326. 'sentAs' => 'x-cos-request-id',
  6327. ),
  6328. 'OriginalInfo' => array(
  6329. 'type' => 'object',
  6330. 'location' => 'xml',
  6331. 'properties' => array(
  6332. 'Key' => array(
  6333. 'type' => 'string',
  6334. ),
  6335. 'Location' => array(
  6336. 'type' => 'string',
  6337. ),
  6338. 'ETag' => array(
  6339. 'type' => 'string',
  6340. ),
  6341. 'ImageInfo' => array(
  6342. 'type' => 'object',
  6343. 'properties' => array(
  6344. 'Format' => array(
  6345. 'type' => 'string',
  6346. ),
  6347. 'Width' => array(
  6348. 'type' => 'string',
  6349. ),
  6350. 'Height' => array(
  6351. 'type' => 'string',
  6352. ),
  6353. 'Quality' => array(
  6354. 'type' => 'string',
  6355. ),
  6356. 'Ave' => array(
  6357. 'type' => 'string',
  6358. ),
  6359. 'Orientation' => array(
  6360. 'type' => 'string',
  6361. ),
  6362. ),
  6363. ),
  6364. ),
  6365. ),
  6366. 'ProcessResults' => array(
  6367. 'type' => 'object',
  6368. 'location' => 'xml',
  6369. 'properties' => array(
  6370. 'Object' => array(
  6371. 'type' => 'array',
  6372. 'items' => array(
  6373. 'type' => 'object',
  6374. 'properties' => array(
  6375. 'Key' => array(
  6376. 'type' => 'string',
  6377. ),
  6378. 'Location' => array(
  6379. 'type' => 'string',
  6380. ),
  6381. 'Format' => array(
  6382. 'type' => 'string',
  6383. ),
  6384. 'Width' => array(
  6385. 'type' => 'string',
  6386. ),
  6387. 'Height' => array(
  6388. 'type' => 'string',
  6389. ),
  6390. 'Size' => array(
  6391. 'type' => 'string',
  6392. ),
  6393. 'Quality' => array(
  6394. 'type' => 'string',
  6395. ),
  6396. 'ETag' => array(
  6397. 'type' => 'string',
  6398. ),
  6399. 'WatermarkStatus' => array(
  6400. 'type' => 'integer',
  6401. ),
  6402. ),
  6403. ),
  6404. ),
  6405. ),
  6406. ),
  6407. ),
  6408. ),
  6409. 'QrcodeOutput' => array(
  6410. 'type' => 'object',
  6411. 'additionalProperties' => true,
  6412. 'properties' => array(
  6413. 'RequestId' => array(
  6414. 'location' => 'header',
  6415. 'sentAs' => 'x-cos-request-id',
  6416. ),
  6417. 'CodeStatus' => array(
  6418. 'type' => 'integer',
  6419. 'location' => 'xml',
  6420. ),
  6421. 'QRcodeInfo' => array(
  6422. 'type' => 'array',
  6423. 'location' => 'xml',
  6424. 'items' => array(
  6425. 'type' => 'object',
  6426. 'properties' => array(
  6427. 'CodeUrl' => array(
  6428. 'type' => 'string',
  6429. ),
  6430. 'Point' => array(
  6431. 'type' => 'array',
  6432. 'items' => array(
  6433. 'type' => 'string',
  6434. ),
  6435. ),
  6436. ),
  6437. ),
  6438. ),
  6439. 'ResultImage' => array(
  6440. 'type' => 'string',
  6441. 'location' => 'xml',
  6442. ),
  6443. ),
  6444. ),
  6445. 'QrcodeGenerateOutput' => array(
  6446. 'type' => 'object',
  6447. 'additionalProperties' => true,
  6448. 'properties' => array(
  6449. 'RequestId' => array(
  6450. 'location' => 'header',
  6451. 'sentAs' => 'x-cos-request-id',
  6452. ),
  6453. 'ResultImage' => array(
  6454. 'type' => 'string',
  6455. 'location' => 'xml',
  6456. ),
  6457. ),
  6458. ),
  6459. 'DetectLabelOutput' => array(
  6460. 'type' => 'object',
  6461. 'additionalProperties' => true,
  6462. 'properties' => array(
  6463. 'RequestId' => array(
  6464. 'location' => 'header',
  6465. 'sentAs' => 'x-cos-request-id',
  6466. ),
  6467. 'Labels' => array(
  6468. 'type' => 'array',
  6469. 'location' => 'xml',
  6470. 'items' => array(
  6471. 'type' => 'object',
  6472. 'properties' => array(
  6473. 'Confidence' => array(
  6474. 'type' => 'integer',
  6475. ),
  6476. 'Name' => array(
  6477. 'type' => 'string',
  6478. ),
  6479. ),
  6480. ),
  6481. ),
  6482. ),
  6483. ),
  6484. 'PutBucketImageStyleOutput' => array(
  6485. 'type' => 'object',
  6486. 'additionalProperties' => true,
  6487. 'properties' => array(
  6488. 'RequestId' => array(
  6489. 'location' => 'header',
  6490. 'sentAs' => 'x-cos-request-id',
  6491. ),
  6492. ),
  6493. ),
  6494. 'GetBucketImageStyleOutput' => array(
  6495. 'type' => 'object',
  6496. 'additionalProperties' => true,
  6497. 'properties' => array(
  6498. 'RequestId' => array(
  6499. 'location' => 'header',
  6500. 'sentAs' => 'x-cos-request-id',
  6501. ),
  6502. 'StyleRule' => array(
  6503. 'type' => 'array',
  6504. 'location' => 'xml',
  6505. 'items' => array(
  6506. 'type' => 'object',
  6507. 'properties' => array(
  6508. 'StyleName' => array(
  6509. 'type' => 'string',
  6510. ),
  6511. 'StyleBody' => array(
  6512. 'type' => 'string',
  6513. ),
  6514. ),
  6515. ),
  6516. ),
  6517. ),
  6518. ),
  6519. 'DeleteBucketImageStyleOutput' => array(
  6520. 'type' => 'object',
  6521. 'additionalProperties' => true,
  6522. 'properties' => array(
  6523. 'RequestId' => array(
  6524. 'location' => 'header',
  6525. 'sentAs' => 'x-cos-request-id',
  6526. ),
  6527. ),
  6528. ),
  6529. 'PutBucketGuetzliOutput' => array(
  6530. 'type' => 'object',
  6531. 'additionalProperties' => true,
  6532. 'properties' => array(
  6533. 'RequestId' => array(
  6534. 'location' => 'header',
  6535. 'sentAs' => 'x-cos-request-id',
  6536. ),
  6537. ),
  6538. ),
  6539. 'GetBucketGuetzliOutput' => array(
  6540. 'type' => 'object',
  6541. 'additionalProperties' => true,
  6542. 'properties' => array(
  6543. 'RequestId' => array(
  6544. 'location' => 'header',
  6545. 'sentAs' => 'x-cos-request-id',
  6546. ),
  6547. 'ContentLength' => array(
  6548. 'type' => 'numeric',
  6549. 'minimum'=> 0,
  6550. 'location' => 'header',
  6551. 'sentAs' => 'Content-Length',
  6552. ),
  6553. 'Body' => array(
  6554. 'type' => 'string',
  6555. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6556. 'location' => 'body',
  6557. ),
  6558. ),
  6559. ),
  6560. 'DeleteBucketGuetzliOutput' => array(
  6561. 'type' => 'object',
  6562. 'additionalProperties' => true,
  6563. 'properties' => array(
  6564. 'RequestId' => array(
  6565. 'location' => 'header',
  6566. 'sentAs' => 'x-cos-request-id',
  6567. ),
  6568. ),
  6569. ),
  6570. 'GetObjectSensitiveContentRecognitionOutput' => array(
  6571. 'type' => 'object',
  6572. 'additionalProperties' => true,
  6573. 'properties' => array(
  6574. 'RequestId' => array(
  6575. 'location' => 'header',
  6576. 'sentAs' => 'x-cos-request-id',
  6577. ),
  6578. 'PornInfo' => array(
  6579. 'type' => 'array',
  6580. 'location' => 'xml',
  6581. 'items' => array(
  6582. 'type' => 'object',
  6583. 'properties' => array(
  6584. 'Code' => array(
  6585. 'type' => 'integer',
  6586. ),
  6587. 'Msg' => array(
  6588. 'type' => 'string',
  6589. ),
  6590. 'HitFlag' => array(
  6591. 'type' => 'integer',
  6592. ),
  6593. 'Score' => array(
  6594. 'type' => 'integer',
  6595. ),
  6596. 'Label' => array(
  6597. 'type' => 'string',
  6598. )
  6599. ),
  6600. ),
  6601. ),
  6602. 'TerroristInfo' => array(
  6603. 'type' => 'array',
  6604. 'location' => 'xml',
  6605. 'items' => array(
  6606. 'type' => 'object',
  6607. 'properties' => array(
  6608. 'Code' => array(
  6609. 'type' => 'integer',
  6610. ),
  6611. 'Msg' => array(
  6612. 'type' => 'string',
  6613. ),
  6614. 'HitFlag' => array(
  6615. 'type' => 'integer',
  6616. ),
  6617. 'Score' => array(
  6618. 'type' => 'integer',
  6619. ),
  6620. 'Label' => array(
  6621. 'type' => 'string',
  6622. )
  6623. ),
  6624. ),
  6625. ),
  6626. 'PoliticsInfo' => array(
  6627. 'type' => 'array',
  6628. 'location' => 'xml',
  6629. 'items' => array(
  6630. 'type' => 'object',
  6631. 'properties' => array(
  6632. 'Code' => array(
  6633. 'type' => 'integer',
  6634. ),
  6635. 'Msg' => array(
  6636. 'type' => 'string',
  6637. ),
  6638. 'HitFlag' => array(
  6639. 'type' => 'integer',
  6640. ),
  6641. 'Score' => array(
  6642. 'type' => 'integer',
  6643. ),
  6644. 'Label' => array(
  6645. 'type' => 'string',
  6646. )
  6647. ),
  6648. ),
  6649. ),
  6650. 'AdsInfo' => array(
  6651. 'type' => 'array',
  6652. 'location' => 'xml',
  6653. 'items' => array(
  6654. 'type' => 'object',
  6655. 'properties' => array(
  6656. 'Code' => array(
  6657. 'type' => 'integer',
  6658. ),
  6659. 'Msg' => array(
  6660. 'type' => 'string',
  6661. ),
  6662. 'HitFlag' => array(
  6663. 'type' => 'integer',
  6664. ),
  6665. 'Score' => array(
  6666. 'type' => 'integer',
  6667. ),
  6668. 'Label' => array(
  6669. 'type' => 'string',
  6670. )
  6671. ),
  6672. ),
  6673. ),
  6674. )
  6675. ),
  6676. 'DetectTextOutput' => array(
  6677. 'type' => 'object',
  6678. 'additionalProperties' => true,
  6679. 'properties' => array(
  6680. 'RequestId' => array(
  6681. 'type' => 'string',
  6682. 'location' => 'header',
  6683. 'sentAs' => 'x-ci-request-id',
  6684. ),
  6685. 'ContentType' => array(
  6686. 'type' => 'string',
  6687. 'location' => 'header',
  6688. 'sentAs' => 'Content-Type',
  6689. ),
  6690. 'ContentLength' => array(
  6691. 'type' => 'numeric',
  6692. 'minimum'=> 0,
  6693. 'location' => 'header',
  6694. 'sentAs' => 'Content-Length',
  6695. ),
  6696. 'JobsDetail' => array(
  6697. 'type' => 'object',
  6698. 'location' => 'xml',
  6699. 'properties' => array(
  6700. 'Code' => array( 'type' => 'string', 'location' => 'xml',),
  6701. 'DataId' => array( 'type' => 'string', 'location' => 'xml',),
  6702. 'Message' => array( 'type' => 'string', 'location' => 'xml',),
  6703. 'JobId' => array( 'type' => 'string', 'location' => 'xml',),
  6704. 'State' => array( 'type' => 'string', 'location' => 'xml',),
  6705. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml',),
  6706. 'Content' => array( 'type' => 'string', 'location' => 'xml',),
  6707. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  6708. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6709. 'Result' => array( 'type' => 'integer', 'location' => 'xml',),
  6710. 'SectionCount' => array( 'type' => 'integer', 'location' => 'xml',),
  6711. 'PornInfo' => array(
  6712. 'type' => 'object',
  6713. 'location' => 'xml',
  6714. 'properties' => array(
  6715. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6716. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6717. ),
  6718. ),
  6719. 'TerrorismInfo' => array(
  6720. 'type' => 'object',
  6721. 'location' => 'xml',
  6722. 'properties' => array(
  6723. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6724. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6725. ),
  6726. ),
  6727. 'PoliticsInfo' => array(
  6728. 'type' => 'object',
  6729. 'location' => 'xml',
  6730. 'properties' => array(
  6731. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6732. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6733. ),
  6734. ),
  6735. 'AdsInfo' => array(
  6736. 'type' => 'object',
  6737. 'location' => 'xml',
  6738. 'properties' => array(
  6739. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6740. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6741. ),
  6742. ),
  6743. 'IllegalInfo' => array(
  6744. 'type' => 'object',
  6745. 'location' => 'xml',
  6746. 'properties' => array(
  6747. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6748. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6749. ),
  6750. ),
  6751. 'AbuseInfo' => array(
  6752. 'type' => 'object',
  6753. 'location' => 'xml',
  6754. 'properties' => array(
  6755. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6756. 'Count' => array( 'type' => 'integer', 'location' => 'xml',),
  6757. ),
  6758. ),
  6759. 'Section' => array(
  6760. 'type' => 'array',
  6761. 'location' => 'xml',
  6762. 'items' => array(
  6763. 'type' => 'object',
  6764. 'properties' => array(
  6765. 'StartByte' => array( 'type' => 'integer', 'location' => 'xml',),
  6766. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  6767. 'Result' => array( 'type' => 'integer', 'location' => 'xml',),
  6768. 'PornInfo' => 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. 'TerrorismInfo' => 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. 'PoliticsInfo' => 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. 'AdsInfo' => 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. 'IllegalInfo' => array(
  6877. 'type' => 'object',
  6878. 'location' => 'xml',
  6879. 'properties' => array(
  6880. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6881. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6882. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6883. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6884. 'LibResults' => array(
  6885. 'type' => 'array',
  6886. 'location' => 'xml',
  6887. 'items' => array(
  6888. 'type' => 'object',
  6889. 'location' => 'xml',
  6890. 'properties' => array(
  6891. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6892. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6893. 'Keywords' => array(
  6894. 'type' => 'array',
  6895. 'location' => 'xml',
  6896. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6897. ),
  6898. ),
  6899. ),
  6900. ),
  6901. ),
  6902. ),
  6903. 'AbuseInfo' => array(
  6904. 'type' => 'object',
  6905. 'location' => 'xml',
  6906. 'properties' => array(
  6907. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  6908. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6909. 'Keywords' => array( 'type' => 'string', 'location' => 'xml',),
  6910. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6911. 'LibResults' => array(
  6912. 'type' => 'array',
  6913. 'location' => 'xml',
  6914. 'items' => array(
  6915. 'type' => 'object',
  6916. 'location' => 'xml',
  6917. 'properties' => array(
  6918. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6919. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6920. 'Keywords' => array(
  6921. 'type' => 'array',
  6922. 'location' => 'xml',
  6923. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6924. ),
  6925. ),
  6926. ),
  6927. ),
  6928. ),
  6929. ),
  6930. ),
  6931. ),
  6932. ),
  6933. 'UserInfo' => array(
  6934. 'type' => 'object',
  6935. 'location' => 'xml',
  6936. 'properties' => array(
  6937. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  6938. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  6939. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  6940. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  6941. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  6942. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  6943. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  6944. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  6945. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  6946. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  6947. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  6948. ),
  6949. ),
  6950. 'ListInfo' => array(
  6951. 'type' => 'object',
  6952. 'location' => 'xml',
  6953. 'properties' => array(
  6954. 'ListResults' => array(
  6955. 'type' => 'array',
  6956. 'location' => 'xml',
  6957. 'items' => array(
  6958. 'type' => 'object',
  6959. 'location' => 'xml',
  6960. 'properties' => array(
  6961. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  6962. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  6963. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  6964. ),
  6965. ),
  6966. ),
  6967. ),
  6968. ),
  6969. ),
  6970. ),
  6971. ),
  6972. ),
  6973. 'GetSnapshotOutput' => array(
  6974. 'type' => 'object',
  6975. 'additionalProperties' => true,
  6976. 'properties' => array(
  6977. 'Body' => array(
  6978. 'type' => 'string',
  6979. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6980. 'location' => 'body',
  6981. ),
  6982. 'DeleteMarker' => array(
  6983. 'type' => 'boolean',
  6984. 'location' => 'header',
  6985. 'sentAs' => 'x-cos-delete-marker',
  6986. ),
  6987. 'AcceptRanges' => array(
  6988. 'type' => 'string',
  6989. 'location' => 'header',
  6990. 'sentAs' => 'accept-ranges',
  6991. ),
  6992. 'Expiration' => array(
  6993. 'type' => 'string',
  6994. 'location' => 'header',
  6995. 'sentAs' => 'x-cos-expiration',
  6996. ),
  6997. 'Restore' => array(
  6998. 'type' => 'string',
  6999. 'location' => 'header',
  7000. 'sentAs' => 'x-cos-restore',
  7001. ),
  7002. 'LastModified' => array(
  7003. 'type' => 'string',
  7004. 'location' => 'header',
  7005. 'sentAs' => 'Last-Modified',
  7006. ),
  7007. 'ContentLength' => array(
  7008. 'type' => 'numeric',
  7009. 'minimum'=> 0,
  7010. 'location' => 'header',
  7011. 'sentAs' => 'Content-Length',
  7012. ),
  7013. 'ETag' => array(
  7014. 'type' => 'string',
  7015. 'location' => 'header',
  7016. ),
  7017. 'MissingMeta' => array(
  7018. 'type' => 'numeric',
  7019. 'location' => 'header',
  7020. 'sentAs' => 'x-cos-missing-meta',
  7021. ),
  7022. 'VersionId' => array(
  7023. 'type' => 'string',
  7024. 'location' => 'header',
  7025. 'sentAs' => 'x-cos-version-id',
  7026. ),
  7027. 'CacheControl' => array(
  7028. 'type' => 'string',
  7029. 'location' => 'header',
  7030. 'sentAs' => 'Cache-Control',
  7031. ),
  7032. 'ContentDisposition' => array(
  7033. 'type' => 'string',
  7034. 'location' => 'header',
  7035. 'sentAs' => 'Content-Disposition',
  7036. ),
  7037. 'ContentEncoding' => array(
  7038. 'type' => 'string',
  7039. 'location' => 'header',
  7040. 'sentAs' => 'Content-Encoding',
  7041. ),
  7042. 'ContentLanguage' => array(
  7043. 'type' => 'string',
  7044. 'location' => 'header',
  7045. 'sentAs' => 'Content-Language',
  7046. ),
  7047. 'ContentRange' => array(
  7048. 'type' => 'string',
  7049. 'location' => 'header',
  7050. 'sentAs' => 'Content-Range',
  7051. ),
  7052. 'ContentType' => array(
  7053. 'type' => 'string',
  7054. 'location' => 'header',
  7055. 'sentAs' => 'Content-Type',
  7056. ),
  7057. 'Expires' => array(
  7058. 'type' => 'string',
  7059. 'location' => 'header',
  7060. ),
  7061. 'WebsiteRedirectLocation' => array(
  7062. 'type' => 'string',
  7063. 'location' => 'header',
  7064. 'sentAs' => 'x-cos-website-redirect-location',
  7065. ),
  7066. 'ServerSideEncryption' => array(
  7067. 'type' => 'string',
  7068. 'location' => 'header',
  7069. 'sentAs' => 'x-cos-server-side-encryption',
  7070. ),
  7071. 'SSECustomerAlgorithm' => array(
  7072. 'type' => 'string',
  7073. 'location' => 'header',
  7074. 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm',
  7075. ),
  7076. 'SSECustomerKeyMD5' => array(
  7077. 'type' => 'string',
  7078. 'location' => 'header',
  7079. 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5',
  7080. ),
  7081. 'SSEKMSKeyId' => array(
  7082. 'type' => 'string',
  7083. 'location' => 'header',
  7084. 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id',
  7085. ),
  7086. 'StorageClass' => array(
  7087. 'type' => 'string',
  7088. 'location' => 'header',
  7089. 'sentAs' => 'x-cos-storage-class',
  7090. ),
  7091. 'RequestCharged' => array(
  7092. 'type' => 'string',
  7093. 'location' => 'header',
  7094. 'sentAs' => 'x-cos-request-charged',
  7095. ),
  7096. 'ReplicationStatus' => array(
  7097. 'type' => 'string',
  7098. 'location' => 'header',
  7099. 'sentAs' => 'x-cos-replication-status',
  7100. ),
  7101. 'RequestId' => array(
  7102. 'location' => 'header',
  7103. 'sentAs' => 'x-cos-request-id',
  7104. )
  7105. )
  7106. ),
  7107. 'PutBucketRefererOutput' => array(
  7108. 'type' => 'object',
  7109. 'additionalProperties' => true,
  7110. 'properties' => array(
  7111. 'ContentLength' => array(
  7112. 'type' => 'numeric',
  7113. 'minimum'=> 0,
  7114. 'location' => 'header',
  7115. 'sentAs' => 'Content-Length',
  7116. ),
  7117. 'ETag' => array(
  7118. 'type' => 'string',
  7119. 'location' => 'header',
  7120. ),
  7121. 'RequestId' => array(
  7122. 'location' => 'header',
  7123. 'sentAs' => 'x-cos-request-id',
  7124. )
  7125. )
  7126. ),
  7127. 'GetBucketRefererOutput' => array(
  7128. 'type' => 'object',
  7129. 'additionalProperties' => true,
  7130. 'properties' => array(
  7131. 'RequestId' => array(
  7132. 'location' => 'header',
  7133. 'sentAs' => 'x-cos-request-id'
  7134. ),
  7135. 'ContentType' => array(
  7136. 'type' => 'string',
  7137. 'location' => 'header',
  7138. 'sentAs' => 'Content-Type',
  7139. ),
  7140. 'ContentLength' => array(
  7141. 'type' => 'numeric',
  7142. 'minimum'=> 0,
  7143. 'location' => 'header',
  7144. 'sentAs' => 'Content-Length',
  7145. ),
  7146. 'Status' => array(
  7147. 'type' => 'string',
  7148. 'location' => 'xml'
  7149. ),
  7150. 'RefererType' => array(
  7151. 'type' => 'string',
  7152. 'location' => 'xml'
  7153. ),
  7154. 'EmptyReferConfiguration' => array(
  7155. 'type' => 'string',
  7156. 'location' => 'xml'
  7157. ),
  7158. 'DomainList' => array(
  7159. 'location' => 'xml',
  7160. 'type' => 'object',
  7161. 'properties' => array(
  7162. 'Domains' => array(
  7163. 'type' => 'array',
  7164. 'data' => array(
  7165. 'xmlFlattened' => true,
  7166. ),
  7167. 'items' => array(
  7168. 'name' => 'Domain',
  7169. 'type' => 'string',
  7170. 'sentAs' => 'Domain',
  7171. ),
  7172. )
  7173. )
  7174. )
  7175. )
  7176. ),
  7177. 'GetMediaInfoOutput' => array(
  7178. 'type' => 'object',
  7179. 'additionalProperties' => true,
  7180. 'properties' => array(
  7181. 'RequestId' => array(
  7182. 'type' => 'string',
  7183. 'location' => 'header',
  7184. 'sentAs' => 'x-cos-request-id',
  7185. ),
  7186. 'ContentType' => array(
  7187. 'type' => 'string',
  7188. 'location' => 'header',
  7189. 'sentAs' => 'Content-Type',
  7190. ),
  7191. 'ContentLength' => array(
  7192. 'type' => 'numeric',
  7193. 'minimum'=> 0,
  7194. 'location' => 'header',
  7195. 'sentAs' => 'Content-Length',
  7196. ),
  7197. 'MediaInfo' => array(
  7198. 'type' => 'object',
  7199. 'location' => 'xml',
  7200. 'properties' => array(
  7201. 'Stream' => array(
  7202. 'type' => 'object',
  7203. 'location' => 'xml',
  7204. 'properties' => array(
  7205. 'JobId' => array(
  7206. 'type' => 'string',
  7207. ),
  7208. 'State' => array(
  7209. 'type' => 'string',
  7210. ),
  7211. 'Video' => array(
  7212. 'type' => 'object',
  7213. 'location' => 'xml',
  7214. 'properties' => array(
  7215. 'Index' => array(
  7216. 'type' => 'integer',
  7217. ),
  7218. 'CodecName' => array(
  7219. 'type' => 'string',
  7220. ),
  7221. 'CodecLongName' => array(
  7222. 'type' => 'string',
  7223. ),
  7224. 'CodecTimeBase' => array(
  7225. 'type' => 'string',
  7226. ),
  7227. 'CodecTag' => array(
  7228. 'type' => 'string',
  7229. ),
  7230. 'Profile' => array(
  7231. 'type' => 'string',
  7232. ),
  7233. 'Height' => array(
  7234. 'type' => 'integer',
  7235. ),
  7236. 'Width' => array(
  7237. 'type' => 'integer',
  7238. ),
  7239. 'HasBFrame' => array(
  7240. 'type' => 'integer',
  7241. ),
  7242. 'RefFrames' => array(
  7243. 'type' => 'integer',
  7244. ),
  7245. 'Sar' => array(
  7246. 'type' => 'string',
  7247. ),
  7248. 'Dar' => array(
  7249. 'type' => 'string',
  7250. ),
  7251. 'PixFormat' => array(
  7252. 'type' => 'string',
  7253. ),
  7254. 'FieldOrder' => array(
  7255. 'type' => 'string',
  7256. ),
  7257. 'Level' => array(
  7258. 'type' => 'integer',
  7259. ),
  7260. 'Fps' => array(
  7261. 'type' => 'integer',
  7262. ),
  7263. 'AvgFps' => array(
  7264. 'type' => 'string',
  7265. ),
  7266. 'Timebase' => array(
  7267. 'type' => 'string',
  7268. ),
  7269. 'StartTime' => array(
  7270. 'type' => 'numeric',
  7271. ),
  7272. 'Duration' => array(
  7273. 'type' => 'numeric',
  7274. ),
  7275. 'Bitrate' => array(
  7276. 'type' => 'numeric',
  7277. ),
  7278. 'NumFrames' => array(
  7279. 'type' => 'integer',
  7280. ),
  7281. 'Language' => array(
  7282. 'type' => 'string',
  7283. )
  7284. ),
  7285. 'Audio' => array(
  7286. 'type' => 'object',
  7287. 'location' => 'xml',
  7288. 'properties' => array(
  7289. 'Index' => array(
  7290. 'type' => 'integer',
  7291. ),
  7292. 'CodecName' => array(
  7293. 'type' => 'string',
  7294. ),
  7295. 'CodecLongName' => array(
  7296. 'type' => 'string',
  7297. ),
  7298. 'CodecTimeBase' => array(
  7299. 'type' => 'string',
  7300. ),
  7301. 'CodecTagString' => array(
  7302. 'type' => 'string',
  7303. ),
  7304. 'CodecTag' => array(
  7305. 'type' => 'string',
  7306. ),
  7307. 'SampleFmt' => array(
  7308. 'type' => 'string',
  7309. ),
  7310. 'SampleRate' => array(
  7311. 'type' => 'integer',
  7312. ),
  7313. 'Channel' => array(
  7314. 'type' => 'integer',
  7315. ),
  7316. 'ChannelLayout' => array(
  7317. 'type' => 'string',
  7318. ),
  7319. 'Timebase' => array(
  7320. 'type' => 'string',
  7321. ),
  7322. 'StartTime' => array(
  7323. 'type' => 'numeric',
  7324. ),
  7325. 'Duration' => array(
  7326. 'type' => 'numeric',
  7327. ),
  7328. 'Bitrate' => array(
  7329. 'type' => 'numeric',
  7330. ),
  7331. 'Language' => array(
  7332. 'type' => 'string',
  7333. )
  7334. )
  7335. ),
  7336. 'Subtitle' => array(
  7337. 'type' => 'object',
  7338. 'location' => 'xml',
  7339. 'properties' => array(
  7340. 'Index' => array(
  7341. 'type' => 'integer',
  7342. ),
  7343. 'Language' => array(
  7344. 'type' => 'string',
  7345. )
  7346. )
  7347. )
  7348. ),
  7349. )
  7350. ),
  7351. 'Format' => array(
  7352. 'type' => 'object',
  7353. 'location' => 'xml',
  7354. 'properties' => array(
  7355. 'NumStream' => array(
  7356. 'type' => 'integer',
  7357. ),
  7358. 'NumProgram' => array(
  7359. 'type' => 'integer',
  7360. ),
  7361. 'FormatName' => array(
  7362. 'type' => 'string',
  7363. ),
  7364. 'FormatLongName' => array(
  7365. 'type' => 'string',
  7366. ),
  7367. 'StartTime' => array(
  7368. 'type' => 'numeric',
  7369. ),
  7370. 'Duration' => array(
  7371. 'type' => 'numeric',
  7372. ),
  7373. 'Bitrate' => array(
  7374. 'type' => 'integer',
  7375. ),
  7376. 'Size' => array(
  7377. 'type' => 'integer',
  7378. )
  7379. )
  7380. )
  7381. )
  7382. )
  7383. )
  7384. ),
  7385. 'CreateMediaTranscodeJobsOutput' => Descriptions::CreateMediaTranscodeJobsOutput(),
  7386. 'DescribeMediaJobOutput' => Descriptions::DescribeMediaJobOutput(),
  7387. 'DescribeMediaJobsOutput' => Descriptions::DescribeMediaJobsOutput(),
  7388. 'CreateMediaJobsOutput' => Descriptions::CreateMediaJobsOutput(),
  7389. 'CreateMediaSnapshotJobsOutput' => Descriptions::CreateMediaSnapshotJobsOutput(),
  7390. 'CreateMediaConcatJobsOutput' => Descriptions::CreateMediaConcatJobsOutput(),
  7391. 'DetectAudioOutput' => Descriptions::DetectAudioOutput(),
  7392. 'GetDetectAudioResultOutput' => Descriptions::GetDetectAudioResultOutput(),
  7393. 'GetDetectTextResultOutput' => Descriptions::GetDetectTextResultOutput(),
  7394. 'DetectVideoOutput' => Descriptions::DetectVideoOutput(),
  7395. 'GetDetectVideoResultOutput' => Descriptions::GetDetectVideoResultOutput(),
  7396. 'DetectDocumentOutput' => Descriptions::DetectDocumentOutput(),
  7397. 'GetDetectDocumentResultOutput' => Descriptions::GetDetectDocumentResultOutput(),
  7398. 'CreateDocProcessJobsOutput' => Descriptions::CreateDocProcessJobsOutput(),
  7399. 'DescribeDocProcessQueuesOutput' => Descriptions::DescribeDocProcessQueuesOutput(),
  7400. 'DescribeDocProcessJobOutput' => Descriptions::DescribeDocProcessJobOutput(),
  7401. 'GetDescribeDocProcessJobsOutput' => Descriptions::GetDescribeDocProcessJobsOutput(),
  7402. 'DetectImageOutput' => Descriptions::DetectImageOutput(),
  7403. 'DetectImagesOutput' => Descriptions::DetectImagesOutput(),
  7404. 'DetectVirusOutput' => Descriptions::DetectVirusOutput(),
  7405. 'GetDetectVirusResultOutput' => Descriptions::GetDetectVirusResultOutput(),
  7406. 'GetDetectImageResultOutput' => Descriptions::GetDetectImageResultOutput(),
  7407. 'CreateMediaVoiceSeparateJobsOutput' => Descriptions::CreateMediaVoiceSeparateJobsOutput(),
  7408. 'DescribeMediaVoiceSeparateJobOutput' => Descriptions::DescribeMediaVoiceSeparateJobOutput(),
  7409. 'DetectWebpageOutput' => Descriptions::DetectWebpageOutput(),
  7410. 'GetDetectWebpageResultOutput' => Descriptions::GetDetectWebpageResultOutput(),
  7411. 'DescribeMediaBucketsOutput' => Descriptions::DescribeMediaBucketsOutput(),
  7412. 'GetPrivateM3U8Output' => Descriptions::GetPrivateM3U8Output(),
  7413. 'DescribeMediaQueuesOutput' => Descriptions::DescribeMediaQueuesOutput(),
  7414. 'UpdateMediaQueueOutput' => Descriptions::UpdateMediaQueueOutput(),
  7415. 'CreateMediaSmartCoverJobsOutput' => Descriptions::CreateMediaSmartCoverJobsOutput(),
  7416. 'CreateMediaVideoProcessJobsOutput' => Descriptions::CreateMediaVideoProcessJobsOutput(),
  7417. 'CreateMediaVideoMontageJobsOutput' => Descriptions::CreateMediaVideoMontageJobsOutput(),
  7418. 'CreateMediaAnimationJobsOutput' => Descriptions::CreateMediaAnimationJobsOutput(),
  7419. 'CreateMediaPicProcessJobsOutput' => Descriptions::CreateMediaPicProcessJobsOutput(),
  7420. 'CreateMediaSegmentJobsOutput' => Descriptions::CreateMediaSegmentJobsOutput(),
  7421. 'CreateMediaVideoTagJobsOutput' => Descriptions::CreateMediaVideoTagJobsOutput(),
  7422. 'CreateMediaSuperResolutionJobsOutput' => Descriptions::CreateMediaSuperResolutionJobsOutput(),
  7423. 'CreateMediaSDRtoHDRJobsOutput' => Descriptions::CreateMediaSDRtoHDRJobsOutput(),
  7424. 'CreateMediaDigitalWatermarkJobsOutput' => Descriptions::CreateMediaDigitalWatermarkJobsOutput(),
  7425. 'CreateMediaExtractDigitalWatermarkJobsOutput' => Descriptions::CreateMediaExtractDigitalWatermarkJobsOutput(),
  7426. 'DetectLiveVideoOutput' => Descriptions::DetectLiveVideoOutput(),
  7427. 'CancelLiveVideoAuditingOutput' => Descriptions::CancelLiveVideoAuditingOutput(),
  7428. 'OpticalOcrRecognitionOutput' => Descriptions::OpticalOcrRecognitionOutput(),
  7429. 'TriggerWorkflowOutput' => Descriptions::TriggerWorkflowOutput(),
  7430. 'GetWorkflowInstancesOutput' => Descriptions::GetWorkflowInstancesOutput(),
  7431. 'GetWorkflowInstanceOutput' => Descriptions::GetWorkflowInstanceOutput(),
  7432. 'CreateMediaSnapshotTemplateOutput' => Descriptions::CreateMediaSnapshotTemplateOutput(),
  7433. 'UpdateMediaSnapshotTemplateOutput' => Descriptions::UpdateMediaSnapshotTemplateOutput(),
  7434. 'CreateMediaTranscodeTemplateOutput' => Descriptions::CreateMediaTranscodeTemplateOutput(),
  7435. 'UpdateMediaTranscodeTemplateOutput' => Descriptions::UpdateMediaTranscodeTemplateOutput(),
  7436. 'CreateMediaHighSpeedHdTemplateOutput' => Descriptions::CreateMediaHighSpeedHdTemplateOutput(),
  7437. 'UpdateMediaHighSpeedHdTemplateOutput' => Descriptions::UpdateMediaHighSpeedHdTemplateOutput(),
  7438. 'CreateMediaAnimationTemplateOutput' => Descriptions::CreateMediaAnimationTemplateOutput(),
  7439. 'UpdateMediaAnimationTemplateOutput' => Descriptions::UpdateMediaAnimationTemplateOutput(),
  7440. 'CreateMediaConcatTemplateOutput' => Descriptions::CreateMediaConcatTemplateOutput(),
  7441. 'UpdateMediaConcatTemplateOutput' => Descriptions::UpdateMediaConcatTemplateOutput(),
  7442. 'CreateMediaVideoProcessTemplateOutput' => Descriptions::CreateMediaVideoProcessTemplateOutput(),
  7443. 'UpdateMediaVideoProcessTemplateOutput' => Descriptions::UpdateMediaVideoProcessTemplateOutput(),
  7444. 'CreateMediaVideoMontageTemplateOutput' => Descriptions::CreateMediaVideoMontageTemplateOutput(),
  7445. 'UpdateMediaVideoMontageTemplateOutput' => Descriptions::UpdateMediaVideoMontageTemplateOutput(),
  7446. 'CreateMediaVoiceSeparateTemplateOutput' => Descriptions::CreateMediaVoiceSeparateTemplateOutput(),
  7447. 'UpdateMediaVoiceSeparateTemplateOutput' => Descriptions::UpdateMediaVoiceSeparateTemplateOutput(),
  7448. 'CreateMediaSuperResolutionTemplateOutput' => Descriptions::CreateMediaSuperResolutionTemplateOutput(),
  7449. 'UpdateMediaSuperResolutionTemplateOutput' => Descriptions::UpdateMediaSuperResolutionTemplateOutput(),
  7450. 'CreateMediaPicProcessTemplateOutput' => Descriptions::CreateMediaPicProcessTemplateOutput(),
  7451. 'UpdateMediaPicProcessTemplateOutput' => Descriptions::UpdateMediaPicProcessTemplateOutput(),
  7452. 'CreateMediaWatermarkTemplateOutput' => Descriptions::CreateMediaWatermarkTemplateOutput(),
  7453. 'UpdateMediaWatermarkTemplateOutput' => Descriptions::UpdateMediaWatermarkTemplateOutput(),
  7454. 'DescribeMediaTemplatesOutput' => Descriptions::DescribeMediaTemplatesOutput(),
  7455. 'DescribeWorkflowOutput' => Descriptions::DescribeWorkflowOutput(),
  7456. 'DeleteWorkflowOutput' => Descriptions::DeleteWorkflowOutput(),
  7457. 'CreateInventoryTriggerJobOutput' => Descriptions::CreateInventoryTriggerJobOutput(),
  7458. 'DescribeInventoryTriggerJobsOutput' => Descriptions::DescribeInventoryTriggerJobsOutput(),
  7459. 'DescribeInventoryTriggerJobOutput' => Descriptions::DescribeInventoryTriggerJobOutput(),
  7460. 'CancelInventoryTriggerJobOutput' => Descriptions::CancelInventoryTriggerJobOutput(),
  7461. 'CreateMediaNoiseReductionJobsOutput' => Descriptions::CreateMediaNoiseReductionJobsOutput(),
  7462. 'ImageRepairProcessOutput' => Descriptions::ImageRepairProcessOutput(),
  7463. 'ImageDetectCarProcessOutput' => Descriptions::ImageDetectCarProcessOutput(),
  7464. 'ImageAssessQualityProcessOutput' => Descriptions::ImageAssessQualityProcessOutput(),
  7465. 'ImageSearchOpenOutput' => Descriptions::ImageSearchOpenOutput(),
  7466. 'ImageSearchAddOutput' => Descriptions::ImageSearchAddOutput(),
  7467. 'ImageSearchOutput' => Descriptions::ImageSearchOutput(),
  7468. 'ImageSearchDeleteOutput' => Descriptions::ImageSearchDeleteOutput(),
  7469. 'BindCiServiceOutput' => Descriptions::BindCiServiceOutput(),
  7470. 'GetCiServiceOutput' => Descriptions::GetCiServiceOutput(),
  7471. 'UnBindCiServiceOutput' => Descriptions::UnBindCiServiceOutput(),
  7472. 'GetHotLinkOutput' => Descriptions::GetHotLinkOutput(),
  7473. 'AddHotLinkOutput' => Descriptions::AddHotLinkOutput(),
  7474. 'OpenOriginProtectOutput' => Descriptions::OpenOriginProtectOutput(),
  7475. 'GetOriginProtectOutput' => Descriptions::GetOriginProtectOutput(),
  7476. 'CloseOriginProtectOutput' => Descriptions::CloseOriginProtectOutput(),
  7477. 'ImageDetectFaceOutput' => Descriptions::ImageDetectFaceOutput(),
  7478. 'ImageFaceEffectOutput' => Descriptions::ImageFaceEffectOutput(),
  7479. 'IDCardOCROutput' => Descriptions::IDCardOCROutput(),
  7480. 'IDCardOCRByUploadOutput' => Descriptions::IDCardOCRByUploadOutput(),
  7481. 'GetLiveCodeOutput' => Descriptions::GetLiveCodeOutput(),
  7482. 'GetActionSequenceOutput' => Descriptions::GetActionSequenceOutput(),
  7483. 'DescribeDocProcessBucketsOutput' => Descriptions::DescribeDocProcessBucketsOutput(),
  7484. 'UpdateDocProcessQueueOutput' => Descriptions::UpdateDocProcessQueueOutput(),
  7485. 'CreateMediaQualityEstimateJobsOutput' => Descriptions::CreateMediaQualityEstimateJobsOutput(),
  7486. 'CreateMediaStreamExtractJobsOutput' => Descriptions::CreateMediaStreamExtractJobsOutput(),
  7487. 'FileJobs4HashOutput' => Descriptions::FileJobs4HashOutput(),
  7488. 'OpenFileProcessServiceOutput' => Descriptions::OpenFileProcessServiceOutput(),
  7489. 'GetFileProcessQueueListOutput' => Descriptions::GetFileProcessQueueListOutput(),
  7490. 'UpdateFileProcessQueueOutput' => Descriptions::UpdateFileProcessQueueOutput(),
  7491. 'CreateFileHashCodeJobsOutput' => Descriptions::CreateFileHashCodeJobsOutput(),
  7492. 'GetFileHashCodeResultOutput' => Descriptions::GetFileHashCodeResultOutput(),
  7493. 'CreateFileUncompressJobsOutput' => Descriptions::CreateFileUncompressJobsOutput(),
  7494. 'GetFileUncompressResultOutput' => Descriptions::GetFileUncompressResultOutput(),
  7495. 'CreateFileCompressJobsOutput' => Descriptions::CreateFileCompressJobsOutput(),
  7496. 'GetFileCompressResultOutput' => Descriptions::GetFileCompressResultOutput(),
  7497. 'CreateM3U8PlayListJobsOutput' => Descriptions::CreateM3U8PlayListJobsOutput(),
  7498. 'GetPicQueueListOutput' => Descriptions::GetPicQueueListOutput(),
  7499. 'UpdatePicQueueOutput' => Descriptions::UpdatePicQueueOutput(),
  7500. 'GetPicBucketListOutput' => Descriptions::GetPicBucketListOutput(),
  7501. 'GetAiBucketListOutput' => Descriptions::GetAiBucketListOutput(),
  7502. 'OpenAiServiceOutput' => Descriptions::OpenAiServiceOutput(),
  7503. 'CloseAiServiceOutput' => Descriptions::CloseAiServiceOutput(),
  7504. 'GetAiQueueListOutput' => Descriptions::GetAiQueueListOutput(),
  7505. 'UpdateAiQueueOutput' => Descriptions::UpdateAiQueueOutput(),
  7506. 'CreateMediaTranscodeProTemplateOutput' => Descriptions::CreateMediaTranscodeProTemplateOutput(),
  7507. 'UpdateMediaTranscodeProTemplateOutput' => Descriptions::UpdateMediaTranscodeProTemplateOutput(),
  7508. 'CreateVoiceTtsTemplateOutput' => Descriptions::CreateVoiceTtsTemplateOutput(),
  7509. 'UpdateVoiceTtsTemplateOutput' => Descriptions::UpdateVoiceTtsTemplateOutput(),
  7510. 'CreateMediaSmartCoverTemplateOutput' => Descriptions::CreateMediaSmartCoverTemplateOutput(),
  7511. 'UpdateMediaSmartCoverTemplateOutput' => Descriptions::UpdateMediaSmartCoverTemplateOutput(),
  7512. 'CreateVoiceSpeechRecognitionTemplateOutput' => Descriptions::CreateVoiceSpeechRecognitionTemplateOutput(),
  7513. 'UpdateVoiceSpeechRecognitionTemplateOutput' => Descriptions::UpdateVoiceSpeechRecognitionTemplateOutput(),
  7514. 'CreateVoiceTtsJobsOutput' => Descriptions::CreateVoiceTtsJobsOutput(),
  7515. 'CreateAiTranslationJobsOutput' => Descriptions::CreateAiTranslationJobsOutput(),
  7516. 'CreateVoiceSpeechRecognitionJobsOutput' => Descriptions::CreateVoiceSpeechRecognitionJobsOutput(),
  7517. 'CreateAiWordsGeneralizeJobsOutput' => Descriptions::CreateAiWordsGeneralizeJobsOutput(),
  7518. 'CreateMediaVideoEnhanceJobsOutput' => Descriptions::CreateMediaVideoEnhanceJobsOutput(),
  7519. 'CreateMediaVideoEnhanceTemplateOutput' => Descriptions::CreateMediaVideoEnhanceTemplateOutput(),
  7520. 'UpdateMediaVideoEnhanceTemplateOutput' => Descriptions::UpdateMediaVideoEnhanceTemplateOutput(),
  7521. 'OpenImageSlimOutput' => Descriptions::OpenImageSlimOutput(),
  7522. 'CloseImageSlimOutput' => Descriptions::CloseImageSlimOutput(),
  7523. 'GetImageSlimOutput' => Descriptions::GetImageSlimOutput(),
  7524. 'AutoTranslationBlockProcessOutput' => Descriptions::AutoTranslationBlockProcessOutput(),
  7525. 'RecognizeLogoProcessOutput' => Descriptions::RecognizeLogoProcessOutput(),
  7526. 'DetectLabelProcessOutput' => Descriptions::DetectLabelProcessOutput(),
  7527. 'AIGameRecProcessOutput' => Descriptions::AIGameRecProcessOutput(),
  7528. 'AIBodyRecognitionProcessOutput' => Descriptions::AIBodyRecognitionProcessOutput(),
  7529. 'DetectPetProcessOutput' => Descriptions::DetectPetProcessOutput(),
  7530. 'AILicenseRecProcessOutput' => Descriptions::AILicenseRecProcessOutput(),
  7531. 'CreateMediaTargetRecTemplateOutput' => Descriptions::CreateMediaTargetRecTemplateOutput(),
  7532. 'UpdateMediaTargetRecTemplateOutput' => Descriptions::UpdateMediaTargetRecTemplateOutput(),
  7533. 'CreateMediaTargetRecJobsOutput' => Descriptions::CreateMediaTargetRecJobsOutput(),
  7534. 'CreateMediaSegmentVideoBodyJobsOutput' => Descriptions::CreateMediaSegmentVideoBodyJobsOutput(),
  7535. 'OpenAsrServiceOutput' => Descriptions::OpenAsrServiceOutput(),
  7536. 'GetAsrBucketListOutput' => Descriptions::GetAsrBucketListOutput(),
  7537. 'CloseAsrServiceOutput' => Descriptions::CloseAsrServiceOutput(),
  7538. 'GetAsrQueueListOutput' => Descriptions::GetAsrQueueListOutput(),
  7539. 'UpdateAsrQueueOutput' => Descriptions::UpdateAsrQueueOutput(),
  7540. 'CreateMediaNoiseReductionTemplateOutput' => Descriptions::CreateMediaNoiseReductionTemplateOutput(),
  7541. 'UpdateMediaNoiseReductionTemplateOutput' => Descriptions::UpdateMediaNoiseReductionTemplateOutput(),
  7542. 'CreateVoiceSoundHoundJobsOutput' => Descriptions::CreateVoiceSoundHoundJobsOutput(),
  7543. 'CreateVoiceVocalScoreJobsOutput' => Descriptions::CreateVoiceVocalScoreJobsOutput(),
  7544. 'CreateDatasetOutput' => Descriptions::CreateDatasetOutput(),
  7545. 'CreateDatasetBindingOutput' => Descriptions::CreateDatasetBindingOutput(),
  7546. 'CreateFileMetaIndexOutput' => Descriptions::CreateFileMetaIndexOutput(),
  7547. 'DatasetFaceSearchOutput' => Descriptions::DatasetFaceSearchOutput(),
  7548. 'DatasetSimpleQueryOutput' => Descriptions::DatasetSimpleQueryOutput(),
  7549. 'DeleteDatasetOutput' => Descriptions::DeleteDatasetOutput(),
  7550. 'DeleteDatasetBindingOutput' => Descriptions::DeleteDatasetBindingOutput(),
  7551. 'DeleteFileMetaIndexOutput' => Descriptions::DeleteFileMetaIndexOutput(),
  7552. 'DescribeDatasetOutput' => Descriptions::DescribeDatasetOutput(),
  7553. 'DescribeDatasetBindingOutput' => Descriptions::DescribeDatasetBindingOutput(),
  7554. 'DescribeDatasetBindingsOutput' => Descriptions::DescribeDatasetBindingsOutput(),
  7555. 'DescribeDatasetsOutput' => Descriptions::DescribeDatasetsOutput(),
  7556. 'DescribeFileMetaIndexOutput' => Descriptions::DescribeFileMetaIndexOutput(),
  7557. 'SearchImageOutput' => Descriptions::SearchImageOutput(),
  7558. 'UpdateDatasetOutput' => Descriptions::UpdateDatasetOutput(),
  7559. 'UpdateFileMetaIndexOutput' => Descriptions::UpdateFileMetaIndexOutput(),
  7560. 'ZipFilePreviewOutput' => Descriptions::ZipFilePreviewOutput(),
  7561. 'GetHLSPlayKeyOutput' => Descriptions::GetHLSPlayKeyOutput(),
  7562. 'PostWatermarkJobsOutput' => Descriptions::PostWatermarkJobsOutput(),
  7563. 'GeneratePlayListOutput' => Descriptions::GeneratePlayListOutput(),
  7564. 'CreateWatermarkTemplateOutput' => Descriptions::CreateWatermarkTemplateOutput(),
  7565. )
  7566. );
  7567. }
  7568. }