diff --git a/bower.json b/bower.json index 81ae3854..92039919 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "aliyun-sdk-js", "main": "dist/aliyun-sdk.js", - "version": "1.5.9", + "version": "1.5.10", "homepage": "https://github.com/aliyun-UED/aliyun-sdk-js", "authors": [ "chylvina@gmail.com" diff --git a/dist/aliyun-sdk.js b/dist/aliyun-sdk.js index dc10dfd1..7b72b3d0 100644 --- a/dist/aliyun-sdk.js +++ b/dist/aliyun-sdk.js @@ -16663,7 +16663,371 @@ function hasOwnProperty(obj, prop) { } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./support/isBuffer":106,"_process":85,"inherits":83}],"oss-2013-10-15.json":[function(require,module,exports){ +},{"./support/isBuffer":106,"_process":85,"inherits":83}],"batchcompute-2015-06-30.json":[function(require,module,exports){ +module.exports={ + "format": "rest-json", + "apiVersion": "2015-06-30", + "checksumFormat": "md5", + "endpointPrefix": "batchcompute", + "serviceAbbreviation": "Aliyun BatchCompute", + "serviceFullName": "Aliyun Batch Computing Service", + "signatureVersion": "batchcompute", + "timestampFormat": "rfc822", + "xmlnamespace": "", + "operations": { + "createJob": { + "name": "CreateJob", + "http": { + "method": "POST", + "uri": "/jobs" + }, + "input": { + "payload": ["JobName", "JobTag", "Priority", "Description", "TaskDag"], + "members": { + "JobName":{ + "type": "string", + "required": true + }, + "JobTag": { + "required": true, + "type": "string" + }, + "Priority": { + "required": true, + "type": "integer" + }, + "Description": { + "required": false, + "type": "String" + }, + "TaskDag": { + "required":true, + "type": "structure", + "members": { + "TaskDescMap": { + "required":true, + "type": "map", + "members": { + "type": "structure", + "members": { + "InstanceCount": { + "required": true, + "type": "integer" + }, + "Timeout": { + "required": true, + "type": "integer" + }, + "ImageId": { + "required": true, + "type": "string" + }, + "OssMappingLock": { + "required": false, + "type": "boolean" + }, + "OssMappingLocale": { + "required": false, + "type": "string" + }, + "OssMapping": { + "required": false, + "type": "map", + "members":{ + "type":"string" + } + }, + "PackageUri": { + "required": true + }, + "ProgramName": { + "required": true + }, + "ProgramType": { + "required": true + }, + "ProgramArguments": { + "required": false + }, + "EnvironmentVariables": { + "required": false, + "type": "map", + "members":{ + "type":"string" + } + }, + "StdoutRedirectPath": { + "required": false + }, + "StderrRedirectPath": { + "required": false + }, + "ResourceDescription": { + "type": "structure", + "required": true, + "members": { + "Cpu": { + "type": "integer", + "required": true + }, + "Memory": { + "type": "integer", + "required": true + } + } + } + } + } + }, + "Dependencies": { + "type": "map", + "required": false, + "members": { + "type": "list" + } + } + } + } + } + }, + "output": { + "type": "structure", + "members": { + "JobId": { + "type": "string", + "name": "ResourceId" + }, + "RequestId": { + "location": "header", + "name": "Request-Id" + } + } + } + }, + "listJobs": { + "name": "ListJobs", + "http": { + "method": "GET", + "uri": "/jobs" + }, + "input": { + "type": "structure", + "members": { + } + }, + "output": { + "type": "structure", + "members": { + } + } + }, + "getJob": { + "name": "GetJob", + "http": { + "method": "GET", + "uri": "/jobs/{jobId}" + }, + "input": { + "type": "structure", + "members": { + "jobId": { + "type": "string", + "required": true, + "location": "uri" + } + } + }, + "output": { + "type": "structure", + "members": { + "requestId": { + "type": "string", + "location": "header", + "name":"request-id" + } + } + } + }, + "getJobDescription": { + "name": "GetJobDescription", + "http": { + "method": "GET", + "uri": "/jobs/{jobId}/description" + }, + "input": { + "type": "structure", + "members": { + "jobId": { + "type": "string", + "required": true, + "location": "uri" + } + } + }, + "output": { + "type": "structure", + "members": { + + } + } + }, + "listTasks": { + "name":"ListTasks", + "http": { + "method": "GET", + "uri": "/jobs/{jobId}/tasks" + }, + "input": { + "members":{ + "jobId":{ + "type":"string", + "required":true, + "location":"uri" + } + } + + }, + "output": { + "type": "structure", + "members":{ + "requestId": { + "type": "string", + "location": "header", + "name":"request-id" + } + } + } + }, + "listImages": { + "name":"ListImages", + "http": { + "method": "GET", + "uri": "/images" + }, + "input": { + + }, + "output": { + "type": "structure", + "members":{ + "requestId": { + "type": "string", + "location": "header", + "name":"request-id" + } + } + } + }, + "updateJobPriority": { + "name": "UpdateJobPriority", + "http": { + "method": "PUT", + "uri": "/jobs/{jobId}/Priority" + }, + "input": { + "payload": ["priority"], + "members":{ + "jobId":{ + "type":"string", + "required":true, + "location":"uri" + }, + "priority":{ + "type":"integer", + "required":true + } + } + }, + "output": { + "payload":"none", + "members":{ + "none": { + "required": false + } + } + } + }, + + "stopJob": { + "name": "StopJob", + "http": { + "method": "PUT", + "uri": "/jobs/{jobId}?Action=Stop" + }, + "input": { + "members":{ + "jobId":{ + "type":"string", + "required":true, + "location":"uri" + } + } + }, + "output": { + "payload":"none", + "members":{ + "none": { + "required": false + } + } + } + }, + "startJob": { + "name": "StartJob", + "http": { + "method": "PUT", + "uri": "/jobs/{jobId}?Action=Start" + }, + "input": { + "members":{ + "jobId":{ + "type":"string", + "required":true, + "location":"uri" + } + } + }, + "output": { + "payload":"none", + "members":{ + "none": { + "required": false + } + } + } + }, + "deleteJob": { + "name": "DeleteJob", + "http": { + "method": "DELETE", + "uri": "/jobs/{jobId}" + }, + "input": { + "members":{ + "jobId":{ + "type":"string", + "required":true, + "location":"uri" + } + } + }, + "output": { + "payload":"none", + "members":{ + "none": { + "required": false + } + } + } + } + + }, + "pagination": { + + } +} + +},{}],"oss-2013-10-15.json":[function(require,module,exports){ module.exports={ "format": "rest-xml", "apiVersion": "2013-10-15", diff --git a/dist/aliyun-sdk.min.js b/dist/aliyun-sdk.min.js index 6e4ace30..0895f2a8 100644 --- a/dist/aliyun-sdk.min.js +++ b/dist/aliyun-sdk.min.js @@ -7,5 +7,5 @@ var indent,newline,offset,pretty,r,space,_ref,_ref1,_ref2;pretty=(options!=null? };case 3:return function(value,index,collection){return func.call(thisArg,value,index,collection)};case 4:return function(accumulator,value,index,collection){return func.call(thisArg,accumulator,value,index,collection)}}return bind(func,thisArg)}module.exports=baseCreateCallback},{"../functions/bind":54,"../support":73,"../utilities/identity":74,"./setBindData":62}],58:[function(require,module,exports){var baseCreate=require("./baseCreate"),isObject=require("../objects/isObject"),setBindData=require("./setBindData"),slice=require("./slice");var arrayRef=[];var push=arrayRef.push;function baseCreateWrapper(bindData){var func=bindData[0],bitmask=bindData[1],partialArgs=bindData[2],partialRightArgs=bindData[3],thisArg=bindData[4],arity=bindData[5];var isBind=bitmask&1,isBindKey=bitmask&2,isCurry=bitmask&4,isCurryBound=bitmask&8,key=func;function bound(){var thisBinding=isBind?thisArg:this;if(partialArgs){var args=slice(partialArgs);push.apply(args,arguments)}if(partialRightArgs||isCurry){args||(args=slice(arguments));if(partialRightArgs){push.apply(args,partialRightArgs)}if(isCurry&&args.length3&&typeof args[argsLength-2]=="function"){var callback=baseCreateCallback(args[--argsLength-1],args[argsLength--],2)}else if(argsLength>2&&typeof args[argsLength-1]=="function"){callback=args[--argsLength]}while(++argsIndex1)return new Buffer(arg,arguments[1]);return new Buffer(arg)}this.length=0;this.parent=undefined;if(typeof arg==="number"){return fromNumber(this,arg)}if(typeof arg==="string"){return fromString(this,arg,arguments.length>1?arguments[1]:"utf8")}return fromObject(this,arg)}function fromNumber(that,length){that=allocate(that,length<0?0:checked(length)|0);if(!Buffer.TYPED_ARRAY_SUPPORT){for(var i=0;i>>1;if(fromPool)that.parent=rootParent;return that}function checked(length){if(length>=kMaxLength()){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+kMaxLength().toString(16)+" bytes")}return length|0}function SlowBuffer(subject,encoding){if(!(this instanceof SlowBuffer))return new SlowBuffer(subject,encoding);var buf=new Buffer(subject,encoding);delete buf.parent;return buf}Buffer.isBuffer=function isBuffer(b){return!!(b!=null&&b._isBuffer)};Buffer.compare=function compare(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b)){throw new TypeError("Arguments must be Buffers")}if(a===b)return 0;var x=a.length;var y=b.length;var i=0;var len=Math.min(x,y);while(i>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase();loweredCase=true}}}Buffer.byteLength=byteLength;Buffer.prototype.length=undefined;Buffer.prototype.parent=undefined;function slowToString(encoding,start,end){var loweredCase=false;start=start|0;end=end===undefined||end===Infinity?this.length:end|0;if(!encoding)encoding="utf8";if(start<0)start=0;if(end>this.length)end=this.length;if(end<=start)return"";while(true){switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"binary":return binarySlice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase();loweredCase=true}}}Buffer.prototype.toString=function toString(){var length=this.length|0;if(length===0)return"";if(arguments.length===0)return utf8Slice(this,0,length);return slowToString.apply(this,arguments)};Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");if(this===b)return true;return Buffer.compare(this,b)===0};Buffer.prototype.inspect=function inspect(){var str="";var max=exports.INSPECT_MAX_BYTES;if(this.length>0){str=this.toString("hex",0,max).match(/.{2}/g).join(" ");if(this.length>max)str+=" ... "}return""};Buffer.prototype.compare=function compare(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");if(this===b)return 0;return Buffer.compare(this,b)};Buffer.prototype.indexOf=function indexOf(val,byteOffset){if(byteOffset>2147483647)byteOffset=2147483647;else if(byteOffset<-2147483648)byteOffset=-2147483648;byteOffset>>=0;if(this.length===0)return-1;if(byteOffset>=this.length)return-1;if(byteOffset<0)byteOffset=Math.max(this.length+byteOffset,0);if(typeof val==="string"){if(val.length===0)return-1;return String.prototype.indexOf.call(this,val,byteOffset)}if(Buffer.isBuffer(val)){return arrayIndexOf(this,val,byteOffset)}if(typeof val==="number"){if(Buffer.TYPED_ARRAY_SUPPORT&&Uint8Array.prototype.indexOf==="function"){return Uint8Array.prototype.indexOf.call(this,val,byteOffset)}return arrayIndexOf(this,[val],byteOffset)}function arrayIndexOf(arr,val,byteOffset){var foundIndex=-1;for(var i=0;byteOffset+iremaining){length=remaining}}var strLen=string.length;if(strLen%2!==0)throw new Error("Invalid hex string");if(length>strLen/2){length=strLen/2}for(var i=0;iremaining)length=remaining;if(string.length>0&&(length<0||offset<0)||offset>this.length){throw new RangeError("attempt to write outside buffer bounds")}if(!encoding)encoding="utf8";var loweredCase=false;for(;;){switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"binary":return binaryWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase();loweredCase=true}}};Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){if(start===0&&end===buf.length){return base64.fromByteArray(buf)}else{return base64.fromByteArray(buf.slice(start,end))}}function utf8Slice(buf,start,end){var res="";var tmp="";end=Math.min(buf.length,end);for(var i=start;ilen)end=len;var out="";for(var i=start;ilen){start=len}if(end<0){end+=len;if(end<0)end=0}else if(end>len){end=len}if(endlength)throw new RangeError("Trying to access beyond buffer length")}Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset=offset|0;byteLength=byteLength|0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i0&&(mul*=256)){val+=this[offset+--byteLength]*mul}return val};Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){if(!noAssert)checkOffset(offset,1,this.length);return this[offset]};Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8};Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1]};Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset=offset|0;byteLength=byteLength|0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset=offset|0;byteLength=byteLength|0;if(!noAssert)checkOffset(offset,byteLength,this.length);var i=byteLength;var mul=1;var val=this[offset+--i];while(i>0&&(mul*=256)){val+=this[offset+--i]*mul}mul*=128;if(val>=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readInt8=function readInt8(offset,noAssert){if(!noAssert)checkOffset(offset,1,this.length);if(!(this[offset]&128))return this[offset];return(255-this[offset]+1)*-1};Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,true,23,4)};Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,false,23,4)};Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,true,52,8)};Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,false,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError("buffer must be a Buffer instance");if(value>max||valuebuf.length)throw new RangeError("index out of range")}Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset|0;byteLength=byteLength|0;if(!noAssert)checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength),0);var mul=1;var i=0;this[offset]=value&255;while(++i=0&&(mul*=256)){this[offset+i]=value/mul&255}return offset+byteLength};Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,1,255,0);if(!Buffer.TYPED_ARRAY_SUPPORT)value=Math.floor(value);this[offset]=value;return offset+1};function objectWriteUInt16(buf,value,offset,littleEndian){if(value<0)value=65535+value+1;for(var i=0,j=Math.min(buf.length-offset,2);i>>(littleEndian?i:1-i)*8}}Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,65535,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value;this[offset+1]=value>>>8}else{objectWriteUInt16(this,value,offset,true)}return offset+2};Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,65535,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=value}else{objectWriteUInt16(this,value,offset,false)}return offset+2};function objectWriteUInt32(buf,value,offset,littleEndian){if(value<0)value=4294967295+value+1;for(var i=0,j=Math.min(buf.length-offset,4);i>>(littleEndian?i:3-i)*8&255}}Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset+3]=value>>>24;this[offset+2]=value>>>16;this[offset+1]=value>>>8;this[offset]=value}else{objectWriteUInt32(this,value,offset,true)}return offset+4};Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value}else{objectWriteUInt32(this,value,offset,false)}return offset+4};Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset|0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0;var mul=1;var sub=value<0?1:0;this[offset]=value&255;while(++i>0)-sub&255}return offset+byteLength};Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){value=+value;offset=offset|0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1;var mul=1;var sub=value<0?1:0;this[offset+i]=value&255;while(--i>=0&&(mul*=256)){this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,1,127,-128);if(!Buffer.TYPED_ARRAY_SUPPORT)value=Math.floor(value);if(value<0)value=255+value+1;this[offset]=value;return offset+1};Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value;this[offset+1]=value>>>8}else{objectWriteUInt16(this,value,offset,true)}return offset+2};Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=value}else{objectWriteUInt16(this,value,offset,false)}return offset+2};Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value;this[offset+1]=value>>>8;this[offset+2]=value>>>16;this[offset+3]=value>>>24}else{objectWriteUInt32(this,value,offset,true)}return offset+4};Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);if(value<0)value=4294967295+value+1;if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value}else{objectWriteUInt32(this,value,offset,false)}return offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(value>max||valuebuf.length)throw new RangeError("index out of range");if(offset<0)throw new RangeError("index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){if(!noAssert){checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38)}ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4}Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,true,noAssert)};Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,false,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){if(!noAssert){checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308)}ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8}Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,true,noAssert)};Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,false,noAssert)};Buffer.prototype.copy=function copy(target,targetStart,start,end){if(!start)start=0;if(!end&&end!==0)end=this.length;if(targetStart>=target.length)targetStart=target.length;if(!targetStart)targetStart=0;if(end>0&&end=this.length)throw new RangeError("sourceStart out of bounds");if(end<0)throw new RangeError("sourceEnd out of bounds");if(end>this.length)end=this.length;if(target.length-targetStart=this.length)throw new RangeError("start out of bounds");if(end<0||end>this.length)throw new RangeError("end out of bounds");var i;if(typeof value==="number"){for(i=start;i55295&&codePoint<57344){if(leadSurrogate){if(codePoint<56320){if((units-=3)>-1)bytes.push(239,191,189);leadSurrogate=codePoint;continue}else{codePoint=leadSurrogate-55296<<10|codePoint-56320|65536;leadSurrogate=null}}else{if(codePoint>56319){if((units-=3)>-1)bytes.push(239,191,189);continue}else if(i+1===length){if((units-=3)>-1)bytes.push(239,191,189);continue}else{leadSurrogate=codePoint;continue}}}else if(leadSurrogate){if((units-=3)>-1)bytes.push(239,191,189);leadSurrogate=null}if(codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<2097152){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else{throw new Error("Invalid code point")}}return bytes}function asciiToBytes(str){var byteArray=[];for(var i=0;i>8;lo=c%256;byteArray.push(lo);byteArray.push(hi)}return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i=dst.length||i>=src.length)break;dst[i+offset]=src[i]}return i}function decodeUtf8Char(str){try{return decodeURIComponent(str)}catch(err){return String.fromCharCode(65533)}}},{"base64-js":79,ieee754:80,"is-array":81}],79:[function(require,module,exports){var lookup="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(exports){"use strict";var Arr=typeof Uint8Array!=="undefined"?Uint8Array:Array;var PLUS="+".charCodeAt(0);var SLASH="/".charCodeAt(0);var NUMBER="0".charCodeAt(0);var LOWER="a".charCodeAt(0);var UPPER="A".charCodeAt(0);var PLUS_URL_SAFE="-".charCodeAt(0);var SLASH_URL_SAFE="_".charCodeAt(0);function decode(elt){var code=elt.charCodeAt(0);if(code===PLUS||code===PLUS_URL_SAFE)return 62;if(code===SLASH||code===SLASH_URL_SAFE)return 63;if(code0){throw new Error("Invalid string. Length must be a multiple of 4")}var len=b64.length;placeHolders="="===b64.charAt(len-2)?2:"="===b64.charAt(len-1)?1:0;arr=new Arr(b64.length*3/4-placeHolders);l=placeHolders>0?b64.length-4:b64.length;var L=0;function push(v){arr[L++]=v}for(i=0,j=0;i>16);push((tmp&65280)>>8);push(tmp&255)}if(placeHolders===2){tmp=decode(b64.charAt(i))<<2|decode(b64.charAt(i+1))>>4;push(tmp&255)}else if(placeHolders===1){tmp=decode(b64.charAt(i))<<10|decode(b64.charAt(i+1))<<4|decode(b64.charAt(i+2))>>2;push(tmp>>8&255);push(tmp&255)}return arr}function uint8ToBase64(uint8){var i,extraBytes=uint8.length%3,output="",temp,length;function encode(num){return lookup.charAt(num)}function tripletToBase64(num){return encode(num>>18&63)+encode(num>>12&63)+encode(num>>6&63)+encode(num&63)}for(i=0,length=uint8.length-extraBytes;i>2);output+=encode(temp<<4&63);output+="==";break;case 2:temp=(uint8[uint8.length-2]<<8)+uint8[uint8.length-1];output+=encode(temp>>10);output+=encode(temp>>4&63);output+=encode(temp<<2&63);output+="=";break}return output}exports.toByteArray=b64ToByteArray;exports.fromByteArray=uint8ToBase64})(typeof exports==="undefined"?this.base64js={}:exports)},{}],80:[function(require,module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m;var eLen=nBytes*8-mLen-1;var eMax=(1<>1;var nBits=-7;var i=isLE?nBytes-1:0;var d=isLE?-1:1;var s=buffer[offset+i];i+=d;e=s&(1<<-nBits)-1;s>>=-nBits;nBits+=eLen;for(;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8){}m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8){}if(e===0){e=1-eBias}else if(e===eMax){return m?NaN:(s?-1:1)*Infinity}else{m=m+Math.pow(2,mLen);e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c;var eLen=nBytes*8-mLen-1;var eMax=(1<>1;var rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0;var i=isLE?0:nBytes-1;var d=isLE?1:-1;var s=value<0||value===0&&1/value<0?1:0;value=Math.abs(value);if(isNaN(value)||value===Infinity){m=isNaN(value)?1:0;e=eMax}else{e=Math.floor(Math.log(value)/Math.LN2);if(value*(c=Math.pow(2,-e))<1){e--;c*=2}if(e+eBias>=1){value+=rt/c}else{value+=rt*Math.pow(2,1-eBias)}if(value*c>=2){e++;c/=2}if(e+eBias>=eMax){m=0;e=eMax}else if(e+eBias>=1){m=(value*c-1)*Math.pow(2,mLen);e=e+eBias}else{m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen);e=0}}for(;mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8){}e=e<0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8){}buffer[offset+i-d]|=s*128}},{}],81:[function(require,module,exports){var isArray=Array.isArray;var str=Object.prototype.toString;module.exports=isArray||function(val){return!!val&&"[object Array]"==str.call(val)}},{}],82:[function(require,module,exports){function EventEmitter(){this._events=this._events||{};this._maxListeners=this._maxListeners||undefined}module.exports=EventEmitter;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=undefined;EventEmitter.prototype._maxListeners=undefined;EventEmitter.defaultMaxListeners=10;EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||n<0||isNaN(n))throw TypeError("n must be a positive number");this._maxListeners=n;return this};EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(!this._events)this._events={};if(type==="error"){if(!this._events.error||isObject(this._events.error)&&!this._events.error.length){er=arguments[1];if(er instanceof Error){throw er}throw TypeError('Uncaught, unspecified "error" event.')}}handler=this._events[type];if(isUndefined(handler))return false;if(isFunction(handler)){switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:len=arguments.length;args=new Array(len-1);for(i=1;i0&&this._events[type].length>m){this._events[type].warned=true;console.error("(node) warning: possible EventEmitter memory "+"leak detected. %d listeners added. "+"Use emitter.setMaxListeners() to increase limit.",this._events[type].length);if(typeof console.trace==="function"){console.trace()}}}return this};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.once=function(type,listener){if(!isFunction(listener))throw TypeError("listener must be a function");var fired=false;function g(){this.removeListener(type,g);if(!fired){fired=true;listener.apply(this,arguments)}}g.listener=listener;this.on(type,g);return this};EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;list=this._events[type];length=list.length;position=-1;if(list===listener||isFunction(list.listener)&&list.listener===listener){delete this._events[type];if(this._events.removeListener)this.emit("removeListener",type,listener)}else if(isObject(list)){for(i=length;i-->0;){if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}}if(position<0)return this;if(list.length===1){list.length=0;delete this._events[type]}else{list.splice(position,1)}if(this._events.removeListener)this.emit("removeListener",type,listener)}return this};EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener){if(arguments.length===0)this._events={};else if(this._events[type])delete this._events[type];return this}if(arguments.length===0){for(key in this._events){if(key==="removeListener")continue;this.removeAllListeners(key)}this.removeAllListeners("removeListener");this._events={};return this}listeners=this._events[type];if(isFunction(listeners)){this.removeListener(type,listeners)}else{while(listeners.length)this.removeListener(type,listeners[listeners.length-1])}delete this._events[type];return this};EventEmitter.prototype.listeners=function(type){var ret;if(!this._events||!this._events[type])ret=[];else if(isFunction(this._events[type]))ret=[this._events[type]];else ret=this._events[type].slice();return ret};EventEmitter.listenerCount=function(emitter,type){var ret;if(!emitter._events||!emitter._events[type])ret=0;else if(isFunction(emitter._events[type]))ret=1;else ret=emitter._events[type].length;return ret};function isFunction(arg){return typeof arg==="function"}function isNumber(arg){return typeof arg==="number"}function isObject(arg){return typeof arg==="object"&&arg!==null}function isUndefined(arg){return arg===void 0}},{}],83:[function(require,module,exports){if(typeof Object.create==="function"){module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}}else{module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}}},{}],84:[function(require,module,exports){module.exports=Array.isArray||function(arr){return Object.prototype.toString.call(arr)=="[object Array]"}},{}],85:[function(require,module,exports){var process=module.exports={};var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=setTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex1){for(var i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,key;function error(type){throw RangeError(errors[type])}function map(array,fn){var length=array.length;var result=[];while(length--){result[length]=fn(array[length])}return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var output=[],counter=0,length=string.length,value,extra;while(counter=55296&&value<=56319&&counter65535){value-=65536;output+=stringFromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=stringFromCharCode(value);return output}).join("")}function basicToDigit(codePoint){if(codePoint-48<10){return codePoint-22}if(codePoint-65<26){return codePoint-65}if(codePoint-97<26){return codePoint-97}return base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((flag!=0)<<5)}function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin)}return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var output=[],inputLength=input.length,out,i=0,n=initialN,bias=initialBias,basic,j,index,oldi,w,k,digit,t,baseMinusT;basic=input.lastIndexOf(delimiter);if(basic<0){basic=0}for(j=0;j=128){error("not-basic")}output.push(input.charCodeAt(j))}for(index=basic>0?basic+1:0;index=inputLength){error("invalid-input")}digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error("overflow")}i+=digit*w;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digitfloor(maxInt/baseMinusT)){error("overflow")}w*=baseMinusT}out=output.length+1;bias=adapt(i-oldi,out,oldi==0);if(floor(i/out)>maxInt-n){error("overflow")}n+=floor(i/out);i%=out;output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,output=[],inputLength,handledCPCountPlusOne,baseMinusT,qMinusT;input=ucs2decode(input);inputLength=input.length;n=initialN;delta=0;bias=initialBias;for(j=0;j=n&¤tValuefloor((maxInt-delta)/handledCPCountPlusOne)){error("overflow")}delta+=(m-n)*handledCPCountPlusOne;n=m;for(j=0;jmaxInt){error("overflow")}if(currentValue==n){for(q=delta,k=base;;k+=base){t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q0&&len>maxKeys){len=maxKeys}for(var i=0;i=0){kstr=x.substr(0,idx);vstr=x.substr(idx+1)}else{kstr=x;vstr=""}k=decodeURIComponent(kstr);v=decodeURIComponent(vstr);if(!hasOwnProperty(obj,k)){obj[k]=v}else if(isArray(obj[k])){obj[k].push(v)}else{obj[k]=[obj[k],v]}}return obj};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"}},{}],88:[function(require,module,exports){"use strict";var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){sep=sep||"&";eq=eq||"=";if(obj===null){obj=undefined}if(typeof obj==="object"){return map(objectKeys(obj),function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;if(isArray(obj[k])){return map(obj[k],function(v){return ks+encodeURIComponent(stringifyPrimitive(v))}).join(sep)}else{return ks+encodeURIComponent(stringifyPrimitive(obj[k]))}}).join(sep)}if(!name)return"";return encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj))};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"};function map(xs,f){if(xs.map)return xs.map(f);var res=[];for(var i=0;i0){if(state.ended&&!addToFront){var e=new Error("stream.push() after EOF");stream.emit("error",e)}else if(state.endEmitted&&addToFront){var e=new Error("stream.unshift() after end event");stream.emit("error",e)}else{if(state.decoder&&!addToFront&&!encoding)chunk=state.decoder.write(chunk);if(!addToFront)state.reading=false;if(state.flowing&&state.length===0&&!state.sync){stream.emit("data",chunk);stream.read(0)}else{state.length+=state.objectMode?1:chunk.length;if(addToFront)state.buffer.unshift(chunk);else state.buffer.push(chunk);if(state.needReadable)emitReadable(stream)}maybeReadMore(stream,state)}}else if(!addToFront){state.reading=false}return needMoreData(state)}function needMoreData(state){return!state.ended&&(state.needReadable||state.length=MAX_HWM){n=MAX_HWM}else{n--;for(var p=1;p<32;p<<=1)n|=n>>p;n++}return n}function howMuchToRead(n,state){if(state.length===0&&state.ended)return 0;if(state.objectMode)return n===0?0:1;if(n===null||isNaN(n)){if(state.flowing&&state.buffer.length)return state.buffer[0].length;else return state.length}if(n<=0)return 0;if(n>state.highWaterMark)state.highWaterMark=roundUpToNextPowerOf2(n);if(n>state.length){if(!state.ended){state.needReadable=true;return 0}else{return state.length}}return n}Readable.prototype.read=function(n){debug("read",n);var state=this._readableState;var nOrig=n;if(typeof n!=="number"||n>0)state.emittedReadable=false;if(n===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended)){debug("read: emitReadable",state.length,state.ended);if(state.length===0&&state.ended)endReadable(this);else emitReadable(this);return null}n=howMuchToRead(n,state);if(n===0&&state.ended){if(state.length===0)endReadable(this);return null}var doRead=state.needReadable;debug("need readable",doRead);if(state.length===0||state.length-n0)ret=fromList(n,state);else ret=null;if(ret===null){state.needReadable=true;n=0}state.length-=n;if(state.length===0&&!state.ended)state.needReadable=true;if(nOrig!==n&&state.ended&&state.length===0)endReadable(this);if(ret!==null)this.emit("data",ret);return ret};function chunkInvalid(state,chunk){var er=null;if(!Buffer.isBuffer(chunk)&&typeof chunk!=="string"&&chunk!==null&&chunk!==undefined&&!state.objectMode){er=new TypeError("Invalid non-string/buffer chunk")}return er}function onEofChunk(stream,state){if(state.ended)return;if(state.decoder){var chunk=state.decoder.end();if(chunk&&chunk.length){state.buffer.push(chunk);state.length+=state.objectMode?1:chunk.length}}state.ended=true;emitReadable(stream)}function emitReadable(stream){var state=stream._readableState;state.needReadable=false;if(!state.emittedReadable){debug("emitReadable",state.flowing);state.emittedReadable=true;if(state.sync)processNextTick(emitReadable_,stream);else emitReadable_(stream)}}function emitReadable_(stream){debug("emit readable");stream.emit("readable");flow(stream)}function maybeReadMore(stream,state){if(!state.readingMore){state.readingMore=true;processNextTick(maybeReadMore_,stream,state)}}function maybeReadMore_(stream,state){var len=state.length;while(!state.reading&&!state.flowing&&!state.ended&&state.length=length){if(stringMode)ret=list.join("");else ret=Buffer.concat(list,length);list.length=0}else{if(n0)throw new Error("endReadable called on non-empty stream");if(!state.endEmitted){state.ended=true;processNextTick(endReadableNT,state,stream)}}function endReadableNT(state,stream){if(!state.endEmitted&&state.length===0){state.endEmitted=true;stream.readable=false;stream.emit("end")}}function forEach(xs,f){for(var i=0,l=xs.length;i-1))throw new TypeError("Unknown encoding: "+encoding);this._writableState.defaultEncoding=encoding};function decodeChunk(state,chunk,encoding){if(!state.objectMode&&state.decodeStrings!==false&&typeof chunk==="string"){chunk=new Buffer(chunk,encoding)}return chunk}function writeOrBuffer(stream,state,chunk,encoding,cb){chunk=decodeChunk(state,chunk,encoding);if(Buffer.isBuffer(chunk))encoding="buffer";var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length=this.charLength-this.charReceived?this.charLength-this.charReceived:buffer.length;buffer.copy(this.charBuffer,this.charReceived,0,available);this.charReceived+=available;if(this.charReceived=55296&&charCode<=56319){this.charLength+=this.surrogateSize;charStr="";continue}this.charReceived=this.charLength=0;if(buffer.length===0){return charStr}break}this.detectIncompleteChar(buffer);var end=buffer.length;if(this.charLength){buffer.copy(this.charBuffer,0,buffer.length-this.charReceived,end);end-=this.charReceived}charStr+=buffer.toString(this.encoding,0,end);var end=charStr.length-1;var charCode=charStr.charCodeAt(end);if(charCode>=55296&&charCode<=56319){var size=this.surrogateSize;this.charLength+=size;this.charReceived+=size;this.charBuffer.copy(this.charBuffer,size,0,size);buffer.copy(this.charBuffer,0,0,size);return charStr.substring(0,end)}return charStr};StringDecoder.prototype.detectIncompleteChar=function(buffer){var i=buffer.length>=3?3:buffer.length;for(;i>0;i--){var c=buffer[buffer.length-i];if(i==1&&c>>5==6){this.charLength=2;break}if(i<=2&&c>>4==14){this.charLength=3;break}if(i<=3&&c>>3==30){this.charLength=4;break}}this.charReceived=i};StringDecoder.prototype.end=function(buffer){var res="";if(buffer&&buffer.length)res=this.write(buffer);if(this.charReceived){var cr=this.charReceived;var buf=this.charBuffer;var enc=this.encoding;res+=buf.slice(0,cr).toString(enc)}return res};function passThroughWrite(buffer){return buffer.toString(this.encoding)}function utf16DetectIncompleteChar(buffer){this.charReceived=buffer.length%2;this.charLength=this.charReceived?2:0}function base64DetectIncompleteChar(buffer){this.charReceived=buffer.length%3;this.charLength=this.charReceived?3:0}},{buffer:78}],105:[function(require,module,exports){var punycode=require("punycode");exports.parse=urlParse;exports.resolve=urlResolve;exports.resolveObject=urlResolveObject;exports.format=urlFormat;exports.Url=Url;function Url(){this.protocol=null;this.slashes=null;this.auth=null;this.host=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.query=null;this.pathname=null;this.path=null;this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,delims=["<",">",'"',"`"," ","\r","\n"," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:true,"javascript:":true},hostlessProtocol={javascript:true,"javascript:":true},slashedProtocol={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true},querystring=require("querystring");function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&isObject(url)&&url instanceof Url)return url;var u=new Url;u.parse(url,parseQueryString,slashesDenoteHost);return u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!isString(url)){throw new TypeError("Parameter 'url' must be a string, not "+typeof url)}var rest=url;rest=rest.trim();var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto;rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes=rest.substr(0,2)==="//";if(slashes&&!(proto&&hostlessProtocol[proto])){rest=rest.substr(2);this.slashes=true}}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){var hostEnd=-1;for(var i=0;i127){newpart+="x"}else{newpart+=part[j]}}if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2])}if(notHost.length){rest="/"+notHost.join(".")+rest}this.hostname=validParts.join(".");break}}}}if(this.hostname.length>hostnameMaxLen){this.hostname=""}else{this.hostname=this.hostname.toLowerCase()}if(!ipv6Hostname){var domainArray=this.hostname.split(".");var newOut=[];for(var i=0;i0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}result.search=relative.search;result.query=relative.query;if(!isNull(result.pathname)||!isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.href=result.format();return result}if(!srcPath.length){result.pathname=null;if(result.search){result.path="/"+result.search}else{result.path=null}result.href=result.format();return result}var last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host)&&(last==="."||last==="..")||last==="";var up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if(last=="."){srcPath.splice(i,1)}else if(last===".."){srcPath.splice(i,1);up++}else if(up){srcPath.splice(i,1);up--}}if(!mustEndAbs&&!removeAllDots){for(;up--;up){srcPath.unshift("..")}}if(mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")){srcPath.unshift("")}if(hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"){srcPath.push("")}var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;if(mustEndAbs&&!isAbsolute){srcPath.unshift("")}if(!srcPath.length){result.pathname=null;result.path=null}else{result.pathname=srcPath.join("/")}if(!isNull(result.pathname)||!isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];if(port!==":"){this.port=port.substr(1)}host=host.substr(0,host.length-port.length)}if(host)this.hostname=host};function isString(arg){return typeof arg==="string"}function isObject(arg){return typeof arg==="object"&&arg!==null}function isNull(arg){return arg===null}function isNullOrUndefined(arg){return arg==null}},{punycode:86,querystring:89}],106:[function(require,module,exports){module.exports=function isBuffer(arg){return arg&&typeof arg==="object"&&typeof arg.copy==="function"&&typeof arg.fill==="function"&&typeof arg.readUInt8==="function"}},{}],107:[function(require,module,exports){(function(process,global){var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}});for(var x=args[i];i=3)ctx.depth=arguments[2];if(arguments.length>=4)ctx.colors=arguments[3];if(isBoolean(opts)){ctx.showHidden=opts}else if(opts){exports._extend(ctx,opts)}if(isUndefined(ctx.showHidden))ctx.showHidden=false;if(isUndefined(ctx.depth))ctx.depth=2;if(isUndefined(ctx.colors))ctx.colors=false;if(isUndefined(ctx.customInspect))ctx.customInspect=true;if(ctx.colors)ctx.stylize=stylizeWithColor;return formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];if(style){return"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m"}else{return str}}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};array.forEach(function(val,idx){hash[val]=true});return hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);if(!isString(ret)){ret=formatValue(ctx,ret,recurseTimes)}return ret}var primitive=formatPrimitive(ctx,value);if(primitive){return primitive}var keys=Object.keys(value);var visibleKeys=arrayToHash(keys);if(ctx.showHidden){keys=Object.getOwnPropertyNames(value)}if(isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0)){return formatError(value)}if(keys.length===0){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}if(isDate(value)){return ctx.stylize(Date.prototype.toString.call(value),"date")}if(isError(value)){return formatError(value)}}var base="",array=false,braces=["{","}"];if(isArray(value)){array=true;braces=["[","]"]}if(isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)){base=" "+RegExp.prototype.toString.call(value)}if(isDate(value)){base=" "+Date.prototype.toUTCString.call(value)}if(isError(value)){base=" "+formatError(value)}if(keys.length===0&&(!array||value.length==0)){return braces[0]+base+braces[1]}if(recurseTimes<0){if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}else{return ctx.stylize("[Object]","special")}}ctx.seen.push(value);var output;if(array){output=formatArray(ctx,value,recurseTimes,visibleKeys,keys)}else{output=keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)})}ctx.seen.pop();return reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i-1){if(array){str=str.split("\n").map(function(line){return" "+line}).join("\n").substr(2)}else{str="\n"+str.split("\n").map(function(line){return" "+line}).join("\n")}}}else{str=ctx.stylize("[Circular]","special")}}if(isUndefined(name)){if(array&&key.match(/^\d+$/)){return str}name=JSON.stringify(""+key);if(name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,"name")}else{name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");name=ctx.stylize(name,"string")}}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce(function(prev,cur){numLinesEst++;if(cur.indexOf("\n")>=0)numLinesEst++;return prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(length>60){return braces[0]+(base===""?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1]}return braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return typeof arg==="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg==="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg==="string"}exports.isString=isString;function isSymbol(arg){return typeof arg==="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&objectToString(re)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg==="object"&&arg!==null}exports.isObject=isObject;function isDate(d){return isObject(d)&&objectToString(d)==="[object Date]"}exports.isDate=isDate;function isError(e){return isObject(e)&&(objectToString(e)==="[object Error]"||e instanceof Error)}exports.isError=isError;function isFunction(arg){return typeof arg==="function"}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==="boolean"||typeof arg==="number"||typeof arg==="string"||typeof arg==="symbol"||typeof arg==="undefined"}exports.isPrimitive=isPrimitive;exports.isBuffer=require("./support/isBuffer");function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date;var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))};exports.inherits=require("inherits");exports._extend=function(origin,add){if(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--){origin[keys[i]]=add[keys[i]]}return origin};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./support/isBuffer":106,_process:85,inherits:83}],"oss-2013-10-15.json":[function(require,module,exports){module.exports={format:"rest-xml",apiVersion:"2013-10-15",checksumFormat:"md5",endpointPrefix:"oss",serviceAbbreviation:"Aliyun OSS",serviceFullName:"Aliyun Open Storage Service",signatureVersion:"oss",timestampFormat:"rfc822",xmlnamespace:"",operations:{abortMultipartUpload:{name:"AbortMultipartUpload",http:{method:"DELETE",uri:"/{Bucket}/{Key}?uploadId={UploadId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},completeMultipartUpload:{name:"CompleteMultipartUpload",http:{method:"POST",uri:"/{Bucket}/{Key}?uploadId={UploadId}"},input:{payload:"CompleteMultipartUpload",type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},CompleteMultipartUpload:{type:"structure",name:"CompleteMultipartUpload",members:{Parts:{type:"list",name:"Part",members:{type:"structure",members:{PartNumber:{type:"integer"},ETag:{}}},flattened:true}}},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{Bucket:{},ETag:{},Expiration:{type:"timestamp",location:"header",name:"x-oss-expiration"},Key:{},Location:{},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"}}}},copyObject:{name:"CopyObject",alias:"PutObjectCopy",http:{method:"PUT",uri:"/{Bucket}/{Key}"},input:{type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},Bucket:{required:true,location:"uri"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentType:{location:"header",name:"Content-Type"},CopySource:{required:true,location:"header",name:"x-oss-copy-source"},CopySourceIfMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-match"},CopySourceIfModifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-modified-since"},CopySourceIfNoneMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-unmodified-since"},Expires:{type:"timestamp",location:"header",name:"Expires"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},MetadataDirective:{location:"header",name:"x-oss-metadata-directive"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},StorageClass:{location:"header",name:"x-oss-storage-class"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",name:"x-oss-copy-source-version-id"},Expiration:{location:"header",name:"x-oss-expiration"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},ETag:{},LastModified:{}}}},createBucket:{name:"CreateBucket",alias:"PutBucket",http:{method:"PUT",uri:"/{Bucket}"},input:{payload:"CreateBucketConfiguration",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},Bucket:{required:true,location:"uri"},CreateBucketConfiguration:{type:"structure",members:{LocationConstraint:{}}},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWrite:{location:"header",name:"x-oss-grant-write"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"}}},output:{type:"structure",members:{Location:{location:"header",name:"Location"}}}},createMultipartUpload:{name:"CreateMultipartUpload",alias:"InitiateMultipartUpload",http:{method:"POST",uri:"/{Bucket}/{Key}?uploads"},input:{type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},Bucket:{required:true,location:"uri"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentType:{location:"header",name:"Content-Type"},Expires:{type:"timestamp",location:"header",name:"Expires"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},StorageClass:{location:"header",name:"x-oss-storage-class"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}},output:{type:"structure",members:{Bucket:{name:"Bucket"},Key:{},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},UploadId:{}}}},deleteBucket:{name:"DeleteBucket",http:{method:"DELETE",uri:"/{Bucket}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketLogging:{name:"DeleteBucketLogging",http:{method:"DELETE",uri:"/{Bucket}?logging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketCors:{name:"DeleteBucketCors",http:{method:"DELETE",uri:"/{Bucket}?cors"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketLifecycle:{name:"DeleteBucketLifecycle",http:{method:"DELETE",uri:"/{Bucket}?lifecycle"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketPolicy:{name:"DeleteBucketPolicy",http:{method:"DELETE",uri:"/{Bucket}?policy"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketTagging:{name:"DeleteBucketTagging",http:{method:"DELETE",uri:"/{Bucket}?tagging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketWebsite:{name:"DeleteBucketWebsite",http:{method:"DELETE",uri:"/{Bucket}?website"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteObject:{name:"DeleteObject",http:{method:"DELETE",uri:"/{Bucket}/{Key}?versionId={VersionId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},MFA:{location:"header",name:"x-oss-mfa"},VersionId:{location:"uri"}}},output:{type:"structure",members:{DeleteMarker:{type:"boolean",location:"header",name:"x-oss-delete-marker"},VersionId:{location:"header",name:"x-oss-version-id"}}}},deleteObjects:{name:"DeleteObjects",alias:"DeleteMultipleObjects",http:{method:"POST",uri:"/{Bucket}?delete"},input:{payload:"Delete",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},Delete:{type:"structure",required:true,members:{Objects:{type:"list",required:true,name:"Object",members:{type:"structure",members:{Key:{required:true},VersionId:{}}},flattened:true},Quiet:{type:"boolean"}}},MFA:{location:"header",name:"x-oss-mfa"}}},output:{type:"structure",members:{Deleted:{type:"list",members:{type:"structure",members:{DeleteMarker:{type:"boolean"},DeleteMarkerVersionId:{},Key:{},VersionId:{}}},flattened:true},Error:{type:"list",name:"Errors",members:{type:"structure",members:{Code:{},Key:{},Message:{},VersionId:{}}},flattened:true}}}},getBucketAcl:{name:"GetBucketAcl",http:{method:"GET",uri:"/{Bucket}?acl"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{AccessControlList:{type:"list",name:"Grants",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},"xsi:type":{name:"Type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}}},getBucketCors:{name:"GetBucketCors",http:{method:"GET",uri:"/{Bucket}?cors"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{CORSRule:{type:"list",name:"CORSRules",members:{type:"structure",members:{AllowedHeader:{type:"list",name:"AllowedHeaders",members:{},flattened:true},AllowedMethod:{type:"list",name:"AllowedMethods",members:{},flattened:true},AllowedOrigin:{type:"list",name:"AllowedOrigins",members:{},flattened:true},ExposeHeader:{type:"list",name:"ExposeHeaders",members:{},flattened:true},MaxAgeSeconds:{type:"integer"}}},flattened:true}}}},getBucketLifecycle:{name:"GetBucketLifecycle",http:{method:"GET",uri:"/{Bucket}?lifecycle"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{Rule:{type:"list",name:"Rules",members:{type:"structure",members:{Expiration:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"}}},ID:{},Prefix:{},Status:{},Transition:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"},StorageClass:{}}}}},flattened:true}}}},getBucketLocation:{name:"GetBucketLocation",http:{method:"GET",uri:"/{Bucket}?location"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{LocationConstraint:{}}}},getBucketLogging:{name:"GetBucketLogging",http:{method:"GET",uri:"/{Bucket}?logging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{LoggingEnabled:{type:"structure",members:{TargetBucket:{},TargetGrants:{type:"list",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},"xsi:type":{name:"Type",attribute:true},URI:{}}},Permission:{}}}},TargetPrefix:{}}}}}},getBucketNotification:{name:"GetBucketNotification",http:{method:"GET",uri:"/{Bucket}?notification"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{TopicConfiguration:{type:"structure",members:{Event:{},Topic:{}}}}}},getBucketPolicy:{name:"GetBucketPolicy",http:{method:"GET",uri:"/{Bucket}?policy"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{Policy:{}},payload:"Policy"}},getBucketRequestPayment:{name:"GetBucketRequestPayment",http:{method:"GET",uri:"/{Bucket}?requestPayment"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{Payer:{}}}},getBucketTagging:{name:"GetBucketTagging",http:{method:"GET",uri:"/{Bucket}?tagging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{TagSet:{type:"list",members:{type:"structure",name:"Tag",members:{Key:{},Value:{}}}}}}},getBucketVersioning:{name:"GetBucketVersioning",http:{method:"GET",uri:"/{Bucket}?versioning"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{MFADelete:{},Status:{}}}},getBucketWebsite:{name:"GetBucketWebsite",http:{method:"GET",uri:"/{Bucket}?website"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{ErrorDocument:{type:"structure",members:{Key:{}}},IndexDocument:{type:"structure",members:{Suffix:{}}},RedirectAllRequestsTo:{type:"structure",members:{HostName:{},Protocol:{}}},RoutingRules:{type:"list",members:{type:"structure",name:"RoutingRule",members:{Condition:{type:"structure",members:{HttpErrorCodeReturnedEquals:{},KeyPrefixEquals:{}}},Redirect:{type:"structure",members:{HostName:{},HttpRedirectCode:{},Protocol:{},ReplaceKeyPrefixWith:{},ReplaceKeyWith:{}}}}}}}}},getObject:{name:"GetObject",http:{method:"GET",uri:"/{Bucket}/{Key}?versionId={VersionId}&response-content-type={ResponseContentType}&response-content-language={ResponseContentLanguage}&response-expires={ResponseExpires}&response-cache-control={ResponseCacheControl}&response-content-disposition={ResponseContentDisposition}&response-content-encoding={ResponseContentEncoding}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},IfMatch:{location:"header",name:"If-Match"},IfModifiedSince:{type:"timestamp",location:"header",name:"If-Modified-Since"},IfNoneMatch:{location:"header",name:"If-None-Match"},IfUnmodifiedSince:{type:"timestamp",location:"header",name:"If-Unmodified-Since"},Key:{required:true,location:"uri"},Range:{location:"header",name:"Range"},ResponseCacheControl:{location:"uri"},ResponseContentDisposition:{location:"uri"},ResponseContentEncoding:{location:"uri"},ResponseContentLanguage:{location:"uri"},ResponseContentType:{location:"uri"},ResponseExpires:{type:"timestamp",location:"uri"},VersionId:{location:"uri"}}},output:{type:"structure",members:{AcceptRanges:{location:"header",name:"accept-ranges"},Body:{type:"binary",streaming:true},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentType:{location:"header",name:"Content-Type"},DeleteMarker:{type:"boolean",location:"header",name:"x-oss-delete-marker"},ETag:{location:"header",name:"ETag"},Expiration:{location:"header",name:"x-oss-expiration"},Expires:{type:"timestamp",location:"header",name:"Expires"},LastModified:{type:"timestamp",location:"header",name:"Last-Modified"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},MissingMeta:{type:"integer",location:"header",name:"x-oss-missing-meta"},Restore:{location:"header",name:"x-oss-restore"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}},payload:"Body"}},getObjectAcl:{name:"GetObjectAcl",http:{method:"GET",uri:"/{Bucket}/{Key}?acl&versionId={VersionId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},VersionId:{location:"uri"}}},output:{type:"structure",members:{AccessControlList:{type:"list",name:"Grants",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},"xsi:type":{name:"Type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}}},getObjectTorrent:{name:"GetObjectTorrent",http:{method:"GET",uri:"/{Bucket}/{Key}?torrent"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"}}},output:{type:"structure",members:{Body:{type:"binary",streaming:true}},payload:"Body"}},headBucket:{name:"HeadBucket",http:{method:"HEAD",uri:"/{Bucket}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},headObject:{name:"HeadObject",http:{method:"HEAD",uri:"/{Bucket}/{Key}?versionId={VersionId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},IfMatch:{location:"header",name:"If-Match"},IfModifiedSince:{type:"timestamp",location:"header",name:"If-Modified-Since"},IfNoneMatch:{location:"header",name:"If-None-Match"},IfUnmodifiedSince:{type:"timestamp",location:"header",name:"If-Unmodified-Since"},Key:{required:true,location:"uri"},Range:{location:"header",name:"Range"},VersionId:{location:"uri"}}},output:{type:"structure",members:{AcceptRanges:{location:"header",name:"accept-ranges"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentType:{location:"header",name:"Content-Type"},DeleteMarker:{type:"boolean",location:"header",name:"x-oss-delete-marker"},ETag:{location:"header",name:"ETag"},Expiration:{location:"header",name:"x-oss-expiration"},Expires:{type:"timestamp",location:"header",name:"Expires"},LastModified:{type:"timestamp",location:"header",name:"Last-Modified"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},MissingMeta:{type:"integer",location:"header",name:"x-oss-missing-meta"},Restore:{location:"header",name:"x-oss-restore"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}}},listBuckets:{name:"ListBuckets",alias:"GetService",http:{method:"GET",uri:"/"},input:{type:"structure",members:{}},output:{type:"structure",members:{Buckets:{type:"list",members:{type:"structure",name:"Bucket",members:{CreationDate:{type:"timestamp"},Name:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}}}, -listMultipartUploads:{name:"ListMultipartUploads",http:{method:"GET",uri:"/{Bucket}?uploads&prefix={Prefix}&delimiter={Delimiter}&max-uploads={MaxUploads}&key-marker={KeyMarker}&upload-id-marker={UploadIdMarker}&encoding-type={EncodingType}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Delimiter:{location:"uri"},EncodingType:{location:"uri"},KeyMarker:{location:"uri"},MaxUploads:{type:"integer",location:"uri"},Prefix:{location:"uri"},UploadIdMarker:{location:"uri"}}},output:{type:"structure",members:{Bucket:{},CommonPrefixes:{type:"list",members:{type:"structure",members:{Prefix:{}}},flattened:true},EncodingType:{location:"header",name:"Encoding-Type"},IsTruncated:{type:"boolean"},KeyMarker:{},MaxUploads:{type:"integer"},NextKeyMarker:{},NextUploadIdMarker:{},Prefix:{},UploadIdMarker:{},Upload:{type:"list",name:"Uploads",members:{type:"structure",members:{Initiated:{type:"timestamp"},Initiator:{type:"structure",members:{DisplayName:{},ID:{}}},Key:{},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},StorageClass:{},UploadId:{}}},flattened:true}}}},listObjectVersions:{name:"ListObjectVersions",alias:"GetBucketObjectVersions",http:{method:"GET",uri:"/{Bucket}?versions&delimiter={Delimiter}&key-marker={KeyMarker}&max-keys={MaxKeys}&prefix={Prefix}&version-id-marker={VersionIdMarker}&encoding-type={EncodingType}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Delimiter:{location:"uri"},EncodingType:{location:"uri"},KeyMarker:{location:"uri"},MaxKeys:{type:"integer",location:"uri"},Prefix:{location:"uri"},VersionIdMarker:{location:"uri"}}},output:{type:"structure",members:{CommonPrefixes:{type:"list",members:{type:"structure",members:{Prefix:{}}},flattened:true},DeleteMarker:{type:"list",name:"DeleteMarkers",members:{type:"structure",members:{IsLatest:{type:"boolean"},Key:{},LastModified:{type:"timestamp"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},VersionId:{}}},flattened:true},EncodingType:{location:"header",name:"Encoding-Type"},IsTruncated:{type:"boolean"},KeyMarker:{},MaxKeys:{type:"integer"},Name:{},NextKeyMarker:{},NextVersionIdMarker:{},Prefix:{},VersionIdMarker:{},Version:{type:"list",name:"Versions",members:{type:"structure",members:{ETag:{},IsLatest:{type:"boolean"},Key:{},LastModified:{type:"timestamp"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},Size:{},StorageClass:{},VersionId:{}}},flattened:true}}}},listObjects:{name:"ListObjects",alias:"GetBucket",http:{method:"GET",uri:"/{Bucket}?delimiter={Delimiter}&marker={Marker}&max-keys={MaxKeys}&prefix={Prefix}&encoding-type={EncodingType}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Delimiter:{location:"uri"},EncodingType:{location:"uri"},Marker:{location:"uri"},MaxKeys:{type:"integer",location:"uri"},Prefix:{location:"uri"}}},output:{type:"structure",members:{CommonPrefixes:{type:"list",members:{type:"structure",members:{Prefix:{}}},flattened:true},Contents:{type:"list",members:{type:"structure",members:{ETag:{},Key:{},LastModified:{type:"timestamp"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},Size:{type:"integer"},StorageClass:{}}},flattened:true},EncodingType:{location:"header",name:"Encoding-Type"},IsTruncated:{type:"boolean"},Marker:{},MaxKeys:{type:"integer"},Name:{},NextMarker:{},Prefix:{}}}},listParts:{name:"ListParts",http:{method:"GET",uri:"/{Bucket}/{Key}?uploadId={UploadId}&max-parts={MaxParts}&part-number-marker={PartNumberMarker}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},MaxParts:{type:"integer",location:"uri"},PartNumberMarker:{type:"integer",location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{Bucket:{},Initiator:{type:"structure",members:{DisplayName:{},ID:{}}},IsTruncated:{type:"boolean"},Key:{},MaxParts:{type:"integer"},NextPartNumberMarker:{type:"integer"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},PartNumberMarker:{type:"integer"},Part:{type:"list",name:"Parts",members:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"},PartNumber:{type:"integer"},Size:{type:"integer"}}},flattened:true},StorageClass:{},UploadId:{}}}},putBucketAcl:{name:"PutBucketAcl",http:{method:"PUT",uri:"/{Bucket}?acl"},input:{payload:"AccessControlPolicy",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},AccessControlPolicy:{type:"structure",members:{Grants:{type:"list",name:"AccessControlList",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},Type:{required:true,name:"xsi:type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}},Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWrite:{location:"header",name:"x-oss-grant-write"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"}}},output:{type:"structure",members:{}}},putBucketCors:{name:"PutBucketCors",http:{method:"PUT",uri:"/{Bucket}?cors"},input:{payload:"CORSConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},CORSConfiguration:{type:"structure",members:{CORSRules:{type:"list",name:"CORSRule",members:{type:"structure",members:{AllowedHeaders:{type:"list",name:"AllowedHeader",members:{},flattened:true},AllowedMethods:{type:"list",name:"AllowedMethod",members:{},flattened:true},AllowedOrigins:{type:"list",name:"AllowedOrigin",members:{},flattened:true},ExposeHeaders:{type:"list",name:"ExposeHeader",members:{},flattened:true},MaxAgeSeconds:{type:"integer"}}},flattened:true}}},ContentMD5:{location:"header",name:"Content-MD5"}}},output:{type:"structure",members:{}}},putBucketLifecycle:{name:"PutBucketLifecycle",http:{method:"PUT",uri:"/{Bucket}?lifecycle"},input:{payload:"LifecycleConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},LifecycleConfiguration:{type:"structure",members:{Rules:{type:"list",required:true,name:"Rule",members:{type:"structure",members:{Expiration:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"}}},ID:{},Prefix:{required:true},Status:{required:true},Transition:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"},StorageClass:{}}}}},flattened:true}}}}},output:{type:"structure",members:{}}},putBucketLogging:{name:"PutBucketLogging",http:{method:"PUT",uri:"/{Bucket}?logging"},input:{payload:"BucketLoggingStatus",type:"structure",members:{Bucket:{required:true,location:"uri"},BucketLoggingStatus:{type:"structure",required:true,members:{LoggingEnabled:{type:"structure",members:{TargetBucket:{},TargetGrants:{type:"list",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},Type:{required:true,name:"xsi:type",attribute:true},URI:{}}},Permission:{}}}},TargetPrefix:{}}}}},ContentMD5:{location:"header",name:"Content-MD5"}}},output:{type:"structure",members:{}}},putBucketNotification:{name:"PutBucketNotification",http:{method:"PUT",uri:"/{Bucket}?notification"},input:{payload:"NotificationConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},NotificationConfiguration:{type:"structure",required:true,members:{TopicConfiguration:{type:"structure",required:true,members:{Event:{},Topic:{}}}}}}},output:{type:"structure",members:{}}},putBucketPolicy:{name:"PutBucketPolicy",http:{method:"PUT",uri:"/{Bucket}?policy"},input:{payload:"Policy",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},Policy:{required:true}}},output:{type:"structure",members:{}}},putBucketRequestPayment:{name:"PutBucketRequestPayment",http:{method:"PUT",uri:"/{Bucket}?requestPayment"},input:{payload:"RequestPaymentConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},RequestPaymentConfiguration:{type:"structure",required:true,members:{Payer:{required:true}}}}},output:{type:"structure",members:{}}},putBucketTagging:{name:"PutBucketTagging",http:{method:"PUT",uri:"/{Bucket}?tagging"},input:{payload:"Tagging",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},Tagging:{type:"structure",required:true,members:{TagSet:{type:"list",required:true,members:{type:"structure",required:true,name:"Tag",members:{Key:{required:true},Value:{required:true}}}}}}}},output:{type:"structure",members:{}}},putBucketVersioning:{name:"PutBucketVersioning",http:{method:"PUT",uri:"/{Bucket}?versioning"},input:{payload:"VersioningConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},MFA:{location:"header",name:"x-oss-mfa"},VersioningConfiguration:{type:"structure",required:true,members:{MFADelete:{},Status:{}}}}},output:{type:"structure",members:{}}},putBucketWebsite:{name:"PutBucketWebsite",http:{method:"PUT",uri:"/{Bucket}?website"},input:{payload:"WebsiteConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},WebsiteConfiguration:{type:"structure",required:true,members:{ErrorDocument:{type:"structure",members:{Key:{required:true}}},IndexDocument:{type:"structure",members:{Suffix:{required:true}}},RedirectAllRequestsTo:{type:"structure",members:{HostName:{required:true},Protocol:{}}},RoutingRules:{type:"list",members:{type:"structure",name:"RoutingRule",members:{Condition:{type:"structure",members:{HttpErrorCodeReturnedEquals:{},KeyPrefixEquals:{}}},Redirect:{type:"structure",required:true,members:{HostName:{},HttpRedirectCode:{},Protocol:{},ReplaceKeyPrefixWith:{},ReplaceKeyWith:{}}}}}}}}}},output:{type:"structure",members:{}}},putObject:{name:"PutObject",http:{method:"PUT",uri:"/{Bucket}/{Key}"},input:{payload:"Body",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},AccessControlAllowOrigin:{location:"header",name:"Access-Control-Allow-Origin"},Body:{type:"binary",streaming:true},Bucket:{required:true,location:"uri"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentMD5:{location:"header",name:"Content-MD5"},ContentType:{location:"header",name:"Content-Type"},Expires:{type:"timestamp",location:"header",name:"Expires"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},StorageClass:{location:"header",name:"x-oss-storage-class"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}},output:{type:"structure",members:{ETag:{location:"header",name:"ETag"},Expiration:{type:"timestamp",location:"header",name:"x-oss-expiration"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"}}}},putObjectAcl:{name:"PutObjectAcl",http:{method:"PUT",uri:"/{Bucket}/{Key}?acl"},input:{payload:"AccessControlPolicy",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},AccessControlPolicy:{type:"structure",members:{Grants:{type:"list",name:"AccessControlList",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},Type:{required:true,name:"xsi:type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}},Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWrite:{location:"header",name:"x-oss-grant-write"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},restoreObject:{name:"RestoreObject",alias:"PostObjectRestore",http:{method:"POST",uri:"/{Bucket}/{Key}?restore"},input:{payload:"RestoreRequest",type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},RestoreRequest:{type:"structure",members:{Days:{type:"integer",required:true}}}}},output:{type:"structure",members:{}}},uploadPart:{name:"UploadPart",http:{method:"PUT",uri:"/{Bucket}/{Key}?partNumber={PartNumber}&uploadId={UploadId}"},input:{payload:"Body",type:"structure",members:{Body:{type:"binary",streaming:true},Bucket:{required:true,location:"uri"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentMD5:{location:"header",name:"Content-MD5"},Key:{required:true,location:"uri"},PartNumber:{type:"integer",required:true,location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{ETag:{location:"header",name:"ETag"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"}}}},uploadPartCopy:{name:"UploadPartCopy",http:{method:"PUT",uri:"/{Bucket}/{Key}?partNumber={PartNumber}&uploadId={UploadId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},CopySource:{required:true,location:"header",name:"x-oss-copy-source"},CopySourceIfMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-match"},CopySourceIfModifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-modified-since"},CopySourceIfNoneMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-unmodified-since"},CopySourceRange:{location:"header",name:"x-oss-copy-source-range"},Key:{required:true,location:"uri"},PartNumber:{type:"integer",required:true,location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",name:"x-oss-copy-source-version-id"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},ETag:{},LastModified:{type:"timestamp"}}}}},pagination:{listMultipartUploads:{limitKey:"MaxUploads",moreResults:"IsTruncated",outputToken:["NextKeyMarker","NextUploadIdMarker"],inputToken:["KeyMarker","UploadIdMarker"],resultKey:"Uploads"},listObjectVersions:{moreResults:"IsTruncated",limitKey:"MaxKeys",outputToken:["NextKeyMarker","NextVersionIdMarker"],inputToken:["KeyMarker","VersionIdMarker"],resultKey:"Versions"},listObjects:{moreResults:"IsTruncated",limitKey:"MaxKeys",outputToken:"NextMarker or Contents[-1].Key",inputToken:"Marker",resultKey:["Contents","CommonPrefixes"]},listParts:{limitKey:"IsTruncated",outputToken:"NextPartNumberMarker",inputToken:"PartNumberMarker",resultKey:"Parts"}}}},{}]},{},[3]); \ No newline at end of file +result.path=result.pathname="/"}result.href=result.format();return result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){Object.keys(relative).forEach(function(k){result[k]=relative[k]});result.href=result.format();return result}result.protocol=relative.protocol;if(!relative.host&&!hostlessProtocol[relative.protocol]){var relPath=(relative.pathname||"").split("/");while(relPath.length&&!(relative.host=relPath.shift()));if(!relative.host)relative.host="";if(!relative.hostname)relative.hostname="";if(relPath[0]!=="")relPath.unshift("");if(relPath.length<2)relPath.unshift("");result.pathname=relPath.join("/")}else{result.pathname=relative.pathname}result.search=relative.search;result.query=relative.query;result.host=relative.host||"";result.auth=relative.auth;result.hostname=relative.hostname||relative.host;result.port=relative.port;if(result.pathname||result.search){var p=result.pathname||"";var s=result.search||"";result.path=p+s}result.slashes=result.slashes||relative.slashes;result.href=result.format();return result}var isSourceAbs=result.pathname&&result.pathname.charAt(0)==="/",isRelAbs=relative.host||relative.pathname&&relative.pathname.charAt(0)==="/",mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],relPath=relative.pathname&&relative.pathname.split("/")||[],psychotic=result.protocol&&!slashedProtocol[result.protocol];if(psychotic){result.hostname="";result.port=null;if(result.host){if(srcPath[0]==="")srcPath[0]=result.host;else srcPath.unshift(result.host)}result.host="";if(relative.protocol){relative.hostname=null;relative.port=null;if(relative.host){if(relPath[0]==="")relPath[0]=relative.host;else relPath.unshift(relative.host)}relative.host=null}mustEndAbs=mustEndAbs&&(relPath[0]===""||srcPath[0]==="")}if(isRelAbs){result.host=relative.host||relative.host===""?relative.host:result.host;result.hostname=relative.hostname||relative.hostname===""?relative.hostname:result.hostname;result.search=relative.search;result.query=relative.query;srcPath=relPath}else if(relPath.length){if(!srcPath)srcPath=[];srcPath.pop();srcPath=srcPath.concat(relPath);result.search=relative.search;result.query=relative.query}else if(!isNullOrUndefined(relative.search)){if(psychotic){result.hostname=result.host=srcPath.shift();var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}result.search=relative.search;result.query=relative.query;if(!isNull(result.pathname)||!isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.href=result.format();return result}if(!srcPath.length){result.pathname=null;if(result.search){result.path="/"+result.search}else{result.path=null}result.href=result.format();return result}var last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host)&&(last==="."||last==="..")||last==="";var up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if(last=="."){srcPath.splice(i,1)}else if(last===".."){srcPath.splice(i,1);up++}else if(up){srcPath.splice(i,1);up--}}if(!mustEndAbs&&!removeAllDots){for(;up--;up){srcPath.unshift("..")}}if(mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")){srcPath.unshift("")}if(hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"){srcPath.push("")}var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;if(mustEndAbs&&!isAbsolute){srcPath.unshift("")}if(!srcPath.length){result.pathname=null;result.path=null}else{result.pathname=srcPath.join("/")}if(!isNull(result.pathname)||!isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];if(port!==":"){this.port=port.substr(1)}host=host.substr(0,host.length-port.length)}if(host)this.hostname=host};function isString(arg){return typeof arg==="string"}function isObject(arg){return typeof arg==="object"&&arg!==null}function isNull(arg){return arg===null}function isNullOrUndefined(arg){return arg==null}},{punycode:86,querystring:89}],106:[function(require,module,exports){module.exports=function isBuffer(arg){return arg&&typeof arg==="object"&&typeof arg.copy==="function"&&typeof arg.fill==="function"&&typeof arg.readUInt8==="function"}},{}],107:[function(require,module,exports){(function(process,global){var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}});for(var x=args[i];i=3)ctx.depth=arguments[2];if(arguments.length>=4)ctx.colors=arguments[3];if(isBoolean(opts)){ctx.showHidden=opts}else if(opts){exports._extend(ctx,opts)}if(isUndefined(ctx.showHidden))ctx.showHidden=false;if(isUndefined(ctx.depth))ctx.depth=2;if(isUndefined(ctx.colors))ctx.colors=false;if(isUndefined(ctx.customInspect))ctx.customInspect=true;if(ctx.colors)ctx.stylize=stylizeWithColor;return formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];if(style){return"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m"}else{return str}}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};array.forEach(function(val,idx){hash[val]=true});return hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);if(!isString(ret)){ret=formatValue(ctx,ret,recurseTimes)}return ret}var primitive=formatPrimitive(ctx,value);if(primitive){return primitive}var keys=Object.keys(value);var visibleKeys=arrayToHash(keys);if(ctx.showHidden){keys=Object.getOwnPropertyNames(value)}if(isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0)){return formatError(value)}if(keys.length===0){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}if(isDate(value)){return ctx.stylize(Date.prototype.toString.call(value),"date")}if(isError(value)){return formatError(value)}}var base="",array=false,braces=["{","}"];if(isArray(value)){array=true;braces=["[","]"]}if(isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)){base=" "+RegExp.prototype.toString.call(value)}if(isDate(value)){base=" "+Date.prototype.toUTCString.call(value)}if(isError(value)){base=" "+formatError(value)}if(keys.length===0&&(!array||value.length==0)){return braces[0]+base+braces[1]}if(recurseTimes<0){if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}else{return ctx.stylize("[Object]","special")}}ctx.seen.push(value);var output;if(array){output=formatArray(ctx,value,recurseTimes,visibleKeys,keys)}else{output=keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)})}ctx.seen.pop();return reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i-1){if(array){str=str.split("\n").map(function(line){return" "+line}).join("\n").substr(2)}else{str="\n"+str.split("\n").map(function(line){return" "+line}).join("\n")}}}else{str=ctx.stylize("[Circular]","special")}}if(isUndefined(name)){if(array&&key.match(/^\d+$/)){return str}name=JSON.stringify(""+key);if(name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,"name")}else{name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");name=ctx.stylize(name,"string")}}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce(function(prev,cur){numLinesEst++;if(cur.indexOf("\n")>=0)numLinesEst++;return prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(length>60){return braces[0]+(base===""?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1]}return braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return typeof arg==="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg==="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg==="string"}exports.isString=isString;function isSymbol(arg){return typeof arg==="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&objectToString(re)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg==="object"&&arg!==null}exports.isObject=isObject;function isDate(d){return isObject(d)&&objectToString(d)==="[object Date]"}exports.isDate=isDate;function isError(e){return isObject(e)&&(objectToString(e)==="[object Error]"||e instanceof Error)}exports.isError=isError;function isFunction(arg){return typeof arg==="function"}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==="boolean"||typeof arg==="number"||typeof arg==="string"||typeof arg==="symbol"||typeof arg==="undefined"}exports.isPrimitive=isPrimitive;exports.isBuffer=require("./support/isBuffer");function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date;var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))};exports.inherits=require("inherits");exports._extend=function(origin,add){if(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--){origin[keys[i]]=add[keys[i]]}return origin};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./support/isBuffer":106,_process:85,inherits:83}],"batchcompute-2015-06-30.json":[function(require,module,exports){module.exports={format:"rest-json",apiVersion:"2015-06-30",checksumFormat:"md5",endpointPrefix:"batchcompute",serviceAbbreviation:"Aliyun BatchCompute",serviceFullName:"Aliyun Batch Computing Service",signatureVersion:"batchcompute",timestampFormat:"rfc822",xmlnamespace:"",operations:{createJob:{name:"CreateJob",http:{method:"POST",uri:"/jobs"},input:{payload:["JobName","JobTag","Priority","Description","TaskDag"],members:{JobName:{type:"string",required:true},JobTag:{required:true,type:"string"},Priority:{required:true,type:"integer"},Description:{required:false,type:"String"},TaskDag:{required:true,type:"structure",members:{TaskDescMap:{required:true,type:"map",members:{type:"structure",members:{InstanceCount:{required:true,type:"integer"},Timeout:{required:true,type:"integer"},ImageId:{required:true,type:"string"},OssMappingLock:{required:false,type:"boolean"},OssMappingLocale:{required:false,type:"string"},OssMapping:{required:false,type:"map",members:{type:"string"}},PackageUri:{required:true},ProgramName:{required:true},ProgramType:{required:true},ProgramArguments:{required:false},EnvironmentVariables:{required:false,type:"map",members:{type:"string"}},StdoutRedirectPath:{required:false},StderrRedirectPath:{required:false},ResourceDescription:{type:"structure",required:true,members:{Cpu:{type:"integer",required:true},Memory:{type:"integer",required:true}}}}}},Dependencies:{type:"map",required:false,members:{type:"list"}}}}}},output:{type:"structure",members:{JobId:{type:"string",name:"ResourceId"},RequestId:{location:"header",name:"Request-Id"}}}},listJobs:{name:"ListJobs",http:{method:"GET",uri:"/jobs"},input:{type:"structure",members:{}},output:{type:"structure",members:{}}},getJob:{name:"GetJob",http:{method:"GET",uri:"/jobs/{jobId}"},input:{type:"structure",members:{jobId:{type:"string",required:true,location:"uri"}}},output:{type:"structure",members:{requestId:{type:"string",location:"header",name:"request-id"}}}},getJobDescription:{name:"GetJobDescription",http:{method:"GET",uri:"/jobs/{jobId}/description"},input:{type:"structure",members:{jobId:{type:"string",required:true,location:"uri"}}},output:{type:"structure",members:{}}},listTasks:{name:"ListTasks",http:{method:"GET",uri:"/jobs/{jobId}/tasks"},input:{members:{jobId:{type:"string",required:true,location:"uri"}}},output:{type:"structure",members:{requestId:{type:"string",location:"header",name:"request-id"}}}},listImages:{name:"ListImages",http:{method:"GET",uri:"/images"},input:{},output:{type:"structure",members:{requestId:{type:"string",location:"header",name:"request-id"}}}},updateJobPriority:{name:"UpdateJobPriority",http:{method:"PUT",uri:"/jobs/{jobId}/Priority"},input:{payload:["priority"],members:{jobId:{type:"string",required:true,location:"uri"},priority:{type:"integer",required:true}}},output:{payload:"none",members:{none:{required:false}}}},stopJob:{name:"StopJob",http:{method:"PUT",uri:"/jobs/{jobId}?Action=Stop"},input:{members:{jobId:{type:"string",required:true,location:"uri"}}},output:{payload:"none",members:{none:{required:false}}}},startJob:{name:"StartJob",http:{method:"PUT",uri:"/jobs/{jobId}?Action=Start"},input:{members:{jobId:{type:"string",required:true,location:"uri"}}},output:{payload:"none",members:{none:{required:false}}}},deleteJob:{name:"DeleteJob",http:{method:"DELETE",uri:"/jobs/{jobId}"},input:{members:{jobId:{type:"string",required:true,location:"uri"}}},output:{payload:"none",members:{none:{required:false}}}}},pagination:{}}},{}],"oss-2013-10-15.json":[function(require,module,exports){module.exports={format:"rest-xml",apiVersion:"2013-10-15",checksumFormat:"md5",endpointPrefix:"oss",serviceAbbreviation:"Aliyun OSS",serviceFullName:"Aliyun Open Storage Service",signatureVersion:"oss",timestampFormat:"rfc822",xmlnamespace:"",operations:{abortMultipartUpload:{name:"AbortMultipartUpload",http:{method:"DELETE",uri:"/{Bucket}/{Key}?uploadId={UploadId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},completeMultipartUpload:{name:"CompleteMultipartUpload",http:{method:"POST",uri:"/{Bucket}/{Key}?uploadId={UploadId}"},input:{payload:"CompleteMultipartUpload",type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},CompleteMultipartUpload:{type:"structure",name:"CompleteMultipartUpload",members:{Parts:{type:"list",name:"Part",members:{type:"structure",members:{PartNumber:{type:"integer"},ETag:{}}},flattened:true}}},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{Bucket:{},ETag:{},Expiration:{type:"timestamp",location:"header",name:"x-oss-expiration"},Key:{},Location:{},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"}}}},copyObject:{name:"CopyObject",alias:"PutObjectCopy",http:{method:"PUT",uri:"/{Bucket}/{Key}"},input:{type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},Bucket:{required:true,location:"uri"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentType:{location:"header",name:"Content-Type"},CopySource:{required:true,location:"header",name:"x-oss-copy-source"},CopySourceIfMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-match"},CopySourceIfModifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-modified-since"},CopySourceIfNoneMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-unmodified-since"},Expires:{type:"timestamp",location:"header",name:"Expires"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},MetadataDirective:{location:"header",name:"x-oss-metadata-directive"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},StorageClass:{location:"header",name:"x-oss-storage-class"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",name:"x-oss-copy-source-version-id"},Expiration:{location:"header",name:"x-oss-expiration"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},ETag:{},LastModified:{}}}},createBucket:{name:"CreateBucket",alias:"PutBucket",http:{method:"PUT",uri:"/{Bucket}"},input:{payload:"CreateBucketConfiguration",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},Bucket:{required:true,location:"uri"},CreateBucketConfiguration:{type:"structure",members:{LocationConstraint:{}}},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWrite:{location:"header",name:"x-oss-grant-write"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"}}},output:{type:"structure",members:{Location:{location:"header",name:"Location"}}}},createMultipartUpload:{name:"CreateMultipartUpload",alias:"InitiateMultipartUpload",http:{method:"POST",uri:"/{Bucket}/{Key}?uploads"},input:{type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},Bucket:{required:true,location:"uri"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentType:{location:"header",name:"Content-Type"},Expires:{type:"timestamp",location:"header",name:"Expires"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},StorageClass:{location:"header",name:"x-oss-storage-class"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}},output:{type:"structure",members:{Bucket:{name:"Bucket"},Key:{},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},UploadId:{}}}},deleteBucket:{name:"DeleteBucket",http:{method:"DELETE",uri:"/{Bucket}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketLogging:{name:"DeleteBucketLogging",http:{method:"DELETE",uri:"/{Bucket}?logging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketCors:{name:"DeleteBucketCors",http:{method:"DELETE",uri:"/{Bucket}?cors"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketLifecycle:{name:"DeleteBucketLifecycle",http:{method:"DELETE",uri:"/{Bucket}?lifecycle"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketPolicy:{name:"DeleteBucketPolicy",http:{method:"DELETE",uri:"/{Bucket}?policy"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketTagging:{name:"DeleteBucketTagging",http:{method:"DELETE",uri:"/{Bucket}?tagging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteBucketWebsite:{name:"DeleteBucketWebsite",http:{method:"DELETE",uri:"/{Bucket}?website"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},deleteObject:{name:"DeleteObject",http:{method:"DELETE",uri:"/{Bucket}/{Key}?versionId={VersionId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},MFA:{location:"header",name:"x-oss-mfa"},VersionId:{location:"uri"}}},output:{type:"structure",members:{DeleteMarker:{type:"boolean",location:"header",name:"x-oss-delete-marker"},VersionId:{location:"header",name:"x-oss-version-id"}}}},deleteObjects:{name:"DeleteObjects",alias:"DeleteMultipleObjects",http:{method:"POST",uri:"/{Bucket}?delete"},input:{payload:"Delete",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},Delete:{type:"structure",required:true,members:{Objects:{type:"list",required:true,name:"Object",members:{type:"structure",members:{Key:{required:true},VersionId:{}}},flattened:true},Quiet:{type:"boolean"}}},MFA:{location:"header",name:"x-oss-mfa"}}},output:{type:"structure",members:{Deleted:{type:"list",members:{type:"structure",members:{DeleteMarker:{type:"boolean"},DeleteMarkerVersionId:{},Key:{},VersionId:{}}},flattened:true},Error:{type:"list",name:"Errors",members:{type:"structure",members:{Code:{},Key:{},Message:{},VersionId:{}}},flattened:true}}}},getBucketAcl:{name:"GetBucketAcl",http:{method:"GET",uri:"/{Bucket}?acl"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{AccessControlList:{type:"list",name:"Grants",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},"xsi:type":{name:"Type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}}},getBucketCors:{name:"GetBucketCors",http:{method:"GET",uri:"/{Bucket}?cors"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{CORSRule:{type:"list",name:"CORSRules",members:{type:"structure",members:{AllowedHeader:{type:"list",name:"AllowedHeaders",members:{},flattened:true},AllowedMethod:{type:"list",name:"AllowedMethods",members:{},flattened:true},AllowedOrigin:{type:"list",name:"AllowedOrigins",members:{},flattened:true},ExposeHeader:{type:"list",name:"ExposeHeaders",members:{},flattened:true},MaxAgeSeconds:{type:"integer"}}},flattened:true}}}},getBucketLifecycle:{name:"GetBucketLifecycle",http:{method:"GET",uri:"/{Bucket}?lifecycle"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{Rule:{type:"list",name:"Rules",members:{type:"structure",members:{Expiration:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"}}},ID:{},Prefix:{},Status:{},Transition:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"},StorageClass:{}}}}},flattened:true}}}},getBucketLocation:{name:"GetBucketLocation",http:{method:"GET",uri:"/{Bucket}?location"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{LocationConstraint:{}}}},getBucketLogging:{name:"GetBucketLogging",http:{method:"GET",uri:"/{Bucket}?logging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{LoggingEnabled:{type:"structure",members:{TargetBucket:{},TargetGrants:{type:"list",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},"xsi:type":{name:"Type",attribute:true},URI:{}}},Permission:{}}}},TargetPrefix:{}}}}}},getBucketNotification:{name:"GetBucketNotification",http:{method:"GET",uri:"/{Bucket}?notification"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{TopicConfiguration:{type:"structure",members:{Event:{},Topic:{}}}}}},getBucketPolicy:{name:"GetBucketPolicy",http:{method:"GET",uri:"/{Bucket}?policy"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{Policy:{}},payload:"Policy"}},getBucketRequestPayment:{name:"GetBucketRequestPayment",http:{method:"GET",uri:"/{Bucket}?requestPayment"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{Payer:{}}}},getBucketTagging:{name:"GetBucketTagging",http:{method:"GET",uri:"/{Bucket}?tagging"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{TagSet:{type:"list",members:{type:"structure",name:"Tag",members:{Key:{},Value:{}}}}}}},getBucketVersioning:{name:"GetBucketVersioning",http:{method:"GET",uri:"/{Bucket}?versioning"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{MFADelete:{},Status:{}}}},getBucketWebsite:{name:"GetBucketWebsite",http:{method:"GET",uri:"/{Bucket}?website"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{ErrorDocument:{type:"structure",members:{Key:{}}},IndexDocument:{type:"structure",members:{Suffix:{}}},RedirectAllRequestsTo:{type:"structure",members:{HostName:{},Protocol:{}}},RoutingRules:{type:"list",members:{type:"structure",name:"RoutingRule",members:{Condition:{type:"structure",members:{HttpErrorCodeReturnedEquals:{},KeyPrefixEquals:{}}},Redirect:{type:"structure",members:{HostName:{},HttpRedirectCode:{},Protocol:{},ReplaceKeyPrefixWith:{},ReplaceKeyWith:{}}}}}}}}},getObject:{name:"GetObject",http:{method:"GET",uri:"/{Bucket}/{Key}?versionId={VersionId}&response-content-type={ResponseContentType}&response-content-language={ResponseContentLanguage}&response-expires={ResponseExpires}&response-cache-control={ResponseCacheControl}&response-content-disposition={ResponseContentDisposition}&response-content-encoding={ResponseContentEncoding}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},IfMatch:{location:"header",name:"If-Match"},IfModifiedSince:{type:"timestamp",location:"header",name:"If-Modified-Since"},IfNoneMatch:{location:"header",name:"If-None-Match"},IfUnmodifiedSince:{type:"timestamp",location:"header",name:"If-Unmodified-Since"},Key:{required:true,location:"uri"},Range:{location:"header",name:"Range"},ResponseCacheControl:{location:"uri"},ResponseContentDisposition:{location:"uri"},ResponseContentEncoding:{location:"uri"},ResponseContentLanguage:{location:"uri"},ResponseContentType:{location:"uri"},ResponseExpires:{type:"timestamp",location:"uri"},VersionId:{location:"uri"}}},output:{type:"structure",members:{AcceptRanges:{location:"header",name:"accept-ranges"},Body:{type:"binary",streaming:true},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentType:{location:"header",name:"Content-Type"},DeleteMarker:{type:"boolean",location:"header",name:"x-oss-delete-marker"},ETag:{location:"header",name:"ETag"},Expiration:{location:"header",name:"x-oss-expiration"},Expires:{type:"timestamp",location:"header",name:"Expires"},LastModified:{type:"timestamp",location:"header", +name:"Last-Modified"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},MissingMeta:{type:"integer",location:"header",name:"x-oss-missing-meta"},Restore:{location:"header",name:"x-oss-restore"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}},payload:"Body"}},getObjectAcl:{name:"GetObjectAcl",http:{method:"GET",uri:"/{Bucket}/{Key}?acl&versionId={VersionId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},VersionId:{location:"uri"}}},output:{type:"structure",members:{AccessControlList:{type:"list",name:"Grants",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},"xsi:type":{name:"Type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}}},getObjectTorrent:{name:"GetObjectTorrent",http:{method:"GET",uri:"/{Bucket}/{Key}?torrent"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"}}},output:{type:"structure",members:{Body:{type:"binary",streaming:true}},payload:"Body"}},headBucket:{name:"HeadBucket",http:{method:"HEAD",uri:"/{Bucket}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},headObject:{name:"HeadObject",http:{method:"HEAD",uri:"/{Bucket}/{Key}?versionId={VersionId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},IfMatch:{location:"header",name:"If-Match"},IfModifiedSince:{type:"timestamp",location:"header",name:"If-Modified-Since"},IfNoneMatch:{location:"header",name:"If-None-Match"},IfUnmodifiedSince:{type:"timestamp",location:"header",name:"If-Unmodified-Since"},Key:{required:true,location:"uri"},Range:{location:"header",name:"Range"},VersionId:{location:"uri"}}},output:{type:"structure",members:{AcceptRanges:{location:"header",name:"accept-ranges"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentType:{location:"header",name:"Content-Type"},DeleteMarker:{type:"boolean",location:"header",name:"x-oss-delete-marker"},ETag:{location:"header",name:"ETag"},Expiration:{location:"header",name:"x-oss-expiration"},Expires:{type:"timestamp",location:"header",name:"Expires"},LastModified:{type:"timestamp",location:"header",name:"Last-Modified"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},MissingMeta:{type:"integer",location:"header",name:"x-oss-missing-meta"},Restore:{location:"header",name:"x-oss-restore"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}}},listBuckets:{name:"ListBuckets",alias:"GetService",http:{method:"GET",uri:"/"},input:{type:"structure",members:{}},output:{type:"structure",members:{Buckets:{type:"list",members:{type:"structure",name:"Bucket",members:{CreationDate:{type:"timestamp"},Name:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}}},listMultipartUploads:{name:"ListMultipartUploads",http:{method:"GET",uri:"/{Bucket}?uploads&prefix={Prefix}&delimiter={Delimiter}&max-uploads={MaxUploads}&key-marker={KeyMarker}&upload-id-marker={UploadIdMarker}&encoding-type={EncodingType}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Delimiter:{location:"uri"},EncodingType:{location:"uri"},KeyMarker:{location:"uri"},MaxUploads:{type:"integer",location:"uri"},Prefix:{location:"uri"},UploadIdMarker:{location:"uri"}}},output:{type:"structure",members:{Bucket:{},CommonPrefixes:{type:"list",members:{type:"structure",members:{Prefix:{}}},flattened:true},EncodingType:{location:"header",name:"Encoding-Type"},IsTruncated:{type:"boolean"},KeyMarker:{},MaxUploads:{type:"integer"},NextKeyMarker:{},NextUploadIdMarker:{},Prefix:{},UploadIdMarker:{},Upload:{type:"list",name:"Uploads",members:{type:"structure",members:{Initiated:{type:"timestamp"},Initiator:{type:"structure",members:{DisplayName:{},ID:{}}},Key:{},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},StorageClass:{},UploadId:{}}},flattened:true}}}},listObjectVersions:{name:"ListObjectVersions",alias:"GetBucketObjectVersions",http:{method:"GET",uri:"/{Bucket}?versions&delimiter={Delimiter}&key-marker={KeyMarker}&max-keys={MaxKeys}&prefix={Prefix}&version-id-marker={VersionIdMarker}&encoding-type={EncodingType}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Delimiter:{location:"uri"},EncodingType:{location:"uri"},KeyMarker:{location:"uri"},MaxKeys:{type:"integer",location:"uri"},Prefix:{location:"uri"},VersionIdMarker:{location:"uri"}}},output:{type:"structure",members:{CommonPrefixes:{type:"list",members:{type:"structure",members:{Prefix:{}}},flattened:true},DeleteMarker:{type:"list",name:"DeleteMarkers",members:{type:"structure",members:{IsLatest:{type:"boolean"},Key:{},LastModified:{type:"timestamp"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},VersionId:{}}},flattened:true},EncodingType:{location:"header",name:"Encoding-Type"},IsTruncated:{type:"boolean"},KeyMarker:{},MaxKeys:{type:"integer"},Name:{},NextKeyMarker:{},NextVersionIdMarker:{},Prefix:{},VersionIdMarker:{},Version:{type:"list",name:"Versions",members:{type:"structure",members:{ETag:{},IsLatest:{type:"boolean"},Key:{},LastModified:{type:"timestamp"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},Size:{},StorageClass:{},VersionId:{}}},flattened:true}}}},listObjects:{name:"ListObjects",alias:"GetBucket",http:{method:"GET",uri:"/{Bucket}?delimiter={Delimiter}&marker={Marker}&max-keys={MaxKeys}&prefix={Prefix}&encoding-type={EncodingType}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Delimiter:{location:"uri"},EncodingType:{location:"uri"},Marker:{location:"uri"},MaxKeys:{type:"integer",location:"uri"},Prefix:{location:"uri"}}},output:{type:"structure",members:{CommonPrefixes:{type:"list",members:{type:"structure",members:{Prefix:{}}},flattened:true},Contents:{type:"list",members:{type:"structure",members:{ETag:{},Key:{},LastModified:{type:"timestamp"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},Size:{type:"integer"},StorageClass:{}}},flattened:true},EncodingType:{location:"header",name:"Encoding-Type"},IsTruncated:{type:"boolean"},Marker:{},MaxKeys:{type:"integer"},Name:{},NextMarker:{},Prefix:{}}}},listParts:{name:"ListParts",http:{method:"GET",uri:"/{Bucket}/{Key}?uploadId={UploadId}&max-parts={MaxParts}&part-number-marker={PartNumberMarker}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},MaxParts:{type:"integer",location:"uri"},PartNumberMarker:{type:"integer",location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{Bucket:{},Initiator:{type:"structure",members:{DisplayName:{},ID:{}}},IsTruncated:{type:"boolean"},Key:{},MaxParts:{type:"integer"},NextPartNumberMarker:{type:"integer"},Owner:{type:"structure",members:{DisplayName:{},ID:{}}},PartNumberMarker:{type:"integer"},Part:{type:"list",name:"Parts",members:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"},PartNumber:{type:"integer"},Size:{type:"integer"}}},flattened:true},StorageClass:{},UploadId:{}}}},putBucketAcl:{name:"PutBucketAcl",http:{method:"PUT",uri:"/{Bucket}?acl"},input:{payload:"AccessControlPolicy",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},AccessControlPolicy:{type:"structure",members:{Grants:{type:"list",name:"AccessControlList",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},Type:{required:true,name:"xsi:type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}},Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWrite:{location:"header",name:"x-oss-grant-write"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"}}},output:{type:"structure",members:{}}},putBucketCors:{name:"PutBucketCors",http:{method:"PUT",uri:"/{Bucket}?cors"},input:{payload:"CORSConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},CORSConfiguration:{type:"structure",members:{CORSRules:{type:"list",name:"CORSRule",members:{type:"structure",members:{AllowedHeaders:{type:"list",name:"AllowedHeader",members:{},flattened:true},AllowedMethods:{type:"list",name:"AllowedMethod",members:{},flattened:true},AllowedOrigins:{type:"list",name:"AllowedOrigin",members:{},flattened:true},ExposeHeaders:{type:"list",name:"ExposeHeader",members:{},flattened:true},MaxAgeSeconds:{type:"integer"}}},flattened:true}}},ContentMD5:{location:"header",name:"Content-MD5"}}},output:{type:"structure",members:{}}},putBucketLifecycle:{name:"PutBucketLifecycle",http:{method:"PUT",uri:"/{Bucket}?lifecycle"},input:{payload:"LifecycleConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},LifecycleConfiguration:{type:"structure",members:{Rules:{type:"list",required:true,name:"Rule",members:{type:"structure",members:{Expiration:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"}}},ID:{},Prefix:{required:true},Status:{required:true},Transition:{type:"structure",members:{Date:{type:"timestamp",format:"iso8601"},Days:{type:"integer"},StorageClass:{}}}}},flattened:true}}}}},output:{type:"structure",members:{}}},putBucketLogging:{name:"PutBucketLogging",http:{method:"PUT",uri:"/{Bucket}?logging"},input:{payload:"BucketLoggingStatus",type:"structure",members:{Bucket:{required:true,location:"uri"},BucketLoggingStatus:{type:"structure",required:true,members:{LoggingEnabled:{type:"structure",members:{TargetBucket:{},TargetGrants:{type:"list",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},Type:{required:true,name:"xsi:type",attribute:true},URI:{}}},Permission:{}}}},TargetPrefix:{}}}}},ContentMD5:{location:"header",name:"Content-MD5"}}},output:{type:"structure",members:{}}},putBucketNotification:{name:"PutBucketNotification",http:{method:"PUT",uri:"/{Bucket}?notification"},input:{payload:"NotificationConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},NotificationConfiguration:{type:"structure",required:true,members:{TopicConfiguration:{type:"structure",required:true,members:{Event:{},Topic:{}}}}}}},output:{type:"structure",members:{}}},putBucketPolicy:{name:"PutBucketPolicy",http:{method:"PUT",uri:"/{Bucket}?policy"},input:{payload:"Policy",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},Policy:{required:true}}},output:{type:"structure",members:{}}},putBucketRequestPayment:{name:"PutBucketRequestPayment",http:{method:"PUT",uri:"/{Bucket}?requestPayment"},input:{payload:"RequestPaymentConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},RequestPaymentConfiguration:{type:"structure",required:true,members:{Payer:{required:true}}}}},output:{type:"structure",members:{}}},putBucketTagging:{name:"PutBucketTagging",http:{method:"PUT",uri:"/{Bucket}?tagging"},input:{payload:"Tagging",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},Tagging:{type:"structure",required:true,members:{TagSet:{type:"list",required:true,members:{type:"structure",required:true,name:"Tag",members:{Key:{required:true},Value:{required:true}}}}}}}},output:{type:"structure",members:{}}},putBucketVersioning:{name:"PutBucketVersioning",http:{method:"PUT",uri:"/{Bucket}?versioning"},input:{payload:"VersioningConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},MFA:{location:"header",name:"x-oss-mfa"},VersioningConfiguration:{type:"structure",required:true,members:{MFADelete:{},Status:{}}}}},output:{type:"structure",members:{}}},putBucketWebsite:{name:"PutBucketWebsite",http:{method:"PUT",uri:"/{Bucket}?website"},input:{payload:"WebsiteConfiguration",type:"structure",members:{Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},WebsiteConfiguration:{type:"structure",required:true,members:{ErrorDocument:{type:"structure",members:{Key:{required:true}}},IndexDocument:{type:"structure",members:{Suffix:{required:true}}},RedirectAllRequestsTo:{type:"structure",members:{HostName:{required:true},Protocol:{}}},RoutingRules:{type:"list",members:{type:"structure",name:"RoutingRule",members:{Condition:{type:"structure",members:{HttpErrorCodeReturnedEquals:{},KeyPrefixEquals:{}}},Redirect:{type:"structure",required:true,members:{HostName:{},HttpRedirectCode:{},Protocol:{},ReplaceKeyPrefixWith:{},ReplaceKeyWith:{}}}}}}}}}},output:{type:"structure",members:{}}},putObject:{name:"PutObject",http:{method:"PUT",uri:"/{Bucket}/{Key}"},input:{payload:"Body",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},AccessControlAllowOrigin:{location:"header",name:"Access-Control-Allow-Origin"},Body:{type:"binary",streaming:true},Bucket:{required:true,location:"uri"},CacheControl:{location:"header",name:"Cache-Control"},ContentDisposition:{location:"header",name:"Content-Disposition"},ContentEncoding:{location:"header",name:"Content-Encoding"},ContentLanguage:{location:"header",name:"Content-Language"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentMD5:{location:"header",name:"Content-MD5"},ContentType:{location:"header",name:"Content-Type"},Expires:{type:"timestamp",location:"header",name:"Expires"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"},Metadata:{type:"map",location:"header",name:"x-oss-meta-",members:{},keys:{}},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},StorageClass:{location:"header",name:"x-oss-storage-class"},WebsiteRedirectLocation:{location:"header",name:"x-oss-website-redirect-location"}}},output:{type:"structure",members:{ETag:{location:"header",name:"ETag"},Expiration:{type:"timestamp",location:"header",name:"x-oss-expiration"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},VersionId:{location:"header",name:"x-oss-version-id"}}}},putObjectAcl:{name:"PutObjectAcl",http:{method:"PUT",uri:"/{Bucket}/{Key}?acl"},input:{payload:"AccessControlPolicy",type:"structure",members:{ACL:{location:"header",name:"x-oss-acl"},AccessControlPolicy:{type:"structure",members:{Grants:{type:"list",name:"AccessControlList",members:{type:"structure",name:"Grant",members:{Grantee:{type:"structure",xmlns:{uri:"http://www.w3.org/2001/XMLSchema-instance",prefix:"xsi"},members:{DisplayName:{},EmailAddress:{},ID:{},Type:{required:true,name:"xsi:type",attribute:true},URI:{}}},Permission:{}}}},Owner:{type:"structure",members:{DisplayName:{},ID:{}}}}},Bucket:{required:true,location:"uri"},ContentMD5:{location:"header",name:"Content-MD5"},GrantFullControl:{location:"header",name:"x-oss-grant-full-control"},GrantRead:{location:"header",name:"x-oss-grant-read"},GrantReadACP:{location:"header",name:"x-oss-grant-read-acp"},GrantWrite:{location:"header",name:"x-oss-grant-write"},GrantWriteACP:{location:"header",name:"x-oss-grant-write-acp"},Key:{required:true,location:"uri"}}},output:{type:"structure",members:{}}},restoreObject:{name:"RestoreObject",alias:"PostObjectRestore",http:{method:"POST",uri:"/{Bucket}/{Key}?restore"},input:{payload:"RestoreRequest",type:"structure",members:{Bucket:{required:true,location:"uri"},Key:{required:true,location:"uri"},RestoreRequest:{type:"structure",members:{Days:{type:"integer",required:true}}}}},output:{type:"structure",members:{}}},uploadPart:{name:"UploadPart",http:{method:"PUT",uri:"/{Bucket}/{Key}?partNumber={PartNumber}&uploadId={UploadId}"},input:{payload:"Body",type:"structure",members:{Body:{type:"binary",streaming:true},Bucket:{required:true,location:"uri"},ContentLength:{type:"integer",location:"header",name:"Content-Length"},ContentMD5:{location:"header",name:"Content-MD5"},Key:{required:true,location:"uri"},PartNumber:{type:"integer",required:true,location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{ETag:{location:"header",name:"ETag"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"}}}},uploadPartCopy:{name:"UploadPartCopy",http:{method:"PUT",uri:"/{Bucket}/{Key}?partNumber={PartNumber}&uploadId={UploadId}"},input:{type:"structure",members:{Bucket:{required:true,location:"uri"},CopySource:{required:true,location:"header",name:"x-oss-copy-source"},CopySourceIfMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-match"},CopySourceIfModifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-modified-since"},CopySourceIfNoneMatch:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{type:"timestamp",location:"header",name:"x-oss-copy-source-if-unmodified-since"},CopySourceRange:{location:"header",name:"x-oss-copy-source-range"},Key:{required:true,location:"uri"},PartNumber:{type:"integer",required:true,location:"uri"},UploadId:{required:true,location:"uri"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",name:"x-oss-copy-source-version-id"},ServerSideEncryption:{location:"header",name:"x-oss-server-side-encryption"},ETag:{},LastModified:{type:"timestamp"}}}}},pagination:{listMultipartUploads:{limitKey:"MaxUploads",moreResults:"IsTruncated",outputToken:["NextKeyMarker","NextUploadIdMarker"],inputToken:["KeyMarker","UploadIdMarker"],resultKey:"Uploads"},listObjectVersions:{moreResults:"IsTruncated",limitKey:"MaxKeys",outputToken:["NextKeyMarker","NextVersionIdMarker"],inputToken:["KeyMarker","VersionIdMarker"],resultKey:"Versions"},listObjects:{moreResults:"IsTruncated",limitKey:"MaxKeys",outputToken:"NextMarker or Contents[-1].Key",inputToken:"Marker",resultKey:["Contents","CommonPrefixes"]},listParts:{limitKey:"IsTruncated",outputToken:"NextPartNumberMarker",inputToken:"PartNumberMarker",resultKey:"Parts"}}}},{}]},{},[3]); \ No newline at end of file