V2RequestResource.php 182 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433
  1. <?php
  2. /**
  3. * Copyright 2019 Huawei Technologies Co.,Ltd.
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  5. * this file except in compliance with the License. You may obtain a copy of the
  6. * License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software distributed
  11. * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  12. * CONDITIONS OF ANY KIND, either express or implied. See the License for the
  13. * specific language governing permissions and limitations under the License.
  14. *
  15. */
  16. namespace Obs\Internal\Resource;
  17. class V2RequestResource
  18. {
  19. public static $resourceArray = [
  20. 'operations' => [
  21. 'createBucket' => [
  22. 'httpMethod' => 'PUT',
  23. 'data' => [
  24. 'xmlRoot' => [
  25. 'name' => 'CreateBucketConfiguration',
  26. ],
  27. ],
  28. 'requestParameters' => [
  29. 'ACL' => [
  30. 'type' => 'string',
  31. 'location' => 'header',
  32. 'sentAs' => 'x-amz-acl',
  33. 'transform' => 'aclHeader',
  34. ],
  35. 'Bucket' => [
  36. 'required' => true,
  37. 'type' => 'string',
  38. 'location' => 'dns',
  39. ],
  40. 'LocationConstraint' => [
  41. 'type' => 'string',
  42. 'location' => 'xml',
  43. ],
  44. 'StorageClass' => [
  45. 'type' => 'string',
  46. 'location' => 'header',
  47. 'sentAs' => 'x-default-storage-class',
  48. 'transform' => 'storageClass',
  49. ],
  50. ],
  51. 'responseParameters' => [
  52. 'Location' => [
  53. 'type' => 'string',
  54. 'location' => 'header',
  55. ],
  56. 'RequestId' => [
  57. 'location' => 'header',
  58. 'sentAs' => 'x-amz-request-id',
  59. ],
  60. ],
  61. ],
  62. 'listBuckets' => [
  63. 'httpMethod' => 'GET',
  64. 'requestParameters' => [
  65. 'QueryLocation' => [
  66. 'type' => 'boolean',
  67. 'location' => 'header',
  68. 'sentAs' => 'x-amz-location',
  69. ],
  70. ],
  71. 'responseParameters' => [
  72. 'Buckets' => [
  73. 'type' => 'array',
  74. 'location' => 'xml',
  75. 'sentAs' => 'Buckets',
  76. 'items' => [
  77. 'name' => 'Bucket',
  78. 'type' => 'object',
  79. 'sentAs' => 'Bucket',
  80. 'properties' => [
  81. 'Name' => [
  82. 'type' => 'string',
  83. ],
  84. 'CreationDate' => [
  85. 'type' => 'string',
  86. ],
  87. 'Location' => [
  88. 'type' => 'string',
  89. ],
  90. ],
  91. ],
  92. ],
  93. 'Owner' => [
  94. 'type' => 'object',
  95. 'location' => 'xml',
  96. 'properties' => [
  97. 'DisplayName' => [
  98. 'type' => 'string',
  99. ],
  100. 'ID' => [
  101. 'type' => 'string',
  102. ],
  103. ],
  104. ],
  105. 'RequestId' => [
  106. 'location' => 'header',
  107. 'sentAs' => 'x-amz-request-id',
  108. ],
  109. ],
  110. ],
  111. 'deleteBucket' => [
  112. 'httpMethod' => 'DELETE',
  113. 'requestParameters' => [
  114. 'Bucket' => [
  115. 'required' => true,
  116. 'type' => 'string',
  117. 'location' => 'dns',
  118. ],
  119. ],
  120. 'responseParameters' => [
  121. 'type' => 'object',
  122. 'properties' => [
  123. 'RequestId' => [
  124. 'location' => 'header',
  125. 'sentAs' => 'x-amz-request-id',
  126. ],
  127. ],
  128. ],
  129. ],
  130. 'listObjects' => [
  131. 'httpMethod' => 'GET',
  132. 'requestParameters' => [
  133. 'Bucket' => [
  134. 'required' => true,
  135. 'type' => 'string',
  136. 'location' => 'dns',
  137. ],
  138. 'Delimiter' => [
  139. 'type' => 'string',
  140. 'location' => 'query',
  141. 'sentAs' => 'delimiter',
  142. ],
  143. 'Marker' => [
  144. 'type' => 'string',
  145. 'location' => 'query',
  146. 'sentAs' => 'marker',
  147. ],
  148. 'MaxKeys' => [
  149. 'type' => 'numeric',
  150. 'location' => 'query',
  151. 'sentAs' => 'max-keys',
  152. ],
  153. 'Prefix' => [
  154. 'type' => 'string',
  155. 'location' => 'query',
  156. 'sentAs' => 'prefix',
  157. ],
  158. ],
  159. 'responseParameters' => [
  160. 'type' => 'object',
  161. 'properties' => [
  162. 'IsTruncated' => [
  163. 'type' => 'boolean',
  164. 'location' => 'xml',
  165. ],
  166. 'Marker' => [
  167. 'type' => 'string',
  168. 'location' => 'xml',
  169. ],
  170. 'NextMarker' => [
  171. 'type' => 'string',
  172. 'location' => 'xml',
  173. ],
  174. 'Contents' => [
  175. 'type' => 'array',
  176. 'location' => 'xml',
  177. 'sentAs' => 'Contents',
  178. 'data' => [
  179. 'xmlFlattened' => true,
  180. ],
  181. 'items' => [
  182. 'name' => 'Object',
  183. 'type' => 'object',
  184. 'properties' => [
  185. 'Key' => [
  186. 'type' => 'string',
  187. ],
  188. 'LastModified' => [
  189. 'type' => 'string',
  190. ],
  191. 'ETag' => [
  192. 'type' => 'string',
  193. ],
  194. 'Size' => [
  195. 'type' => 'integer',
  196. ],
  197. 'StorageClass' => [
  198. 'type' => 'string',
  199. ],
  200. 'Owner' => [
  201. 'type' => 'object',
  202. 'properties' => [
  203. 'DisplayName' => [
  204. 'type' => 'string',
  205. ],
  206. 'ID' => [
  207. 'type' => 'string',
  208. ],
  209. ],
  210. ],
  211. ],
  212. ],
  213. ],
  214. 'Name' => [
  215. 'type' => 'string',
  216. 'location' => 'xml',
  217. ],
  218. 'Prefix' => [
  219. 'type' => 'string',
  220. 'location' => 'xml',
  221. ],
  222. 'Delimiter' => [
  223. 'type' => 'string',
  224. 'location' => 'xml',
  225. ],
  226. 'MaxKeys' => [
  227. 'type' => 'integer',
  228. 'location' => 'xml',
  229. ],
  230. 'CommonPrefixes' => [
  231. 'type' => 'array',
  232. 'location' => 'xml',
  233. 'data' => [
  234. 'xmlFlattened' => true,
  235. ],
  236. 'items' => [
  237. 'name' => 'CommonPrefix',
  238. 'type' => 'object',
  239. 'properties' => [
  240. 'Prefix' => [
  241. 'type' => 'string',
  242. ],
  243. ],
  244. ],
  245. ],
  246. 'RequestId' => [
  247. 'location' => 'header',
  248. 'sentAs' => 'x-amz-request-id',
  249. ],
  250. 'Location' => [
  251. 'location' => 'header',
  252. 'sentAs' => 'x-amz-bucket-region',
  253. ],
  254. ],
  255. ],
  256. ],
  257. 'listVersions' => [
  258. 'httpMethod' => 'GET',
  259. 'specialParam' => 'versions',
  260. 'requestParameters' => [
  261. 'Bucket' => [
  262. 'required' => true,
  263. 'type' => 'string',
  264. 'location' => 'dns',
  265. ],
  266. 'Delimiter' => [
  267. 'type' => 'string',
  268. 'location' => 'query',
  269. 'sentAs' => 'delimiter',
  270. ],
  271. 'KeyMarker' => [
  272. 'type' => 'string',
  273. 'location' => 'query',
  274. 'sentAs' => 'key-marker',
  275. ],
  276. 'MaxKeys' => [
  277. 'type' => 'numeric',
  278. 'location' => 'query',
  279. 'sentAs' => 'max-keys',
  280. ],
  281. 'Prefix' => [
  282. 'type' => 'string',
  283. 'location' => 'query',
  284. 'sentAs' => 'prefix',
  285. ],
  286. 'VersionIdMarker' => [
  287. 'type' => 'string',
  288. 'location' => 'query',
  289. 'sentAs' => 'version-id-marker',
  290. ],
  291. ],
  292. 'responseParameters' => [
  293. 'type' => 'object',
  294. 'properties' => [
  295. 'IsTruncated' => [
  296. 'type' => 'boolean',
  297. 'location' => 'xml',
  298. ],
  299. 'KeyMarker' => [
  300. 'type' => 'string',
  301. 'location' => 'xml',
  302. ],
  303. 'VersionIdMarker' => [
  304. 'type' => 'string',
  305. 'location' => 'xml',
  306. ],
  307. 'NextKeyMarker' => [
  308. 'type' => 'string',
  309. 'location' => 'xml',
  310. ],
  311. 'NextVersionIdMarker' => [
  312. 'type' => 'string',
  313. 'location' => 'xml',
  314. ],
  315. 'Versions' => [
  316. 'type' => 'array',
  317. 'location' => 'xml',
  318. 'sentAs' => 'Version',
  319. 'data' => [
  320. 'xmlFlattened' => true,
  321. ],
  322. 'items' => [
  323. 'name' => 'ObjectVersion',
  324. 'type' => 'object',
  325. 'sentAs' => 'Version',
  326. 'properties' => [
  327. 'ETag' => [
  328. 'type' => 'string',
  329. ],
  330. 'Size' => [
  331. 'type' => 'integer',
  332. ],
  333. 'StorageClass' => [
  334. 'type' => 'string',
  335. ],
  336. 'Key' => [
  337. 'type' => 'string',
  338. ],
  339. 'VersionId' => [
  340. 'type' => 'string',
  341. ],
  342. 'IsLatest' => [
  343. 'type' => 'boolean',
  344. ],
  345. 'LastModified' => [
  346. 'type' => 'string',
  347. ],
  348. 'Owner' => [
  349. 'type' => 'object',
  350. 'properties' => [
  351. 'DisplayName' => [
  352. 'type' => 'string',
  353. ],
  354. 'ID' => [
  355. 'type' => 'string',
  356. ],
  357. ],
  358. ],
  359. ],
  360. ],
  361. ],
  362. 'DeleteMarkers' => [
  363. 'type' => 'array',
  364. 'location' => 'xml',
  365. 'sentAs' => 'DeleteMarker',
  366. 'data' => [
  367. 'xmlFlattened' => true,
  368. ],
  369. 'items' => [
  370. 'name' => 'DeleteMarkerEntry',
  371. 'type' => 'object',
  372. 'sentAs' => 'DeleteMarker',
  373. 'properties' => [
  374. 'Owner' => [
  375. 'type' => 'object',
  376. 'properties' => [
  377. 'DisplayName' => [
  378. 'type' => 'string',
  379. ],
  380. 'ID' => [
  381. 'type' => 'string',
  382. ],
  383. ],
  384. ],
  385. 'Key' => [
  386. 'type' => 'string',
  387. ],
  388. 'VersionId' => [
  389. 'type' => 'string',
  390. ],
  391. 'IsLatest' => [
  392. 'type' => 'boolean',
  393. ],
  394. 'LastModified' => [
  395. 'type' => 'string',
  396. ],
  397. ],
  398. ],
  399. ],
  400. 'Name' => [
  401. 'type' => 'string',
  402. 'location' => 'xml',
  403. ],
  404. 'Prefix' => [
  405. 'type' => 'string',
  406. 'location' => 'xml',
  407. ],
  408. 'Delimiter' => [
  409. 'type' => 'string',
  410. 'location' => 'xml',
  411. ],
  412. 'MaxKeys' => [
  413. 'type' => 'integer',
  414. 'location' => 'xml',
  415. ],
  416. 'CommonPrefixes' => [
  417. 'type' => 'array',
  418. 'location' => 'xml',
  419. 'data' => [
  420. 'xmlFlattened' => true,
  421. ],
  422. 'items' => [
  423. 'name' => 'CommonPrefix',
  424. 'type' => 'object',
  425. 'properties' => [
  426. 'Prefix' => [
  427. 'type' => 'string',
  428. ],
  429. ],
  430. ],
  431. ],
  432. 'RequestId' => [
  433. 'location' => 'header',
  434. 'sentAs' => 'x-amz-request-id',
  435. ],
  436. 'Location' => [
  437. 'location' => 'header',
  438. 'sentAs' => 'x-amz-bucket-region',
  439. ],
  440. ],
  441. ],
  442. ],
  443. 'getBucketMetadata' => [
  444. 'httpMethod' => 'HEAD',
  445. 'requestParameters' => [
  446. 'Bucket' => [
  447. 'required' => true,
  448. 'type' => 'string',
  449. 'location' => 'dns',
  450. ],
  451. 'Origin' => [
  452. 'type' => 'string',
  453. 'location' => 'header',
  454. 'sentAs' => 'Origin',
  455. ],
  456. 'RequestHeader' => [
  457. 'type' => 'string',
  458. 'location' => 'header',
  459. 'sentAs' => 'Access-Control-Request-Headers',
  460. ],
  461. ],
  462. 'responseParameters' => [
  463. 'RequestId' => [
  464. 'location' => 'header',
  465. 'sentAs' => 'x-amz-request-id',
  466. ],
  467. 'StorageClass' => [
  468. 'location' => 'header',
  469. 'sentAs' => 'x-default-storage-class',
  470. ],
  471. 'Location' => [
  472. 'location' => 'header',
  473. 'sentAs' => 'x-amz-bucket-region',
  474. ],
  475. 'AllowOrigin' => [
  476. 'location' => 'header',
  477. 'sentAs' => 'access-control-allow-origin',
  478. ],
  479. 'MaxAgeSeconds' => [
  480. 'location' => 'header',
  481. 'sentAs' => 'access-control-max-age',
  482. 'type' => 'integer',
  483. ],
  484. 'ExposeHeader' => [
  485. 'location' => 'header',
  486. 'sentAs' => 'access-control-expose-headers',
  487. ],
  488. 'AllowMethod' => [
  489. 'location' => 'header',
  490. 'sentAs' => 'access-control-allow-methods',
  491. ],
  492. 'AllowHeader' => [
  493. 'location' => 'header',
  494. 'sentAs' => 'access-control-allow-headers',
  495. ],
  496. ],
  497. ],
  498. 'getBucketLocation' => [
  499. 'httpMethod' => 'GET',
  500. 'specialParam' => 'location',
  501. 'requestParameters' => [
  502. 'Bucket' => [
  503. 'required' => true,
  504. 'type' => 'string',
  505. 'location' => 'dns',
  506. ],
  507. ],
  508. 'responseParameters' => [
  509. 'type' => 'object',
  510. 'properties' => [
  511. 'Location' => [
  512. 'type' => 'string',
  513. 'sentAs' => 'LocationConstraint',
  514. 'location' => 'xml',
  515. ],
  516. 'RequestId' => [
  517. 'location' => 'header',
  518. 'sentAs' => 'x-amz-request-id',
  519. ],
  520. ],
  521. ],
  522. ],
  523. 'getBucketStorageInfo' => [
  524. 'httpMethod' => 'GET',
  525. 'specialParam' => 'storageinfo',
  526. 'requestParameters' => [
  527. 'Bucket' => [
  528. 'required' => true,
  529. 'type' => 'string',
  530. 'location' => 'dns',
  531. ],
  532. ],
  533. 'responseParameters' => [
  534. 'type' => 'object',
  535. 'properties' => [
  536. 'Size' => [
  537. 'type' => 'numeric',
  538. 'location' => 'xml',
  539. 'sentAs' => 'Size',
  540. ],
  541. 'ObjectNumber' => [
  542. 'type' => 'integer',
  543. 'location' => 'xml',
  544. ],
  545. 'RequestId' => [
  546. 'location' => 'header',
  547. 'sentAs' => 'x-amz-request-id',
  548. ],
  549. ],
  550. ],
  551. ],
  552. 'setBucketQuota' => [
  553. 'httpMethod' => 'PUT',
  554. 'specialParam' => 'quota',
  555. 'data' => [
  556. 'xmlRoot' => [
  557. 'name' => 'Quota',
  558. ],
  559. ],
  560. 'requestParameters' => [
  561. 'Bucket' => [
  562. 'required' => true,
  563. 'type' => 'string',
  564. 'location' => 'dns',
  565. ],
  566. 'StorageQuota' => [
  567. 'required' => true,
  568. 'type' => 'numeric',
  569. 'location' => 'xml',
  570. ],
  571. ],
  572. 'responseParameters' => [
  573. 'type' => 'object',
  574. 'properties' => [
  575. 'RequestId' => [
  576. 'location' => 'header',
  577. 'sentAs' => 'x-amz-request-id',
  578. ],
  579. ],
  580. ],
  581. ],
  582. 'getBucketQuota' => [
  583. 'httpMethod' => 'GET',
  584. 'specialParam' => 'quota',
  585. 'requestParameters' => [
  586. 'Bucket' => [
  587. 'required' => true,
  588. 'type' => 'string',
  589. 'location' => 'dns',
  590. ],
  591. ],
  592. 'responseParameters' => [
  593. 'type' => 'object',
  594. 'properties' => [
  595. 'StorageQuota' => [
  596. 'type' => 'integer',
  597. 'location' => 'xml',
  598. 'sentAs' => 'StorageQuota',
  599. ],
  600. 'RequestId' => [
  601. 'location' => 'header',
  602. 'sentAs' => 'x-amz-request-id',
  603. ],
  604. ],
  605. ],
  606. ],
  607. 'setBucketStoragePolicy' => [
  608. 'httpMethod' => 'PUT',
  609. 'specialParam' => 'storagePolicy',
  610. 'data' => [
  611. 'xmlRoot' => [
  612. 'name' => 'StoragePolicy',
  613. ],
  614. ],
  615. 'requestParameters' => [
  616. 'Bucket' => [
  617. 'required' => true,
  618. 'type' => 'string',
  619. 'location' => 'dns',
  620. ],
  621. 'StorageClass' => [
  622. 'required' => true,
  623. 'type' => 'string',
  624. 'location' => 'xml',
  625. 'sentAs' => 'DefaultStorageClass',
  626. 'transform' => 'storageClass',
  627. ],
  628. ],
  629. 'responseParameters' => [
  630. 'type' => 'object',
  631. 'properties' => [
  632. 'RequestId' => [
  633. 'location' => 'header',
  634. 'sentAs' => 'x-amz-request-id',
  635. ],
  636. ],
  637. ],
  638. ],
  639. 'getBucketStoragePolicy' => [
  640. 'httpMethod' => 'GET',
  641. 'specialParam' => 'storagePolicy',
  642. 'requestParameters' => [
  643. 'Bucket' => [
  644. 'required' => true,
  645. 'type' => 'string',
  646. 'location' => 'dns',
  647. ],
  648. ],
  649. 'responseParameters' => [
  650. 'type' => 'object',
  651. 'properties' => [
  652. 'StorageClass' => [
  653. 'type' => 'string',
  654. 'location' => 'xml',
  655. 'sentAs' => 'DefaultStorageClass',
  656. ],
  657. 'RequestId' => [
  658. 'location' => 'header',
  659. 'sentAs' => 'x-amz-request-id',
  660. ],
  661. ],
  662. ],
  663. ],
  664. 'setBucketAcl' => [
  665. 'httpMethod' => 'PUT',
  666. 'specialParam' => 'acl',
  667. 'data' => [
  668. 'xmlRoot' => [
  669. 'name' => 'AccessControlPolicy',
  670. ],
  671. ],
  672. 'requestParameters' => [
  673. 'Bucket' => [
  674. 'required' => true,
  675. 'type' => 'string',
  676. 'location' => 'dns',
  677. ],
  678. 'ACL' => [
  679. 'type' => 'string',
  680. 'location' => 'header',
  681. 'sentAs' => 'x-amz-acl',
  682. 'transform' => 'aclHeader',
  683. ],
  684. 'GrantRead' => [
  685. 'type' => 'string',
  686. 'location' => 'header',
  687. 'sentAs' => 'x-amz-grant-read',
  688. ],
  689. 'GrantWrite' => [
  690. 'type' => 'string',
  691. 'location' => 'header',
  692. 'sentAs' => 'x-amz-grant-write',
  693. ],
  694. 'GrantReadAcp' => [
  695. 'type' => 'string',
  696. 'location' => 'header',
  697. 'sentAs' => 'x-amz-grant-read-acp',
  698. ],
  699. 'GrantWriteAcp' => [
  700. 'type' => 'string',
  701. 'location' => 'header',
  702. 'sentAs' => 'x-amz-grant-write-acp',
  703. ],
  704. 'GrantFullControl' => [
  705. 'type' => 'string',
  706. 'location' => 'header',
  707. 'sentAs' => 'x-amz-grant-full-control',
  708. ],
  709. 'Owner' => [
  710. 'type' => 'object',
  711. 'location' => 'xml',
  712. 'properties' => [
  713. 'DisplayName' => [
  714. 'type' => 'string',
  715. ],
  716. 'ID' => [
  717. 'type' => 'string',
  718. ],
  719. ],
  720. ],
  721. 'Grants' => [
  722. 'type' => 'array',
  723. 'location' => 'xml',
  724. 'sentAs' => 'AccessControlList',
  725. 'items' => [
  726. 'name' => 'Grant',
  727. 'type' => 'object',
  728. 'properties' => [
  729. 'Grantee' => [
  730. 'type' => 'object',
  731. 'properties' => [
  732. 'DisplayName' => [
  733. 'type' => 'string',
  734. ],
  735. 'ID' => [
  736. 'type' => 'string',
  737. ],
  738. 'Type' => [
  739. 'required' => true,
  740. 'type' => 'string',
  741. 'sentAs' => 'xsi:type',
  742. 'data' => [
  743. 'xmlAttribute' => true,
  744. 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance',
  745. ],
  746. ],
  747. 'URI' => [
  748. 'type' => 'string',
  749. 'transform' => 'aclUri',
  750. ],
  751. ],
  752. ],
  753. 'Permission' => [
  754. 'type' => 'string',
  755. ],
  756. ],
  757. ],
  758. ],
  759. ],
  760. 'responseParameters' => [
  761. 'type' => 'object',
  762. 'properties' => [
  763. 'RequestId' => [
  764. 'location' => 'header',
  765. 'sentAs' => 'x-amz-request-id',
  766. ],
  767. ],
  768. ],
  769. ],
  770. 'getBucketAcl' => [
  771. 'httpMethod' => 'GET',
  772. 'specialParam' => 'acl',
  773. 'requestParameters' => [
  774. 'Bucket' => [
  775. 'required' => true,
  776. 'type' => 'string',
  777. 'location' => 'dns',
  778. ],
  779. ],
  780. 'responseParameters' => [
  781. 'type' => 'object',
  782. 'properties' => [
  783. 'RequestId' => [
  784. 'location' => 'header',
  785. 'sentAs' => 'x-amz-request-id',
  786. ],
  787. 'Owner' => [
  788. 'type' => 'object',
  789. 'location' => 'xml',
  790. 'properties' => [
  791. 'DisplayName' => [
  792. 'type' => 'string',
  793. ],
  794. 'ID' => [
  795. 'type' => 'string',
  796. ],
  797. ],
  798. ],
  799. 'Grants' => [
  800. 'type' => 'array',
  801. 'location' => 'xml',
  802. 'sentAs' => 'AccessControlList',
  803. 'items' => [
  804. 'name' => 'Grant',
  805. 'type' => 'object',
  806. 'sentAs' => 'Grant',
  807. 'properties' => [
  808. 'Grantee' => [
  809. 'type' => 'object',
  810. 'properties' => [
  811. 'DisplayName' => [
  812. 'type' => 'string',
  813. ],
  814. 'ID' => [
  815. 'type' => 'string',
  816. ],
  817. 'URI' => [
  818. 'type' => 'string',
  819. ],
  820. ],
  821. ],
  822. 'Permission' => [
  823. 'type' => 'string',
  824. ],
  825. ],
  826. ],
  827. ],
  828. ],
  829. ],
  830. ],
  831. 'setBucketLoggingConfiguration' => [
  832. 'httpMethod' => 'PUT',
  833. 'specialParam' => 'logging',
  834. 'data' => [
  835. 'xmlRoot' => [
  836. 'name' => 'BucketLoggingStatus',
  837. ],
  838. 'xmlAllowEmpty' => true,
  839. ],
  840. 'requestParameters' => [
  841. 'Bucket' => [
  842. 'required' => true,
  843. 'type' => 'string',
  844. 'location' => 'dns',
  845. ],
  846. 'LoggingEnabled' => [
  847. 'type' => 'object',
  848. 'location' => 'xml',
  849. 'properties' => [
  850. 'TargetBucket' => [
  851. 'type' => 'string',
  852. ],
  853. 'TargetPrefix' => [
  854. 'type' => 'string',
  855. ],
  856. 'TargetGrants' => [
  857. 'type' => 'array',
  858. 'items' => [
  859. 'name' => 'Grant',
  860. 'type' => 'object',
  861. 'properties' => [
  862. 'Grantee' => [
  863. 'type' => 'object',
  864. 'properties' => [
  865. 'DisplayName' => [
  866. 'type' => 'string',
  867. ],
  868. 'ID' => [
  869. 'type' => 'string',
  870. ],
  871. 'Type' => [
  872. 'required' => true,
  873. 'type' => 'string',
  874. 'sentAs' => 'xsi:type',
  875. 'data' => [
  876. 'xmlAttribute' => true,
  877. 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance',
  878. ],
  879. ],
  880. 'URI' => [
  881. 'type' => 'string',
  882. 'transform' => 'aclUri',
  883. ],
  884. ],
  885. ],
  886. 'Permission' => [
  887. 'type' => 'string',
  888. ],
  889. ],
  890. ],
  891. ],
  892. ],
  893. ],
  894. ],
  895. 'responseParameters' => [
  896. 'type' => 'object',
  897. 'properties' => [
  898. 'RequestId' => [
  899. 'location' => 'header',
  900. 'sentAs' => 'x-amz-request-id',
  901. ],
  902. ],
  903. ],
  904. ],
  905. 'getBucketLoggingConfiguration' => [
  906. 'httpMethod' => 'GET',
  907. 'specialParam' => 'logging',
  908. 'requestParameters' => [
  909. 'Bucket' => [
  910. 'required' => true,
  911. 'type' => 'string',
  912. 'location' => 'dns',
  913. ],
  914. ],
  915. 'responseParameters' => [
  916. 'type' => 'object',
  917. 'properties' => [
  918. 'LoggingEnabled' => [
  919. 'type' => 'object',
  920. 'location' => 'xml',
  921. 'properties' => [
  922. 'TargetBucket' => [
  923. 'type' => 'string',
  924. ],
  925. 'TargetGrants' => [
  926. 'type' => 'array',
  927. 'sentAs' => 'TargetGrants',
  928. 'items' => [
  929. 'name' => 'Grant',
  930. 'type' => 'object',
  931. 'sentAs' => 'Grant',
  932. 'properties' => [
  933. 'Grantee' => [
  934. 'type' => 'object',
  935. 'properties' => [
  936. 'DisplayName' => [
  937. 'type' => 'string',
  938. ],
  939. 'ID' => [
  940. 'type' => 'string',
  941. ],
  942. 'URI' => [
  943. 'type' => 'string',
  944. ],
  945. ],
  946. ],
  947. 'Permission' => [
  948. 'type' => 'string',
  949. ],
  950. ],
  951. ],
  952. ],
  953. 'TargetPrefix' => [
  954. 'type' => 'string',
  955. ],
  956. ],
  957. ],
  958. 'RequestId' => [
  959. 'location' => 'header',
  960. 'sentAs' => 'x-amz-request-id',
  961. ],
  962. ],
  963. ],
  964. ],
  965. 'setFetchPolicy' => [
  966. 'httpMethod' => 'PUT',
  967. 'specialParam' => 'obsfetchpolicy',
  968. 'requestParameters' => [
  969. 'Bucket' => [
  970. 'required' => true,
  971. 'type' => 'string',
  972. 'location' => 'dns',
  973. ],
  974. 'Policy' => [
  975. 'required' => true,
  976. 'type' => 'json',
  977. 'location' => 'body',
  978. ],
  979. ],
  980. 'responseParameters' => [
  981. 'type' => 'object',
  982. 'properties' => [
  983. 'RequestId' => [
  984. 'location' => 'header',
  985. 'sentAs' => 'x-amz-request-id',
  986. ],
  987. ],
  988. ],
  989. ],
  990. 'getFetchPolicy' => [
  991. 'httpMethod' => 'GET',
  992. 'specialParam' => 'obsfetchpolicy',
  993. 'requestParameters' => [
  994. 'Bucket' => [
  995. 'required' => true,
  996. 'type' => 'string',
  997. 'location' => 'dns',
  998. ],
  999. ],
  1000. 'responseParameters' => [
  1001. 'type' => 'object',
  1002. 'properties' => [
  1003. 'Policy' => [
  1004. 'type' => 'json',
  1005. 'location' => 'body',
  1006. ],
  1007. 'RequestId' => [
  1008. 'location' => 'header',
  1009. 'sentAs' => 'x-amz-request-id',
  1010. ],
  1011. ],
  1012. ],
  1013. ],
  1014. 'deleteFetchPolicy' => [
  1015. 'httpMethod' => 'DELETE',
  1016. 'specialParam' => 'obsfetchpolicy',
  1017. 'requestParameters' => [
  1018. 'Bucket' => [
  1019. 'required' => true,
  1020. 'type' => 'string',
  1021. 'location' => 'dns',
  1022. ],
  1023. ],
  1024. 'responseParameters' => [
  1025. 'RequestId' => [
  1026. 'location' => 'header',
  1027. 'sentAs' => 'x-amz-request-id',
  1028. ],
  1029. ],
  1030. ],
  1031. 'setFetchJob' => [
  1032. 'httpMethod' => 'PUT',
  1033. 'specialParam' => 'obsfetchjob',
  1034. 'requestParameters' => [
  1035. 'Bucket' => [
  1036. 'required' => true,
  1037. 'type' => 'string',
  1038. 'location' => 'dns',
  1039. ],
  1040. 'Job' => [
  1041. 'required' => true,
  1042. 'type' => 'json',
  1043. 'location' => 'body',
  1044. ],
  1045. ],
  1046. 'responseParameters' => [
  1047. 'type' => 'object',
  1048. 'properties' => [
  1049. 'RequestId' => [
  1050. 'location' => 'header',
  1051. 'sentAs' => 'x-amz-request-id',
  1052. ],
  1053. 'JobInfo' => [
  1054. 'type' => 'string',
  1055. 'location' => 'body',
  1056. ],
  1057. ],
  1058. ],
  1059. ],
  1060. 'getFetchJob' => [
  1061. 'httpMethod' => 'GET',
  1062. 'specialParam' => 'obsfetchjob',
  1063. 'requestParameters' => [
  1064. 'Bucket' => [
  1065. 'required' => true,
  1066. 'type' => 'string',
  1067. 'location' => 'dns',
  1068. ],
  1069. 'JobID' => [
  1070. 'required' => true,
  1071. 'type' => 'string',
  1072. 'location' => 'query',
  1073. 'sentAs' => 'x-fetch-job-id',
  1074. ],
  1075. ],
  1076. 'responseParameters' => [
  1077. 'type' => 'object',
  1078. 'properties' => [
  1079. 'Job' => [
  1080. 'type' => 'json',
  1081. 'location' => 'body',
  1082. ],
  1083. 'RequestId' => [
  1084. 'location' => 'header',
  1085. 'sentAs' => 'x-amz-request-id',
  1086. ],
  1087. ],
  1088. ],
  1089. ],
  1090. 'setBucketPolicy' => [
  1091. 'httpMethod' => 'PUT',
  1092. 'specialParam' => 'policy',
  1093. 'requestParameters' => [
  1094. 'Bucket' => [
  1095. 'required' => true,
  1096. 'type' => 'string',
  1097. 'location' => 'dns',
  1098. ],
  1099. 'Policy' => [
  1100. 'required' => true,
  1101. 'type' => 'string',
  1102. 'location' => 'body',
  1103. ],
  1104. ],
  1105. 'responseParameters' => [
  1106. 'type' => 'object',
  1107. 'properties' => [
  1108. 'RequestId' => [
  1109. 'location' => 'header',
  1110. 'sentAs' => 'x-amz-request-id',
  1111. ],
  1112. ],
  1113. ],
  1114. ],
  1115. 'getBucketPolicy' => [
  1116. 'httpMethod' => 'GET',
  1117. 'specialParam' => 'policy',
  1118. 'requestParameters' => [
  1119. 'Bucket' => [
  1120. 'required' => true,
  1121. 'type' => 'string',
  1122. 'location' => 'dns',
  1123. ],
  1124. ],
  1125. 'responseParameters' => [
  1126. 'type' => 'object',
  1127. 'properties' => [
  1128. 'Policy' => [
  1129. 'type' => 'string',
  1130. 'location' => 'body',
  1131. ],
  1132. 'RequestId' => [
  1133. 'location' => 'header',
  1134. 'sentAs' => 'x-amz-request-id',
  1135. ],
  1136. ],
  1137. ],
  1138. ],
  1139. 'deleteBucketPolicy' => [
  1140. 'httpMethod' => 'DELETE',
  1141. 'specialParam' => 'policy',
  1142. 'requestParameters' => [
  1143. 'Bucket' => [
  1144. 'required' => true,
  1145. 'type' => 'string',
  1146. 'location' => 'dns',
  1147. ],
  1148. ],
  1149. 'responseParameters' => [
  1150. 'type' => 'object',
  1151. 'properties' => [
  1152. 'RequestId' => [
  1153. 'location' => 'header',
  1154. 'sentAs' => 'x-amz-request-id',
  1155. ],
  1156. ],
  1157. ],
  1158. ],
  1159. 'setBucketLifecycleConfiguration' => [
  1160. 'httpMethod' => 'PUT',
  1161. 'specialParam' => 'lifecycle',
  1162. 'data' => [
  1163. 'xmlRoot' => [
  1164. 'name' => 'LifecycleConfiguration',
  1165. ],
  1166. 'contentMd5' => true,
  1167. ],
  1168. 'requestParameters' => [
  1169. 'Bucket' => [
  1170. 'required' => true,
  1171. 'type' => 'string',
  1172. 'location' => 'dns',
  1173. ],
  1174. 'Rules' => [
  1175. 'required' => true,
  1176. 'type' => 'array',
  1177. 'location' => 'xml',
  1178. 'sentAs' => 'Rule',
  1179. 'data' => [
  1180. 'xmlFlattened' => true,
  1181. ],
  1182. 'items' => [
  1183. 'name' => 'Rule',
  1184. 'type' => 'object',
  1185. 'sentAs' => 'Rule',
  1186. 'properties' => [
  1187. 'Transitions' => [
  1188. 'type' => 'array',
  1189. 'sentAs' => 'Transition',
  1190. 'data' => [
  1191. 'xmlFlattened' => true,
  1192. ],
  1193. 'items' => [
  1194. 'type' => 'object',
  1195. 'sentAs' => 'Transition',
  1196. 'properties' => [
  1197. 'StorageClass' => [
  1198. 'type' => 'string',
  1199. 'transform' => 'storageClass',
  1200. ],
  1201. 'Date' => [
  1202. 'type' => 'string',
  1203. 'format' => 'date-time-middle',
  1204. ],
  1205. 'Days' => [
  1206. 'type' => 'numeric',
  1207. ],
  1208. ],
  1209. ],
  1210. ],
  1211. 'Expiration' => [
  1212. 'type' => 'object',
  1213. 'properties' => [
  1214. 'Date' => [
  1215. 'type' => 'string',
  1216. 'format' => 'date-time-middle',
  1217. ],
  1218. 'Days' => [
  1219. 'type' => 'numeric',
  1220. ],
  1221. ],
  1222. ],
  1223. 'NoncurrentVersionTransitions' => [
  1224. 'type' => 'array',
  1225. 'sentAs' => 'NoncurrentVersionTransition',
  1226. 'data' => [
  1227. 'xmlFlattened' => true,
  1228. ],
  1229. 'items' => [
  1230. 'type' => 'object',
  1231. 'sentAs' => 'NoncurrentVersionTransition',
  1232. 'properties' => [
  1233. 'StorageClass' => [
  1234. 'type' => 'string',
  1235. 'transform' => 'storageClass',
  1236. ],
  1237. 'NoncurrentDays' => [
  1238. 'type' => 'numeric',
  1239. ],
  1240. ],
  1241. ],
  1242. ],
  1243. 'NoncurrentVersionExpiration' => [
  1244. 'type' => 'object',
  1245. 'properties' => [
  1246. 'NoncurrentDays' => [
  1247. 'type' => 'numeric',
  1248. ],
  1249. ],
  1250. ],
  1251. 'ID' => [
  1252. 'type' => 'string',
  1253. ],
  1254. 'Prefix' => [
  1255. 'required' => true,
  1256. 'type' => 'string',
  1257. 'canEmpty' => true,
  1258. ],
  1259. 'Status' => [
  1260. 'required' => true,
  1261. 'type' => 'string',
  1262. ],
  1263. ],
  1264. ],
  1265. ],
  1266. ],
  1267. 'responseParameters' => [
  1268. 'type' => 'object',
  1269. 'properties' => [
  1270. 'RequestId' => [
  1271. 'location' => 'header',
  1272. 'sentAs' => 'x-amz-request-id',
  1273. ],
  1274. ],
  1275. ],
  1276. ],
  1277. 'getBucketLifecycleConfiguration' => [
  1278. 'httpMethod' => 'GET',
  1279. 'specialParam' => 'lifecycle',
  1280. 'requestParameters' => [
  1281. 'Bucket' => [
  1282. 'required' => true,
  1283. 'type' => 'string',
  1284. 'location' => 'dns',
  1285. ],
  1286. ],
  1287. 'responseParameters' => [
  1288. 'type' => 'object',
  1289. 'properties' => [
  1290. 'RequestId' => [
  1291. 'location' => 'header',
  1292. 'sentAs' => 'x-amz-request-id',
  1293. ],
  1294. 'Rules' => [
  1295. 'type' => 'array',
  1296. 'location' => 'xml',
  1297. 'sentAs' => 'Rule',
  1298. 'data' => [
  1299. 'xmlFlattened' => true,
  1300. ],
  1301. 'items' => [
  1302. 'name' => 'Rule',
  1303. 'type' => 'object',
  1304. 'sentAs' => 'Rule',
  1305. 'properties' => [
  1306. 'Transitions' => [
  1307. 'type' => 'array',
  1308. 'sentAs' => 'Transition',
  1309. 'data' => [
  1310. 'xmlFlattened' => true,
  1311. ],
  1312. 'items' => [
  1313. 'type' => 'object',
  1314. 'sentAs' => 'Transition',
  1315. 'properties' => [
  1316. 'StorageClass' => [
  1317. 'type' => 'string',
  1318. ],
  1319. 'Date' => [
  1320. 'type' => 'string',
  1321. 'format' => 'date-time-middle',
  1322. ],
  1323. 'Days' => [
  1324. 'type' => 'numeric',
  1325. ],
  1326. ],
  1327. ],
  1328. ],
  1329. 'Expiration' => [
  1330. 'type' => 'object',
  1331. 'properties' => [
  1332. 'Date' => [
  1333. 'type' => 'string',
  1334. ],
  1335. 'Days' => [
  1336. 'type' => 'integer',
  1337. ],
  1338. ],
  1339. ],
  1340. 'NoncurrentVersionTransitions' => [
  1341. 'type' => 'array',
  1342. 'sentAs' => 'NoncurrentVersionTransition',
  1343. 'data' => [
  1344. 'xmlFlattened' => true,
  1345. ],
  1346. 'items' => [
  1347. 'type' => 'object',
  1348. 'sentAs' => 'NoncurrentVersionTransition',
  1349. 'properties' => [
  1350. 'StorageClass' => [
  1351. 'type' => 'string',
  1352. ],
  1353. 'NoncurrentDays' => [
  1354. 'type' => 'numeric',
  1355. ],
  1356. ],
  1357. ],
  1358. ],
  1359. 'NoncurrentVersionExpiration' => [
  1360. 'type' => 'object',
  1361. 'properties' => [
  1362. 'NoncurrentDays' => [
  1363. 'type' => 'integer',
  1364. ],
  1365. ],
  1366. ],
  1367. 'ID' => [
  1368. 'type' => 'string',
  1369. ],
  1370. 'Prefix' => [
  1371. 'type' => 'string',
  1372. ],
  1373. 'Status' => [
  1374. 'type' => 'string',
  1375. ],
  1376. ],
  1377. ],
  1378. ],
  1379. ],
  1380. ],
  1381. ],
  1382. 'deleteBucketLifecycleConfiguration' => [
  1383. 'httpMethod' => 'DELETE',
  1384. 'specialParam' => 'lifecycle',
  1385. 'requestParameters' => [
  1386. 'Bucket' => [
  1387. 'required' => true,
  1388. 'type' => 'string',
  1389. 'location' => 'dns',
  1390. ],
  1391. ],
  1392. 'responseParameters' => [
  1393. 'type' => 'object',
  1394. 'properties' => [
  1395. 'RequestId' => [
  1396. 'location' => 'header',
  1397. 'sentAs' => 'x-amz-request-id',
  1398. ],
  1399. ],
  1400. ],
  1401. ],
  1402. 'setBucketWebsiteConfiguration' => [
  1403. 'httpMethod' => 'PUT',
  1404. 'specialParam' => 'website',
  1405. 'data' => [
  1406. 'xmlRoot' => [
  1407. 'name' => 'WebsiteConfiguration',
  1408. ],
  1409. ],
  1410. 'requestParameters' => [
  1411. 'Bucket' => [
  1412. 'required' => true,
  1413. 'type' => 'string',
  1414. 'location' => 'dns',
  1415. ],
  1416. 'ErrorDocument' => [
  1417. 'type' => 'object',
  1418. 'location' => 'xml',
  1419. 'properties' => [
  1420. 'Key' => [
  1421. 'required' => true,
  1422. 'type' => 'string',
  1423. ],
  1424. ],
  1425. ],
  1426. 'IndexDocument' => [
  1427. 'type' => 'object',
  1428. 'location' => 'xml',
  1429. 'properties' => [
  1430. 'Suffix' => [
  1431. 'required' => true,
  1432. 'type' => 'string',
  1433. ],
  1434. ],
  1435. ],
  1436. 'RedirectAllRequestsTo' => [
  1437. 'type' => 'object',
  1438. 'location' => 'xml',
  1439. 'properties' => [
  1440. 'HostName' => [
  1441. 'required' => true,
  1442. 'type' => 'string',
  1443. ],
  1444. 'Protocol' => [
  1445. 'type' => 'string',
  1446. ],
  1447. ],
  1448. ],
  1449. 'RoutingRules' => [
  1450. 'type' => 'array',
  1451. 'location' => 'xml',
  1452. 'items' => [
  1453. 'name' => 'RoutingRule',
  1454. 'type' => 'object',
  1455. 'properties' => [
  1456. 'Condition' => [
  1457. 'type' => 'object',
  1458. 'properties' => [
  1459. 'HttpErrorCodeReturnedEquals' => [
  1460. 'type' => 'numeric',
  1461. ],
  1462. 'KeyPrefixEquals' => [
  1463. 'type' => 'string',
  1464. ],
  1465. ],
  1466. ],
  1467. 'Redirect' => [
  1468. 'required' => true,
  1469. 'type' => 'object',
  1470. 'properties' => [
  1471. 'HostName' => [
  1472. 'type' => 'string',
  1473. ],
  1474. 'HttpRedirectCode' => [
  1475. 'type' => 'numeric',
  1476. ],
  1477. 'Protocol' => [
  1478. 'type' => 'string',
  1479. ],
  1480. 'ReplaceKeyPrefixWith' => [
  1481. 'type' => 'string',
  1482. ],
  1483. 'ReplaceKeyWith' => [
  1484. 'type' => 'string',
  1485. ],
  1486. ],
  1487. ],
  1488. ],
  1489. ],
  1490. ],
  1491. ],
  1492. 'responseParameters' => [
  1493. 'type' => 'object',
  1494. 'properties' => [
  1495. 'RequestId' => [
  1496. 'location' => 'header',
  1497. 'sentAs' => 'x-amz-request-id',
  1498. ],
  1499. ],
  1500. ],
  1501. ],
  1502. 'getBucketWebsiteConfiguration' => [
  1503. 'httpMethod' => 'GET',
  1504. 'specialParam' => 'website',
  1505. 'requestParameters' => [
  1506. 'Bucket' => [
  1507. 'required' => true,
  1508. 'type' => 'string',
  1509. 'location' => 'dns',
  1510. ],
  1511. ],
  1512. 'responseParameters' => [
  1513. 'type' => 'object',
  1514. 'properties' => [
  1515. 'RequestId' => [
  1516. 'location' => 'header',
  1517. 'sentAs' => 'x-amz-request-id',
  1518. ],
  1519. 'RedirectAllRequestsTo' => [
  1520. 'type' => 'object',
  1521. 'location' => 'xml',
  1522. 'properties' => [
  1523. 'HostName' => [
  1524. 'type' => 'string',
  1525. ],
  1526. 'Protocol' => [
  1527. 'type' => 'string',
  1528. ],
  1529. ],
  1530. ],
  1531. 'IndexDocument' => [
  1532. 'type' => 'object',
  1533. 'location' => 'xml',
  1534. 'properties' => [
  1535. 'Suffix' => [
  1536. 'type' => 'string',
  1537. ],
  1538. ],
  1539. ],
  1540. 'ErrorDocument' => [
  1541. 'type' => 'object',
  1542. 'location' => 'xml',
  1543. 'properties' => [
  1544. 'Key' => [
  1545. 'type' => 'string',
  1546. ],
  1547. ],
  1548. ],
  1549. 'RoutingRules' => [
  1550. 'type' => 'array',
  1551. 'location' => 'xml',
  1552. 'items' => [
  1553. 'name' => 'RoutingRule',
  1554. 'type' => 'object',
  1555. 'sentAs' => 'RoutingRule',
  1556. 'properties' => [
  1557. 'Condition' => [
  1558. 'type' => 'object',
  1559. 'properties' => [
  1560. 'HttpErrorCodeReturnedEquals' => [
  1561. 'type' => 'integer',
  1562. ],
  1563. 'KeyPrefixEquals' => [
  1564. 'type' => 'string',
  1565. ],
  1566. ],
  1567. ],
  1568. 'Redirect' => [
  1569. 'type' => 'object',
  1570. 'properties' => [
  1571. 'HostName' => [
  1572. 'type' => 'string',
  1573. ],
  1574. 'HttpRedirectCode' => [
  1575. 'type' => 'integer',
  1576. ],
  1577. 'Protocol' => [
  1578. 'type' => 'string',
  1579. ],
  1580. 'ReplaceKeyPrefixWith' => [
  1581. 'type' => 'string',
  1582. ],
  1583. 'ReplaceKeyWith' => [
  1584. 'type' => 'string',
  1585. ],
  1586. ],
  1587. ],
  1588. ],
  1589. ],
  1590. ],
  1591. ],
  1592. ],
  1593. ],
  1594. 'deleteBucketWebsiteConfiguration' => [
  1595. 'httpMethod' => 'DELETE',
  1596. 'specialParam' => 'website',
  1597. 'requestParameters' => [
  1598. 'Bucket' => [
  1599. 'required' => true,
  1600. 'type' => 'string',
  1601. 'location' => 'dns',
  1602. ],
  1603. ],
  1604. 'responseParameters' => [
  1605. 'type' => 'object',
  1606. 'properties' => [
  1607. 'RequestId' => [
  1608. 'location' => 'header',
  1609. 'sentAs' => 'x-amz-request-id',
  1610. ],
  1611. ],
  1612. ],
  1613. ],
  1614. 'setBucketVersioningConfiguration' => [
  1615. 'httpMethod' => 'PUT',
  1616. 'specialParam' => 'versioning',
  1617. 'data' => [
  1618. 'xmlRoot' => [
  1619. 'name' => 'VersioningConfiguration',
  1620. ],
  1621. ],
  1622. 'requestParameters' => [
  1623. 'Bucket' => [
  1624. 'required' => true,
  1625. 'type' => 'string',
  1626. 'location' => 'dns',
  1627. ],
  1628. 'Status' => [
  1629. 'type' => 'string',
  1630. 'location' => 'xml',
  1631. ],
  1632. ],
  1633. 'responseParameters' => [
  1634. 'type' => 'object',
  1635. 'properties' => [
  1636. 'RequestId' => [
  1637. 'location' => 'header',
  1638. 'sentAs' => 'x-amz-request-id',
  1639. ],
  1640. ],
  1641. ],
  1642. ],
  1643. 'getBucketVersioningConfiguration' => [
  1644. 'httpMethod' => 'GET',
  1645. 'specialParam' => 'versioning',
  1646. 'requestParameters' => [
  1647. 'Bucket' => [
  1648. 'required' => true,
  1649. 'type' => 'string',
  1650. 'location' => 'dns',
  1651. ],
  1652. ],
  1653. 'responseParameters' => [
  1654. 'type' => 'object',
  1655. 'properties' => [
  1656. 'RequestId' => [
  1657. 'location' => 'header',
  1658. 'sentAs' => 'x-amz-request-id',
  1659. ],
  1660. 'Status' => [
  1661. 'type' => 'string',
  1662. 'location' => 'xml',
  1663. ],
  1664. ],
  1665. ],
  1666. ],
  1667. 'setBucketCors' => [
  1668. 'httpMethod' => 'PUT',
  1669. 'specialParam' => 'cors',
  1670. 'data' => [
  1671. 'xmlRoot' => [
  1672. 'name' => 'CORSConfiguration',
  1673. ],
  1674. 'contentMd5' => true,
  1675. ],
  1676. 'requestParameters' => [
  1677. 'Bucket' => [
  1678. 'required' => true,
  1679. 'type' => 'string',
  1680. 'location' => 'dns',
  1681. ],
  1682. 'CorsRules' => [
  1683. 'required' => true,
  1684. 'type' => 'array',
  1685. 'location' => 'xml',
  1686. 'sentAs' => 'CORSRule',
  1687. 'data' => [
  1688. 'xmlFlattened' => true,
  1689. ],
  1690. 'items' => [
  1691. 'type' => 'object',
  1692. 'sentAs' => 'CORSRule',
  1693. 'properties' => [
  1694. 'ID' => [
  1695. 'type' => 'string',
  1696. ],
  1697. 'AllowedMethod' => [
  1698. 'required' => true,
  1699. 'type' => 'array',
  1700. 'data' => [
  1701. 'xmlFlattened' => true,
  1702. ],
  1703. 'items' => [
  1704. 'type' => 'string',
  1705. 'sentAs' => 'AllowedMethod',
  1706. ],
  1707. ],
  1708. 'AllowedOrigin' => [
  1709. 'required' => true,
  1710. 'type' => 'array',
  1711. 'data' => [
  1712. 'xmlFlattened' => true,
  1713. ],
  1714. 'items' => [
  1715. 'sentAs' => 'AllowedOrigin',
  1716. 'type' => 'string',
  1717. ],
  1718. ],
  1719. 'AllowedHeader' => [
  1720. 'type' => 'array',
  1721. 'data' => [
  1722. 'xmlFlattened' => true,
  1723. ],
  1724. 'items' => [
  1725. 'name' => 'AllowedHeader',
  1726. 'type' => 'string',
  1727. ],
  1728. ],
  1729. 'MaxAgeSeconds' => [
  1730. 'type' => 'numeric',
  1731. ],
  1732. 'ExposeHeader' => [
  1733. 'type' => 'array',
  1734. 'data' => [
  1735. 'xmlFlattened' => true,
  1736. ],
  1737. 'items' => [
  1738. 'name' => 'ExposeHeader',
  1739. 'type' => 'string',
  1740. ],
  1741. ],
  1742. ],
  1743. ],
  1744. ],
  1745. ],
  1746. 'responseParameters' => [
  1747. 'type' => 'object',
  1748. 'properties' => [
  1749. 'RequestId' => [
  1750. 'location' => 'header',
  1751. 'sentAs' => 'x-amz-request-id',
  1752. ],
  1753. ],
  1754. ],
  1755. ],
  1756. 'getBucketCors' => [
  1757. 'httpMethod' => 'GET',
  1758. 'specialParam' => 'cors',
  1759. 'requestParameters' => [
  1760. 'Bucket' => [
  1761. 'required' => true,
  1762. 'type' => 'string',
  1763. 'location' => 'dns',
  1764. ],
  1765. ],
  1766. 'responseParameters' => [
  1767. 'type' => 'object',
  1768. 'properties' => [
  1769. 'RequestId' => [
  1770. 'location' => 'header',
  1771. 'sentAs' => 'x-amz-request-id',
  1772. ],
  1773. 'CorsRules' => [
  1774. 'type' => 'array',
  1775. 'location' => 'xml',
  1776. 'sentAs' => 'CORSRule',
  1777. 'data' => [
  1778. 'xmlFlattened' => true,
  1779. ],
  1780. 'items' => [
  1781. 'type' => 'object',
  1782. 'properties' => [
  1783. 'ID' => [
  1784. 'type' => 'string',
  1785. ],
  1786. 'AllowedMethod' => [
  1787. 'type' => 'array',
  1788. 'data' => [
  1789. 'xmlFlattened' => true,
  1790. ],
  1791. 'items' => [
  1792. 'type' => 'string',
  1793. 'sentAs' => 'AllowedMethod',
  1794. ],
  1795. ],
  1796. 'AllowedOrigin' => [
  1797. 'type' => 'array',
  1798. 'data' => [
  1799. 'xmlFlattened' => true,
  1800. ],
  1801. 'items' => [
  1802. 'sentAs' => 'AllowedOrigin',
  1803. 'type' => 'string',
  1804. ],
  1805. ],
  1806. 'AllowedHeader' => [
  1807. 'type' => 'array',
  1808. 'data' => [
  1809. 'xmlFlattened' => true,
  1810. ],
  1811. 'items' => [
  1812. 'name' => 'AllowedHeader',
  1813. 'type' => 'string',
  1814. ],
  1815. ],
  1816. 'MaxAgeSeconds' => [
  1817. 'type' => 'integer',
  1818. ],
  1819. 'ExposeHeader' => [
  1820. 'type' => 'array',
  1821. 'data' => [
  1822. 'xmlFlattened' => true,
  1823. ],
  1824. 'items' => [
  1825. 'name' => 'ExposeHeader',
  1826. 'type' => 'string',
  1827. ],
  1828. ],
  1829. ],
  1830. ],
  1831. ],
  1832. ],
  1833. ],
  1834. ],
  1835. 'deleteBucketCors' => [
  1836. 'httpMethod' => 'DELETE',
  1837. 'specialParam' => 'cors',
  1838. 'requestParameters' => [
  1839. 'Bucket' => [
  1840. 'required' => true,
  1841. 'type' => 'string',
  1842. 'location' => 'dns',
  1843. ],
  1844. ],
  1845. 'responseParameters' => [
  1846. 'type' => 'object',
  1847. 'properties' => [
  1848. 'RequestId' => [
  1849. 'location' => 'header',
  1850. 'sentAs' => 'x-amz-request-id',
  1851. ],
  1852. ],
  1853. ],
  1854. ],
  1855. 'optionsBucket' => [
  1856. 'httpMethod' => 'OPTIONS',
  1857. 'requestParameters' => [
  1858. 'Bucket' => [
  1859. 'required' => true,
  1860. 'type' => 'string',
  1861. 'location' => 'dns',
  1862. ],
  1863. 'Origin' => [
  1864. 'required' => true,
  1865. 'type' => 'string',
  1866. 'location' => 'header',
  1867. ],
  1868. 'AccessControlRequestMethods' => [
  1869. 'required' => true,
  1870. 'type' => 'array',
  1871. 'location' => 'header',
  1872. 'items' => [
  1873. 'sentAs' => 'Access-Control-Request-Method',
  1874. 'type' => 'string',
  1875. ],
  1876. ],
  1877. 'AccessControlRequestHeaders' => [
  1878. 'type' => 'array',
  1879. 'location' => 'header',
  1880. 'items' => [
  1881. 'sentAs' => 'Access-Control-Request-Headers',
  1882. 'type' => 'string',
  1883. ],
  1884. ],
  1885. ],
  1886. 'responseParameters' => [
  1887. 'type' => 'object',
  1888. 'properties' => [
  1889. 'RequestId' => [
  1890. 'location' => 'header',
  1891. 'sentAs' => 'x-amz-request-id',
  1892. ],
  1893. 'AllowOrigin' => [
  1894. 'location' => 'header',
  1895. 'sentAs' => 'access-control-allow-origin',
  1896. ],
  1897. 'AllowHeader' => [
  1898. 'location' => 'header',
  1899. 'sentAs' => 'access-control-allow-headers',
  1900. ],
  1901. 'AllowMethod' => [
  1902. 'location' => 'header',
  1903. 'sentAs' => 'access-control-allow-methods',
  1904. ],
  1905. 'ExposeHeader' => [
  1906. 'location' => 'header',
  1907. 'sentAs' => 'access-control-expose-headers',
  1908. ],
  1909. 'MaxAgeSeconds' => [
  1910. 'location' => 'header',
  1911. 'sentAs' => 'access-control-max-age',
  1912. ],
  1913. ],
  1914. ],
  1915. ],
  1916. 'setBucketTagging' => [
  1917. 'httpMethod' => 'PUT',
  1918. 'specialParam' => 'tagging',
  1919. 'data' => [
  1920. 'xmlRoot' => [
  1921. 'name' => 'Tagging',
  1922. ],
  1923. 'contentMd5' => true,
  1924. ],
  1925. 'requestParameters' => [
  1926. 'Bucket' => [
  1927. 'required' => true,
  1928. 'type' => 'string',
  1929. 'location' => 'dns',
  1930. ],
  1931. 'Tags' => [
  1932. 'required' => true,
  1933. 'type' => 'array',
  1934. 'location' => 'xml',
  1935. 'sentAs' => 'TagSet',
  1936. 'items' => [
  1937. 'required' => true,
  1938. 'type' => 'object',
  1939. 'name' => 'Tag',
  1940. 'properties' => [
  1941. 'Key' => [
  1942. 'required' => true,
  1943. 'type' => 'string',
  1944. ],
  1945. 'Value' => [
  1946. 'required' => true,
  1947. 'type' => 'string',
  1948. ],
  1949. ],
  1950. ],
  1951. ],
  1952. ],
  1953. 'responseParameters' => [
  1954. 'type' => 'object',
  1955. 'properties' => [
  1956. 'RequestId' => [
  1957. 'location' => 'header',
  1958. 'sentAs' => 'x-amz-request-id',
  1959. ],
  1960. ],
  1961. ],
  1962. ],
  1963. 'getBucketTagging' => [
  1964. 'httpMethod' => 'GET',
  1965. 'specialParam' => 'tagging',
  1966. 'requestParameters' => [
  1967. 'Bucket' => [
  1968. 'required' => true,
  1969. 'type' => 'string',
  1970. 'location' => 'dns',
  1971. ],
  1972. ],
  1973. 'responseParameters' => [
  1974. 'type' => 'object',
  1975. 'properties' => [
  1976. 'RequestId' => [
  1977. 'location' => 'header',
  1978. 'sentAs' => 'x-amz-request-id',
  1979. ],
  1980. 'Tags' => [
  1981. 'type' => 'array',
  1982. 'location' => 'xml',
  1983. 'sentAs' => 'TagSet',
  1984. 'items' => [
  1985. 'type' => 'object',
  1986. 'name' => 'Tag',
  1987. 'properties' => [
  1988. 'Key' => [
  1989. 'type' => 'string',
  1990. ],
  1991. 'Value' => [
  1992. 'type' => 'string',
  1993. ],
  1994. ],
  1995. ],
  1996. ],
  1997. ],
  1998. ],
  1999. ],
  2000. 'deleteBucketTagging' => [
  2001. 'httpMethod' => 'DELETE',
  2002. 'specialParam' => 'tagging',
  2003. 'requestParameters' => [
  2004. 'Bucket' => [
  2005. 'required' => true,
  2006. 'type' => 'string',
  2007. 'location' => 'dns',
  2008. ],
  2009. ],
  2010. 'responseParameters' => [
  2011. 'type' => 'object',
  2012. 'properties' => [
  2013. 'RequestId' => [
  2014. 'location' => 'header',
  2015. 'sentAs' => 'x-amz-request-id',
  2016. ],
  2017. ],
  2018. ],
  2019. ],
  2020. 'setBucketNotification' => [
  2021. 'httpMethod' => 'PUT',
  2022. 'specialParam' => 'notification',
  2023. 'data' => [
  2024. 'xmlRoot' => [
  2025. 'name' => 'NotificationConfiguration',
  2026. ],
  2027. 'xmlAllowEmpty' => true,
  2028. ],
  2029. 'requestParameters' => [
  2030. 'Bucket' => [
  2031. 'required' => true,
  2032. 'type' => 'string',
  2033. 'location' => 'dns',
  2034. ],
  2035. 'TopicConfigurations' => [
  2036. 'type' => 'array',
  2037. 'location' => 'xml',
  2038. 'sentAs' => 'TopicConfiguration',
  2039. 'data' => [
  2040. 'xmlFlattened' => true,
  2041. ],
  2042. 'items' => [
  2043. 'type' => 'object',
  2044. 'location' => 'xml',
  2045. 'sentAs' => 'TopicConfiguration',
  2046. 'properties' => [
  2047. 'ID' => [
  2048. 'type' => 'string',
  2049. 'sentAs' => 'Id',
  2050. ],
  2051. 'Filter' => [
  2052. 'type' => 'array',
  2053. 'wrapper' => 'Filter',
  2054. 'sentAs' => 'S3Key',
  2055. 'items' => [
  2056. 'type' => 'object',
  2057. 'sentAs' => 'FilterRule',
  2058. 'properties' => [
  2059. 'Name' => [
  2060. 'type' => 'string',
  2061. ],
  2062. 'Value' => [
  2063. 'type' => 'string',
  2064. ],
  2065. ],
  2066. ],
  2067. ],
  2068. 'Topic' => [
  2069. 'type' => 'string',
  2070. ],
  2071. 'Event' => [
  2072. 'type' => 'array',
  2073. 'data' => [
  2074. 'xmlFlattened' => true,
  2075. ],
  2076. 'items' => [
  2077. 'type' => 'string',
  2078. 'sentAs' => 'Event',
  2079. 'transform' => 'event',
  2080. ],
  2081. ],
  2082. ],
  2083. ],
  2084. ],
  2085. ],
  2086. 'responseParameters' => [
  2087. 'type' => 'object',
  2088. 'properties' => [
  2089. 'RequestId' => [
  2090. 'location' => 'header',
  2091. 'sentAs' => 'x-amz-request-id',
  2092. ],
  2093. ],
  2094. ],
  2095. ],
  2096. 'getBucketNotification' => [
  2097. 'httpMethod' => 'GET',
  2098. 'specialParam' => 'notification',
  2099. 'requestParameters' => [
  2100. 'Bucket' => [
  2101. 'required' => true,
  2102. 'type' => 'string',
  2103. 'location' => 'dns',
  2104. ],
  2105. ],
  2106. 'responseParameters' => [
  2107. 'type' => 'object',
  2108. 'properties' => [
  2109. 'RequestId' => [
  2110. 'location' => 'header',
  2111. 'sentAs' => 'x-amz-request-id',
  2112. ],
  2113. 'TopicConfigurations' => [
  2114. 'type' => 'array',
  2115. 'location' => 'xml',
  2116. 'sentAs' => 'TopicConfiguration',
  2117. 'data' => [
  2118. 'xmlFlattened' => true,
  2119. ],
  2120. 'items' => [
  2121. 'type' => 'object',
  2122. 'location' => 'xml',
  2123. 'sentAs' => 'TopicConfiguration',
  2124. 'properties' => [
  2125. 'ID' => [
  2126. 'type' => 'string',
  2127. 'sentAs' => 'Id',
  2128. ],
  2129. 'Topic' => [
  2130. 'type' => 'string',
  2131. ],
  2132. 'Event' => [
  2133. 'type' => 'array',
  2134. 'data' => [
  2135. 'xmlFlattened' => true,
  2136. ],
  2137. 'items' => [
  2138. 'type' => 'string',
  2139. 'sentAs' => 'Event',
  2140. ],
  2141. ],
  2142. 'Filter' => [
  2143. 'type' => 'array',
  2144. 'wrapper' => 'Filter',
  2145. 'sentAs' => 'S3Key',
  2146. 'items' => [
  2147. 'type' => 'object',
  2148. 'sentAs' => 'FilterRule',
  2149. 'properties' => [
  2150. 'Name' => [
  2151. 'type' => 'string',
  2152. ],
  2153. 'Value' => [
  2154. 'type' => 'string',
  2155. ],
  2156. ],
  2157. ],
  2158. ],
  2159. ],
  2160. ],
  2161. ],
  2162. ],
  2163. ],
  2164. ],
  2165. 'setObjectTagging' => [
  2166. 'httpMethod' => 'PUT',
  2167. 'specialParam' => 'tagging',
  2168. 'data' => [
  2169. 'xmlRoot' => [
  2170. 'name' => 'Tagging',
  2171. ],
  2172. 'contentMd5' => true,
  2173. ],
  2174. 'requestParameters' => [
  2175. 'Bucket' => [
  2176. 'required' => true,
  2177. 'type' => 'string',
  2178. 'location' => 'dns',
  2179. ],
  2180. 'Key' => [
  2181. 'required' => true,
  2182. 'type' => 'string',
  2183. 'location' => 'uri',
  2184. ],
  2185. 'VersionId' => [
  2186. 'type' => 'string',
  2187. 'location' => 'query',
  2188. 'sentAs' => 'versionId',
  2189. ],
  2190. 'Tags' => [
  2191. 'required' => true,
  2192. 'type' => 'array',
  2193. 'location' => 'xml',
  2194. 'sentAs' => 'TagSet',
  2195. 'items' => [
  2196. 'required' => true,
  2197. 'type' => 'object',
  2198. 'name' => 'Tag',
  2199. 'properties' => [
  2200. 'Key' => [
  2201. 'required' => true,
  2202. 'type' => 'string',
  2203. ],
  2204. 'Value' => [
  2205. 'required' => true,
  2206. 'type' => 'string',
  2207. ],
  2208. ],
  2209. ],
  2210. ],
  2211. ],
  2212. 'responseParameters' => [
  2213. 'type' => 'object',
  2214. 'properties' => [
  2215. 'RequestId' => [
  2216. 'location' => 'header',
  2217. 'sentAs' => 'x-amz-request-id',
  2218. ],
  2219. ],
  2220. ],
  2221. ],
  2222. 'getObjectTagging' => [
  2223. 'httpMethod' => 'GET',
  2224. 'specialParam' => 'tagging',
  2225. 'requestParameters' => [
  2226. 'Bucket' => [
  2227. 'required' => true,
  2228. 'type' => 'string',
  2229. 'location' => 'dns',
  2230. ],
  2231. 'Key' => [
  2232. 'required' => true,
  2233. 'type' => 'string',
  2234. 'location' => 'uri',
  2235. ],
  2236. 'VersionId' => [
  2237. 'type' => 'string',
  2238. 'location' => 'query',
  2239. 'sentAs' => 'versionId',
  2240. ],
  2241. ],
  2242. 'responseParameters' => [
  2243. 'type' => 'object',
  2244. 'properties' => [
  2245. 'RequestId' => [
  2246. 'location' => 'header',
  2247. 'sentAs' => 'x-amz-request-id',
  2248. ],
  2249. 'Tags' => [
  2250. 'required' => true,
  2251. 'type' => 'array',
  2252. 'location' => 'xml',
  2253. 'sentAs' => 'TagSet',
  2254. 'items' => [
  2255. 'required' => true,
  2256. 'type' => 'object',
  2257. 'name' => 'Tag',
  2258. 'properties' => [
  2259. 'Key' => [
  2260. 'required' => true,
  2261. 'type' => 'string',
  2262. ],
  2263. 'Value' => [
  2264. 'required' => true,
  2265. 'type' => 'string',
  2266. ],
  2267. ],
  2268. ],
  2269. ],
  2270. ],
  2271. ],
  2272. ],
  2273. 'deleteObjectTagging' => [
  2274. 'httpMethod' => 'DELETE',
  2275. 'specialParam' => 'tagging',
  2276. 'requestParameters' => [
  2277. 'Bucket' => [
  2278. 'required' => true,
  2279. 'type' => 'string',
  2280. 'location' => 'dns',
  2281. ],
  2282. ],
  2283. 'responseParameters' => [
  2284. 'type' => 'object',
  2285. 'properties' => [
  2286. 'RequestId' => [
  2287. 'location' => 'header',
  2288. 'sentAs' => 'x-amz-request-id',
  2289. ],
  2290. ],
  2291. ],
  2292. ],
  2293. 'optionsObject' => [
  2294. 'httpMethod' => 'OPTIONS',
  2295. 'requestParameters' => [
  2296. 'Bucket' => [
  2297. 'required' => true,
  2298. 'type' => 'string',
  2299. 'location' => 'dns',
  2300. ],
  2301. 'Key' => [
  2302. 'required' => true,
  2303. 'type' => 'string',
  2304. 'location' => 'uri',
  2305. ],
  2306. 'Origin' => [
  2307. 'required' => true,
  2308. 'type' => 'string',
  2309. 'location' => 'header',
  2310. ],
  2311. 'AccessControlRequestMethods' => [
  2312. 'required' => true,
  2313. 'type' => 'array',
  2314. 'location' => 'header',
  2315. 'items' => [
  2316. 'sentAs' => 'Access-Control-Request-Method',
  2317. 'type' => 'string',
  2318. ],
  2319. ],
  2320. 'AccessControlRequestHeaders' => [
  2321. 'type' => 'array',
  2322. 'location' => 'header',
  2323. 'items' => [
  2324. 'sentAs' => 'Access-Control-Request-Headers',
  2325. 'type' => 'string',
  2326. ],
  2327. ],
  2328. ],
  2329. 'responseParameters' => [
  2330. 'type' => 'object',
  2331. 'properties' => [
  2332. 'RequestId' => [
  2333. 'location' => 'header',
  2334. 'sentAs' => 'x-amz-request-id',
  2335. ],
  2336. 'AllowOrigin' => [
  2337. 'location' => 'header',
  2338. 'sentAs' => 'access-control-allow-origin',
  2339. ],
  2340. 'AllowHeader' => [
  2341. 'location' => 'header',
  2342. 'sentAs' => 'access-control-allow-headers',
  2343. ],
  2344. 'AllowMethod' => [
  2345. 'location' => 'header',
  2346. 'sentAs' => 'access-control-allow-methods',
  2347. ],
  2348. 'ExposeHeader' => [
  2349. 'location' => 'header',
  2350. 'sentAs' => 'access-control-expose-headers',
  2351. ],
  2352. 'MaxAgeSeconds' => [
  2353. 'location' => 'header',
  2354. 'sentAs' => 'access-control-max-age',
  2355. ],
  2356. ],
  2357. ],
  2358. ],
  2359. 'deleteObject' => [
  2360. 'httpMethod' => 'DELETE',
  2361. 'requestParameters' => [
  2362. 'Bucket' => [
  2363. 'required' => true,
  2364. 'type' => 'string',
  2365. 'location' => 'dns',
  2366. ],
  2367. 'Key' => [
  2368. 'required' => true,
  2369. 'type' => 'string',
  2370. 'location' => 'uri',
  2371. ],
  2372. 'VersionId' => [
  2373. 'type' => 'string',
  2374. 'location' => 'query',
  2375. 'sentAs' => 'versionId',
  2376. ],
  2377. ],
  2378. 'responseParameters' => [
  2379. 'type' => 'object',
  2380. 'properties' => [
  2381. 'DeleteMarker' => [
  2382. 'type' => 'boolean',
  2383. 'location' => 'header',
  2384. 'sentAs' => 'x-amz-delete-marker',
  2385. ],
  2386. 'VersionId' => [
  2387. 'type' => 'string',
  2388. 'location' => 'header',
  2389. 'sentAs' => 'x-amz-version-id',
  2390. ],
  2391. 'RequestId' => [
  2392. 'location' => 'header',
  2393. 'sentAs' => 'x-amz-request-id',
  2394. ],
  2395. ],
  2396. ],
  2397. ],
  2398. 'deleteObjects' => [
  2399. 'httpMethod' => 'POST',
  2400. 'specialParam' => 'delete',
  2401. 'data' => [
  2402. 'xmlRoot' => [
  2403. 'name' => 'Delete',
  2404. ],
  2405. 'contentMd5' => true,
  2406. ],
  2407. 'requestParameters' => [
  2408. 'Bucket' => [
  2409. 'required' => true,
  2410. 'type' => 'string',
  2411. 'location' => 'dns',
  2412. ],
  2413. 'Quiet' => [
  2414. 'type' => 'boolean',
  2415. 'location' => 'xml',
  2416. ],
  2417. 'Objects' => [
  2418. 'required' => true,
  2419. 'type' => 'array',
  2420. 'location' => 'xml',
  2421. 'data' => [
  2422. 'xmlFlattened' => true,
  2423. ],
  2424. 'items' => [
  2425. 'type' => 'object',
  2426. 'sentAs' => 'Object',
  2427. 'properties' => [
  2428. 'Key' => [
  2429. 'required' => true,
  2430. 'type' => 'string',
  2431. ],
  2432. 'VersionId' => [
  2433. 'type' => 'string',
  2434. ],
  2435. ],
  2436. ],
  2437. ],
  2438. ],
  2439. 'responseParameters' => [
  2440. 'type' => 'object',
  2441. 'properties' => [
  2442. 'Deleteds' => [
  2443. 'type' => 'array',
  2444. 'location' => 'xml',
  2445. 'sentAs' => 'Deleted',
  2446. 'data' => [
  2447. 'xmlFlattened' => true,
  2448. ],
  2449. 'items' => [
  2450. 'name' => 'DeletedObject',
  2451. 'type' => 'object',
  2452. 'properties' => [
  2453. 'Key' => [
  2454. 'type' => 'string',
  2455. ],
  2456. 'VersionId' => [
  2457. 'type' => 'string',
  2458. ],
  2459. 'DeleteMarker' => [
  2460. 'type' => 'boolean',
  2461. ],
  2462. 'DeleteMarkerVersionId' => [
  2463. 'type' => 'string',
  2464. ],
  2465. ],
  2466. ],
  2467. ],
  2468. 'Errors' => [
  2469. 'type' => 'array',
  2470. 'location' => 'xml',
  2471. 'sentAs' => 'Error',
  2472. 'data' => [
  2473. 'xmlFlattened' => true,
  2474. ],
  2475. 'items' => [
  2476. 'name' => 'Error',
  2477. 'type' => 'object',
  2478. 'sentAs' => 'Error',
  2479. 'properties' => [
  2480. 'Key' => [
  2481. 'type' => 'string',
  2482. ],
  2483. 'VersionId' => [
  2484. 'type' => 'string',
  2485. ],
  2486. 'Code' => [
  2487. 'type' => 'string',
  2488. ],
  2489. 'Message' => [
  2490. 'type' => 'string',
  2491. ],
  2492. ],
  2493. ],
  2494. ],
  2495. 'RequestId' => [
  2496. 'location' => 'header',
  2497. 'sentAs' => 'x-amz-request-id',
  2498. ],
  2499. ],
  2500. ],
  2501. ],
  2502. 'setObjectAcl' => [
  2503. 'httpMethod' => 'PUT',
  2504. 'specialParam' => 'acl',
  2505. 'data' => [
  2506. 'xmlRoot' => [
  2507. 'name' => 'AccessControlPolicy',
  2508. ],
  2509. ],
  2510. 'requestParameters' => [
  2511. 'Bucket' => [
  2512. 'required' => true,
  2513. 'type' => 'string',
  2514. 'location' => 'dns',
  2515. ],
  2516. 'Key' => [
  2517. 'required' => true,
  2518. 'type' => 'string',
  2519. 'location' => 'uri',
  2520. ],
  2521. 'VersionId' => [
  2522. 'type' => 'string',
  2523. 'location' => 'query',
  2524. 'sentAs' => 'versionId',
  2525. ],
  2526. 'ACL' => [
  2527. 'type' => 'string',
  2528. 'location' => 'header',
  2529. 'sentAs' => 'x-amz-acl',
  2530. 'transform' => 'aclHeader',
  2531. ],
  2532. 'GrantRead' => [
  2533. 'type' => 'string',
  2534. 'location' => 'header',
  2535. 'sentAs' => 'x-amz-grant-read',
  2536. ],
  2537. 'GrantWrite' => [
  2538. 'type' => 'string',
  2539. 'location' => 'header',
  2540. 'sentAs' => 'x-amz-grant-write',
  2541. ],
  2542. 'GrantReadAcp' => [
  2543. 'type' => 'string',
  2544. 'location' => 'header',
  2545. 'sentAs' => 'x-amz-grant-read-acp',
  2546. ],
  2547. 'GrantWriteAcp' => [
  2548. 'type' => 'string',
  2549. 'location' => 'header',
  2550. 'sentAs' => 'x-amz-grant-write-acp',
  2551. ],
  2552. 'GrantFullControl' => [
  2553. 'type' => 'string',
  2554. 'location' => 'header',
  2555. 'sentAs' => 'x-amz-grant-full-control',
  2556. ],
  2557. 'Owner' => [
  2558. 'type' => 'object',
  2559. 'location' => 'xml',
  2560. 'properties' => [
  2561. 'DisplayName' => [
  2562. 'type' => 'string',
  2563. ],
  2564. 'ID' => [
  2565. 'type' => 'string',
  2566. ],
  2567. ],
  2568. ],
  2569. 'Grants' => [
  2570. 'type' => 'array',
  2571. 'location' => 'xml',
  2572. 'sentAs' => 'AccessControlList',
  2573. 'items' => [
  2574. 'name' => 'Grant',
  2575. 'type' => 'object',
  2576. 'properties' => [
  2577. 'Grantee' => [
  2578. 'type' => 'object',
  2579. 'properties' => [
  2580. 'DisplayName' => [
  2581. 'type' => 'string',
  2582. ],
  2583. 'ID' => [
  2584. 'type' => 'string',
  2585. ],
  2586. 'Type' => [
  2587. 'required' => true,
  2588. 'type' => 'string',
  2589. 'sentAs' => 'xsi:type',
  2590. 'data' => [
  2591. 'xmlAttribute' => true,
  2592. 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance',
  2593. ],
  2594. ],
  2595. 'URI' => [
  2596. 'type' => 'string',
  2597. 'transform' => 'aclUri',
  2598. ],
  2599. ],
  2600. ],
  2601. 'Permission' => [
  2602. 'type' => 'string',
  2603. ],
  2604. ],
  2605. ],
  2606. ],
  2607. ],
  2608. 'responseParameters' => [
  2609. 'RequestId' => [
  2610. 'location' => 'header',
  2611. 'sentAs' => 'x-amz-request-id',
  2612. ],
  2613. ],
  2614. ],
  2615. 'getObjectAcl' => [
  2616. 'httpMethod' => 'GET',
  2617. 'specialParam' => 'acl',
  2618. 'requestParameters' => [
  2619. 'Bucket' => [
  2620. 'required' => true,
  2621. 'type' => 'string',
  2622. 'location' => 'dns',
  2623. ],
  2624. 'Key' => [
  2625. 'required' => true,
  2626. 'type' => 'string',
  2627. 'location' => 'uri',
  2628. ],
  2629. 'VersionId' => [
  2630. 'type' => 'string',
  2631. 'location' => 'query',
  2632. 'sentAs' => 'versionId',
  2633. ],
  2634. ],
  2635. 'responseParameters' => [
  2636. 'type' => 'object',
  2637. 'properties' => [
  2638. 'Owner' => [
  2639. 'type' => 'object',
  2640. 'location' => 'xml',
  2641. 'properties' => [
  2642. 'DisplayName' => [
  2643. 'type' => 'string',
  2644. ],
  2645. 'ID' => [
  2646. 'type' => 'string',
  2647. ],
  2648. ],
  2649. ],
  2650. 'Grants' => [
  2651. 'type' => 'array',
  2652. 'location' => 'xml',
  2653. 'sentAs' => 'AccessControlList',
  2654. 'items' => [
  2655. 'name' => 'Grant',
  2656. 'type' => 'object',
  2657. 'sentAs' => 'Grant',
  2658. 'properties' => [
  2659. 'Grantee' => [
  2660. 'type' => 'object',
  2661. 'properties' => [
  2662. 'DisplayName' => [
  2663. 'type' => 'string',
  2664. ],
  2665. 'ID' => [
  2666. 'type' => 'string',
  2667. ],
  2668. 'URI' => [
  2669. 'type' => 'string',
  2670. ],
  2671. ],
  2672. ],
  2673. 'Permission' => [
  2674. 'type' => 'string',
  2675. ],
  2676. ],
  2677. ],
  2678. ],
  2679. 'RequestId' => [
  2680. 'location' => 'header',
  2681. 'sentAs' => 'x-amz-request-id',
  2682. ],
  2683. 'VersionId' => [
  2684. 'location' => 'header',
  2685. 'sentAs' => 'x-amz-version-id',
  2686. ],
  2687. ],
  2688. ],
  2689. ],
  2690. 'restoreObject' => [
  2691. 'httpMethod' => 'POST',
  2692. 'specialParam' => 'restore',
  2693. 'data' => [
  2694. 'xmlRoot' => [
  2695. 'name' => 'RestoreRequest',
  2696. ],
  2697. ],
  2698. 'requestParameters' => [
  2699. 'Bucket' => [
  2700. 'required' => true,
  2701. 'type' => 'string',
  2702. 'location' => 'dns',
  2703. ],
  2704. 'Key' => [
  2705. 'required' => true,
  2706. 'type' => 'string',
  2707. 'location' => 'uri',
  2708. ],
  2709. 'VersionId' => [
  2710. 'type' => 'string',
  2711. 'location' => 'query',
  2712. 'sentAs' => 'versionId',
  2713. ],
  2714. 'Days' => [
  2715. 'required' => true,
  2716. 'type' => 'numeric',
  2717. 'location' => 'xml',
  2718. 'sentAs' => 'Days',
  2719. ],
  2720. 'Tier' => [
  2721. 'wrapper' => 'GlacierJobParameters',
  2722. 'type' => 'string',
  2723. 'sentAs' => 'Tier',
  2724. 'location' => 'xml',
  2725. ],
  2726. ],
  2727. 'responseParameters' => [
  2728. 'RequestId' => [
  2729. 'location' => 'header',
  2730. 'sentAs' => 'x-amz-request-id',
  2731. ],
  2732. ],
  2733. ],
  2734. 'putObject' => [
  2735. 'httpMethod' => 'PUT',
  2736. 'requestParameters' => [
  2737. 'ACL' => [
  2738. 'type' => 'string',
  2739. 'location' => 'header',
  2740. 'sentAs' => 'x-amz-acl',
  2741. 'transform' => 'aclHeader',
  2742. ],
  2743. 'StorageClass' => [
  2744. 'type' => 'string',
  2745. 'location' => 'header',
  2746. 'sentAs' => 'x-amz-storage-class',
  2747. 'transform' => 'storageClass',
  2748. ],
  2749. 'Body' => [
  2750. 'type' => 'stream',
  2751. 'location' => 'body',
  2752. ],
  2753. 'Bucket' => [
  2754. 'required' => true,
  2755. 'type' => 'string',
  2756. 'location' => 'dns',
  2757. ],
  2758. 'Key' => [
  2759. 'required' => true,
  2760. 'type' => 'string',
  2761. 'location' => 'uri',
  2762. ],
  2763. 'Callback' => [
  2764. 'type' => 'string',
  2765. 'location' => 'header',
  2766. 'sentAs' => 'x-amz-callback',
  2767. ],
  2768. 'ContentMD5' => [
  2769. 'type' => 'string',
  2770. 'location' => 'header',
  2771. 'sentAs' => 'Content-MD5',
  2772. ],
  2773. 'ContentType' => [
  2774. 'type' => 'string',
  2775. 'location' => 'header',
  2776. 'sentAs' => 'Content-Type',
  2777. ],
  2778. 'ContentLength' => [
  2779. 'type' => 'numeric',
  2780. 'location' => 'header',
  2781. 'sentAs' => 'Content-Length',
  2782. ],
  2783. 'Metadata' => [
  2784. 'type' => 'object',
  2785. 'location' => 'header',
  2786. 'sentAs' => 'x-amz-meta-',
  2787. ],
  2788. 'SourceFile' => [
  2789. 'type' => 'file',
  2790. 'location' => 'body',
  2791. ],
  2792. 'WebsiteRedirectLocation' => [
  2793. 'type' => 'string',
  2794. 'location' => 'header',
  2795. 'sentAs' => 'x-amz-website-redirect-location',
  2796. ],
  2797. 'SseKms' => [
  2798. 'location' => 'header',
  2799. 'sentAs' => 'x-amz-server-side-encryption',
  2800. ],
  2801. 'SseKmsKey' => [
  2802. 'location' => 'header',
  2803. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  2804. ],
  2805. 'SseC' => [
  2806. 'location' => 'header',
  2807. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  2808. ],
  2809. 'SseCKey' => [
  2810. 'location' => 'header',
  2811. 'sentAs' => 'x-amz-server-side-encryption-customer-key',
  2812. 'type' => 'password',
  2813. ],
  2814. 'Expires' => [
  2815. 'location' => 'header',
  2816. 'type' => 'string',
  2817. 'sentAs' => 'x-amz-expires',
  2818. ],
  2819. 'Tagging' => [
  2820. 'location' => 'header',
  2821. 'type' => 'string',
  2822. 'sentAs' => 'x-amz-tagging',
  2823. ]
  2824. ],
  2825. 'responseParameters' => [
  2826. 'type' => 'object',
  2827. 'properties' => [
  2828. 'ETag' => [
  2829. 'type' => 'string',
  2830. 'location' => 'header',
  2831. ],
  2832. 'VersionId' => [
  2833. 'type' => 'string',
  2834. 'location' => 'header',
  2835. 'sentAs' => 'x-amz-version-id',
  2836. ],
  2837. 'RequestId' => [
  2838. 'location' => 'header',
  2839. 'sentAs' => 'x-amz-request-id',
  2840. ],
  2841. 'StorageClass' => [
  2842. 'location' => 'header',
  2843. 'sentAs' => 'x-amz-storage-class',
  2844. ],
  2845. 'SseKms' => [
  2846. 'location' => 'header',
  2847. 'sentAs' => 'x-amz-server-side-encryption',
  2848. ],
  2849. 'SseKmsKey' => [
  2850. 'location' => 'header',
  2851. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  2852. ],
  2853. 'SseC' => [
  2854. 'location' => 'header',
  2855. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  2856. ],
  2857. 'SseCKeyMd5' => [
  2858. 'location' => 'header',
  2859. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  2860. ],
  2861. ],
  2862. ],
  2863. ],
  2864. 'getObject' => [
  2865. 'httpMethod' => 'GET',
  2866. 'stream' => true,
  2867. 'requestParameters' => [
  2868. 'Bucket' => [
  2869. 'required' => true,
  2870. 'type' => 'string',
  2871. 'location' => 'dns',
  2872. ],
  2873. 'IfMatch' => [
  2874. 'type' => 'string',
  2875. 'location' => 'header',
  2876. 'sentAs' => 'If-Match',
  2877. ],
  2878. 'IfModifiedSince' => [
  2879. 'type' => 'string',
  2880. 'format' => 'date-time-http',
  2881. 'location' => 'header',
  2882. 'sentAs' => 'If-Modified-Since',
  2883. ],
  2884. 'IfNoneMatch' => [
  2885. 'type' => 'string',
  2886. 'location' => 'header',
  2887. 'sentAs' => 'If-None-Match',
  2888. ],
  2889. 'IfUnmodifiedSince' => [
  2890. 'type' => 'string',
  2891. 'format' => 'date-time-http',
  2892. 'location' => 'header',
  2893. 'sentAs' => 'If-Unmodified-Since',
  2894. ],
  2895. 'Key' => [
  2896. 'required' => true,
  2897. 'type' => 'string',
  2898. 'location' => 'uri',
  2899. ],
  2900. 'Range' => [
  2901. 'type' => 'string',
  2902. 'location' => 'header',
  2903. ],
  2904. 'ImageProcess' => [
  2905. 'type' => 'string',
  2906. 'location' => 'query',
  2907. 'sentAs' => 'x-image-process',
  2908. ],
  2909. 'ResponseCacheControl' => [
  2910. 'type' => 'string',
  2911. 'location' => 'query',
  2912. 'sentAs' => 'response-cache-control',
  2913. ],
  2914. 'ResponseContentDisposition' => [
  2915. 'type' => 'string',
  2916. 'location' => 'query',
  2917. 'sentAs' => 'response-content-disposition',
  2918. ],
  2919. 'ResponseContentEncoding' => [
  2920. 'type' => 'string',
  2921. 'location' => 'query',
  2922. 'sentAs' => 'response-content-encoding',
  2923. ],
  2924. 'ResponseContentLanguage' => [
  2925. 'type' => 'string',
  2926. 'location' => 'query',
  2927. 'sentAs' => 'response-content-language',
  2928. ],
  2929. 'ResponseContentType' => [
  2930. 'type' => 'string',
  2931. 'location' => 'query',
  2932. 'sentAs' => 'response-content-type',
  2933. ],
  2934. 'ResponseExpires' => [
  2935. 'type' => 'string',
  2936. 'format' => 'date-time-http',
  2937. 'location' => 'query',
  2938. 'sentAs' => 'response-expires',
  2939. ],
  2940. 'VersionId' => [
  2941. 'type' => 'string',
  2942. 'location' => 'query',
  2943. 'sentAs' => 'versionId',
  2944. ],
  2945. 'SaveAsFile' => [
  2946. 'type' => 'file',
  2947. 'location' => 'response',
  2948. ],
  2949. 'FilePath' => [
  2950. 'type' => 'file',
  2951. 'location' => 'response',
  2952. ],
  2953. 'Origin' => [
  2954. 'type' => 'string',
  2955. 'location' => 'header',
  2956. 'sentAs' => 'Origin',
  2957. ],
  2958. 'RequestHeader' => [
  2959. 'type' => 'string',
  2960. 'location' => 'header',
  2961. 'sentAs' => 'Access-Control-Request-Headers',
  2962. ],
  2963. 'SseC' => [
  2964. 'location' => 'header',
  2965. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  2966. ],
  2967. 'SseCKey' => [
  2968. 'location' => 'header',
  2969. 'sentAs' => 'x-amz-server-side-encryption-customer-key',
  2970. 'type' => 'password',
  2971. ],
  2972. ],
  2973. 'responseParameters' => [
  2974. 'type' => 'object',
  2975. 'properties' => [
  2976. 'Body' => [
  2977. 'type' => 'stream',
  2978. 'location' => 'body',
  2979. ],
  2980. 'DeleteMarker' => [
  2981. 'type' => 'boolean',
  2982. 'location' => 'header',
  2983. 'sentAs' => 'x-amz-delete-marker',
  2984. ],
  2985. 'Expiration' => [
  2986. 'type' => 'string',
  2987. 'location' => 'header',
  2988. 'sentAs' => 'x-amz-expiration',
  2989. ],
  2990. 'LastModified' => [
  2991. 'type' => 'string',
  2992. 'location' => 'header',
  2993. 'sentAs' => 'last-modified',
  2994. ],
  2995. 'ContentLength' => [
  2996. 'type' => 'integer',
  2997. 'location' => 'header',
  2998. 'sentAs' => 'content-length',
  2999. ],
  3000. 'ETag' => [
  3001. 'type' => 'string',
  3002. 'location' => 'header',
  3003. 'sentAs' => 'etag',
  3004. ],
  3005. 'VersionId' => [
  3006. 'type' => 'string',
  3007. 'location' => 'header',
  3008. 'sentAs' => 'x-amz-version-id',
  3009. ],
  3010. 'CacheControl' => [
  3011. 'type' => 'string',
  3012. 'location' => 'header',
  3013. 'sentAs' => 'cache-control',
  3014. ],
  3015. 'ContentDisposition' => [
  3016. 'type' => 'string',
  3017. 'location' => 'header',
  3018. 'sentAs' => 'content-disposition',
  3019. ],
  3020. 'ContentEncoding' => [
  3021. 'type' => 'string',
  3022. 'location' => 'header',
  3023. 'sentAs' => 'content-encoding',
  3024. ],
  3025. 'ContentLanguage' => [
  3026. 'type' => 'string',
  3027. 'location' => 'header',
  3028. 'sentAs' => 'content-language',
  3029. ],
  3030. 'ContentType' => [
  3031. 'type' => 'string',
  3032. 'location' => 'header',
  3033. 'sentAs' => 'content-type',
  3034. ],
  3035. 'Expires' => [
  3036. 'type' => 'string',
  3037. 'location' => 'header',
  3038. ],
  3039. 'WebsiteRedirectLocation' => [
  3040. 'type' => 'string',
  3041. 'location' => 'header',
  3042. 'sentAs' => 'x-amz-website-redirect-location',
  3043. ],
  3044. 'RequestId' => [
  3045. 'location' => 'header',
  3046. 'sentAs' => 'x-amz-request-id',
  3047. ],
  3048. 'StorageClass' => [
  3049. 'location' => 'header',
  3050. 'sentAs' => 'x-amz-storage-class',
  3051. ],
  3052. 'Restore' => [
  3053. 'location' => 'header',
  3054. 'sentAs' => 'x-amz-restore',
  3055. ],
  3056. 'AllowOrigin' => [
  3057. 'location' => 'header',
  3058. 'sentAs' => 'access-control-allow-origin',
  3059. ],
  3060. 'MaxAgeSeconds' => [
  3061. 'location' => 'header',
  3062. 'sentAs' => 'access-control-max-age',
  3063. ],
  3064. 'ExposeHeader' => [
  3065. 'location' => 'header',
  3066. 'sentAs' => 'access-control-expose-headers',
  3067. ],
  3068. 'AllowMethod' => [
  3069. 'location' => 'header',
  3070. 'sentAs' => 'access-control-allow-methods',
  3071. ],
  3072. 'AllowHeader' => [
  3073. 'location' => 'header',
  3074. 'sentAs' => 'access-control-allow-headers',
  3075. ],
  3076. 'SseKms' => [
  3077. 'location' => 'header',
  3078. 'sentAs' => 'x-amz-server-side-encryption',
  3079. ],
  3080. 'SseKmsKey' => [
  3081. 'location' => 'header',
  3082. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  3083. ],
  3084. 'SseC' => [
  3085. 'location' => 'header',
  3086. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3087. ],
  3088. 'SseCKeyMd5' => [
  3089. 'location' => 'header',
  3090. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  3091. ],
  3092. 'Metadata' => [
  3093. 'location' => 'header',
  3094. 'type' => 'object',
  3095. 'sentAs' => 'x-amz-meta-',
  3096. ],
  3097. 'ObjectType' => [
  3098. 'location' => 'header',
  3099. 'type' => 'string',
  3100. 'sentAs' => 'x-amz-object-type',
  3101. ],
  3102. 'AppendPosition' => [
  3103. 'location' => 'header',
  3104. 'type' => 'string',
  3105. 'sentAs' => 'x-amz-next-append-position',
  3106. ],
  3107. 'TaggingCount' => [
  3108. 'location' => 'header',
  3109. 'type' => 'string',
  3110. 'sentAs' => 'x-amz-tagging-count',
  3111. ],
  3112. ],
  3113. ],
  3114. ],
  3115. 'copyObject' => [
  3116. 'httpMethod' => 'PUT',
  3117. 'requestParameters' => [
  3118. 'ACL' => [
  3119. 'type' => 'string',
  3120. 'location' => 'header',
  3121. 'sentAs' => 'x-amz-acl',
  3122. 'transform' => 'aclHeader',
  3123. ],
  3124. 'StorageClass' => [
  3125. 'type' => 'string',
  3126. 'location' => 'header',
  3127. 'sentAs' => 'x-amz-storage-class',
  3128. 'transform' => 'storageClass',
  3129. ],
  3130. 'Bucket' => [
  3131. 'required' => true,
  3132. 'type' => 'string',
  3133. 'location' => 'dns',
  3134. ],
  3135. 'Key' => [
  3136. 'required' => true,
  3137. 'type' => 'string',
  3138. 'location' => 'uri',
  3139. ],
  3140. 'CopySource' => [
  3141. 'required' => true,
  3142. 'type' => 'string',
  3143. 'location' => 'header',
  3144. 'sentAs' => 'x-amz-copy-source',
  3145. ],
  3146. 'CopySourceIfMatch' => [
  3147. 'type' => 'string',
  3148. 'location' => 'header',
  3149. 'sentAs' => 'x-amz-copy-source-if-match',
  3150. ],
  3151. 'CopySourceIfModifiedSince' => [
  3152. 'type' => 'string',
  3153. 'format' => 'date-time-http',
  3154. 'location' => 'header',
  3155. 'sentAs' => 'x-amz-copy-source-if-modified-since',
  3156. ],
  3157. 'CopySourceIfNoneMatch' => [
  3158. 'type' => 'string',
  3159. 'location' => 'header',
  3160. 'sentAs' => 'x-amz-copy-source-if-none-match',
  3161. ],
  3162. 'CopySourceIfUnmodifiedSince' => [
  3163. 'type' => 'string',
  3164. 'format' => 'date-time-http',
  3165. 'location' => 'header',
  3166. 'sentAs' => 'x-amz-copy-source-if-unmodified-since',
  3167. ],
  3168. 'MetadataDirective' => [
  3169. 'type' => 'string',
  3170. 'location' => 'header',
  3171. 'sentAs' => 'x-amz-metadata-directive',
  3172. ],
  3173. 'ContentType' => [
  3174. 'type' => 'string',
  3175. 'location' => 'header',
  3176. 'sentAs' => 'content-type',
  3177. ],
  3178. 'ContentEncoding' => [
  3179. 'type' => 'string',
  3180. 'location' => 'header',
  3181. 'sentAs' => 'content-encoding',
  3182. ],
  3183. 'ContentLanguage' => [
  3184. 'type' => 'string',
  3185. 'location' => 'header',
  3186. 'sentAs' => 'content-language',
  3187. ],
  3188. 'ContentDisposition' => [
  3189. 'type' => 'string',
  3190. 'location' => 'header',
  3191. 'sentAs' => 'content-disposition',
  3192. ],
  3193. 'CacheControl' => [
  3194. 'type' => 'string',
  3195. 'location' => 'header',
  3196. 'sentAs' => 'cache-control',
  3197. ],
  3198. 'Expires' => [
  3199. 'type' => 'string',
  3200. 'location' => 'header',
  3201. 'sentAs' => 'expires',
  3202. ],
  3203. 'Metadata' => [
  3204. 'type' => 'object',
  3205. 'location' => 'header',
  3206. 'sentAs' => 'x-amz-meta-',
  3207. ],
  3208. 'WebsiteRedirectLocation' => [
  3209. 'type' => 'string',
  3210. 'location' => 'header',
  3211. 'sentAs' => 'x-amz-website-redirect-location',
  3212. ],
  3213. 'SseKms' => [
  3214. 'location' => 'header',
  3215. 'sentAs' => 'x-amz-server-side-encryption',
  3216. ],
  3217. 'SseKmsKey' => [
  3218. 'location' => 'header',
  3219. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  3220. ],
  3221. 'SseC' => [
  3222. 'location' => 'header',
  3223. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3224. ],
  3225. 'SseCKey' => [
  3226. 'location' => 'header',
  3227. 'sentAs' => 'x-amz-server-side-encryption-customer-key',
  3228. 'type' => 'password',
  3229. ],
  3230. 'CopySourceSseC' => [
  3231. 'location' => 'header',
  3232. 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-algorithm',
  3233. ],
  3234. 'CopySourceSseCKey' => [
  3235. 'location' => 'header',
  3236. 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key',
  3237. 'type' => 'password',
  3238. ],
  3239. 'Tagging' => [
  3240. 'location' => 'header',
  3241. 'type' => 'string',
  3242. 'sentAs' => 'x-amz-tagging',
  3243. ],
  3244. 'TaggingDirective' => [
  3245. 'location' => 'header',
  3246. 'type' => 'string',
  3247. 'sentAs' => 'x-amz-tagging-directive',
  3248. ],
  3249. ],
  3250. 'responseParameters' => [
  3251. 'type' => 'object',
  3252. 'properties' => [
  3253. 'ETag' => [
  3254. 'type' => 'string',
  3255. 'location' => 'xml',
  3256. ],
  3257. 'LastModified' => [
  3258. 'type' => 'string',
  3259. 'location' => 'xml',
  3260. ],
  3261. 'VersionId' => [
  3262. 'type' => 'string',
  3263. 'location' => 'header',
  3264. 'sentAs' => 'x-amz-version-id',
  3265. ],
  3266. 'CopySourceVersionId' => [
  3267. 'type' => 'string',
  3268. 'location' => 'header',
  3269. 'sentAs' => 'x-amz-copy-source-version-id',
  3270. ],
  3271. 'RequestId' => [
  3272. 'location' => 'header',
  3273. 'sentAs' => 'x-amz-request-id',
  3274. ],
  3275. 'SseKms' => [
  3276. 'location' => 'header',
  3277. 'sentAs' => 'x-amz-server-side-encryption',
  3278. ],
  3279. 'SseKmsKey' => [
  3280. 'location' => 'header',
  3281. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  3282. ],
  3283. 'SseC' => [
  3284. 'location' => 'header',
  3285. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3286. ],
  3287. 'SseCKeyMd5' => [
  3288. 'location' => 'header',
  3289. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  3290. ],
  3291. ],
  3292. ],
  3293. ],
  3294. 'setObjectMetadata' => [
  3295. 'httpMethod' => 'PUT',
  3296. 'specialParam' => 'metadata',
  3297. 'requestParameters' => [
  3298. 'Bucket' => [
  3299. 'required' => true,
  3300. 'type' => 'string',
  3301. 'location' => 'dns',
  3302. ],
  3303. 'Key' => [
  3304. 'required' => true,
  3305. 'type' => 'string',
  3306. 'location' => 'uri',
  3307. ],
  3308. 'VersionId' => [
  3309. 'type' => 'string',
  3310. 'location' => 'query',
  3311. 'sentAs' => 'versionId',
  3312. ],
  3313. 'Origin' => [
  3314. 'type' => 'string',
  3315. 'location' => 'header',
  3316. 'sentAs' => 'Origin',
  3317. ],
  3318. 'RequestHeader' => [
  3319. 'type' => 'string',
  3320. 'location' => 'header',
  3321. 'sentAs' => 'Access-Control-Request-Headers',
  3322. ],
  3323. 'ContentType' => [
  3324. 'type' => 'string',
  3325. 'location' => 'header',
  3326. 'sentAs' => 'content-type',
  3327. ],
  3328. 'ContentEncoding' => [
  3329. 'type' => 'string',
  3330. 'location' => 'header',
  3331. 'sentAs' => 'content-encoding',
  3332. ],
  3333. 'ContentLanguage' => [
  3334. 'type' => 'string',
  3335. 'location' => 'header',
  3336. 'sentAs' => 'content-language',
  3337. ],
  3338. 'ContentDisposition' => [
  3339. 'type' => 'string',
  3340. 'location' => 'header',
  3341. 'sentAs' => 'content-disposition',
  3342. ],
  3343. 'CacheControl' => [
  3344. 'type' => 'string',
  3345. 'location' => 'header',
  3346. 'sentAs' => 'cache-control',
  3347. ],
  3348. 'Expires' => [
  3349. 'type' => 'string',
  3350. 'location' => 'header',
  3351. 'sentAs' => 'expires',
  3352. ],
  3353. 'StorageClass' => [
  3354. 'location' => 'header',
  3355. 'sentAs' => 'x-amz-storage-class',
  3356. ],
  3357. 'Metadata' => [
  3358. 'type' => 'object',
  3359. 'location' => 'header',
  3360. 'sentAs' => 'x-amz-meta-',
  3361. ],
  3362. 'MetadataDirective' => [
  3363. 'required' => true,
  3364. 'type' => 'string',
  3365. 'location' => 'header',
  3366. 'sentAs' => 'x-amz-metadata-directive',
  3367. ],
  3368. 'WebsiteRedirectLocation' => [
  3369. 'type' => 'string',
  3370. 'location' => 'header',
  3371. 'sentAs' => 'x-amz-website-redirect-location',
  3372. ],
  3373. 'Tagging' => [
  3374. 'location' => 'header',
  3375. 'type' => 'string',
  3376. 'sentAs' => 'x-amz-tagging',
  3377. ],
  3378. ],
  3379. 'responseParameters' => [
  3380. 'type' => 'object',
  3381. 'properties' => [
  3382. 'RequestId' => [
  3383. 'location' => 'header',
  3384. 'sentAs' => 'x-amz-request-id',
  3385. ],
  3386. 'ContentType' => [
  3387. 'type' => 'string',
  3388. 'location' => 'header',
  3389. 'sentAs' => 'content-type',
  3390. ],
  3391. 'ContentEncoding' => [
  3392. 'type' => 'string',
  3393. 'location' => 'header',
  3394. 'sentAs' => 'content-encoding',
  3395. ],
  3396. 'ContentLanguage' => [
  3397. 'type' => 'string',
  3398. 'location' => 'header',
  3399. 'sentAs' => 'content-language',
  3400. ],
  3401. 'ContentDisposition' => [
  3402. 'type' => 'string',
  3403. 'location' => 'header',
  3404. 'sentAs' => 'content-disposition',
  3405. ],
  3406. 'CacheControl' => [
  3407. 'type' => 'string',
  3408. 'location' => 'header',
  3409. 'sentAs' => 'cache-control',
  3410. ],
  3411. 'Expires' => [
  3412. 'type' => 'string',
  3413. 'location' => 'header',
  3414. 'sentAs' => 'expires',
  3415. ],
  3416. 'StorageClass' => [
  3417. 'location' => 'header',
  3418. 'sentAs' => 'x-amz-storage-class',
  3419. ],
  3420. 'Metadata' => [
  3421. 'type' => 'object',
  3422. 'location' => 'header',
  3423. 'sentAs' => 'x-amz-meta-',
  3424. ],
  3425. 'WebsiteRedirectLocation' => [
  3426. 'type' => 'string',
  3427. 'location' => 'header',
  3428. 'sentAs' => 'x-amz-website-redirect-location',
  3429. ],
  3430. ],
  3431. ],
  3432. ],
  3433. 'getObjectMetadata' => [
  3434. 'httpMethod' => 'HEAD',
  3435. 'requestParameters' => [
  3436. 'Bucket' => [
  3437. 'required' => true,
  3438. 'type' => 'string',
  3439. 'location' => 'dns',
  3440. ],
  3441. 'Key' => [
  3442. 'required' => true,
  3443. 'type' => 'string',
  3444. 'location' => 'uri',
  3445. ],
  3446. 'VersionId' => [
  3447. 'type' => 'string',
  3448. 'location' => 'query',
  3449. 'sentAs' => 'versionId',
  3450. ],
  3451. 'Origin' => [
  3452. 'type' => 'string',
  3453. 'location' => 'header',
  3454. 'sentAs' => 'Origin',
  3455. ],
  3456. 'RequestHeader' => [
  3457. 'type' => 'string',
  3458. 'location' => 'header',
  3459. 'sentAs' => 'Access-Control-Request-Headers',
  3460. ],
  3461. 'SseC' => [
  3462. 'location' => 'header',
  3463. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3464. ],
  3465. 'SseCKey' => [
  3466. 'location' => 'header',
  3467. 'sentAs' => 'x-amz-server-side-encryption-customer-key',
  3468. 'type' => 'password',
  3469. ],
  3470. ],
  3471. 'responseParameters' => [
  3472. 'type' => 'object',
  3473. 'properties' => [
  3474. 'Expiration' => [
  3475. 'type' => 'string',
  3476. 'location' => 'header',
  3477. 'sentAs' => 'x-amz-expiration',
  3478. ],
  3479. 'LastModified' => [
  3480. 'type' => 'string',
  3481. 'location' => 'header',
  3482. 'sentAs' => 'last-modified',
  3483. ],
  3484. 'ContentLength' => [
  3485. 'type' => 'integer',
  3486. 'location' => 'header',
  3487. 'sentAs' => 'content-length',
  3488. ],
  3489. 'ContentType' => [
  3490. 'type' => 'string',
  3491. 'location' => 'header',
  3492. 'sentAs' => 'content-type',
  3493. ],
  3494. 'ETag' => [
  3495. 'type' => 'string',
  3496. 'location' => 'header',
  3497. ],
  3498. 'VersionId' => [
  3499. 'type' => 'string',
  3500. 'location' => 'header',
  3501. 'sentAs' => 'x-amz-version-id',
  3502. ],
  3503. 'WebsiteRedirectLocation' => [
  3504. 'type' => 'string',
  3505. 'location' => 'header',
  3506. 'sentAs' => 'x-amz-website-redirect-location',
  3507. ],
  3508. 'RequestId' => [
  3509. 'location' => 'header',
  3510. 'sentAs' => 'x-amz-request-id',
  3511. ],
  3512. 'StorageClass' => [
  3513. 'location' => 'header',
  3514. 'sentAs' => 'x-amz-storage-class',
  3515. ],
  3516. 'AllowOrigin' => [
  3517. 'location' => 'header',
  3518. 'sentAs' => 'access-control-allow-origin',
  3519. ],
  3520. 'MaxAgeSeconds' => [
  3521. 'type' => 'integer',
  3522. 'location' => 'header',
  3523. 'sentAs' => 'access-control-max-age',
  3524. ],
  3525. 'ExposeHeader' => [
  3526. 'location' => 'header',
  3527. 'sentAs' => 'access-control-expose-headers',
  3528. ],
  3529. 'AllowMethod' => [
  3530. 'location' => 'header',
  3531. 'sentAs' => 'access-control-allow-methods',
  3532. ],
  3533. 'AllowHeader' => [
  3534. 'location' => 'header',
  3535. 'sentAs' => 'access-control-allow-headers',
  3536. ],
  3537. 'Restore' => [
  3538. 'location' => 'header',
  3539. 'sentAs' => 'x-amz-restore',
  3540. ],
  3541. 'SseKms' => [
  3542. 'location' => 'header',
  3543. 'sentAs' => 'x-amz-server-side-encryption',
  3544. ],
  3545. 'SseKmsKey' => [
  3546. 'location' => 'header',
  3547. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  3548. ],
  3549. 'SseC' => [
  3550. 'location' => 'header',
  3551. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3552. ],
  3553. 'SseCKeyMd5' => [
  3554. 'location' => 'header',
  3555. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  3556. ],
  3557. 'Metadata' => [
  3558. 'location' => 'header',
  3559. 'type' => 'object',
  3560. 'sentAs' => 'x-amz-meta-',
  3561. ],
  3562. 'TaggingCount' => [
  3563. 'location' => 'header',
  3564. 'type' => 'string',
  3565. 'sentAs' => 'x-amz-tagging-count',
  3566. ],
  3567. ],
  3568. ],
  3569. ],
  3570. 'initiateMultipartUpload' => [
  3571. 'httpMethod' => 'POST',
  3572. 'specialParam' => 'uploads',
  3573. 'requestParameters' => [
  3574. 'ACL' => [
  3575. 'type' => 'string',
  3576. 'location' => 'header',
  3577. 'sentAs' => 'x-amz-acl',
  3578. 'transform' => 'aclHeader',
  3579. ],
  3580. 'StorageClass' => [
  3581. 'type' => 'string',
  3582. 'location' => 'header',
  3583. 'sentAs' => 'x-amz-storage-class',
  3584. 'transform' => 'storageClass',
  3585. ],
  3586. 'Bucket' => [
  3587. 'required' => true,
  3588. 'type' => 'string',
  3589. 'location' => 'dns',
  3590. ],
  3591. 'ContentType' => [
  3592. 'type' => 'string',
  3593. 'location' => 'header',
  3594. 'sentAs' => 'Content-Type',
  3595. ],
  3596. 'Key' => [
  3597. 'required' => true,
  3598. 'type' => 'string',
  3599. 'location' => 'uri',
  3600. ],
  3601. 'Metadata' => [
  3602. 'type' => 'object',
  3603. 'location' => 'header',
  3604. 'sentAs' => 'x-amz-meta-',
  3605. ],
  3606. 'WebsiteRedirectLocation' => [
  3607. 'type' => 'string',
  3608. 'location' => 'header',
  3609. 'sentAs' => 'x-amz-website-redirect-location',
  3610. ],
  3611. 'SseKms' => [
  3612. 'location' => 'header',
  3613. 'sentAs' => 'x-amz-server-side-encryption',
  3614. ],
  3615. 'SseKmsKey' => [
  3616. 'location' => 'header',
  3617. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  3618. ],
  3619. 'SseC' => [
  3620. 'location' => 'header',
  3621. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3622. ],
  3623. 'SseCKey' => [
  3624. 'location' => 'header',
  3625. 'sentAs' => 'x-amz-server-side-encryption-customer-key',
  3626. 'type' => 'password',
  3627. ],
  3628. 'Expires' => [
  3629. 'location' => 'header',
  3630. 'type' => 'string',
  3631. 'sentAs' => 'x-amz-expires',
  3632. ],
  3633. 'Tagging' => [
  3634. 'location' => 'header',
  3635. 'type' => 'string',
  3636. 'sentAs' => 'x-amz-tagging',
  3637. ],
  3638. ],
  3639. 'responseParameters' => [
  3640. 'type' => 'object',
  3641. 'properties' => [
  3642. 'Bucket' => [
  3643. 'type' => 'string',
  3644. 'location' => 'xml',
  3645. 'sentAs' => 'Bucket',
  3646. ],
  3647. 'Key' => [
  3648. 'type' => 'string',
  3649. 'location' => 'xml',
  3650. ],
  3651. 'UploadId' => [
  3652. 'type' => 'string',
  3653. 'location' => 'xml',
  3654. ],
  3655. 'RequestId' => [
  3656. 'location' => 'header',
  3657. 'sentAs' => 'x-amz-request-id',
  3658. ],
  3659. 'SseKms' => [
  3660. 'location' => 'header',
  3661. 'sentAs' => 'x-amz-server-side-encryption',
  3662. ],
  3663. 'SseKmsKey' => [
  3664. 'location' => 'header',
  3665. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  3666. ],
  3667. 'SseC' => [
  3668. 'location' => 'header',
  3669. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3670. ],
  3671. 'SseCKeyMd5' => [
  3672. 'location' => 'header',
  3673. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  3674. ],
  3675. ],
  3676. ],
  3677. ],
  3678. 'listMultipartUploads' => [
  3679. 'httpMethod' => 'GET',
  3680. 'specialParam' => 'uploads',
  3681. 'requestParameters' => [
  3682. 'Bucket' => [
  3683. 'required' => true,
  3684. 'type' => 'string',
  3685. 'location' => 'dns',
  3686. ],
  3687. 'Delimiter' => [
  3688. 'type' => 'string',
  3689. 'location' => 'query',
  3690. 'sentAs' => 'delimiter',
  3691. ],
  3692. 'KeyMarker' => [
  3693. 'type' => 'string',
  3694. 'location' => 'query',
  3695. 'sentAs' => 'key-marker',
  3696. ],
  3697. 'MaxUploads' => [
  3698. 'type' => 'numeric',
  3699. 'location' => 'query',
  3700. 'sentAs' => 'max-uploads',
  3701. ],
  3702. 'Prefix' => [
  3703. 'type' => 'string',
  3704. 'location' => 'query',
  3705. 'sentAs' => 'prefix',
  3706. ],
  3707. 'UploadIdMarker' => [
  3708. 'type' => 'string',
  3709. 'location' => 'query',
  3710. 'sentAs' => 'upload-id-marker',
  3711. ],
  3712. ],
  3713. 'responseParameters' => [
  3714. 'type' => 'object',
  3715. 'properties' => [
  3716. 'Bucket' => [
  3717. 'type' => 'string',
  3718. 'location' => 'xml',
  3719. ],
  3720. 'KeyMarker' => [
  3721. 'type' => 'string',
  3722. 'location' => 'xml',
  3723. ],
  3724. 'UploadIdMarker' => [
  3725. 'type' => 'string',
  3726. 'location' => 'xml',
  3727. ],
  3728. 'NextKeyMarker' => [
  3729. 'type' => 'string',
  3730. 'location' => 'xml',
  3731. ],
  3732. 'Prefix' => [
  3733. 'type' => 'string',
  3734. 'location' => 'xml',
  3735. ],
  3736. 'Delimiter' => [
  3737. 'type' => 'string',
  3738. 'location' => 'xml',
  3739. ],
  3740. 'NextUploadIdMarker' => [
  3741. 'type' => 'string',
  3742. 'location' => 'xml',
  3743. ],
  3744. 'MaxUploads' => [
  3745. 'type' => 'numeric',
  3746. 'location' => 'xml',
  3747. ],
  3748. 'IsTruncated' => [
  3749. 'type' => 'boolean',
  3750. 'location' => 'xml',
  3751. ],
  3752. 'Uploads' => [
  3753. 'type' => 'array',
  3754. 'location' => 'xml',
  3755. 'sentAs' => 'Upload',
  3756. 'data' => [
  3757. 'xmlFlattened' => true,
  3758. ],
  3759. 'items' => [
  3760. 'name' => 'MultipartUpload',
  3761. 'type' => 'object',
  3762. 'sentAs' => 'Upload',
  3763. 'properties' => [
  3764. 'UploadId' => [
  3765. 'type' => 'string',
  3766. ],
  3767. 'Key' => [
  3768. 'type' => 'string',
  3769. ],
  3770. 'Initiated' => [
  3771. 'type' => 'string',
  3772. ],
  3773. 'StorageClass' => [
  3774. 'type' => 'string',
  3775. ],
  3776. 'Owner' => [
  3777. 'type' => 'object',
  3778. 'properties' => [
  3779. 'DisplayName' => [
  3780. 'type' => 'string',
  3781. ],
  3782. 'ID' => [
  3783. 'type' => 'string',
  3784. ],
  3785. ],
  3786. ],
  3787. 'Initiator' => [
  3788. 'type' => 'object',
  3789. 'properties' => [
  3790. 'ID' => [
  3791. 'type' => 'string',
  3792. ],
  3793. 'DisplayName' => [
  3794. 'type' => 'string',
  3795. ],
  3796. ],
  3797. ],
  3798. ],
  3799. ],
  3800. ],
  3801. 'CommonPrefixes' => [
  3802. 'type' => 'array',
  3803. 'location' => 'xml',
  3804. 'data' => [
  3805. 'xmlFlattened' => true,
  3806. ],
  3807. 'items' => [
  3808. 'name' => 'CommonPrefix',
  3809. 'type' => 'object',
  3810. 'properties' => [
  3811. 'Prefix' => [
  3812. 'type' => 'string',
  3813. ],
  3814. ],
  3815. ],
  3816. ],
  3817. 'RequestId' => [
  3818. 'location' => 'header',
  3819. 'sentAs' => 'x-amz-request-id',
  3820. ],
  3821. ],
  3822. ],
  3823. ],
  3824. 'abortMultipartUpload' => [
  3825. 'httpMethod' => 'DELETE',
  3826. 'requestParameters' => [
  3827. 'Bucket' => [
  3828. 'required' => true,
  3829. 'type' => 'string',
  3830. 'location' => 'dns',
  3831. ],
  3832. 'Key' => [
  3833. 'required' => true,
  3834. 'type' => 'string',
  3835. 'location' => 'uri',
  3836. ],
  3837. 'UploadId' => [
  3838. 'required' => true,
  3839. 'type' => 'string',
  3840. 'location' => 'query',
  3841. 'sentAs' => 'uploadId',
  3842. ],
  3843. ],
  3844. 'responseParameters' => [
  3845. 'type' => 'object',
  3846. 'properties' => [
  3847. 'RequestId' => [
  3848. 'location' => 'header',
  3849. 'sentAs' => 'x-amz-request-id',
  3850. ],
  3851. ],
  3852. ],
  3853. ],
  3854. 'uploadPart' => [
  3855. 'httpMethod' => 'PUT',
  3856. 'requestParameters' => [
  3857. 'Body' => [
  3858. 'type' => 'stream',
  3859. 'location' => 'body',
  3860. ],
  3861. 'SourceFile' => [
  3862. 'type' => 'file',
  3863. 'location' => 'body',
  3864. ],
  3865. 'Bucket' => [
  3866. 'required' => true,
  3867. 'type' => 'string',
  3868. 'location' => 'dns',
  3869. ],
  3870. 'Key' => [
  3871. 'required' => true,
  3872. 'type' => 'string',
  3873. 'location' => 'uri',
  3874. ],
  3875. 'PartNumber' => [
  3876. 'required' => true,
  3877. 'type' => 'numeric',
  3878. 'location' => 'query',
  3879. 'sentAs' => 'partNumber',
  3880. ],
  3881. 'UploadId' => [
  3882. 'required' => true,
  3883. 'type' => 'string',
  3884. 'location' => 'query',
  3885. 'sentAs' => 'uploadId',
  3886. ],
  3887. 'Offset' => [
  3888. 'type' => 'numeric',
  3889. 'location' => 'response',
  3890. ],
  3891. 'PartSize' => [
  3892. 'type' => 'numeric',
  3893. 'location' => 'response',
  3894. ],
  3895. 'ContentMD5' => [
  3896. 'type' => 'string',
  3897. 'location' => 'header',
  3898. 'sentAs' => 'Content-MD5',
  3899. ],
  3900. 'ContentType' => [
  3901. 'type' => 'string',
  3902. 'location' => 'header',
  3903. 'sentAs' => 'Content-Type',
  3904. ],
  3905. 'SseC' => [
  3906. 'location' => 'header',
  3907. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3908. ],
  3909. 'SseCKey' => [
  3910. 'location' => 'header',
  3911. 'sentAs' => 'x-amz-server-side-encryption-customer-key',
  3912. 'type' => 'password',
  3913. ],
  3914. ],
  3915. 'responseParameters' => [
  3916. 'type' => 'object',
  3917. 'properties' => [
  3918. 'ETag' => [
  3919. 'type' => 'string',
  3920. 'location' => 'header',
  3921. ],
  3922. 'RequestId' => [
  3923. 'location' => 'header',
  3924. 'sentAs' => 'x-amz-request-id',
  3925. ],
  3926. 'SseKms' => [
  3927. 'location' => 'header',
  3928. 'sentAs' => 'x-amz-server-side-encryption',
  3929. ],
  3930. 'SseKmsKey' => [
  3931. 'location' => 'header',
  3932. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  3933. ],
  3934. 'SseC' => [
  3935. 'location' => 'header',
  3936. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  3937. ],
  3938. 'SseCKeyMd5' => [
  3939. 'location' => 'header',
  3940. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  3941. ],
  3942. ],
  3943. ],
  3944. ],
  3945. 'completeMultipartUpload' => [
  3946. 'httpMethod' => 'POST',
  3947. 'data' => [
  3948. 'xmlRoot' => [
  3949. 'name' => 'CompleteMultipartUpload',
  3950. ],
  3951. ],
  3952. 'requestParameters' => [
  3953. 'Bucket' => [
  3954. 'required' => true,
  3955. 'type' => 'string',
  3956. 'location' => 'dns',
  3957. ],
  3958. 'Key' => [
  3959. 'required' => true,
  3960. 'type' => 'string',
  3961. 'location' => 'uri',
  3962. ],
  3963. 'Parts' => [
  3964. 'type' => 'array',
  3965. 'location' => 'xml',
  3966. 'data' => [
  3967. 'xmlFlattened' => true,
  3968. ],
  3969. 'items' => [
  3970. 'name' => 'CompletedPart',
  3971. 'type' => 'object',
  3972. 'sentAs' => 'Part',
  3973. 'properties' => [
  3974. 'PartNumber' => [
  3975. 'type' => 'numeric',
  3976. ],
  3977. 'ETag' => [
  3978. 'type' => 'string',
  3979. ],
  3980. ],
  3981. ],
  3982. ],
  3983. 'UploadId' => [
  3984. 'required' => true,
  3985. 'type' => 'string',
  3986. 'location' => 'query',
  3987. 'sentAs' => 'uploadId',
  3988. ],
  3989. 'Callback' => [
  3990. 'type' => 'string',
  3991. 'location' => 'header',
  3992. 'sentAs' => 'x-amz-callback',
  3993. ],
  3994. ],
  3995. 'responseParameters' => [
  3996. 'type' => 'object',
  3997. 'properties' => [
  3998. 'Location' => [
  3999. 'type' => 'string',
  4000. 'location' => 'xml',
  4001. ],
  4002. 'Bucket' => [
  4003. 'type' => 'string',
  4004. 'location' => 'xml',
  4005. ],
  4006. 'Key' => [
  4007. 'type' => 'string',
  4008. 'location' => 'xml',
  4009. ],
  4010. 'Location' => [
  4011. 'type' => 'string',
  4012. 'location' => 'xml',
  4013. ],
  4014. 'ETag' => [
  4015. 'type' => 'string',
  4016. 'location' => 'xml',
  4017. ],
  4018. 'VersionId' => [
  4019. 'type' => 'string',
  4020. 'location' => 'header',
  4021. 'sentAs' => 'x-amz-version-id',
  4022. ],
  4023. 'RequestId' => [
  4024. 'location' => 'header',
  4025. 'sentAs' => 'x-amz-request-id',
  4026. ],
  4027. 'SseKms' => [
  4028. 'location' => 'header',
  4029. 'sentAs' => 'x-amz-server-side-encryption',
  4030. ],
  4031. 'SseKmsKey' => [
  4032. 'location' => 'header',
  4033. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  4034. ],
  4035. 'SseC' => [
  4036. 'location' => 'header',
  4037. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  4038. ],
  4039. 'SseCKeyMd5' => [
  4040. 'location' => 'header',
  4041. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  4042. ],
  4043. ],
  4044. ],
  4045. ],
  4046. 'listParts' => [
  4047. 'httpMethod' => 'GET',
  4048. 'requestParameters' => [
  4049. 'Bucket' => [
  4050. 'required' => true,
  4051. 'type' => 'string',
  4052. 'location' => 'dns',
  4053. ],
  4054. 'Key' => [
  4055. 'required' => true,
  4056. 'type' => 'string',
  4057. 'location' => 'uri',
  4058. ],
  4059. 'MaxParts' => [
  4060. 'type' => 'numeric',
  4061. 'location' => 'query',
  4062. 'sentAs' => 'max-parts',
  4063. ],
  4064. 'PartNumberMarker' => [
  4065. 'type' => 'numeric',
  4066. 'location' => 'query',
  4067. 'sentAs' => 'part-number-marker',
  4068. ],
  4069. 'UploadId' => [
  4070. 'required' => true,
  4071. 'type' => 'string',
  4072. 'location' => 'query',
  4073. 'sentAs' => 'uploadId',
  4074. ],
  4075. ],
  4076. 'responseParameters' => [
  4077. 'type' => 'object',
  4078. 'properties' => [
  4079. 'Bucket' => [
  4080. 'type' => 'string',
  4081. 'location' => 'xml',
  4082. ],
  4083. 'Key' => [
  4084. 'type' => 'string',
  4085. 'location' => 'xml',
  4086. ],
  4087. 'UploadId' => [
  4088. 'type' => 'string',
  4089. 'location' => 'xml',
  4090. ],
  4091. 'PartNumberMarker' => [
  4092. 'type' => 'numeric',
  4093. 'location' => 'xml',
  4094. ],
  4095. 'NextPartNumberMarker' => [
  4096. 'type' => 'numeric',
  4097. 'location' => 'xml',
  4098. ],
  4099. 'MaxParts' => [
  4100. 'type' => 'numeric',
  4101. 'location' => 'xml',
  4102. ],
  4103. 'IsTruncated' => [
  4104. 'type' => 'boolean',
  4105. 'location' => 'xml',
  4106. ],
  4107. 'Parts' => [
  4108. 'type' => 'array',
  4109. 'location' => 'xml',
  4110. 'sentAs' => 'Part',
  4111. 'data' => [
  4112. 'xmlFlattened' => true,
  4113. ],
  4114. 'items' => [
  4115. 'name' => 'Part',
  4116. 'type' => 'object',
  4117. 'sentAs' => 'Part',
  4118. 'properties' => [
  4119. 'PartNumber' => [
  4120. 'type' => 'integer',
  4121. ],
  4122. 'LastModified' => [
  4123. 'type' => 'string',
  4124. ],
  4125. 'ETag' => [
  4126. 'type' => 'string',
  4127. ],
  4128. 'Size' => [
  4129. 'type' => 'integer',
  4130. ],
  4131. ],
  4132. ],
  4133. ],
  4134. 'Initiator' => [
  4135. 'type' => 'object',
  4136. 'location' => 'xml',
  4137. 'properties' => [
  4138. 'ID' => [
  4139. 'type' => 'string',
  4140. ],
  4141. 'DisplayName' => [
  4142. 'type' => 'string',
  4143. ],
  4144. ],
  4145. ],
  4146. 'Owner' => [
  4147. 'type' => 'object',
  4148. 'location' => 'xml',
  4149. 'properties' => [
  4150. 'DisplayName' => [
  4151. 'type' => 'string',
  4152. ],
  4153. 'ID' => [
  4154. 'type' => 'string',
  4155. ],
  4156. ],
  4157. ],
  4158. 'StorageClass' => [
  4159. 'type' => 'string',
  4160. 'location' => 'xml',
  4161. ],
  4162. 'RequestId' => [
  4163. 'location' => 'header',
  4164. 'sentAs' => 'x-amz-request-id',
  4165. ],
  4166. ],
  4167. ],
  4168. ],
  4169. 'copyPart' => [
  4170. 'httpMethod' => 'PUT',
  4171. 'requestParameters' => [
  4172. 'Bucket' => [
  4173. 'required' => true,
  4174. 'type' => 'string',
  4175. 'location' => 'dns',
  4176. ],
  4177. 'CopySource' => [
  4178. 'required' => true,
  4179. 'type' => 'string',
  4180. 'location' => 'header',
  4181. 'sentAs' => 'x-amz-copy-source',
  4182. ],
  4183. 'CopySourceRange' => [
  4184. 'type' => 'string',
  4185. 'location' => 'header',
  4186. 'sentAs' => 'x-amz-copy-source-range',
  4187. ],
  4188. 'Key' => [
  4189. 'required' => true,
  4190. 'type' => 'string',
  4191. 'location' => 'uri',
  4192. ],
  4193. 'PartNumber' => [
  4194. 'required' => true,
  4195. 'type' => 'numeric',
  4196. 'location' => 'query',
  4197. 'sentAs' => 'partNumber',
  4198. ],
  4199. 'UploadId' => [
  4200. 'required' => true,
  4201. 'type' => 'string',
  4202. 'location' => 'query',
  4203. 'sentAs' => 'uploadId',
  4204. ],
  4205. 'SseC' => [
  4206. 'location' => 'header',
  4207. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  4208. ],
  4209. 'SseCKey' => [
  4210. 'location' => 'header',
  4211. 'sentAs' => 'x-amz-server-side-encryption-customer-key',
  4212. 'type' => 'password',
  4213. ],
  4214. 'CopySourceSseC' => [
  4215. 'location' => 'header',
  4216. 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-algorithm',
  4217. ],
  4218. 'CopySourceSseCKey' => [
  4219. 'location' => 'header',
  4220. 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key',
  4221. 'type' => 'password',
  4222. ],
  4223. ],
  4224. 'responseParameters' => [
  4225. 'type' => 'object',
  4226. 'properties' => [
  4227. 'ETag' => [
  4228. 'type' => 'string',
  4229. 'location' => 'xml',
  4230. ],
  4231. 'LastModified' => [
  4232. 'type' => 'string',
  4233. 'location' => 'xml',
  4234. ],
  4235. 'RequestId' => [
  4236. 'location' => 'header',
  4237. 'sentAs' => 'x-amz-request-id',
  4238. ],
  4239. 'SseKms' => [
  4240. 'location' => 'header',
  4241. 'sentAs' => 'x-amz-server-side-encryption',
  4242. ],
  4243. 'SseKmsKey' => [
  4244. 'location' => 'header',
  4245. 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id',
  4246. ],
  4247. 'SseC' => [
  4248. 'location' => 'header',
  4249. 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm',
  4250. ],
  4251. 'SseCKeyMd5' => [
  4252. 'location' => 'header',
  4253. 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5',
  4254. ],
  4255. ],
  4256. ],
  4257. ],
  4258. 'setBucketCustomDomain' => [
  4259. 'httpMethod' => 'PUT',
  4260. 'requestParameters' => [
  4261. 'Bucket' => [
  4262. 'required' => true,
  4263. 'type' => 'string',
  4264. 'location' => 'dns',
  4265. ],
  4266. 'DomainName' => [
  4267. 'required' => true,
  4268. 'type' => 'string',
  4269. 'location' => 'query',
  4270. 'sentAs' => 'customdomain',
  4271. ],
  4272. ],
  4273. 'responseParameters' => [
  4274. 'RequestId' => [
  4275. 'location' => 'header',
  4276. 'sentAs' => 'x-amz-request-id',
  4277. ],
  4278. ],
  4279. ],
  4280. 'getBucketCustomDomain' => [
  4281. 'httpMethod' => 'GET',
  4282. 'specialParam' => 'customdomain',
  4283. 'requestParameters' => [
  4284. 'Bucket' => [
  4285. 'required' => true,
  4286. 'type' => 'string',
  4287. 'location' => 'dns',
  4288. ],
  4289. ],
  4290. 'responseParameters' => [
  4291. 'type' => 'object',
  4292. 'properties' => [
  4293. 'RequestId' => [
  4294. 'location' => 'header',
  4295. 'sentAs' => 'x-amz-request-id',
  4296. ],
  4297. 'Domains' => [
  4298. 'type' => 'array',
  4299. 'location' => 'xml',
  4300. 'sentAs' => 'Domains',
  4301. 'data' => [
  4302. 'xmlFlattened' => true,
  4303. ],
  4304. 'items' => [
  4305. 'type' => 'object',
  4306. 'properties' => [
  4307. 'DomainName' => [
  4308. 'type' => 'string',
  4309. 'location' => 'xml',
  4310. 'sentAs' => 'DomainName',
  4311. ],
  4312. 'CreateTime' => [
  4313. 'type' => 'string',
  4314. 'location' => 'xml',
  4315. 'sentAs' => 'CreateTime',
  4316. ],
  4317. ],
  4318. ],
  4319. ],
  4320. ],
  4321. ],
  4322. ],
  4323. 'deleteBucketCustomDomain' => [
  4324. 'httpMethod' => 'DELETE',
  4325. 'requestParameters' => [
  4326. 'Bucket' => [
  4327. 'required' => true,
  4328. 'type' => 'string',
  4329. 'location' => 'dns',
  4330. ],
  4331. 'DomainName' => [
  4332. 'required' => true,
  4333. 'type' => 'string',
  4334. 'location' => 'query',
  4335. 'sentAs' => 'customdomain',
  4336. ],
  4337. ],
  4338. 'responseParameters' => [
  4339. 'RequestId' => [
  4340. 'location' => 'header',
  4341. 'sentAs' => 'x-amz-request-id',
  4342. ],
  4343. ],
  4344. ],
  4345. ],
  4346. 'aliases' => [
  4347. 'headBucket' => 'getBucketMetadata',
  4348. 'getBucketLogging' => 'getBucketLoggingConfiguration',
  4349. 'setBucketLogging' => 'setBucketLoggingConfiguration',
  4350. 'getBucketVersioning' => 'getBucketVersioningConfiguration',
  4351. 'setBucketVersioning' => 'setBucketVersioningConfiguration',
  4352. 'setBucketWebsite' => 'setBucketWebsiteConfiguration',
  4353. 'getBucketWebsite' => 'getBucketWebsiteConfiguration',
  4354. 'deleteBucketWebsite' => 'deleteBucketWebsiteConfiguration',
  4355. 'setBucketLifecycle' => 'setBucketLifecycleConfiguration',
  4356. 'getBucketLifecycle' => 'getBucketLifecycleConfiguration',
  4357. 'deleteBucketLifecycle' => 'deleteBucketLifecycleConfiguration',
  4358. ],
  4359. ];
  4360. }