-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaws-sdk-2.106.0.min.js
12 lines (12 loc) · 391 KB
/
aws-sdk-2.106.0.min.js
1
2
3
4
5
6
7
8
9
10
11
12
_xamzrequire=function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var u="function"==typeof _xamzrequire&&_xamzrequire;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){var r=t[s][1][e];return i(r||e)},l,l.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof _xamzrequire&&_xamzrequire,s=0;s<n.length;s++)i(n[s]);return i}({194:[function(e,t,r){var n={util:e("./util")};({}).toString(),t.exports=n,n.util.update(n,{VERSION:"2.106.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader")}),e("./service"),e("./config"),e("./http"),e("./sequential_executor"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),n.events=new n.SequentialExecutor},{"./api_loader":189,"./config":193,"./event_listeners":207,"./http":208,"./json/builder":210,"./json/parser":211,"./model/api":212,"./model/operation":214,"./model/paginator":215,"./model/resource_waiter":216,"./model/shape":217,"./param_validator":218,"./protocol/json":220,"./protocol/query":221,"./protocol/rest":222,"./protocol/rest_json":223,"./protocol/rest_xml":224,"./request":229,"./resource_waiter":230,"./response":231,"./sequential_executor":233,"./service":234,"./signers/request_signer":253,"./util":261,"./xml/builder":263}],263:[function(e,t,r){function n(){}function i(e,t,r){switch(r.type){case"structure":return o(e,t,r);case"map":return s(e,t,r);case"list":return a(e,t,r);default:return u(e,t,r)}}function o(e,t,r){l.arrayEach(r.memberNames,function(n){var o=r.members[n];if("body"===o.location){var s=t[n],a=o.name;if(void 0!==s&&null!==s)if(o.isXmlAttribute)e.att(a,s);else if(o.flattened)i(e,s,o);else{var u=e.ele(a);c(u,o),i(u,s,o)}}})}function s(e,t,r){var n=r.key.name||"key",o=r.value.name||"value";l.each(t,function(t,s){var a=e.ele(r.flattened?r.name:"entry");i(a.ele(n),t,r.key),i(a.ele(o),s,r.value)})}function a(e,t,r){r.flattened?l.arrayEach(t,function(t){var n=r.member.name||r.name;i(e.ele(n),t,r.member)}):l.arrayEach(t,function(t){var n=r.member.name||"member";i(e.ele(n),t,r.member)})}function u(e,t,r){e.txt(r.toWireFormat(t))}function c(e,t){var r,n="xmlns";t.xmlNamespaceUri?(r=t.xmlNamespaceUri,t.xmlNamespacePrefix&&(n+=":"+t.xmlNamespacePrefix)):e.isRoot&&t.api.xmlNamespaceUri&&(r=t.api.xmlNamespaceUri),r&&e.att(n,r)}var l=e("../util"),h=e("xmlbuilder");n.prototype.toXML=function(e,t,r,n){var o=h.create(r);return c(o,t),i(o,e,t),o.children.length>0||n?o.root().toString():""},t.exports=n},{"../util":261,xmlbuilder:187}],253:[function(e,t,r){var n=e("../core"),i=n.util.inherit;n.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),n.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return n.Signers.V2;case"v3":return n.Signers.V3;case"v4":return n.Signers.V4;case"s3":return n.Signers.S3;case"v3https":return n.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":194,"./presign":252,"./s3":254,"./v2":255,"./v3":256,"./v3https":257,"./v4":258}],258:[function(e,t,r){var n=e("../core"),i=e("./v4_credentials"),o=n.util.inherit;n.Signers.V4=o(n.Signers.RequestSigner,{constructor:function(e,t,r){n.Signers.RequestSigner.call(this,e),this.serviceName=t,r=r||{},this.signatureCache="boolean"!=typeof r.signatureCache||r.signatureCache,this.operation=r.operation},algorithm:"AWS4-HMAC-SHA256",addAuthorization:function(e,t){var r=n.util.date.iso8601(t).replace(/[:\-]|\.\d{3}/g,"");this.isPresigned()?this.updateForPresigned(e,r):this.addHeaders(e,r),this.request.headers.Authorization=this.authorization(e,r)},addHeaders:function(e,t){this.request.headers["X-Amz-Date"]=t,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken)},updateForPresigned:function(e,t){var r=this.credentialString(t),i={"X-Amz-Date":t,"X-Amz-Algorithm":this.algorithm,"X-Amz-Credential":e.accessKeyId+"/"+r,"X-Amz-Expires":this.request.headers["presigned-expires"],"X-Amz-SignedHeaders":this.signedHeaders()};e.sessionToken&&(i["X-Amz-Security-Token"]=e.sessionToken),this.request.headers["Content-Type"]&&(i["Content-Type"]=this.request.headers["Content-Type"]),this.request.headers["Content-MD5"]&&(i["Content-MD5"]=this.request.headers["Content-MD5"]),this.request.headers["Cache-Control"]&&(i["Cache-Control"]=this.request.headers["Cache-Control"]),n.util.each.call(this,this.request.headers,function(e,t){if("presigned-expires"!==e&&this.isSignableHeader(e)){var r=e.toLowerCase();0===r.indexOf("x-amz-meta-")?i[r]=t:0===r.indexOf("x-amz-")&&(i[e]=t)}});var o=this.request.path.indexOf("?")>=0?"&":"?";this.request.path+=o+n.util.queryParamsToString(i)},authorization:function(e,t){var r=[],n=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+n),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return n.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&(t=n.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];n.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()<t[0].toLowerCase()?-1:1});var t=[];return n.util.arrayEach.call(this,e,function(e){var r=e[0].toLowerCase();if(this.isSignableHeader(r)){var i=e[1];if(void 0===i||null===i||"function"!=typeof i.toString)throw n.util.error(new Error("Header "+r+" contains invalid value"),{code:"InvalidHeader"});t.push(r+":"+this.canonicalHeaderValues(i.toString()))}}),t.join("\n")},canonicalHeaderValues:function(e){return e.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")},signedHeaders:function(){var e=[];return n.util.each.call(this,this.request.headers,function(t){t=t.toLowerCase(),this.isSignableHeader(t)&&e.push(t)}),e.sort().join(";")},credentialString:function(e){return i.createScope(e.substr(0,8),this.request.region,this.serviceName)},hexEncodedHash:function(e){return n.util.crypto.sha256(e,"hex")},hexEncodedBodyHash:function(){var e=this.request;return this.isPresigned()&&"s3"===this.serviceName&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers["presigned-expires"]}}),t.exports=n.Signers.V4},{"../core":194,"./v4_credentials":259}],259:[function(e,t,r){var n=e("../core"),i={},o=[];t.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,"aws4_request"].join("/")},getSigningKey:function(e,t,r,s,a){var u=n.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),c=[u,t,r,s].join("_");if((a=!1!==a)&&c in i)return i[c];var l=n.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),h=n.util.crypto.hmac(l,r,"buffer"),f=n.util.crypto.hmac(h,s,"buffer"),p=n.util.crypto.hmac(f,"aws4_request","buffer");return a&&(i[c]=p,o.push(c),o.length>50&&delete i[o.shift()]),p},emptyCache:function(){i={},o=[]}}},{"../core":194}],257:[function(e,t,r){var n=e("../core"),i=n.util.inherit;e("./v3"),n.Signers.V3Https=i(n.Signers.V3,{authorization:function(e){return"AWS3-HTTPS AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,Signature="+this.signature(e)},stringToSign:function(){return this.request.headers["X-Amz-Date"]}}),t.exports=n.Signers.V3Https},{"../core":194,"./v3":256}],256:[function(e,t,r){var n=e("../core"),i=n.util.inherit;n.Signers.V3=i(n.Signers.RequestSigner,{addAuthorization:function(e,t){var r=n.util.date.rfc822(t);this.request.headers["X-Amz-Date"]=r,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken),this.request.headers["X-Amzn-Authorization"]=this.authorization(e,r)},authorization:function(e){return"AWS3 AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,SignedHeaders="+this.signedHeaders()+",Signature="+this.signature(e)},signedHeaders:function(){var e=[];return n.util.arrayEach(this.headersToSign(),function(t){e.push(t.toLowerCase())}),e.sort().join(";")},canonicalHeaders:function(){var e=this.request.headers,t=[];return n.util.arrayEach(this.headersToSign(),function(r){t.push(r.toLowerCase().trim()+":"+String(e[r]).trim())}),t.sort().join("\n")+"\n"},headersToSign:function(){var e=[];return n.util.each(this.request.headers,function(t){("Host"===t||"Content-Encoding"===t||t.match(/^X-Amz/i))&&e.push(t)}),e},signature:function(e){return n.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push("/"),e.push(""),e.push(this.canonicalHeaders()),e.push(this.request.body),n.util.crypto.sha256(e.join("\n"))}}),t.exports=n.Signers.V3},{"../core":194}],255:[function(e,t,r){var n=e("../core"),i=n.util.inherit;n.Signers.V2=i(n.Signers.RequestSigner,{addAuthorization:function(e,t){t||(t=n.util.date.getDate());var r=this.request;r.params.Timestamp=n.util.date.iso8601(t),r.params.SignatureVersion="2",r.params.SignatureMethod="HmacSHA256",r.params.AWSAccessKeyId=e.accessKeyId,e.sessionToken&&(r.params.SecurityToken=e.sessionToken),delete r.params.Signature,r.params.Signature=this.signature(e),r.body=n.util.queryParamsToString(r.params),r.headers["Content-Length"]=r.body.length},signature:function(e){return n.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push(this.request.endpoint.host.toLowerCase()),e.push(this.request.pathname()),e.push(n.util.queryParamsToString(this.request.params)),e.join("\n")}}),t.exports=n.Signers.V2},{"../core":194}],254:[function(e,t,r){var n=e("../core"),i=n.util.inherit;n.Signers.S3=i(n.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=n.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];n.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1});var t=[];return n.util.arrayEach.call(this,e,function(e){t.push(e.toLowerCase()+":"+String(this.request.headers[e]))}),t.join("\n")},canonicalizedResource:function(){var e=this.request,t=e.path.split("?"),r=t[0],i=t[1],o="";if(e.virtualHostedBucket&&(o+="/"+e.virtualHostedBucket),o+=r,i){var s=[];n.util.arrayEach.call(this,i.split("&"),function(e){var t=e.split("=")[0],r=e.split("=")[1];if(this.subResources[t]||this.responseHeaders[t]){var n={name:t};void 0!==r&&(this.subResources[t]?n.value=r:n.value=decodeURIComponent(r)),s.push(n)}}),s.sort(function(e,t){return e.name<t.name?-1:1}),s.length&&(i=[],n.util.arrayEach(s,function(e){void 0===e.value?i.push(e.name):i.push(e.name+"="+e.value)}),o+="?"+i.join("&"))}return o},sign:function(e,t){return n.util.crypto.hmac(e,t,"base64","sha1")}}),t.exports=n.Signers.S3},{"../core":194}],252:[function(e,t,r){function n(e){var t=e.httpRequest.headers[a],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===o.Signers.V4){if(t>604800){throw o.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[a]=t}else{if(r!==o.Signers.S3)throw o.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});e.httpRequest.headers[a]=parseInt(o.util.date.unixTimestamp()+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,r=o.util.urlParse(e.httpRequest.path),n={};r.search&&(n=o.util.queryStringParse(r.search.substr(1))),o.util.each(e.httpRequest.headers,function(e,t){e===a&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete n[e],e=e.toLowerCase()),n[e]=t}),delete e.httpRequest.headers[a];var i=n.Authorization.split(" ");if("AWS"===i[0])i=i[1].split(":"),n.AWSAccessKeyId=i[0],n.Signature=i[1];else if("AWS4-HMAC-SHA256"===i[0]){i.shift();var s=i.join(" "),u=s.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];n["X-Amz-Signature"]=u,delete n.Expires}delete n.Authorization,delete n.Host,t.pathname=r.pathname,t.search=o.util.queryParamsToString(n)}var o=e("../core"),s=o.util.inherit,a="presigned-expires";o.Signers.Presign=s({sign:function(e,t,r){if(e.httpRequest.headers[a]=t||3600,e.on("build",n),e.on("sign",i),e.removeListener("afterBuild",o.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",o.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return o.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,o.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=o.Signers.Presign},{"../core":194}],234:[function(e,t,r){var n=e("./core"),i=e("./model/api"),o=e("./region_config"),s=n.util.inherit,a=0;n.Service=s({constructor:function(e){if(!this.loadServiceClass)throw n.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var r=n.util.copy(e),i=new t(e);return Object.defineProperty(i,"_originalConfig",{get:function(){return r},enumerable:!1,configurable:!0}),i._clientId=++a,i}this.initialize(e)},initialize:function(e){var t=n.config[this.serviceIdentifier];this.config=new n.Config(n.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||o(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint)},validateService:function(){},loadServiceClass:function(e){var t=e;if(n.util.isEmpty(this.api)){if(t.apiConfig)return n.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new n.Config(n.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&n.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?n.util.isType(e,Date)&&(e=n.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=n.util.copy(t),n.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var o=new n.Request(this,e,t);return this.addAllRequestListeners(o),r&&o.send(r),o},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var n=this.makeRequest(e,t).toUnauthenticated();return r?n.send(r):n},waitFor:function(e,t,r){return new n.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[n.events,n.EventListeners.Core,this.serviceInterface(),n.EventListeners.CorePost],r=0;r<t.length;r++)t[r]&&e.addListeners(t[r]);this.config.paramValidation||e.removeListener("validate",n.EventListeners.Core.VALIDATE_PARAMETERS),this.config.logger&&e.addListeners(n.EventListeners.Logger),this.setupRequestListeners(e),"function"==typeof this.constructor.prototype.customRequestHandler&&this.constructor.prototype.customRequestHandler(e),Object.prototype.hasOwnProperty.call(this,"customRequestHandler")&&"function"==typeof this.customRequestHandler&&this.customRequestHandler(e)},setupRequestListeners:function(){},getSignerClass:function(e){var t,r=null,i="";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":this.api.signatureVersion,n.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return n.EventListeners.Query;case"json":return n.EventListeners.Json;case"rest-json":return n.EventListeners.RestJson;case"rest-xml":return n.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e){return n.util.calculateRetryDelay(e,this.config.retryDelayOptions)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},throttledError:function(e){switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new n.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw n.util.error(i,"No pagination configuration for "+e)}return null}return r}}),n.util.update(n.Service,{defineMethods:function(e){n.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){n.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=s(n.Service,r||{});if("string"==typeof e){n.Service.addVersions(i,t);var o=i.serviceIdentifier||e;i.serviceIdentifier=o}else i.prototype.api=e,n.Service.defineMethods(i);return i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r<t.length;r++)void 0===e.services[t[r]]&&(e.services[t[r]]=null);e.apiVersions=Object.keys(e.services).sort()},defineServiceApi:function(e,t,r){function o(e){e.isApi?a.prototype.api=e:a.prototype.api=new i(e)}var a=s(e,{serviceIdentifier:e.serviceIdentifier});if("string"==typeof t){if(r)o(r);else try{o(n.apiLoader(e.serviceIdentifier,t))}catch(r){throw n.util.error(r,{message:"Could not find API configuration "+e.serviceIdentifier+"-"+t})}Object.prototype.hasOwnProperty.call(e.services,t)||(e.apiVersions=e.apiVersions.concat(t).sort()),e.services[t]=a}else o(t);return n.Service.defineMethods(a),a},hasService:function(e){return Object.prototype.hasOwnProperty.call(n.Service._serviceMap,e)},_serviceMap:{}}),t.exports=n.Service},{"./core":194,"./model/api":212,"./region_config":227}],227:[function(e,t,r){function n(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=n(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function o(e,t){a.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function s(e){for(var t=i(e),r=0;r<t.length;r++){var n=t[r];if(n&&Object.prototype.hasOwnProperty.call(u.rules,n)){var s=u.rules[n];return"string"==typeof s&&(s=u.patterns[s]),e.config.useDualstack&&a.isDualstackAvailable(e)&&(s=a.copy(s),s.endpoint="{service}.dualstack.{region}.amazonaws.com"),e.isGlobalEndpoint=!!s.globalEndpoint,s.signatureVersion||(s.signatureVersion="v4"),void o(e,s)}}}var a=e("./util"),u=e("./region_config_data.json");t.exports=s},{"./region_config_data.json":228,"./util":261}],228:[function(e,t,r){t.exports={rules:{"*/*":{endpoint:"{service}.{region}.amazonaws.com"},"cn-*/*":{endpoint:"{service}.{region}.amazonaws.com.cn"},"*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/iam":"globalSSL","*/sts":"globalSSL","*/importexport":{endpoint:"{service}.amazonaws.com",signatureVersion:"v2",globalEndpoint:!0},"*/route53":{endpoint:"https://{service}.amazonaws.com",signatureVersion:"v3https",globalEndpoint:!0},"*/waf":"globalSSL","us-gov-*/iam":"globalGovCloud","us-gov-*/sts":{endpoint:"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3dash","us-west-1/s3":"s3dash","us-west-2/s3":"s3dash","eu-west-1/s3":"s3dash","ap-southeast-1/s3":"s3dash","ap-southeast-2/s3":"s3dash","ap-northeast-1/s3":"s3dash","sa-east-1/s3":"s3dash","us-east-1/s3":{endpoint:"{service}.amazonaws.com",signatureVersion:"s3"},"us-east-1/sdb":{endpoint:"{service}.amazonaws.com",signatureVersion:"v2"},"*/sdb":{endpoint:"{service}.{region}.amazonaws.com",signatureVersion:"v2"}},patterns:{globalSSL:{endpoint:"https://{service}.amazonaws.com",globalEndpoint:!0},globalGovCloud:{endpoint:"{service}.us-gov.amazonaws.com"},s3dash:{endpoint:"{service}-{region}.amazonaws.com",signatureVersion:"s3"}}}},{}],231:[function(e,t,r){var n=e("./core"),i=n.util.inherit,o=e("jmespath");n.Response=i({constructor:function(e){this.request=e,this.data=null,this.error=null,this.retryCount=0,this.redirectCount=0,this.httpResponse=new n.HttpResponse,e&&(this.maxRetries=e.service.numRetries(),this.maxRedirects=e.service.config.maxRedirects)},nextPage:function(e){var t,r=this.request.service,i=this.request.operation;try{t=r.paginationConfig(i,!0)}catch(e){this.error=e}if(!this.hasNextPage()){if(e)e(this.error,null);else if(this.error)throw this.error;return null}var o=n.util.copy(this.request.params);if(this.nextPageTokens){var s=t.inputToken;"string"==typeof s&&(s=[s]);for(var a=0;a<s.length;a++)o[s[a]]=this.nextPageTokens[a];return r.makeRequest(this.request.operation,o,e)}return e?e(null,null):null},hasNextPage:function(){return this.cacheNextPageTokens(),!!this.nextPageTokens||void 0===this.nextPageTokens&&void 0},cacheNextPageTokens:function(){if(Object.prototype.hasOwnProperty.call(this,"nextPageTokens"))return this.nextPageTokens;this.nextPageTokens=void 0;var e=this.request.service.paginationConfig(this.request.operation);if(!e)return this.nextPageTokens;if(this.nextPageTokens=null,e.moreResults&&!o.search(this.data,e.moreResults))return this.nextPageTokens;var t=e.outputToken;return"string"==typeof t&&(t=[t]),n.util.arrayEach.call(this,t,function(e){var t=o.search(this.data,e);t&&(this.nextPageTokens=this.nextPageTokens||[],this.nextPageTokens.push(t))}),this.nextPageTokens}})},{"./core":194,jmespath:13}],230:[function(e,t,r){function n(e){var t=e.request._waiter,r=t.config.acceptors,n=!1,i="retry";r.forEach(function(r){if(!n){var o=t.matchers[r.matcher];o&&o(e,r.expected,r.argument)&&(n=!0,i=r.state)}}),!n&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),o=i.util.inherit,s=e("jmespath");i.ResourceWaiter=o({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var n=s.search(e.data,r)}catch(e){return!1}return s.strictDeepEqual(n,t)},pathAll:function(e,t,r){try{var n=s.search(e.data,r)}catch(e){return!1}Array.isArray(n)||(n=[n]);var i=n.length;if(!i)return!1;for(var o=0;o<i;o++)if(!s.strictDeepEqual(n[o],t))return!1;return!0},pathAny:function(e,t,r){try{var n=s.search(e.data,r)}catch(e){return!1}Array.isArray(n)||(n=[n]);for(var i=n.length,o=0;o<i;o++)if(s.strictDeepEqual(n[o],t))return!0;return!1},status:function(e,t){var r=e.httpResponse.statusCode;return"number"==typeof r&&r===t},error:function(e,t){return"string"==typeof t&&e.error?t===e.error.code:t===!!e.error}},listeners:(new i.SequentialExecutor).addNamedListeners(function(e){e("RETRY_CHECK","retry",function(e){var t=e.request._waiter;e.error&&"ResourceNotReady"===e.error.code&&(e.error.retryDelay=1e3*(t.config.delay||0))}),e("CHECK_OUTPUT","extractData",n),e("CHECK_ERROR","extractError",n)}),wait:function(e,t){"function"==typeof e&&(t=e,e=void 0),e&&e.$waiter&&(e=i.util.copy(e),"number"==typeof e.$waiter.delay&&(this.config.delay=e.$waiter.delay),"number"==typeof e.$waiter.maxAttempts&&(this.config.maxAttempts=e.$waiter.maxAttempts),delete e.$waiter);var r=this.service.makeRequest(this.config.operation,e);return r._waiter=this,r.response.maxRetries=this.config.maxAttempts,r.addListeners(this.listeners),t&&r.send(t),r},setSuccess:function(e){e.error=null,e.data=e.data||{},e.request.removeAllListeners("extractData")},setError:function(e,t){e.data=null,e.error=i.util.error(e.error||new Error,{code:"ResourceNotReady",message:"Resource is not in the state "+this.state,retryable:t})},loadWaiterConfig:function(e){if(!this.service.api.waiters[e])throw new i.util.error(new Error,{code:"StateNotFoundError",message:"State "+e+" not found."});this.config=i.util.copy(this.service.api.waiters[e])}})},{"./core":194,jmespath:13}],229:[function(e,t,r){(function(t){function r(e){return Object.prototype.hasOwnProperty.call(u,e._asm.currentState)}var n=e("./core"),i=e("./state_machine"),o=n.util.inherit,s=n.util.domain,a=e("jmespath"),u={success:1,error:1,complete:1},c=new i;c.setupStates=function(){var e=function(e,t){var n=this;n._haltHandlersOnError=!1,n.emit(n._asm.currentState,function(e){if(e)if(r(n)){if(!(s&&n.domain instanceof s.Domain))throw e;e.domainEmitter=n,e.domain=n.domain,e.domainThrown=!1,n.domain.emit("error",e)}else n.response.error=e,t(e);else t(n.response.error)})};this.addState("validate","build","error",e),this.addState("build","afterBuild","restart",e),this.addState("afterBuild","sign","restart",e),this.addState("sign","send","retry",e),this.addState("retry","afterRetry","afterRetry",e),this.addState("afterRetry","sign","error",e),this.addState("send","validateResponse","retry",e),this.addState("validateResponse","extractData","extractError",e),this.addState("extractError","extractData","retry",e),this.addState("extractData","success","retry",e),this.addState("restart","build","error",e),this.addState("success","complete","complete",e),this.addState("error","complete","complete",e),this.addState("complete",null,null,e)},c.setupStates(),n.Request=o({constructor:function(e,t,r){var o=e.endpoint,a=e.config.region,u=e.config.customUserAgent;e.isGlobalEndpoint&&(a="us-east-1"),this.domain=s&&s.active,this.service=e,this.operation=t,this.params=r||{},this.httpRequest=new n.HttpRequest(o,a),this.httpRequest.appendToUserAgent(u),this.startTime=n.util.date.getDate(),this.response=new n.Response(this),this._asm=new i(c.states,"validate"),this._haltHandlersOnError=!1,n.SequentialExecutor.call(this),this.emit=this.emitEvent},send:function(e){return e&&(this.httpRequest.appendToUserAgent("callback"),this.on("complete",function(t){e.call(t,t.error,t.data)})),this.runTo(),this.response},build:function(e){return this.runTo("send",e)},runTo:function(e,t){return this._asm.runTo(e,t,this),this},abort:function(){return this.removeAllListeners("validateResponse"),this.removeAllListeners("extractError"),this.on("validateResponse",function(e){e.error=n.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1})}),this.httpRequest.stream&&!this.httpRequest.stream.didCallback&&(this.httpRequest.stream.abort(),this.httpRequest._abortCallback?this.httpRequest._abortCallback():this.removeAllListeners("send")),this},eachPage:function(e){function t(r){e.call(r,r.error,r.data,function(i){!1!==i&&(r.hasNextPage()?r.nextPage().on("complete",t).send():e.call(r,null,null,n.util.fn.noop))})}e=n.util.fn.makeAsync(e,3),this.on("complete",t).send()},eachItem:function(e){function t(t,i){if(t)return e(t,null);if(null===i)return e(null,null);var o=r.service.paginationConfig(r.operation),s=o.resultKey;Array.isArray(s)&&(s=s[0]);var u=a.search(i,s),c=!0;return n.util.arrayEach(u,function(t){if(!1===(c=e(null,t)))return n.util.abort}),c}var r=this;this.eachPage(t)},isPageable:function(){return!!this.service.paginationConfig(this.operation)},createReadStream:function(){var e=n.util.stream,r=this,i=null;return 2===n.HttpClient.streamsApiVersion?(i=new e.PassThrough,t.nextTick(function(){r.send()})):(i=new e.Stream,i.readable=!0,i.sent=!1,i.on("newListener",function(e){i.sent||"data"!==e||(i.sent=!0,t.nextTick(function(){r.send()}))})),this.on("error",function(e){i.emit("error",e)}),this.on("httpHeaders",function(t,o,s){if(t<300){r.removeListener("httpData",n.EventListeners.Core.HTTP_DATA),r.removeListener("httpError",n.EventListeners.Core.HTTP_ERROR),r.on("httpError",function(e){s.error=e,s.error.retryable=!1});var a,u=!1;if("HEAD"!==r.httpRequest.method&&(a=parseInt(o["content-length"],10)),void 0!==a&&!isNaN(a)&&a>=0){u=!0;var c=0}var l=function(){
u&&c!==a?i.emit("error",n.util.error(new Error("Stream content length mismatch. Received "+c+" of "+a+" bytes."),{code:"StreamContentLengthMismatch"})):2===n.HttpClient.streamsApiVersion?i.end():i.emit("end")},h=s.httpResponse.createUnbufferedStream();if(2===n.HttpClient.streamsApiVersion)if(u){var f=new e.PassThrough;f._write=function(t){return t&&t.length&&(c+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},f.on("end",l),i.on("error",function(e){u=!1,h.unpipe(f),f.emit("end"),f.end()}),h.pipe(f).pipe(i,{end:!1})}else h.pipe(i);else u&&h.on("data",function(e){e&&e.length&&(c+=e.length)}),h.on("data",function(e){i.emit("data",e)}),h.on("end",l);h.on("error",function(e){u=!1,i.emit("error",e)})}}),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),n.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new n.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this.removeListener("validate",n.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",n.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),n.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},n.Request.deletePromisesFromClass=function(){delete this.prototype.promise},n.util.addPromises(n.Request),n.util.mixin(n.Request,n.SequentialExecutor)}).call(this,e("_process"))},{"./core":194,"./state_machine":260,_process:154,jmespath:13}],260:[function(e,t,r){function n(e,t){this.currentState=t||null,this.states=e||{}}n.prototype.runTo=function(e,t,r,n){"function"==typeof e&&(n=r,r=t,t=e,e=null);var i=this,o=i.states[i.currentState];o.fn.call(r||i,n,function(n){if(n){if(!o.fail)return t?t.call(r,n):null;i.currentState=o.fail}else{if(!o.accept)return t?t.call(r):null;i.currentState=o.accept}if(i.currentState===e)return t?t.call(r,n):null;i.runTo(e,t,r,n)})},n.prototype.addState=function(e,t,r,n){return"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:n},this},t.exports=n},{}],218:[function(e,t,r){var n=e("./core");n.ParamValidator=n.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,n.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(n.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var n,i=0;e.required&&i<e.required.length;i++){n=e.required[i];var o=t[n];void 0!==o&&null!==o||this.fail("MissingRequiredParameter","Missing required key '"+n+"' in "+r)}for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=t[n],a=e.members[n];if(void 0!==a){var u=[r,n].join(".");this.validateMember(a,s,u)}else this.fail("UnexpectedParameter","Unexpected key '"+n+"' found in "+r)}return!0},validateMember:function(e,t,r){switch(e.type){case"structure":return this.validateStructure(e,t,r);case"list":return this.validateList(e,t,r);case"map":return this.validateMap(e,t,r);default:return this.validateScalar(e,t,r)}},validateList:function(e,t,r){if(this.validateType(t,r,[Array])){this.validateRange(e,t.length,r,"list member count");for(var n=0;n<t.length;n++)this.validateMember(e.member,t[n],r+"["+n+"]")}},validateMap:function(e,t,r){if(this.validateType(t,r,["object"],"map")){var n=0;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(this.validateMember(e.key,i,r+"[key='"+i+"']"),this.validateMember(e.value,t[i],r+"['"+i+"']"),n++);this.validateRange(e,n,r,"map member count")}},validateScalar:function(e,t,r){switch(e.type){case null:case void 0:case"string":return this.validateString(e,t,r);case"base64":case"binary":return this.validatePayload(t,r);case"integer":case"float":return this.validateNumber(e,t,r);case"boolean":return this.validateType(t,r,["boolean"]);case"timestamp":return this.validateType(t,r,[Date,/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/,"number"],"Date object, ISO-8601 string, or a UNIX timestamp");default:return this.fail("UnkownType","Unhandled type "+e.type+" for "+r)}},validateString:function(e,t,r){var n=["string"];e.isJsonValue&&(n=n.concat(["number","object","boolean"])),null!==t&&this.validateType(t,r,n)&&(this.validateEnum(e,t,r),this.validateRange(e,t.length,r,"string length"),this.validatePattern(e,t,r))},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,n){this.validation.min&&void 0!==e.min&&t<e.min&&this.fail("MinRangeError","Expected "+n+" >= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+n+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,i){if(null===e||void 0===e)return!1;for(var o=!1,s=0;s<r.length;s++){if("string"==typeof r[s]){if(typeof e===r[s])return!0}else if(r[s]instanceof RegExp){if((e||"").toString().match(r[s]))return!0}else{if(e instanceof r[s])return!0;if(n.util.isType(e,r[s]))return!0;i||o||(r=r.slice()),r[s]=n.util.typeName(r[s])}o=!0}var a=i;a||(a=r.join(", ").replace(/,([^,]+)$/,", or$1"));var u=a.match(/^[aeiou]/i)?"n":"";return this.fail("InvalidParameterType","Expected "+t+" to be a"+u+" "+a),!1},validateNumber:function(e,t,r){if(null!==t&&void 0!==t){if("string"==typeof t){var n=parseFloat(t);n.toString()===t&&(t=n)}this.validateType(t,r,["number"])&&this.validateRange(e,t,r,"numeric value")}},validatePayload:function(e,t){if(null!==e&&void 0!==e&&"string"!=typeof e&&(!e||"number"!=typeof e.byteLength)){if(n.util.isNode()){var r=n.util.stream.Stream;if(n.util.Buffer.isBuffer(e)||e instanceof r)return}var i=["Buffer","Stream","File","Blob","ArrayBuffer","DataView"];if(e)for(var o=0;o<i.length;o++){if(n.util.isType(e,i[o]))return;if(n.util.typeName(e.constructor)===i[o])return}this.fail("InvalidParameterType","Expected "+t+" to be a string, Buffer, Stream, Blob, or typed array object")}}})},{"./core":194}],212:[function(e,t,r){function n(e,t){e=e||{},t=t||{},t.api=this,e.metadata=e.metadata||{},l(this,"isApi",!0,!1),l(this,"apiVersion",e.metadata.apiVersion),l(this,"endpointPrefix",e.metadata.endpointPrefix),l(this,"signingName",e.metadata.signingName),l(this,"globalEndpoint",e.metadata.globalEndpoint),l(this,"signatureVersion",e.metadata.signatureVersion),l(this,"jsonVersion",e.metadata.jsonVersion),l(this,"targetPrefix",e.metadata.targetPrefix),l(this,"protocol",e.metadata.protocol),l(this,"timestampFormat",e.metadata.timestampFormat),l(this,"xmlNamespaceUri",e.metadata.xmlNamespace),l(this,"abbreviation",e.metadata.serviceAbbreviation),l(this,"fullName",e.metadata.serviceFullName),h(this,"className",function(){var t=e.metadata.serviceAbbreviation||e.metadata.serviceFullName;return t?(t=t.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g,""),"ElasticLoadBalancing"===t&&(t="ELB"),t):null}),l(this,"operations",new i(e.operations,t,function(e,r){return new o(e,r,t)},c.string.lowerFirst)),l(this,"shapes",new i(e.shapes,t,function(e,r){return s.create(r,t)})),l(this,"paginators",new i(e.paginators,t,function(e,r){return new a(e,r,t)})),l(this,"waiters",new i(e.waiters,t,function(e,r){return new u(e,r,t)},c.string.lowerFirst)),t.documentation&&(l(this,"documentation",e.documentation),l(this,"documentationUrl",e.documentationUrl))}var i=e("./collection"),o=e("./operation"),s=e("./shape"),a=e("./paginator"),u=e("./resource_waiter"),c=e("../util"),l=c.property,h=c.memoizedProperty;t.exports=n},{"../util":261,"./collection":213,"./operation":214,"./paginator":215,"./resource_waiter":216,"./shape":217}],216:[function(e,t,r){function n(e,t,r){r=r||{},o(this,"name",e),o(this,"api",r.api,!1),t.operation&&o(this,"operation",i.string.lowerFirst(t.operation));var n=this;["type","description","delay","maxAttempts","acceptors"].forEach(function(e){var r=t[e];r&&o(n,e,r)})}var i=e("../util"),o=i.property;t.exports=n},{"../util":261}],215:[function(e,t,r){function n(e,t){i(this,"inputToken",t.input_token),i(this,"limitKey",t.limit_key),i(this,"moreResults",t.more_results),i(this,"outputToken",t.output_token),i(this,"resultKey",t.result_key)}var i=e("../util").property;t.exports=n},{"../util":261}],214:[function(e,t,r){function n(e,t,r){var n=this;r=r||{},s(this,"name",t.name||e),s(this,"api",r.api,!1),t.http=t.http||{},s(this,"httpMethod",t.http.method||"POST"),s(this,"httpPath",t.http.requestUri||"/"),s(this,"authtype",t.authtype||""),a(this,"input",function(){return t.input?i.create(t.input,r):new i.create({type:"structure"},r)}),a(this,"output",function(){return t.output?i.create(t.output,r):new i.create({type:"structure"},r)}),a(this,"errors",function(){var e=[];if(!t.errors)return null;for(var n=0;n<t.errors.length;n++)e.push(i.create(t.errors[n],r));return e}),a(this,"paginator",function(){return r.api.paginators[e]}),r.documentation&&(s(this,"documentation",t.documentation),s(this,"documentationUrl",t.documentationUrl)),a(this,"idempotentMembers",function(){var e=[],t=n.input,r=t.members;if(!t.members)return e;for(var i in r)r.hasOwnProperty(i)&&!0===r[i].isIdempotent&&e.push(i);return e})}var i=e("./shape"),o=e("../util"),s=o.property,a=o.memoizedProperty;t.exports=n},{"../util":261,"./shape":217}],208:[function(e,t,r){var n=e("./core"),i=n.util.inherit;n.Endpoint=i({constructor:function(e,t){if(n.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return n.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:n.config.sslEnabled)?"https":"http")+"://"+e}n.util.update(this,n.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),n.HttpRequest=i({constructor:function(e,t){e=new n.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=n.util.userAgent()},getUserAgentHeaderName:function(){return(n.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=n.util.queryStringParse(e),n.util.queryParamsToString(e)):""}}),n.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),n.HttpClient=i({}),n.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":194}],207:[function(e,t,r){function n(e){if(!e.service.api.operations)return"";var t=e.service.api.operations[e.operation];return t?t.authtype:""}var i=e("./core"),o=e("./sequential_executor");i.EventListeners={Core:{}},i.EventListeners={Core:(new o).addNamedListeners(function(e,t){t("VALIDATE_CREDENTIALS","validate",function(e,t){if(!e.service.api.signatureVersion)return t();e.service.config.getCredentials(function(r){r&&(e.response.error=i.util.error(r,{code:"CredentialsError",message:"Missing credentials in config"})),t()})}),e("VALIDATE_REGION","validate",function(e){e.service.config.region||e.service.isGlobalEndpoint||(e.response.error=i.util.error(new Error,{code:"ConfigError",message:"Missing region in config"}))}),e("BUILD_IDEMPOTENCY_TOKENS","validate",function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation];if(t){var r=t.idempotentMembers;if(r.length){for(var n=i.util.copy(e.params),o=0,s=r.length;o<s;o++)n[r[o]]||(n[r[o]]=i.util.uuid.v4());e.params=n}}}}),e("VALIDATE_PARAMETERS","validate",function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation].input,r=e.service.config.paramValidation;new i.ParamValidator(r).validate(t,e.params)}}),t("COMPUTE_SHA256","afterBuild",function(e,t){if(e.haltHandlersOnError(),e.service.api.operations){var r=e.service.api.operations[e.operation],n=r?r.authtype:"";if(!e.service.api.signatureVersion&&!n)return t();if(e.service.getSignerClass(e)===i.Signers.V4){var o=e.httpRequest.body||"";if(n.indexOf("unsigned-body")>=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();i.util.computeSha256(o,function(r,n){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=n,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=n(e);if(void 0===e.httpRequest.headers["Content-Length"]&&-1===t.indexOf("unsigned-body")){var r=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=r}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount<this.service.config.maxRetries?this.response.retryCount++:this.response.error=null)}),t("SIGN","sign",function(e,t){var r=e.service,n=e.service.api.operations||{},o=n[e.operation],s=o?o.authtype:"";if(!r.api.signatureVersion&&!s)return t();r.config.getCredentials(function(n,s){if(n)return e.response.error=n,t();try{var a=i.util.date.getDate(),u=r.getSignerClass(e),c=new u(e.httpRequest,r.api.signingName||r.api.endpointPrefix,{signatureCache:r.config.signatureCache,operation:o});c.setServiceClientId(r._clientId),delete e.httpRequest.headers.Authorization,delete e.httpRequest.headers.Date,delete e.httpRequest.headers["X-Amz-Date"],c.addAuthorization(s,a),e.signedAt=a}catch(t){e.response.error=t}t()})}),e("VALIDATE_RESPONSE","validateResponse",function(e){this.service.successfulResponse(e,this)?(e.data={},e.error=null):(e.data=null,e.error=i.util.error(new Error,{code:"UnknownError",message:"An unknown error occurred."}))}),t("SEND","send",function(e,t){function r(r){e.httpResponse.stream=r;var n=e.request.httpRequest.stream;r.on("headers",function(t,n,o){e.request.emit("httpHeaders",[t,n,e,o]),e.httpResponse.streaming||(2===i.HttpClient.streamsApiVersion?r.on("readable",function(){var t=r.read();null!==t&&e.request.emit("httpData",[t,e])}):r.on("data",function(t){e.request.emit("httpData",[t,e])}))}),r.on("end",function(){n&&n.didCallback||(e.request.emit("httpDone"),t())})}function n(t){t.on("sendProgress",function(t){e.request.emit("httpUploadProgress",[t,e])}),t.on("receiveProgress",function(t){e.request.emit("httpDownloadProgress",[t,e])})}function o(r){if("RequestAbortedError"!==r.code){var n="TimeoutError"===r.code?r.code:"NetworkingError";r=i.util.error(r,{code:n,region:e.request.httpRequest.region,hostname:e.request.httpRequest.endpoint.hostname,retryable:!0})}e.error=r,e.request.emit("httpError",[e.error,e],function(){t()})}function s(){var t=i.HttpClient.getInstance(),s=e.request.service.config.httpOptions||{};try{n(t.handleRequest(e.request.httpRequest,s,r,o))}catch(e){o(e)}}e.httpResponse._abortCallback=t,e.error=null,e.data=null,(i.util.date.getDate()-this.signedAt)/1e3>=600?this.emit("sign",[this],function(e){e?t(e):s()}):s()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,n){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=n,r.httpResponse.headers=t,r.httpResponse.body=new i.util.Buffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var o=t.date||t.Date;if(o){var s=Date.parse(o);r.request.service.config.correctClockSkew&&i.util.isClockSkewed(s)&&i.util.applyClockOffset(s)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],n={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[n,t])}t.httpResponse.buffers.push(new i.util.Buffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&i.config.isClockSkewed&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new i.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount<e.maxRedirects?e.error.retryDelay=0:e.retryCount<e.maxRetries&&(e.error.retryDelay=this.service.retryDelays(e.retryCount)||0))}),t("RESET_RETRY_STATE","afterRetry",function(e,t){var r,n=!1;e.error&&(r=e.error.retryDelay||0,e.error.retryable&&e.retryCount<e.maxRetries?(e.retryCount++,n=!0):e.error.redirect&&e.redirectCount<e.maxRedirects&&(e.redirectCount++,n=!0)),n?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new o).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",i.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",i.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&"ENOTFOUND"===e.errno){var t="Inaccessible host: `"+e.hostname+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=i.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new o).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){var r=t.request,n=r.service.config.logger;if(n){var o=function(){var o=i.util.date.getDate().getTime(),s=(o-r.startTime.getTime())/1e3,a=!!n.isTTY,u=t.httpResponse.statusCode,c=e("util").inspect(r.params,!0,null),l="";return a&&(l+="[33m"),l+="[AWS "+r.service.serviceIdentifier+" "+u,l+=" "+s.toString()+"s "+t.retryCount+" retries]",a&&(l+="[0;1m"),l+=" "+i.util.string.lowerFirst(r.operation),l+="("+c+")",a&&(l+="[0m"),l}();"function"==typeof n.log?n.log(o):"function"==typeof n.write&&n.write(o+"\n")}})}),Json:(new o).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new o).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new o).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestXml:(new o).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new o).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}},{"./core":194,"./protocol/json":220,"./protocol/query":221,"./protocol/rest":222,"./protocol/rest_json":223,"./protocol/rest_xml":224,"./sequential_executor":233,util:165}],233:[function(e,t,r){var n=e("./core");n.SequentialExecutor=n.util.inherit({constructor:function(){this._events={}},listeners:function(e){return this._events[e]?this._events[e].slice(0):[]},on:function(e,t){return this._events[e]?this._events[e].push(t):this._events[e]=[t],this},onAsync:function(e,t){return t._isAsync=!0,this.on(e,t)},removeListener:function(e,t){var r=this._events[e];if(r){for(var n=r.length,i=-1,o=0;o<n;++o)r[o]===t&&(i=o);i>-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var n=this.listeners(e),i=n.length;return this.callListeners(n,t,r),i>0},callListeners:function(e,t,r,i){function o(i){if(i&&(a=n.util.error(a||new Error,i),s._haltHandlersOnError))return r.call(s,a);s.callListeners(e,t,r,a)}for(var s=this,a=i||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(s,t.concat([o]));try{u.apply(s,t)}catch(e){a=n.util.error(a||new Error,e)}if(a&&s._haltHandlersOnError)return void r.call(s,a)}r.call(s,a)},addListeners:function(e){var t=this;return e._events&&(e=e._events),n.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),n.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r){return this[e]=r,this.addListener(t,r),this},addNamedAsyncListener:function(e,t,r){return r._isAsync=!0,this.addNamedListener(e,t,r)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),n.SequentialExecutor.prototype.addListener=n.SequentialExecutor.prototype.on,t.exports=n.SequentialExecutor},{"./core":194}],224:[function(e,t,r){function n(e){var t=e.service.api.operations[e.operation].input,r=new a.XML.Builder,n=e.params,i=t.payload;if(i){var o=t.members[i];if(void 0===(n=n[i]))return;if("structure"===o.type){var s=o.name;e.httpRequest.body=r.toXML(n,o,s,!0)}else e.httpRequest.body=n}else e.httpRequest.body=r.toXML(n,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){c.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&n(e)}function o(e){c.extractError(e);var t;try{t=(new a.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function s(e){c.extractData(e);var t,r=e.request,n=e.httpResponse.body,i=r.service.api.operations[r.operation],o=i.output,s=o.payload;if(s){var l=o.members[s];"structure"===l.type?(t=new a.XML.Parser,e.data[s]=t.parse(n.toString(),l)):"binary"===l.type||l.isStreaming?e.data[s]=n:e.data[s]=l.toType(n)}else if(n.length>0){t=new a.XML.Parser;var h=t.parse(n.toString(),o);u.update(e.data,h)}}var a=e("../core"),u=e("../util"),c=e("./rest");t.exports={buildRequest:i,extractError:o,extractData:s}},{"../core":194,"../util":261,"./rest":222}],223:[function(e,t,r){function n(e){var t=new h,r=e.service.api.operations[e.operation].input;if(r.payload){var n={},o=r.members[r.payload];if(void 0===(n=e.params[r.payload]))return;"structure"===o.type?(e.httpRequest.body=t.build(n,o),i(e)):e.httpRequest.body=n}else e.httpRequest.body=t.build(e.params,r),i(e)}function i(e){e.httpRequest.headers["Content-Type"]||(e.httpRequest.headers["Content-Type"]="application/json")}function o(e){c.buildRequest(e),["GET","HEAD","DELETE"].indexOf(e.httpRequest.method)<0&&n(e)}function s(e){l.extractError(e)}function a(e){c.extractData(e);var t=e.request,r=t.service.api.operations[t.operation].output||{};if(r.payload){var n=r.members[r.payload],i=e.httpResponse.body;if("structure"===n.type||"list"===n.type){var o=new f;e.data[r.payload]=o.parse(i,n)}else"binary"===n.type||n.isStreaming?e.data[r.payload]=i:e.data[r.payload]=n.toType(i)}else{var s=e.data;l.extractData(e),e.data=u.merge(s,e.data)}}var u=e("../util"),c=e("./rest"),l=e("./json"),h=e("../json/builder"),f=e("../json/parser");t.exports={buildRequest:o,extractError:s,extractData:a}},{"../json/builder":210,"../json/parser":211,"../util":261,"./json":220,"./rest":222}],222:[function(e,t,r){function n(e){e.httpRequest.method=e.service.api.operations[e.operation].httpMethod}function i(e,t,r,n){var i=[e,t].join("/");i=i.replace(/\/+/g,"/");var o={},s=!1;if(l.each(r.members,function(e,t){var r=n[e];if(null!==r&&void 0!==r)if("uri"===t.location){var a=new RegExp("\\{"+t.name+"(\\+)?\\}");i=i.replace(a,function(e,t){return(t?l.uriEscapePath:l.uriEscape)(String(r))})}else"querystring"===t.location&&(s=!0,"list"===t.type?o[t.name]=r.map(function(e){return l.uriEscape(String(e))}):"map"===t.type?l.each(r,function(e,t){Array.isArray(t)?o[e]=t.map(function(e){return l.uriEscape(String(e))}):o[e]=l.uriEscape(String(t))}):o[t.name]=l.uriEscape(String(r)))}),s){i+=i.indexOf("?")>=0?"&":"?";var a=[];l.arrayEach(Object.keys(o).sort(),function(e){Array.isArray(o[e])||(o[e]=[o[e]]);for(var t=0;t<o[e].length;t++)a.push(l.uriEscape(String(e))+"="+o[e][t])}),i+=a.join("&")}return i}function o(e){var t=e.service.api.operations[e.operation],r=t.input,n=i(e.httpRequest.endpoint.path,t.httpPath,r,e.params);e.httpRequest.path=n}function s(e){var t=e.service.api.operations[e.operation];l.each(t.input.members,function(t,r){var n=e.params[t];null!==n&&void 0!==n&&("headers"===r.location&&"map"===r.type?l.each(n,function(t,n){e.httpRequest.headers[r.name+t]=n}):"header"===r.location&&(n=r.toWireFormat(n).toString(),r.isJsonValue&&(n=l.base64.encode(n)),e.httpRequest.headers[r.name]=n))})}function a(e){n(e),o(e),s(e)}function u(){}function c(e){var t=e.request,r={},n=e.httpResponse,i=t.service.api.operations[t.operation],o=i.output,s={};l.each(n.headers,function(e,t){s[e.toLowerCase()]=t}),l.each(o.members,function(e,t){var i=(t.name||e).toLowerCase();if("headers"===t.location&&"map"===t.type){r[e]={};var o=t.isLocationName?t.name:"",a=new RegExp("^"+o+"(.+)","i");l.each(n.headers,function(t,n){var i=t.match(a);null!==i&&(r[e][i[1]]=n)})}else if("header"===t.location){if(void 0!==s[i]){var u=t.isJsonValue?l.base64.decode(s[i]):s[i];r[e]=t.toType(u)}}else"statusCode"===t.location&&(r[e]=parseInt(n.statusCode,10))}),e.data=r}var l=e("../util");t.exports={buildRequest:a,extractError:u,extractData:c,generateURI:i}},{"../util":261}],221:[function(e,t,r){function n(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=a.queryParamsToString(r.params)}function i(e){var t,r=e.httpResponse.body.toString();if(r.match("<UnknownOperationException"))t={Code:"UnknownOperation",Message:"Unknown operation "+e.request.operation};else try{t=(new s.XML.Parser).parse(r)}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.requestId&&!e.requestId&&(e.requestId=t.requestId),t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=a.error(new Error,{code:t.Code,message:t.Message}):e.error=a.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){var t=e.request,r=t.service.api.operations[t.operation],n=r.output||{},i=n;if(i.resultWrapper){var o=c.create({type:"structure"});o.members[i.resultWrapper]=n,o.memberNames=[i.resultWrapper],a.property(n,"name",n.resultWrapper),n=o}var u=new s.XML.Parser;if(n&&n.members&&!n.members._XAMZRequestId){var l=c.create({type:"string"},{api:{protocol:"query"}},"requestId");n.members._XAMZRequestId=l}var h=u.parse(e.httpResponse.body.toString(),n);e.requestId=h._XAMZRequestId||h.requestId,h._XAMZRequestId&&delete h._XAMZRequestId,i.resultWrapper&&h[i.resultWrapper]&&(a.update(h,h[i.resultWrapper]),delete h[i.resultWrapper]),e.data=h}var s=e("../core"),a=e("../util"),u=e("../query/query_param_serializer"),c=e("../model/shape");t.exports={buildRequest:n,extractError:i,extractData:o}},{"../core":194,"../model/shape":217,"../query/query_param_serializer":225,"../util":261}],225:[function(e,t,r){function n(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function o(e,t,r,n){c.each(r.members,function(r,o){var s=t[r];if(null!==s&&void 0!==s){var a=i(o);a=e?e+"."+a:a,u(a,s,o,n)}})}function s(e,t,r,n){var i=1;c.each(t,function(t,o){var s=r.flattened?".":".entry.",a=s+i+++".",c=a+(r.key.name||"key"),l=a+(r.value.name||"value");u(e+c,t,r.key,n),u(e+l,o,r.value,n)})}function a(e,t,r,n){var o=r.member||{};if(0===t.length)return void n.call(this,e,null);c.arrayEach(t,function(t,s){var a="."+(s+1);if("ec2"===r.api.protocol)a+="";else if(r.flattened){if(o.name){var c=e.split(".");c.pop(),c.push(i(o)),e=c.join(".")}}else a="."+(o.name?o.name:"member")+a;u(e+a,t,o,n)})}function u(e,t,r,n){null!==t&&void 0!==t&&("structure"===r.type?o(e,t,r,n):"list"===r.type?a(e,t,r,n):"map"===r.type?s(e,t,r,n):n(e,r.toWireFormat(t).toString()))}var c=e("../util");n.prototype.serialize=function(e,t,r){o("",e,t,r)},t.exports=n},{"../util":261}],217:[function(e,t,r){function n(e,t,r){null!==r&&void 0!==r&&g.property.apply(this,arguments)}function i(e,t){e.constructor.prototype[t]||g.memoizedProperty.apply(this,arguments)}function o(e,t,r){t=t||{},n(this,"shape",e.shape),n(this,"api",t.api,!1),n(this,"type",e.type),n(this,"enum",e.enum),n(this,"min",e.min),n(this,"max",e.max),n(this,"pattern",e.pattern),n(this,"location",e.location||this.location||"body"),n(this,"name",this.name||e.xmlName||e.queryName||e.locationName||r),n(this,"isStreaming",e.streaming||this.isStreaming||!1),n(this,"isComposite",e.isComposite||!1),n(this,"isShape",!0,!1),n(this,"isQueryName",Boolean(e.queryName),!1),n(this,"isLocationName",Boolean(e.locationName),!1),n(this,"isIdempotent",!0===e.idempotencyToken),n(this,"isJsonValue",!0===e.jsonvalue),t.documentation&&(n(this,"documentation",e.documentation),n(this,"documentationUrl",e.documentationUrl)),e.xmlAttribute&&n(this,"isXmlAttribute",e.xmlAttribute||!1),n(this,"defaultValue",null),this.toWireFormat=function(e){return null===e||void 0===e?"":e},
this.toType=function(e){return e}}function s(e){o.apply(this,arguments),n(this,"isComposite",!0),e.flattened&&n(this,"flattened",e.flattened||!1)}function a(e,t){var r=null,a=!this.isShape;s.apply(this,arguments),a&&(n(this,"defaultValue",function(){return{}}),n(this,"members",{}),n(this,"memberNames",[]),n(this,"required",[]),n(this,"isRequired",function(){return!1})),e.members&&(n(this,"members",new m(e.members,t,function(e,r){return o.create(r,t,e)})),i(this,"memberNames",function(){return e.xmlOrder||Object.keys(e.members)})),e.required&&(n(this,"required",e.required),n(this,"isRequired",function(t){if(!r){r={};for(var n=0;n<e.required.length;n++)r[e.required[n]]=!0}return r[t]},!1,!0)),n(this,"resultWrapper",e.resultWrapper||null),e.payload&&n(this,"payload",e.payload),"string"==typeof e.xmlNamespace?n(this,"xmlNamespaceUri",e.xmlNamespace):"object"==typeof e.xmlNamespace&&(n(this,"xmlNamespacePrefix",e.xmlNamespace.prefix),n(this,"xmlNamespaceUri",e.xmlNamespace.uri))}function u(e,t){var r=this,a=!this.isShape;if(s.apply(this,arguments),a&&n(this,"defaultValue",function(){return[]}),e.member&&i(this,"member",function(){return o.create(e.member,t)}),this.flattened){var u=this.name;i(this,"name",function(){return r.member.name||u})}}function c(e,t){var r=!this.isShape;s.apply(this,arguments),r&&(n(this,"defaultValue",function(){return{}}),n(this,"key",o.create({type:"string"},t)),n(this,"value",o.create({type:"string"},t))),e.key&&i(this,"key",function(){return o.create(e.key,t)}),e.value&&i(this,"value",function(){return o.create(e.value,t)})}function l(e){var t=this;if(o.apply(this,arguments),"header"===this.location)n(this,"timestampFormat","rfc822");else if(e.timestampFormat)n(this,"timestampFormat",e.timestampFormat);else if(!this.timestampFormat&&this.api)if(this.api.timestampFormat)n(this,"timestampFormat",this.api.timestampFormat);else switch(this.api.protocol){case"json":case"rest-json":n(this,"timestampFormat","unixTimestamp");break;case"rest-xml":case"query":case"ec2":n(this,"timestampFormat","iso8601")}this.toType=function(e){return null===e||void 0===e?null:"function"==typeof e.toUTCString?e:"string"==typeof e||"number"==typeof e?g.date.parseTimestamp(e):null},this.toWireFormat=function(e){return g.date.format(e,t.timestampFormat)}}function h(){o.apply(this,arguments);var e=["rest-xml","query","ec2"];this.toType=function(t){return t=this.api&&e.indexOf(this.api.protocol)>-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function f(){o.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function p(){o.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function d(){o.apply(this,arguments),this.toType=g.base64.decode,this.toWireFormat=g.base64.encode}function y(){d.apply(this,arguments)}function v(){o.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var m=e("./collection"),g=e("../util");o.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},o.types={structure:a,list:u,map:c,boolean:v,timestamp:l,float:f,integer:p,string:h,base64:y,binary:d},o.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},o.create=function(e,t,r){if(e.isShape)return e;var n=o.resolve(e,t);if(n){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var s=function(){n.constructor.call(this,e,t,r)};return s.prototype=n,new s}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var a=e.type;if(o.normalizedTypes[e.type]&&(e.type=o.normalizedTypes[e.type]),o.types[e.type])return new o.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+a)},o.shapes={StructureShape:a,ListShape:u,MapShape:c,StringShape:h,BooleanShape:v,Base64Shape:y},t.exports=o},{"../util":261,"./collection":213}],213:[function(e,t,r){function n(e,t,r,n){o(this,n(e),function(){return r(e,t)})}function i(e,t,r,i){i=i||String;var o=this;for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&n.call(o,s,e[s],r,i)}var o=e("../util").memoizedProperty;t.exports=i},{"../util":261}],220:[function(e,t,r){function n(e){var t=e.httpRequest,r=e.service.api,n=r.targetPrefix+"."+r.operations[e.operation].name,i=r.jsonVersion||"1.0",o=r.operations[e.operation].input,s=new a;1===i&&(i="1.0"),t.body=s.build(e.params||{},o),t.headers["Content-Type"]="application/x-amz-json-"+i,t.headers["X-Amz-Target"]=n}function i(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var n=JSON.parse(r.body.toString());(n.__type||n.code)&&(t.code=(n.__type||n.code).split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=n.message||n.Message||null}catch(n){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=s.error(new Error,t)}function o(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],n=r.output||{},i=new u;e.data=i.parse(t,n)}}var s=e("../util"),a=e("../json/builder"),u=e("../json/parser");t.exports={buildRequest:n,extractError:i,extractData:o}},{"../json/builder":210,"../json/parser":211,"../util":261}],211:[function(e,t,r){function n(){}function i(e,t){if(t&&void 0!==e)switch(t.type){case"structure":return o(e,t);case"map":return a(e,t);case"list":return s(e,t);default:return u(e,t)}}function o(e,t){if(null!=e){var r={},n=t.members;return c.each(n,function(t,n){var o=n.isLocationName?n.name:t;if(Object.prototype.hasOwnProperty.call(e,o)){var s=e[o],a=i(s,n);void 0!==a&&(r[t]=a)}}),r}}function s(e,t){if(null!=e){var r=[];return c.arrayEach(e,function(e){var n=i(e,t.member);void 0===n?r.push(null):r.push(n)}),r}}function a(e,t){if(null!=e){var r={};return c.each(e,function(e,n){var o=i(n,t.value);r[e]=void 0===o?null:o}),r}}function u(e,t){return t.toType(e)}var c=e("../util");n.prototype.parse=function(e,t){return i(JSON.parse(e),t)},t.exports=n},{"../util":261}],210:[function(e,t,r){function n(){}function i(e,t){if(t&&void 0!==e&&null!==e)switch(t.type){case"structure":return o(e,t);case"map":return a(e,t);case"list":return s(e,t);default:return u(e,t)}}function o(e,t){var r={};return c.each(e,function(e,n){var o=t.members[e];if(o){if("body"!==o.location)return;var s=o.isLocationName?o.name:e,a=i(n,o);void 0!==a&&(r[s]=a)}}),r}function s(e,t){var r=[];return c.arrayEach(e,function(e){var n=i(e,t.member);void 0!==n&&r.push(n)}),r}function a(e,t){var r={};return c.each(e,function(e,n){var o=i(n,t.value);void 0!==o&&(r[e]=o)}),r}function u(e,t){return t.toWireFormat(e)}var c=e("../util");n.prototype.build=function(e,t){return JSON.stringify(i(e,t))},t.exports=n},{"../util":261}],261:[function(e,t,r){(function(r){var n,i={environment:"nodejs",engine:function(){if(i.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=r.platform+"/"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=i.environment,r="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(r+=" "+i.engine()),r},isBrowser:function(){return r&&r.browser},isNode:function(){return!i.isBrowser()},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return i.arrayEach(e.split("/"),function(e){t.push(i.uriEscape(e))}),t.join("/")},urlParse:function(e){return i.url.parse(e)},urlFormat:function(e){return i.url.format(e)},queryStringParse:function(e){return i.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=i.uriEscape,n=Object.keys(e).sort();return i.arrayEach(n,function(n){var o=e[n],s=r(n),a=s+"=";if(Array.isArray(o)){var u=[];i.arrayEach(o,function(e){u.push(r(e))}),a=s+"="+u.sort().join("&"+s+"=")}else void 0!==o&&null!==o&&(a=s+"="+r(o));t.push(a)}),t.join("&")},readFileSync:function(t){return i.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw i.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:("function"==typeof i.Buffer.from&&i.Buffer.from!==Uint8Array.from?i.Buffer.from(e):new i.Buffer(e)).toString("base64")},decode:function(e){if("number"==typeof e)throw i.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:"function"==typeof i.Buffer.from&&i.Buffer.from!==Uint8Array.from?i.Buffer.from(e,"base64"):new i.Buffer(e,"base64")}},buffer:{toStream:function(e){i.Buffer.isBuffer(e)||(e=new i.Buffer(e));var t=new i.stream.Readable,r=0;return t._read=function(n){if(r>=e.length)return t.push(null);var i=r+n;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r=0,n=0,o=null;for(t=0;t<e.length;t++)r+=e[t].length;for(o=new i.Buffer(r),t=0;t<e.length;t++)e[t].copy(o,n),n+=e[t].length;return o}},string:{byteLength:function(t){if(null===t||void 0===t)return 0;if("string"==typeof t&&(t=new i.Buffer(t)),"number"==typeof t.byteLength)return t.byteLength;if("number"==typeof t.length)return t.length;if("number"==typeof t.size)return t.size;if("string"==typeof t.path)return e("fs").lstatSync(t.path).size;throw i.error(new Error("Cannot determine length of "+t),{object:t})},upperFirst:function(e){return e[0].toUpperCase()+e.substr(1)},lowerFirst:function(e){return e[0].toLowerCase()+e.substr(1)}},ini:{parse:function(e){var t,r={};return i.arrayEach(e.split(/\r?\n/),function(e){e=e.split(/(^|\s)[;#]/)[0];var n=e.match(/^\s*\[([^\[\]]+)\]\s*$/);if(n)t=n[1];else if(t){var i=e.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);i&&(r[t]=r[t]||{},r[t][i[1]]=i[2])}}),r}},fn:{noop:function(){},makeAsync:function(e,t){return t&&t<=e.length?e:function(){var t=Array.prototype.slice.call(arguments,0);t.pop()(e.apply(null,t))}}},date:{getDate:function(){return n||(n=e("./core")),n.config.systemClockOffset?new Date((new Date).getTime()+n.config.systemClockOffset):new Date},iso8601:function(e){return void 0===e&&(e=i.date.getDate()),e.toISOString().replace(/\.\d{3}Z$/,"Z")},rfc822:function(e){return void 0===e&&(e=i.date.getDate()),e.toUTCString()},unixTimestamp:function(e){return void 0===e&&(e=i.date.getDate()),e.getTime()/1e3},from:function(e){return"number"==typeof e?new Date(1e3*e):new Date(e)},format:function(e,t){return t||(t="iso8601"),i.date[t](i.date.from(e))},parseTimestamp:function(e){if("number"==typeof e)return new Date(1e3*e);if(e.match(/^\d+$/))return new Date(1e3*e);if(e.match(/^\d{4}/))return new Date(e);if(e.match(/^\w{3},/))return new Date(e);throw i.error(new Error("unhandled timestamp format: "+e),{code:"TimestampParserError"})}},crypto:{crc32Table:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],crc32:function(e){var t=i.crypto.crc32Table,r=-1;"string"==typeof e&&(e=new i.Buffer(e));for(var n=0;n<e.length;n++){r=r>>>8^t[255&(r^e.readUInt8(n))]}return(-1^r)>>>0},hmac:function(e,t,r,n){return r||(r="binary"),"buffer"===r&&(r=void 0),n||(n="sha256"),"string"==typeof t&&(t=new i.Buffer(t)),i.crypto.lib.createHmac(n,e).update(t).digest(r)},md5:function(e,t,r){return i.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return i.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,n){var o=i.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=new i.Buffer(t));var s=i.arraySliceFn(t),a=i.Buffer.isBuffer(t);if(i.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(a=!0),n&&"object"==typeof t&&"function"==typeof t.on&&!a)t.on("data",function(e){o.update(e)}),t.on("error",function(e){n(e)}),t.on("end",function(){n(null,o.digest(r))});else{if(!n||!s||a||"undefined"==typeof FileReader){i.isBrowser()&&"object"==typeof t&&!a&&(t=new i.Buffer(new Uint8Array(t)));var u=o.update(t).digest(r);return n&&n(null,u),u}var c=0,l=new FileReader;l.onerror=function(){n(new Error("Failed to read data."))},l.onload=function(){var e=new i.Buffer(new Uint8Array(l.result));o.update(e),c+=e.length,l._continueReading()},l._continueReading=function(){if(c>=t.size)return void n(null,o.digest(r));var e=c+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(s.call(t,c,e))},l._continueReading()}},toHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push(("0"+e.charCodeAt(r).toString(16)).substr(-2,2));return t.join("")},createHash:function(e){return i.crypto.lib.createHash(e)}},abort:{},each:function(e,t){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=t.call(this,r,e[r]);if(n===i.abort)break}},arrayEach:function(e,t){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=t.call(this,e[r],parseInt(r,10));if(n===i.abort)break}},update:function(e,t){return i.each(t,function(t,r){e[t]=r}),e},merge:function(e,t){return i.update(i.copy(e),t)},copy:function(e){if(null===e||void 0===e)return e;var t={};for(var r in e)t[r]=e[r];return t},isEmpty:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},arraySliceFn:function(e){var t=e.slice||e.webkitSlice||e.mozSlice;return"function"==typeof t?t:null},isType:function(e,t){return"function"==typeof t&&(t=i.typeName(t)),Object.prototype.toString.call(e)==="[object "+t+"]"},typeName:function(e){if(Object.prototype.hasOwnProperty.call(e,"name"))return e.name;var t=e.toString(),r=t.match(/^\s*function (.+)\(/);return r?r[1]:t},error:function(e,t){var r=null;return"string"==typeof e.message&&""!==e.message&&("string"==typeof t||t&&t.message)&&(r=i.copy(e),r.message=e.message),e.message=e.message||null,"string"==typeof t?e.message=t:"object"==typeof t&&null!==t&&(i.update(e,t),t.message&&(e.message=t.message),(t.code||t.name)&&(e.code=t.code||t.name),t.stack&&(e.stack=t.stack)),"function"==typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.time=new Date,r&&(e.originalError=r),e},inherit:function(e,t){var r=null;if(void 0===t)t=e,e=Object,r={};else{var n=function(){};n.prototype=e.prototype,r=new n}return t.constructor===Object&&(t.constructor=function(){if(e!==Object)return e.apply(this,arguments)}),t.constructor.prototype=r,i.update(t.constructor.prototype,t),t.constructor.__super__=e,t.constructor},mixin:function(){for(var e=arguments[0],t=1;t<arguments.length;t++)for(var r in arguments[t].prototype){var n=arguments[t].prototype[r];"constructor"!==r&&(e.prototype[r]=n)}return e},hideProperties:function(e,t){"function"==typeof Object.defineProperty&&i.arrayEach(t,function(t){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0})})},property:function(e,t,r,n,i){var o={configurable:!0,enumerable:void 0===n||n};"function"!=typeof r||i?(o.value=r,o.writable=!0):o.get=r,Object.defineProperty(e,t,o)},memoizedProperty:function(e,t,r,n){var o=null;i.property(e,t,function(){return null===o&&(o=r()),o},n)},hoistPayloadMember:function(e){var t=e.request,r=t.operation,n=t.service.api.operations[r].output;if(n.payload){var o=n.members[n.payload],s=e.data[n.payload];"structure"===o.type&&i.each(s,function(t,r){i.property(e.data,t,r,!1)})}},computeSha256:function(t,r){if(i.isNode()){var n=i.stream.Stream,o=e("fs");if(t instanceof n){if("string"!=typeof t.path)return r(new Error("Non-file stream objects are not supported with SigV4"));var s={};"number"==typeof t.start&&(s.start=t.start),"number"==typeof t.end&&(s.end=t.end),t=o.createReadStream(t.path,s)}}i.crypto.sha256(t,"hex",function(e,t){e?r(e):r(null,t)})},isClockSkewed:function(e){if(e)return i.property(n.config,"isClockSkewed",Math.abs((new Date).getTime()-e)>=3e5,!1),n.config.isClockSkewed},applyClockOffset:function(e){e&&(n.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){if(void 0===t&&n&&n.config&&(t=n.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t)var r=!0;Array.isArray(e)||(e=[e]);for(var i=0;i<e.length;i++){var o=e[i];r?o.deletePromisesFromClass&&o.deletePromisesFromClass():o.addPromisesToClass&&o.addPromisesToClass(t)}},promisifyMethod:function(e,t){return function(){var r=this;return new t(function(t,n){r[e](function(e,r){e?n(e):t(r)})})}},isDualstackAvailable:function(t){if(!t)return!1;var r=e("../apis/metadata.json");return"string"!=typeof t&&(t=t.serviceIdentifier),!("string"!=typeof t||!r.hasOwnProperty(t))&&!!r[t].dualstackAvailable},calculateRetryDelay:function(e,t){t||(t={});var r=t.customBackoff||null;if("function"==typeof r)return r(e);var n="number"==typeof t.base?t.base:100;return Math.random()*(Math.pow(2,e)*n)},handleRequestWithRetries:function(e,t,r){t||(t={});var o=n.HttpClient.getInstance(),s=t.httpOptions||{},a=0,u=function(e){var n=t.maxRetries||0;if(e&&"TimeoutError"===e.code&&(e.retryable=!0),e&&e.retryable&&a<n){a++;var o=i.calculateRetryDelay(a,t.retryDelayOptions);setTimeout(c,o+(e.retryAfter||0))}else r(e)},c=function(){var t="";o.handleRequest(e,s,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var n=e.statusCode;if(n<300)r(null,t);else{var o=1e3*parseInt(e.headers["retry-after"],10)||0,s=i.error(new Error,{retryable:n>=500||429===n});o&&s.retryable&&(s.retryAfter=o),u(s)}})},u)};n.util.defer(c)},uuid:{v4:function(){return e("uuid").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,n=t.service.api.operations[r].output||{};n.payload&&e.data[n.payload]&&(e.data[n.payload]=e.data[n.payload].toString())},defer:function(e){"object"==typeof r&&"function"==typeof r.nextTick?r.nextTick(e):"function"==typeof setImmediate?setImmediate(e):setTimeout(e,0)},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE"};t.exports=i}).call(this,e("_process"))},{"../apis/metadata.json":188,"./core":194,_process:154,fs:2,uuid:166}],193:[function(e,t,r){var n=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;n.Config=n.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),n.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new n.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,n){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=n,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),n.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||n.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(n.util.readFileSync(e)),r=new n.FileSystemCredentials(e),i=new n.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){n.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=n.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=n.util.copy(e),e.credentials=new n.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[n.Request,n.Credentials,n.CredentialProviderChain];n.S3&&n.S3.ManagedUpload&&t.push(n.S3.ManagedUpload),n.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),n.config=new n.Config},{"./core":194,"./credentials":195,"./credentials/credential_provider_chain":197}],197:[function(e,t,r){var n=e("../core");n.CredentialProviderChain=n.util.inherit(n.Credentials,{constructor:function(e){this.providers=e||n.CredentialProviderChain.defaultProviders.slice(0)},resolve:function(e){function t(i,o){if(!i&&o||r===n.length)return void e(i,o);var s=n[r++];o="function"==typeof s?s.call():s,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}if(0===this.providers.length)return e(new Error("No providers")),this;var r=0,n=this.providers.slice(0);return t(),this}}),n.CredentialProviderChain.defaultProviders=[],n.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=n.util.promisifyMethod("resolve",e)},n.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},n.util.addPromises(n.CredentialProviderChain)},{"../core":194}],195:[function(e,t,r){var n=e("./core");n.Credentials=n.util.inherit({constructor:function(){if(n.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=n.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()}}),n.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=n.util.promisifyMethod("get",e),this.prototype.refreshPromise=n.util.promisifyMethod("refresh",e)},n.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},n.util.addPromises(n.Credentials)},{"./core":194}],189:[function(e,t,r){function n(e,t){if(!n.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return n.services[e][t]}n.services={},t.exports=n},{}],188:[function(e,t,r){t.exports={acm:{name:"ACM",cors:!0},apigateway:{name:"APIGateway",cors:!0},applicationautoscaling:{prefix:"application-autoscaling",name:"ApplicationAutoScaling",cors:!0},appstream:{name:"AppStream"},autoscaling:{name:"AutoScaling",cors:!0},batch:{name:"Batch"},budgets:{name:"Budgets"},clouddirectory:{name:"CloudDirectory"},cloudformation:{name:"CloudFormation",cors:!0},cloudfront:{name:"CloudFront",versions:["2013-05-12*","2013-11-11*","2014-05-31*","2014-10-21*","2014-11-06*","2015-04-17*","2015-07-27*","2015-09-17*","2016-01-13*","2016-01-28*","2016-08-01*","2016-08-20*","2016-09-07*","2016-09-29*","2016-11-25*"],cors:!0},cloudhsm:{name:"CloudHSM",cors:!0},cloudsearch:{name:"CloudSearch"},cloudsearchdomain:{name:"CloudSearchDomain"},cloudtrail:{name:"CloudTrail",cors:!0},cloudwatch:{prefix:"monitoring",name:"CloudWatch",cors:!0},cloudwatchevents:{prefix:"events",name:"CloudWatchEvents",versions:["2014-02-03*"],cors:!0},cloudwatchlogs:{prefix:"logs",name:"CloudWatchLogs",cors:!0},codebuild:{name:"CodeBuild"},codecommit:{name:"CodeCommit",cors:!0},codedeploy:{name:"CodeDeploy",cors:!0},codepipeline:{name:"CodePipeline",cors:!0},cognitoidentity:{prefix:"cognito-identity",name:"CognitoIdentity",cors:!0},cognitoidentityserviceprovider:{prefix:"cognito-idp",name:"CognitoIdentityServiceProvider",cors:!0},cognitosync:{prefix:"cognito-sync",name:"CognitoSync",cors:!0},configservice:{prefix:"config",name:"ConfigService",cors:!0},cur:{name:"CUR",cors:!0},datapipeline:{name:"DataPipeline"},devicefarm:{name:"DeviceFarm",cors:!0},directconnect:{name:"DirectConnect",cors:!0},directoryservice:{prefix:"ds",name:"DirectoryService"},discovery:{name:"Discovery"},dms:{name:"DMS"},dynamodb:{name:"DynamoDB",cors:!0},dynamodbstreams:{prefix:"streams.dynamodb",name:"DynamoDBStreams",cors:!0},ec2:{name:"EC2",versions:["2013-06-15*","2013-10-15*","2014-02-01*","2014-05-01*","2014-06-15*","2014-09-01*","2014-10-01*","2015-03-01*","2015-04-15*","2015-10-01*","2016-04-01*","2016-09-15*"],cors:!0},ecr:{name:"ECR",cors:!0},ecs:{name:"ECS",cors:!0},efs:{prefix:"elasticfilesystem",name:"EFS",cors:!0},elasticache:{name:"ElastiCache",versions:["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*"],cors:!0},elasticbeanstalk:{name:"ElasticBeanstalk",cors:!0},elb:{prefix:"elasticloadbalancing",name:"ELB",cors:!0},elbv2:{prefix:"elasticloadbalancingv2",name:"ELBv2",cors:!0},emr:{prefix:"elasticmapreduce",name:"EMR",cors:!0},es:{name:"ES"},elastictranscoder:{name:"ElasticTranscoder",cors:!0},firehose:{name:"Firehose",cors:!0},gamelift:{name:"GameLift",cors:!0},glacier:{name:"Glacier"},health:{name:"Health"},iam:{name:"IAM"},importexport:{name:"ImportExport"},inspector:{name:"Inspector",versions:["2015-08-18*"],cors:!0},iot:{name:"Iot",cors:!0},iotdata:{prefix:"iot-data",name:"IotData",cors:!0},kinesis:{name:"Kinesis",cors:!0},kinesisanalytics:{name:"KinesisAnalytics"},kms:{name:"KMS",cors:!0},lambda:{name:"Lambda",cors:!0},lexruntime:{prefix:"runtime.lex",name:"LexRuntime",cors:!0},lightsail:{name:"Lightsail"},machinelearning:{name:"MachineLearning",cors:!0},marketplacecommerceanalytics:{name:"MarketplaceCommerceAnalytics",cors:!0},marketplacemetering:{prefix:"meteringmarketplace",name:"MarketplaceMetering"},mturk:{prefix:"mturk-requester",name:"MTurk",cors:!0},mobileanalytics:{name:"MobileAnalytics",cors:!0},opsworks:{name:"OpsWorks",cors:!0},opsworkscm:{name:"OpsWorksCM"},organizations:{name:"Organizations"},pinpoint:{name:"Pinpoint"},polly:{name:"Polly",cors:!0},rds:{name:"RDS",versions:["2014-09-01*"],cors:!0},redshift:{name:"Redshift",cors:!0},rekognition:{name:"Rekognition",cors:!0},resourcegroupstaggingapi:{name:"ResourceGroupsTaggingAPI"},route53:{name:"Route53",cors:!0},route53domains:{name:"Route53Domains",cors:!0},s3:{name:"S3",dualstackAvailable:!0,cors:!0},servicecatalog:{name:"ServiceCatalog",cors:!0},ses:{prefix:"email",name:"SES",cors:!0},shield:{name:"Shield"},simpledb:{prefix:"sdb",name:"SimpleDB"},sms:{name:"SMS"},snowball:{name:"Snowball"},sns:{name:"SNS",cors:!0},sqs:{name:"SQS",cors:!0},ssm:{name:"SSM",cors:!0},storagegateway:{name:"StorageGateway",cors:!0},stepfunctions:{prefix:"states",name:"StepFunctions"},sts:{name:"STS",cors:!0},support:{name:"Support"},swf:{name:"SWF"},xray:{name:"XRay"},waf:{name:"WAF",cors:!0},wafregional:{prefix:"waf-regional",name:"WAFRegional"},workdocs:{name:"WorkDocs",cors:!0},workspaces:{name:"WorkSpaces"},codestar:{name:"CodeStar"},lexmodelbuildingservice:{prefix:"lex-models",name:"LexModelBuildingService"},marketplaceentitlementservice:{prefix:"entitlement.marketplace",name:"MarketplaceEntitlementService"},athena:{name:"Athena"},greengrass:{name:"Greengrass"},dax:{name:"DAX"},migrationhub:{prefix:"AWSMigrationHub",name:"MigrationHub"},cloudhsmv2:{name:"CloudHSMV2"},glue:{name:"Glue"}}},{}],187:[function(e,t,r){(function(){var r,n;n=e("lodash/assign"),r=e("./XMLBuilder"),t.exports.create=function(e,t,i,o){return o=n({},t,i,o),new r(e,o).root()}}).call(this)},{"./XMLBuilder":172,"lodash/assign":129}],172:[function(e,t,r){(function(){var r,n;n=e("./XMLStringifier"),e("./XMLDeclaration"),e("./XMLDocType"),r=e("./XMLElement"),t.exports=function(){function e(e,t){var i,o;if(null==e)throw new Error("Root element needs a name");null==t&&(t={}),this.options=t,this.stringify=new n(t),o=new r(this,"doc"),i=o.element(e),i.isRoot=!0,i.documentObject=this,this.rootObject=i,t.headless||(i.declaration(t),null==t.pubID&&null==t.sysID||i.doctype(t))}return e.prototype.root=function(){return this.rootObject},e.prototype.end=function(e){return this.toString(e)},e.prototype.toString=function(e){var t,r,n,i,o,s;return r=(null!=e?e.pretty:void 0)||!1,null!=(i=null!=e?e.indent:void 0)?i:" ",
null!=(o=null!=e?e.offset:void 0)?o:0,t=null!=(s=null!=e?e.newline:void 0)?s:"\n",n="",null!=this.xmldec&&(n+=this.xmldec.toString(e)),null!=this.doctype&&(n+=this.doctype.toString(e)),n+=this.rootObject.toString(e),r&&n.slice(-t.length)===t&&(n=n.slice(0,-t.length)),n},e}()}).call(this)},{"./XMLDeclaration":179,"./XMLDocType":180,"./XMLElement":181,"./XMLStringifier":185}],185:[function(e,t,r){(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},r={}.hasOwnProperty;t.exports=function(){function t(t){this.assertLegalChar=e(this.assertLegalChar,this);var n,i,o;this.allowSurrogateChars=null!=t?t.allowSurrogateChars:void 0,this.noDoubleEncoding=null!=t?t.noDoubleEncoding:void 0,i=(null!=t?t.stringify:void 0)||{};for(n in i)r.call(i,n)&&(o=i[n],this[n]=o)}return t.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},t.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},t.prototype.cdata=function(e){if(e=""+e||"",e.match(/]]>/))throw new Error("Invalid CDATA text: "+e);return this.assertLegalChar(e)},t.prototype.comment=function(e){if(e=""+e||"",e.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return""+e||""},t.prototype.attName=function(e){return""+e||""},t.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},t.prototype.insTarget=function(e){return""+e||""},t.prototype.insValue=function(e){if(e=""+e||"",e.match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},t.prototype.xmlVersion=function(e){if(e=""+e||"",!e.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},t.prototype.xmlEncoding=function(e){if(e=""+e||"",!e.match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/))throw new Error("Invalid encoding: "+e);return e},t.prototype.xmlStandalone=function(e){return e?"yes":"no"},t.prototype.dtdPubID=function(e){return""+e||""},t.prototype.dtdSysID=function(e){return""+e||""},t.prototype.dtdElementValue=function(e){return""+e||""},t.prototype.dtdAttType=function(e){return""+e||""},t.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},t.prototype.dtdEntityValue=function(e){return""+e||""},t.prototype.dtdNData=function(e){return""+e||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(e){var t,r;if(t=this.allowSurrogateChars?/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/:/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/,r=e.match(t))throw new Error("Invalid character ("+r+") in string: "+e+" at index "+r.index);return e},t.prototype.elEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},t.prototype.attEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/"/g,""")},t}()}).call(this)},{}],179:[function(e,t,r){(function(){var r,n,i=function(e,t){function r(){this.constructor=e}for(var n in t)o.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;e("lodash/create"),n=e("lodash/isObject"),r=e("./XMLNode"),t.exports=function(e){function t(e,r,i,o){var s;t.__super__.constructor.call(this,e),n(r)&&(s=r,r=s.version,i=s.encoding,o=s.standalone),r||(r="1.0"),this.version=this.stringify.xmlVersion(r),null!=i&&(this.encoding=this.stringify.xmlEncoding(i)),null!=o&&(this.standalone=this.stringify.xmlStandalone(o))}return i(t,e),t.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="<?xml",s+=' version="'+this.version+'"',null!=this.encoding&&(s+=' encoding="'+this.encoding+'"'),null!=this.standalone&&(s+=' standalone="'+this.standalone+'"'),s+="?>",o&&(s+=n),s},t}(r)}).call(this)},{"./XMLNode":182,"lodash/create":131,"lodash/isObject":144}],182:[function(e,t,r){(function(){var r,n,i,o,s,a,u,c,l,h,f={}.hasOwnProperty;h=e("lodash/isObject"),l=e("lodash/isFunction"),c=e("lodash/isEmpty"),s=null,r=null,n=null,i=null,o=null,a=null,u=null,t.exports=function(){function t(t){this.parent=t,this.options=this.parent.options,this.stringify=this.parent.stringify,null===s&&(s=e("./XMLElement"),r=e("./XMLCData"),n=e("./XMLComment"),i=e("./XMLDeclaration"),o=e("./XMLDocType"),a=e("./XMLRaw"),u=e("./XMLText"))}return t.prototype.element=function(e,t,r){var n,i,o,s,a,u,p,d,y,v;if(u=null,null==t&&(t={}),t=t.valueOf(),h(t)||(y=[t,r],r=y[0],t=y[1]),null!=e&&(e=e.valueOf()),Array.isArray(e))for(o=0,p=e.length;o<p;o++)i=e[o],u=this.element(i);else if(l(e))u=this.element(e.apply());else if(h(e)){for(a in e)if(f.call(e,a))if(v=e[a],l(v)&&(v=v.apply()),h(v)&&c(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===a.indexOf(this.stringify.convertAttKey))u=this.attribute(a.substr(this.stringify.convertAttKey.length),v);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===a.indexOf(this.stringify.convertPIKey))u=this.instruction(a.substr(this.stringify.convertPIKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(s=0,d=v.length;s<d;s++)i=v[s],n={},n[a]=i,u=this.element(n);else h(v)?(u=this.element(a),u.element(v)):u=this.element(a,v)}else u=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):this.node(e,t,r);if(null==u)throw new Error("Could not create any elements with: "+e);return u},t.prototype.insertBefore=function(e,t,r){var n,i,o;if(this.isRoot)throw new Error("Cannot insert elements at root level");return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,o),n},t.prototype.insertAfter=function(e,t,r){var n,i,o;if(this.isRoot)throw new Error("Cannot insert elements at root level");return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i+1),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,o),n},t.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element");return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},t.prototype.node=function(e,t,r){var n,i;return null!=e&&(e=e.valueOf()),null==t&&(t={}),t=t.valueOf(),h(t)||(i=[t,r],r=i[0],t=i[1]),n=new s(this,e,t),null!=r&&n.text(r),this.children.push(n),n},t.prototype.text=function(e){var t;return t=new u(this,e),this.children.push(t),this},t.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},t.prototype.comment=function(e){var t;return t=new n(this,e),this.children.push(t),this},t.prototype.raw=function(e){var t;return t=new a(this,e),this.children.push(t),this},t.prototype.declaration=function(e,t,r){var n,o;return n=this.document(),o=new i(n,e,t,r),n.xmldec=o,n.root()},t.prototype.doctype=function(e,t){var r,n;return r=this.document(),n=new o(r,e,t),r.doctype=n,n},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var e;if(this.isRoot)return this;for(e=this.parent;!e.isRoot;)e=e.parent;return e},t.prototype.document=function(){return this.root().documentObject},t.prototype.end=function(e){return this.document().toString(e)},t.prototype.prev=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if((e=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node");return this.parent.children[e-1]},t.prototype.next=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if(-1===(e=this.parent.children.indexOf(this))||e===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[e+1]},t.prototype.importXMLBuilder=function(e){var t;return t=e.root().clone(),t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.ele=function(e,t,r){return this.element(e,t,r)},t.prototype.nod=function(e,t,r){return this.node(e,t,r)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,r){return this.element(e,t,r)},t.prototype.n=function(e,t,r){return this.node(e,t,r)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.u=function(){return this.up()},t}()}).call(this)},{"./XMLCData":173,"./XMLComment":174,"./XMLDeclaration":179,"./XMLDocType":180,"./XMLElement":181,"./XMLRaw":184,"./XMLText":186,"lodash/isEmpty":141,"lodash/isFunction":142,"lodash/isObject":144}],186:[function(e,t,r){(function(){var r,n,i=function(e,t){function r(){this.constructor=e}for(var n in t)o.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=e("lodash/create"),r=e("./XMLNode"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element text");this.value=this.stringify.eleText(r)}return i(t,e),t.prototype.clone=function(){return n(t.prototype,this)},t.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+=this.value,o&&(s+=n),s},t}(r)}).call(this)},{"./XMLNode":182,"lodash/create":131}],184:[function(e,t,r){(function(){var r,n,i=function(e,t){function r(){this.constructor=e}for(var n in t)o.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=e("lodash/create"),r=e("./XMLNode"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing raw text");this.value=this.stringify.raw(r)}return i(t,e),t.prototype.clone=function(){return n(t.prototype,this)},t.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+=this.value,o&&(s+=n),s},t}(r)}).call(this)},{"./XMLNode":182,"lodash/create":131}],181:[function(e,t,r){(function(){var r,n,i,o,s,a,u,c=function(e,t){function r(){this.constructor=e}for(var n in t)l.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=e("lodash/create"),u=e("lodash/isObject"),a=e("lodash/isFunction"),s=e("lodash/every"),n=e("./XMLNode"),r=e("./XMLAttribute"),i=e("./XMLProcessingInstruction"),t.exports=function(e){function t(e,r,n){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element name");this.name=this.stringify.eleName(r),this.children=[],this.instructions=[],this.attributes={},null!=n&&this.attribute(n)}return c(t,e),t.prototype.clone=function(){var e,r,n,i,s,a,u,c;n=o(t.prototype,this),n.isRoot&&(n.documentObject=null),n.attributes={},u=this.attributes;for(r in u)l.call(u,r)&&(e=u[r],n.attributes[r]=e.clone());for(n.instructions=[],c=this.instructions,i=0,s=c.length;i<s;i++)a=c[i],n.instructions.push(a.clone());return n.children=[],this.children.forEach(function(e){var t;return t=e.clone(),t.parent=n,n.children.push(t)}),n},t.prototype.attribute=function(e,t){var n,i;if(null!=e&&(e=e.valueOf()),u(e))for(n in e)l.call(e,n)&&(i=e[n],this.attribute(n,i));else a(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.attributes[e]=new r(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,r,n;if(null==e)throw new Error("Missing attribute name");if(e=e.valueOf(),Array.isArray(e))for(r=0,n=e.length;r<n;r++)t=e[r],delete this.attributes[t];else delete this.attributes[e];return this},t.prototype.instruction=function(e,t){var r,n,o,s,c;if(null!=e&&(e=e.valueOf()),null!=t&&(t=t.valueOf()),Array.isArray(e))for(r=0,c=e.length;r<c;r++)n=e[r],this.instruction(n);else if(u(e))for(n in e)l.call(e,n)&&(o=e[n],this.instruction(n,o));else a(t)&&(t=t.apply()),s=new i(this,e,t),this.instructions.push(s);return this},t.prototype.toString=function(e,t){var r,n,i,o,a,u,c,h,f,p,d,y,v,m,g,_,b,w,x,E;for(y=(null!=e?e.pretty:void 0)||!1,o=null!=(m=null!=e?e.indent:void 0)?m:" ",d=null!=(g=null!=e?e.offset:void 0)?g:0,p=null!=(_=null!=e?e.newline:void 0)?_:"\n",t||(t=0),E=new Array(t+d+1).join(o),v="",b=this.instructions,i=0,c=b.length;i<c;i++)a=b[i],v+=a.toString(e,t);y&&(v+=E),v+="<"+this.name,w=this.attributes;for(f in w)l.call(w,f)&&(r=w[f],v+=r.toString(e));if(0===this.children.length||s(this.children,function(e){return""===e.value}))v+="/>",y&&(v+=p);else if(y&&1===this.children.length&&null!=this.children[0].value)v+=">",v+=this.children[0].value,v+="</"+this.name+">",v+=p;else{for(v+=">",y&&(v+=p),x=this.children,u=0,h=x.length;u<h;u++)n=x[u],v+=n.toString(e,t+1);y&&(v+=E),v+="</"+this.name+">",y&&(v+=p)}return v},t.prototype.att=function(e,t){return this.attribute(e,t)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.a=function(e,t){return this.attribute(e,t)},t.prototype.i=function(e,t){return this.instruction(e,t)},t}(n)}).call(this)},{"./XMLAttribute":171,"./XMLNode":182,"./XMLProcessingInstruction":183,"lodash/create":131,"lodash/every":133,"lodash/isFunction":142,"lodash/isObject":144}],180:[function(e,t,r){(function(){var r,n,i,o,s,a,u,c;e("lodash/create"),c=e("lodash/isObject"),r=e("./XMLCData"),n=e("./XMLComment"),i=e("./XMLDTDAttList"),s=e("./XMLDTDEntity"),o=e("./XMLDTDElement"),a=e("./XMLDTDNotation"),u=e("./XMLProcessingInstruction"),t.exports=function(){function e(e,t,r){var n,i;this.documentObject=e,this.stringify=this.documentObject.stringify,this.children=[],c(t)&&(n=t,t=n.pubID,r=n.sysID),null==r&&(i=[t,r],r=i[0],t=i[1]),null!=t&&(this.pubID=this.stringify.dtdPubID(t)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return e.prototype.element=function(e,t){var r;return r=new o(this,e,t),this.children.push(r),this},e.prototype.attList=function(e,t,r,n,o){var s;return s=new i(this,e,t,r,n,o),this.children.push(s),this},e.prototype.entity=function(e,t){var r;return r=new s(this,!1,e,t),this.children.push(r),this},e.prototype.pEntity=function(e,t){var r;return r=new s(this,!0,e,t),this.children.push(r),this},e.prototype.notation=function(e,t){var r;return r=new a(this,e,t),this.children.push(r),this},e.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},e.prototype.comment=function(e){var t;return t=new n(this,e),this.children.push(t),this},e.prototype.instruction=function(e,t){var r;return r=new u(this,e,t),this.children.push(r),this},e.prototype.root=function(){return this.documentObject.root()},e.prototype.document=function(){return this.documentObject},e.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l,h,f,p,d;if(u=(null!=e?e.pretty:void 0)||!1,i=null!=(l=null!=e?e.indent:void 0)?l:" ",a=null!=(h=null!=e?e.offset:void 0)?h:0,s=null!=(f=null!=e?e.newline:void 0)?f:"\n",t||(t=0),d=new Array(t+a+1).join(i),c="",u&&(c+=d),c+="<!DOCTYPE "+this.root().name,this.pubID&&this.sysID?c+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(c+=' SYSTEM "'+this.sysID+'"'),this.children.length>0){for(c+=" [",u&&(c+=s),p=this.children,n=0,o=p.length;n<o;n++)r=p[n],c+=r.toString(e,t+1);c+="]"}return c+=">",u&&(c+=s),c},e.prototype.ele=function(e,t){return this.element(e,t)},e.prototype.att=function(e,t,r,n,i){return this.attList(e,t,r,n,i)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.up=function(){return this.root()},e.prototype.doc=function(){return this.document()},e}()}).call(this)},{"./XMLCData":173,"./XMLComment":174,"./XMLDTDAttList":175,"./XMLDTDElement":176,"./XMLDTDEntity":177,"./XMLDTDNotation":178,"./XMLProcessingInstruction":183,"lodash/create":131,"lodash/isObject":144}],183:[function(e,t,r){(function(){var r;r=e("lodash/create"),t.exports=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(t),r&&(this.value=this.stringify.insValue(r))}return e.prototype.clone=function(){return r(e.prototype,this)},e.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="<?",s+=this.target,this.value&&(s+=" "+this.value),s+="?>",o&&(s+=n),s},e}()}).call(this)},{"lodash/create":131}],178:[function(e,t,r){(function(){e("lodash/create"),t.exports=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing notation name");if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(t),null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return e.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="<!NOTATION "+this.name,this.pubID&&this.sysID?s+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.pubID?s+=' PUBLIC "'+this.pubID+'"':this.sysID&&(s+=' SYSTEM "'+this.sysID+'"'),s+=">",o&&(s+=n),s},e}()}).call(this)},{"lodash/create":131}],177:[function(e,t,r){(function(){var r;e("lodash/create"),r=e("lodash/isObject"),t.exports=function(){function e(e,t,n,i){if(this.stringify=e.stringify,null==n)throw new Error("Missing entity name");if(null==i)throw new Error("Missing entity value");if(this.pe=!!t,this.name=this.stringify.eleName(n),r(i)){if(!i.pubID&&!i.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity");if(null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID)),null!=i.nData&&(this.nData=this.stringify.dtdNData(i.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(i)}return e.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="<!ENTITY",this.pe&&(s+=" %"),s+=" "+this.name,this.value?s+=' "'+this.value+'"':(this.pubID&&this.sysID?s+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(s+=' SYSTEM "'+this.sysID+'"'),this.nData&&(s+=" NDATA "+this.nData)),s+=">",o&&(s+=n),s},e}()}).call(this)},{"lodash/create":131,"lodash/isObject":144}],176:[function(e,t,r){(function(){e("lodash/create"),t.exports=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.eleName(t),this.value=this.stringify.dtdElementValue(r)}return e.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="<!ELEMENT "+this.name+" "+this.value+">",o&&(s+=n),s},e}()}).call(this)},{"lodash/create":131}],175:[function(e,t,r){(function(){e("lodash/create"),t.exports=function(){function e(e,t,r,n,i,o){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");if(null==r)throw new Error("Missing DTD attribute name");if(!n)throw new Error("Missing DTD attribute type");if(!i)throw new Error("Missing DTD attribute default");if(0!==i.indexOf("#")&&(i="#"+i),!i.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(o&&!i.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(t),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(n),this.defaultValue=this.stringify.dtdAttDefault(o),this.defaultValueType=i}return e.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="<!ATTLIST "+this.elementName+" "+this.attributeName+" "+this.attributeType,"#DEFAULT"!==this.defaultValueType&&(s+=" "+this.defaultValueType),this.defaultValue&&(s+=' "'+this.defaultValue+'"'),s+=">",o&&(s+=n),s},e}()}).call(this)},{"lodash/create":131}],174:[function(e,t,r){(function(){var r,n,i=function(e,t){function r(){this.constructor=e}for(var n in t)o.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=e("lodash/create"),r=e("./XMLNode"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text");this.text=this.stringify.comment(r)}return i(t,e),t.prototype.clone=function(){return n(t.prototype,this)},t.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="\x3c!-- "+this.text+" --\x3e",o&&(s+=n),s},t}(r)}).call(this)},{"./XMLNode":182,"lodash/create":131}],173:[function(e,t,r){(function(){var r,n,i=function(e,t){function r(){this.constructor=e}for(var n in t)o.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=e("lodash/create"),r=e("./XMLNode"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(r)}return i(t,e),t.prototype.clone=function(){return n(t.prototype,this)},t.prototype.toString=function(e,t){var r,n,i,o,s,a,u,c,l;return o=(null!=e?e.pretty:void 0)||!1,r=null!=(a=null!=e?e.indent:void 0)?a:" ",i=null!=(u=null!=e?e.offset:void 0)?u:0,n=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),l=new Array(t+i+1).join(r),s="",o&&(s+=l),s+="<![CDATA["+this.text+"]]>",o&&(s+=n),s},t}(r)}).call(this)},{"./XMLNode":182,"lodash/create":131}],171:[function(e,t,r){(function(){var r;r=e("lodash/create"),t.exports=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing attribute name of element "+e.name);if(null==r)throw new Error("Missing attribute value for attribute "+t+" of element "+e.name);this.name=this.stringify.attName(t),this.value=this.stringify.attValue(r)}return e.prototype.clone=function(){return r(e.prototype,this)},e.prototype.toString=function(e,t){return" "+this.name+'="'+this.value+'"'},e}()}).call(this)},{"lodash/create":131}],166:[function(e,t,r){var n=e("./v1"),i=e("./v4"),o=i;o.v1=n,o.v4=i,t.exports=o},{"./v1":169,"./v4":170}],170:[function(e,t,r){function n(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null),e=e||{};var s=e.random||(e.rng||i)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[n+a]=s[a];return t||o(s)}var i=e("./lib/rng"),o=e("./lib/bytesToUuid");t.exports=n},{"./lib/bytesToUuid":167,"./lib/rng":168}],169:[function(e,t,r){function n(e,t,r){var n=t&&r||0,i=t||[];e=e||{};var s=void 0!==e.clockseq?e.clockseq:u,h=void 0!==e.msecs?e.msecs:(new Date).getTime(),f=void 0!==e.nsecs?e.nsecs:l+1,p=h-c+(f-l)/1e4;if(p<0&&void 0===e.clockseq&&(s=s+1&16383),(p<0||h>c)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=h,l=f,u=s,h+=122192928e5;var d=(1e4*(268435455&h)+f)%4294967296;i[n++]=d>>>24&255,i[n++]=d>>>16&255,i[n++]=d>>>8&255,i[n++]=255&d;var y=h/4294967296*1e4&268435455;i[n++]=y>>>8&255,i[n++]=255&y,i[n++]=y>>>24&15|16,i[n++]=y>>>16&255,i[n++]=s>>>8|128,i[n++]=255&s;for(var v=e.node||a,m=0;m<6;++m)i[n+m]=v[m];return t||o(i)}var i=e("./lib/rng"),o=e("./lib/bytesToUuid"),s=i(),a=[1|s[0],s[1],s[2],s[3],s[4],s[5]],u=16383&(s[6]<<8|s[7]),c=0,l=0;t.exports=n},{"./lib/bytesToUuid":167,"./lib/rng":168}],168:[function(e,t,r){(function(e){var r,n=e.crypto||e.msCrypto;if(n&&n.getRandomValues){var i=new Uint8Array(16);r=function(){return n.getRandomValues(i),i}}if(!r){var o=new Array(16);r=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],167:[function(e,t,r){function n(e,t){var r=t||0,n=i;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}for(var i=[],o=0;o<256;++o)i[o]=(o+256).toString(16).substr(1);t.exports=n},{}],165:[function(e,t,r){(function(t,n){function i(e,t){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(t)?n.showHidden=t:t&&r._extend(n,t),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),u(n,e,n.depth)}function o(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function s(e,t){return e}function a(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,n){if(e.customInspect&&t&&C(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return _(i)||(i=u(e,i,n)),i}var o=c(e,t);if(o)return o;var s=Object.keys(t),y=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),A(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(t);if(0===s.length){if(C(t)){var v=t.name?": "+t.name:"";return e.stylize("[Function"+v+"]","special")}if(x(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(S(t))return e.stylize(Date.prototype.toString.call(t),"date");if(A(t))return l(t)}var m="",g=!1,b=["{","}"];if(d(t)&&(g=!0,b=["[","]"]),C(t)){m=" [Function"+(t.name?": "+t.name:"")+"]"}if(x(t)&&(m=" "+RegExp.prototype.toString.call(t)),S(t)&&(m=" "+Date.prototype.toUTCString.call(t)),A(t)&&(m=" "+l(t)),0===s.length&&(!g||0==t.length))return b[0]+m+b[1];if(n<0)return x(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var w;return w=g?h(e,t,n,y,s):s.map(function(r){return f(e,t,n,y,r,g)}),e.seen.pop(),p(w,m,b)}function c(e,t){if(w(t))return e.stylize("undefined","undefined");if(_(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return g(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)j(t,String(s))?o.push(f(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(f(e,t,r,n,i,!0))}),o}function f(e,t,r,n,i,o){var s,a,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),j(n,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=v(r)?u(e,c.value,null):u(e,c.value,r-1),a.indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),w(s)){if(o&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function p(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function v(e){return null===e}function m(e){return null==e}function g(e){return"number"==typeof e}function _(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function w(e){return void 0===e}function x(e){return E(e)&&"[object RegExp]"===T(e)}function E(e){return"object"==typeof e&&null!==e}function S(e){return E(e)&&"[object Date]"===T(e)}function A(e){return E(e)&&("[object Error]"===T(e)||e instanceof Error)}function C(e){return"function"==typeof e}function R(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function T(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}function O(){var e=new Date,t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],t].join(" ")}function j(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var L=/%[sdj%]/g;r.format=function(e){if(!_(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(i(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,o=n.length,s=String(e).replace(L,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<o;a=n[++r])v(a)||!E(a)?s+=" "+a:s+=" "+i(a);return s},r.deprecate=function(e,i){function o(){if(!s){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),s=!0}return e.apply(this,arguments)}if(w(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var s=!1;return o};var P,k={};r.debuglog=function(e){if(w(P)&&(P=t.env.NODE_DEBUG||""),
e=e.toUpperCase(),!k[e])if(new RegExp("\\b"+e+"\\b","i").test(P)){var n=t.pid;k[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else k[e]=function(){};return k[e]},r.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=y,r.isNull=v,r.isNullOrUndefined=m,r.isNumber=g,r.isString=_,r.isSymbol=b,r.isUndefined=w,r.isRegExp=x,r.isObject=E,r.isDate=S,r.isError=A,r.isFunction=C,r.isPrimitive=R,r.isBuffer=e("./support/isBuffer");var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",O(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!E(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":164,_process:154,inherits:163}],164:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],163:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],154:[function(e,t,r){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(h===setTimeout)return setTimeout(e,0);if((h===n||!h)&&setTimeout)return h=setTimeout,setTimeout(e,0);try{return h(e,0)}catch(t){try{return h.call(null,e,0)}catch(t){return h.call(this,e,0)}}}function s(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?y=d.concat(y):m=-1,y.length&&u())}function u(){if(!v){var e=o(a);v=!0;for(var t=y.length;t;){for(d=y,y=[];++m<t;)d&&d[m].run();m=-1,t=y.length}d=null,v=!1,s(e)}}function c(e,t){this.fun=e,this.array=t}function l(){}var h,f,p=t.exports={};!function(){try{h="function"==typeof setTimeout?setTimeout:n}catch(e){h=n}try{f="function"==typeof clearTimeout?clearTimeout:i}catch(e){f=i}}();var d,y=[],v=!1,m=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];y.push(new c(e,t)),1!==y.length||v||o(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=l,p.addListener=l,p.once=l,p.off=l,p.removeListener=l,p.removeAllListeners=l,p.emit=l,p.prependListener=l,p.prependOnceListener=l,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],141:[function(e,t,r){function n(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||h(e)||s(e)))return!e.length;var t=o(e);if(t==f||t==p)return!e.size;if(l(e))return!i(e).length;for(var r in e)if(y.call(e,r))return!1;return!0}var i=e("./_baseKeys"),o=e("./_getTag"),s=e("./isArguments"),a=e("./isArray"),u=e("./isArrayLike"),c=e("./isBuffer"),l=e("./_isPrototype"),h=e("./isTypedArray"),f="[object Map]",p="[object Set]",d=Object.prototype,y=d.hasOwnProperty;t.exports=n},{"./_baseKeys":53,"./_getTag":81,"./_isPrototype":94,"./isArguments":137,"./isArray":138,"./isArrayLike":139,"./isBuffer":140,"./isTypedArray":147}],133:[function(e,t,r){function n(e,t,r){var n=a(e)?i:o;return r&&u(e,t,r)&&(t=void 0),n(e,s(t,3))}var i=e("./_arrayEvery"),o=e("./_baseEvery"),s=e("./_baseIteratee"),a=e("./isArray"),u=e("./_isIterateeCall");t.exports=n},{"./_arrayEvery":27,"./_baseEvery":39,"./_baseIteratee":52,"./_isIterateeCall":90,"./isArray":138}],131:[function(e,t,r){function n(e,t){var r=o(e);return null==t?r:i(r,t)}var i=e("./_baseAssign"),o=e("./_baseCreate");t.exports=n},{"./_baseAssign":35,"./_baseCreate":37}],129:[function(e,t,r){var n=e("./_assignValue"),i=e("./_copyObject"),o=e("./_createAssigner"),s=e("./isArrayLike"),a=e("./_isPrototype"),u=e("./keys"),c=Object.prototype,l=c.hasOwnProperty,h=o(function(e,t){if(a(t)||s(t))return void i(t,u(t),e);for(var r in t)l.call(t,r)&&n(e,r,t[r])});t.exports=h},{"./_assignValue":33,"./_copyObject":65,"./_createAssigner":67,"./_isPrototype":94,"./isArrayLike":139,"./keys":148}],67:[function(e,t,r){function n(e){return i(function(t,r){var n=-1,i=r.length,s=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(s=e.length>3&&"function"==typeof s?(i--,s):void 0,a&&o(r[0],r[1],a)&&(s=i<3?void 0:s,i=1),t=Object(t);++n<i;){var u=r[n];u&&e(t,u,n,s)}return t})}var i=e("./_baseRest"),o=e("./_isIterateeCall");t.exports=n},{"./_baseRest":58,"./_isIterateeCall":90}],90:[function(e,t,r){function n(e,t,r){if(!a(r))return!1;var n=typeof t;return!!("number"==n?o(r)&&s(t,r.length):"string"==n&&t in r)&&i(r[t],e)}var i=e("./eq"),o=e("./isArrayLike"),s=e("./_isIndex"),a=e("./isObject");t.exports=n},{"./_isIndex":89,"./eq":132,"./isArrayLike":139,"./isObject":144}],58:[function(e,t,r){function n(e,t){return s(o(e,t,i),e+"")}var i=e("./identity"),o=e("./_overRest"),s=e("./_setToString");t.exports=n},{"./_overRest":114,"./_setToString":119,"./identity":136}],119:[function(e,t,r){var n=e("./_baseSetToString"),i=e("./_shortOut"),o=i(n);t.exports=o},{"./_baseSetToString":59,"./_shortOut":120}],120:[function(e,t,r){function n(e){var t=0,r=0;return function(){var n=s(),a=o-(n-r);if(r=n,a>0){if(++t>=i)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var i=800,o=16,s=Date.now;t.exports=n},{}],59:[function(e,t,r){var n=e("./constant"),i=e("./_defineProperty"),o=e("./identity"),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;t.exports=s},{"./_defineProperty":70,"./constant":130,"./identity":136}],130:[function(e,t,r){function n(e){return function(){return e}}t.exports=n},{}],114:[function(e,t,r){function n(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var n=arguments,s=-1,a=o(n.length-t,0),u=Array(a);++s<a;)u[s]=n[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=n[s];return c[t]=r(u),i(e,this,c)}}var i=e("./_apply"),o=Math.max;t.exports=n},{"./_apply":26}],52:[function(e,t,r){function n(e){return"function"==typeof e?e:null==e?s:"object"==typeof e?a(e)?o(e[0],e[1]):i(e):u(e)}var i=e("./_baseMatches"),o=e("./_baseMatchesProperty"),s=e("./identity"),a=e("./isArray"),u=e("./property");t.exports=n},{"./_baseMatches":54,"./_baseMatchesProperty":55,"./identity":136,"./isArray":138,"./property":150}],150:[function(e,t,r){function n(e){return s(e)?i(a(e)):o(e)}var i=e("./_baseProperty"),o=e("./_basePropertyDeep"),s=e("./_isKey"),a=e("./_toKey");t.exports=n},{"./_baseProperty":56,"./_basePropertyDeep":57,"./_isKey":91,"./_toKey":127}],57:[function(e,t,r){function n(e){return function(t){return i(t,e)}}var i=e("./_baseGet");t.exports=n},{"./_baseGet":42}],56:[function(e,t,r){function n(e){return function(t){return null==t?void 0:t[e]}}t.exports=n},{}],136:[function(e,t,r){function n(e){return e}t.exports=n},{}],55:[function(e,t,r){function n(e,t){return a(e)&&u(t)?c(l(e),t):function(r){var n=o(r,e);return void 0===n&&n===t?s(r,e):i(t,n,h|f)}}var i=e("./_baseIsEqual"),o=e("./get"),s=e("./hasIn"),a=e("./_isKey"),u=e("./_isStrictComparable"),c=e("./_matchesStrictComparable"),l=e("./_toKey"),h=1,f=2;t.exports=n},{"./_baseIsEqual":47,"./_isKey":91,"./_isStrictComparable":95,"./_matchesStrictComparable":107,"./_toKey":127,"./get":134,"./hasIn":135}],135:[function(e,t,r){function n(e,t){return null!=e&&o(e,t,i)}var i=e("./_baseHasIn"),o=e("./_hasPath");t.exports=n},{"./_baseHasIn":45,"./_hasPath":83}],83:[function(e,t,r){function n(e,t,r){t=i(t,e);for(var n=-1,l=t.length,h=!1;++n<l;){var f=c(t[n]);if(!(h=null!=e&&r(e,f)))break;e=e[f]}return h||++n!=l?h:!!(l=null==e?0:e.length)&&u(l)&&a(f,l)&&(s(e)||o(e))}var i=e("./_castPath"),o=e("./isArguments"),s=e("./isArray"),a=e("./_isIndex"),u=e("./isLength"),c=e("./_toKey");t.exports=n},{"./_castPath":64,"./_isIndex":89,"./_toKey":127,"./isArguments":137,"./isArray":138,"./isLength":143}],134:[function(e,t,r){function n(e,t,r){var n=null==e?void 0:i(e,t);return void 0===n?r:n}var i=e("./_baseGet");t.exports=n},{"./_baseGet":42}],54:[function(e,t,r){function n(e){var t=o(e);return 1==t.length&&t[0][2]?s(t[0][0],t[0][1]):function(r){return r===e||i(r,e,t)}}var i=e("./_baseIsMatch"),o=e("./_getMatchData"),s=e("./_matchesStrictComparable");t.exports=n},{"./_baseIsMatch":49,"./_getMatchData":77,"./_matchesStrictComparable":107}],107:[function(e,t,r){function n(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}t.exports=n},{}],77:[function(e,t,r){function n(e){for(var t=o(e),r=t.length;r--;){var n=t[r],s=e[n];t[r]=[n,s,i(s)]}return t}var i=e("./_isStrictComparable"),o=e("./keys");t.exports=n},{"./_isStrictComparable":95,"./keys":148}],95:[function(e,t,r){function n(e){return e===e&&!i(e)}var i=e("./isObject");t.exports=n},{"./isObject":144}],49:[function(e,t,r){function n(e,t,r,n){var u=r.length,c=u,l=!n;if(null==e)return!c;for(e=Object(e);u--;){var h=r[u];if(l&&h[2]?h[1]!==e[h[0]]:!(h[0]in e))return!1}for(;++u<c;){h=r[u];var f=h[0],p=e[f],d=h[1];if(l&&h[2]){if(void 0===p&&!(f in e))return!1}else{var y=new i;if(n)var v=n(p,d,f,e,t,y);if(!(void 0===v?o(d,p,s|a,n,y):v))return!1}}return!0}var i=e("./_Stack"),o=e("./_baseIsEqual"),s=1,a=2;t.exports=n},{"./_Stack":22,"./_baseIsEqual":47}],47:[function(e,t,r){function n(e,t,r,s,a){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:i(e,t,r,s,n,a))}var i=e("./_baseIsEqualDeep"),o=e("./isObjectLike");t.exports=n},{"./_baseIsEqualDeep":48,"./isObjectLike":145}],48:[function(e,t,r){function n(e,t,r,n,v,g){var _=c(e),b=c(t),w=_?d:u(e),x=b?d:u(t);w=w==p?y:w,x=x==p?y:x;var E=w==y,S=x==y,A=w==x;if(A&&l(e)){if(!l(t))return!1;_=!0,E=!1}if(A&&!E)return g||(g=new i),_||h(e)?o(e,t,r,n,v,g):s(e,t,w,r,n,v,g);if(!(r&f)){var C=E&&m.call(e,"__wrapped__"),R=S&&m.call(t,"__wrapped__");if(C||R){var T=C?e.value():e,I=R?t.value():t;return g||(g=new i),v(T,I,r,n,g)}}return!!A&&(g||(g=new i),a(e,t,r,n,v,g))}var i=e("./_Stack"),o=e("./_equalArrays"),s=e("./_equalByTag"),a=e("./_equalObjects"),u=e("./_getTag"),c=e("./isArray"),l=e("./isBuffer"),h=e("./isTypedArray"),f=1,p="[object Arguments]",d="[object Array]",y="[object Object]",v=Object.prototype,m=v.hasOwnProperty;t.exports=n},{"./_Stack":22,"./_equalArrays":71,"./_equalByTag":72,"./_equalObjects":73,"./_getTag":81,"./isArray":138,"./isBuffer":140,"./isTypedArray":147}],81:[function(e,t,r){var n=e("./_DataView"),i=e("./_Map"),o=e("./_Promise"),s=e("./_Set"),a=e("./_WeakMap"),u=e("./_baseGetTag"),c=e("./_toSource"),l=c(n),h=c(i),f=c(o),p=c(s),d=c(a),y=u;(n&&"[object DataView]"!=y(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=y(new i)||o&&"[object Promise]"!=y(o.resolve())||s&&"[object Set]"!=y(new s)||a&&"[object WeakMap]"!=y(new a))&&(y=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case l:return"[object DataView]";case h:return"[object Map]";case f:return"[object Promise]";case p:return"[object Set]";case d:return"[object WeakMap]"}return t}),t.exports=y},{"./_DataView":14,"./_Map":17,"./_Promise":19,"./_Set":20,"./_WeakMap":25,"./_baseGetTag":44,"./_toSource":128}],73:[function(e,t,r){function n(e,t,r,n,s,u){var c=r&o,l=i(e),h=l.length;if(h!=i(t).length&&!c)return!1;for(var f=h;f--;){var p=l[f];if(!(c?p in t:a.call(t,p)))return!1}var d=u.get(e);if(d&&u.get(t))return d==t;var y=!0;u.set(e,t),u.set(t,e);for(var v=c;++f<h;){p=l[f];var m=e[p],g=t[p];if(n)var _=c?n(g,m,p,t,e,u):n(m,g,p,e,t,u);if(!(void 0===_?m===g||s(m,g,r,n,u):_)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(y=!1)}return u.delete(e),u.delete(t),y}var i=e("./_getAllKeys"),o=1,s=Object.prototype,a=s.hasOwnProperty;t.exports=n},{"./_getAllKeys":75}],75:[function(e,t,r){function n(e){return i(e,s,o)}var i=e("./_baseGetAllKeys"),o=e("./_getSymbols"),s=e("./keys");t.exports=n},{"./_baseGetAllKeys":43,"./_getSymbols":80,"./keys":148}],80:[function(e,t,r){var n=e("./_arrayFilter"),i=e("./stubArray"),o=Object.prototype,s=o.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(e){return null==e?[]:(e=Object(e),n(a(e),function(t){return s.call(e,t)}))}:i;t.exports=u},{"./_arrayFilter":28,"./stubArray":151}],151:[function(e,t,r){function n(){return[]}t.exports=n},{}],72:[function(e,t,r){function n(e,t,r,n,i,E,A){switch(r){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!E(new o(e),new o(t)));case f:case p:case v:return s(+e,+t);case d:return e.name==t.name&&e.message==t.message;case m:case _:return e==t+"";case y:var C=u;case g:var R=n&l;if(C||(C=c),e.size!=t.size&&!R)return!1;var T=A.get(e);if(T)return T==t;n|=h,A.set(e,t);var I=a(C(e),C(t),n,i,E,A);return A.delete(e),I;case b:if(S)return S.call(e)==S.call(t)}return!1}var i=e("./_Symbol"),o=e("./_Uint8Array"),s=e("./eq"),a=e("./_equalArrays"),u=e("./_mapToArray"),c=e("./_setToArray"),l=1,h=2,f="[object Boolean]",p="[object Date]",d="[object Error]",y="[object Map]",v="[object Number]",m="[object RegExp]",g="[object Set]",_="[object String]",b="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",E=i?i.prototype:void 0,S=E?E.valueOf:void 0;t.exports=n},{"./_Symbol":23,"./_Uint8Array":24,"./_equalArrays":71,"./_mapToArray":106,"./_setToArray":118,"./eq":132}],118:[function(e,t,r){function n(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}t.exports=n},{}],106:[function(e,t,r){function n(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}t.exports=n},{}],71:[function(e,t,r){function n(e,t,r,n,c,l){var h=r&a,f=e.length,p=t.length;if(f!=p&&!(h&&p>f))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var y=-1,v=!0,m=r&u?new i:void 0;for(l.set(e,t),l.set(t,e);++y<f;){var g=e[y],_=t[y];if(n)var b=h?n(_,g,y,t,e,l):n(g,_,y,e,t,l);if(void 0!==b){if(b)continue;v=!1;break}if(m){if(!o(t,function(e,t){if(!s(m,t)&&(g===e||c(g,e,r,n,l)))return m.push(t)})){v=!1;break}}else if(g!==_&&!c(g,_,r,n,l)){v=!1;break}}return l.delete(e),l.delete(t),v}var i=e("./_SetCache"),o=e("./_arraySome"),s=e("./_cacheHas"),a=1,u=2;t.exports=n},{"./_SetCache":21,"./_arraySome":32,"./_cacheHas":63}],63:[function(e,t,r){function n(e,t){return e.has(t)}t.exports=n},{}],45:[function(e,t,r){function n(e,t){return null!=e&&t in Object(e)}t.exports=n},{}],43:[function(e,t,r){function n(e,t,r){var n=t(e);return o(e)?n:i(n,r(e))}var i=e("./_arrayPush"),o=e("./isArray");t.exports=n},{"./_arrayPush":31,"./isArray":138}],42:[function(e,t,r){function n(e,t){t=i(t,e);for(var r=0,n=t.length;null!=e&&r<n;)e=e[o(t[r++])];return r&&r==n?e:void 0}var i=e("./_castPath"),o=e("./_toKey");t.exports=n},{"./_castPath":64,"./_toKey":127}],127:[function(e,t,r){function n(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var i=e("./isSymbol"),o=1/0;t.exports=n},{"./isSymbol":146}],64:[function(e,t,r){function n(e,t){return i(e)?e:o(e,t)?[e]:s(a(e))}var i=e("./isArray"),o=e("./_isKey"),s=e("./_stringToPath"),a=e("./toString");t.exports=n},{"./_isKey":91,"./_stringToPath":126,"./isArray":138,"./toString":153}],153:[function(e,t,r){function n(e){return null==e?"":i(e)}var i=e("./_baseToString");t.exports=n},{"./_baseToString":61}],61:[function(e,t,r){function n(e){if("string"==typeof e)return e;if(s(e))return o(e,n)+"";if(a(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var i=e("./_Symbol"),o=e("./_arrayMap"),s=e("./isArray"),a=e("./isSymbol"),u=1/0,c=i?i.prototype:void 0,l=c?c.toString:void 0;t.exports=n},{"./_Symbol":23,"./_arrayMap":30,"./isArray":138,"./isSymbol":146}],126:[function(e,t,r){var n=e("./_memoizeCapped"),i=/^\./,o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,a=n(function(e){var t=[];return i.test(e)&&t.push(""),e.replace(o,function(e,r,n,i){t.push(n?i.replace(s,"$1"):r||e)}),t});t.exports=a},{"./_memoizeCapped":108}],108:[function(e,t,r){function n(e){var t=i(e,function(e){return r.size===o&&r.clear(),e}),r=t.cache;return t}var i=e("./memoize"),o=500;t.exports=n},{"./memoize":149}],149:[function(e,t,r){function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(n.Cache||i),r}var i=e("./_MapCache"),o="Expected a function";n.Cache=i,t.exports=n},{"./_MapCache":18}],91:[function(e,t,r){function n(e,t){if(i(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(a.test(e)||!s.test(e)||null!=t&&e in Object(t))}var i=e("./isArray"),o=e("./isSymbol"),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=n},{"./isArray":138,"./isSymbol":146}],146:[function(e,t,r){function n(e){return"symbol"==typeof e||o(e)&&i(e)==s}var i=e("./_baseGetTag"),o=e("./isObjectLike"),s="[object Symbol]";t.exports=n},{"./_baseGetTag":44,"./isObjectLike":145}],39:[function(e,t,r){function n(e,t){var r=!0;return i(e,function(e,n,i){return r=!!t(e,n,i)}),r}var i=e("./_baseEach");t.exports=n},{"./_baseEach":38}],38:[function(e,t,r){var n=e("./_baseForOwn"),i=e("./_createBaseEach"),o=i(n);t.exports=o},{"./_baseForOwn":41,"./_createBaseEach":68}],68:[function(e,t,r){function n(e,t){return function(r,n){if(null==r)return r;if(!i(r))return e(r,n);for(var o=r.length,s=t?o:-1,a=Object(r);(t?s--:++s<o)&&!1!==n(a[s],s,a););return r}}var i=e("./isArrayLike");t.exports=n},{"./isArrayLike":139}],41:[function(e,t,r){function n(e,t){return e&&i(e,t,o)}var i=e("./_baseFor"),o=e("./keys");t.exports=n},{"./_baseFor":40,"./keys":148}],40:[function(e,t,r){var n=e("./_createBaseFor"),i=n();t.exports=i},{"./_createBaseFor":69}],69:[function(e,t,r){function n(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===r(o[u],u,o))break}return t}}t.exports=n},{}],37:[function(e,t,r){var n=e("./isObject"),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();t.exports=o},{"./isObject":144}],35:[function(e,t,r){function n(e,t){return e&&i(t,o(t),e)}var i=e("./_copyObject"),o=e("./keys");t.exports=n},{"./_copyObject":65,"./keys":148}],148:[function(e,t,r){function n(e){return s(e)?i(e):o(e)}var i=e("./_arrayLikeKeys"),o=e("./_baseKeys"),s=e("./isArrayLike");t.exports=n},{"./_arrayLikeKeys":29,"./_baseKeys":53,"./isArrayLike":139}],139:[function(e,t,r){function n(e){return null!=e&&o(e.length)&&!i(e)}var i=e("./isFunction"),o=e("./isLength");t.exports=n},{"./isFunction":142,"./isLength":143}],53:[function(e,t,r){function n(e){if(!i(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}var i=e("./_isPrototype"),o=e("./_nativeKeys"),s=Object.prototype,a=s.hasOwnProperty;t.exports=n},{"./_isPrototype":94,"./_nativeKeys":110}],110:[function(e,t,r){var n=e("./_overArg"),i=n(Object.keys,Object);t.exports=i},{"./_overArg":113}],113:[function(e,t,r){function n(e,t){return function(r){return e(t(r))}}t.exports=n},{}],94:[function(e,t,r){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||i)}var i=Object.prototype;t.exports=n},{}],65:[function(e,t,r){function n(e,t,r,n){var s=!r;r||(r={});for(var a=-1,u=t.length;++a<u;){var c=t[a],l=n?n(r[c],e[c],c,r,e):void 0;void 0===l&&(l=e[c]),s?o(r,c,l):i(r,c,l)}return r}var i=e("./_assignValue"),o=e("./_baseAssignValue");t.exports=n},{"./_assignValue":33,"./_baseAssignValue":36}],33:[function(e,t,r){function n(e,t,r){var n=e[t];a.call(e,t)&&o(n,r)&&(void 0!==r||t in e)||i(e,t,r)}var i=e("./_baseAssignValue"),o=e("./eq"),s=Object.prototype,a=s.hasOwnProperty;t.exports=n},{"./_baseAssignValue":36,"./eq":132}],36:[function(e,t,r){function n(e,t,r){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var i=e("./_defineProperty");t.exports=n},{"./_defineProperty":70}],70:[function(e,t,r){var n=e("./_getNative"),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=i},{"./_getNative":78}],32:[function(e,t,r){function n(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}t.exports=n},{}],31:[function(e,t,r){function n(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}t.exports=n},{}],30:[function(e,t,r){function n(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}t.exports=n},{}],29:[function(e,t,r){function n(e,t){var r=s(e),n=!r&&o(e),l=!r&&!n&&a(e),f=!r&&!n&&!l&&c(e),p=r||n||l||f,d=p?i(e.length,String):[],y=d.length;for(var v in e)!t&&!h.call(e,v)||p&&("length"==v||l&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y))||d.push(v);return d}var i=e("./_baseTimes"),o=e("./isArguments"),s=e("./isArray"),a=e("./isBuffer"),u=e("./_isIndex"),c=e("./isTypedArray"),l=Object.prototype,h=l.hasOwnProperty;t.exports=n},{"./_baseTimes":60,"./_isIndex":89,"./isArguments":137,"./isArray":138,"./isBuffer":140,"./isTypedArray":147}],147:[function(e,t,r){var n=e("./_baseIsTypedArray"),i=e("./_baseUnary"),o=e("./_nodeUtil"),s=o&&o.isTypedArray,a=s?i(s):n;t.exports=a},{"./_baseIsTypedArray":51,"./_baseUnary":62,"./_nodeUtil":111}],111:[function(e,t,r){var n=e("./_freeGlobal"),i="object"==typeof r&&r&&!r.nodeType&&r,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i,a=s&&n.process,u=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=u},{"./_freeGlobal":74}],62:[function(e,t,r){function n(e){return function(t){return e(t)}}t.exports=n},{}],51:[function(e,t,r){function n(e){return s(e)&&o(e.length)&&!!a[i(e)]}var i=e("./_baseGetTag"),o=e("./isLength"),s=e("./isObjectLike"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=n},{"./_baseGetTag":44,"./isLength":143,"./isObjectLike":145}],143:[function(e,t,r){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}var i=9007199254740991;t.exports=n},{}],140:[function(e,t,r){var n=e("./_root"),i=e("./stubFalse"),o="object"==typeof r&&r&&!r.nodeType&&r,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o,u=a?n.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||i;t.exports=l},{"./_root":115,"./stubFalse":152}],152:[function(e,t,r){function n(){return!1}t.exports=n},{}],138:[function(e,t,r){var n=Array.isArray;t.exports=n},{}],137:[function(e,t,r){var n=e("./_baseIsArguments"),i=e("./isObjectLike"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};t.exports=u},{"./_baseIsArguments":46,"./isObjectLike":145}],46:[function(e,t,r){function n(e){return o(e)&&i(e)==s}var i=e("./_baseGetTag"),o=e("./isObjectLike"),s="[object Arguments]";t.exports=n},{"./_baseGetTag":44,"./isObjectLike":145}],145:[function(e,t,r){function n(e){return null!=e&&"object"==typeof e}t.exports=n},{}],89:[function(e,t,r){function n(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var i=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},{}],60:[function(e,t,r){function n(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}t.exports=n},{}],28:[function(e,t,r){function n(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}t.exports=n},{}],27:[function(e,t,r){function n(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}t.exports=n},{}],26:[function(e,t,r){function n(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}t.exports=n},{}],25:[function(e,t,r){var n=e("./_getNative"),i=e("./_root"),o=n(i,"WeakMap");t.exports=o},{"./_getNative":78,"./_root":115}],24:[function(e,t,r){var n=e("./_root"),i=n.Uint8Array;t.exports=i},{"./_root":115}],22:[function(e,t,r){function n(e){var t=this.__data__=new i(e);this.size=t.size}var i=e("./_ListCache"),o=e("./_stackClear"),s=e("./_stackDelete"),a=e("./_stackGet"),u=e("./_stackHas"),c=e("./_stackSet");n.prototype.clear=o,n.prototype.delete=s,n.prototype.get=a,n.prototype.has=u,n.prototype.set=c,t.exports=n},{"./_ListCache":16,"./_stackClear":121,"./_stackDelete":122,"./_stackGet":123,"./_stackHas":124,"./_stackSet":125}],125:[function(e,t,r){function n(e,t){var r=this.__data__;if(r instanceof i){var n=r.__data__;if(!o||n.length<a-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new s(n)}return r.set(e,t),this.size=r.size,this}var i=e("./_ListCache"),o=e("./_Map"),s=e("./_MapCache"),a=200;t.exports=n},{"./_ListCache":16,"./_Map":17,"./_MapCache":18}],124:[function(e,t,r){function n(e){return this.__data__.has(e)}t.exports=n},{}],123:[function(e,t,r){function n(e){return this.__data__.get(e)}t.exports=n},{}],122:[function(e,t,r){function n(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}t.exports=n},{}],121:[function(e,t,r){function n(){this.__data__=new i,this.size=0}var i=e("./_ListCache");t.exports=n},{"./_ListCache":16}],21:[function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new i;++t<r;)this.add(e[t])}var i=e("./_MapCache"),o=e("./_setCacheAdd"),s=e("./_setCacheHas");n.prototype.add=n.prototype.push=o,n.prototype.has=s,t.exports=n},{"./_MapCache":18,"./_setCacheAdd":116,"./_setCacheHas":117}],117:[function(e,t,r){function n(e){return this.__data__.has(e)}t.exports=n},{}],116:[function(e,t,r){function n(e){return this.__data__.set(e,i),this}var i="__lodash_hash_undefined__";t.exports=n},{}],20:[function(e,t,r){var n=e("./_getNative"),i=e("./_root"),o=n(i,"Set");t.exports=o},{"./_getNative":78,"./_root":115}],19:[function(e,t,r){var n=e("./_getNative"),i=e("./_root"),o=n(i,"Promise");t.exports=o},{"./_getNative":78,"./_root":115}],18:[function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var i=e("./_mapCacheClear"),o=e("./_mapCacheDelete"),s=e("./_mapCacheGet"),a=e("./_mapCacheHas"),u=e("./_mapCacheSet");n.prototype.clear=i,n.prototype.delete=o,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,t.exports=n},{"./_mapCacheClear":101,"./_mapCacheDelete":102,"./_mapCacheGet":103,"./_mapCacheHas":104,"./_mapCacheSet":105}],105:[function(e,t,r){function n(e,t){var r=i(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var i=e("./_getMapData");t.exports=n},{"./_getMapData":76}],104:[function(e,t,r){function n(e){return i(this,e).has(e)}var i=e("./_getMapData");t.exports=n},{"./_getMapData":76}],103:[function(e,t,r){function n(e){return i(this,e).get(e)}var i=e("./_getMapData");t.exports=n},{"./_getMapData":76}],102:[function(e,t,r){function n(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}var i=e("./_getMapData");t.exports=n},{"./_getMapData":76}],76:[function(e,t,r){function n(e,t){var r=e.__data__;return i(t)?r["string"==typeof t?"string":"hash"]:r.map}var i=e("./_isKeyable");t.exports=n},{"./_isKeyable":92}],92:[function(e,t,r){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}t.exports=n},{}],101:[function(e,t,r){function n(){this.size=0,this.__data__={hash:new i,map:new(s||o),string:new i}}var i=e("./_Hash"),o=e("./_ListCache"),s=e("./_Map");t.exports=n},{"./_Hash":15,"./_ListCache":16,"./_Map":17}],17:[function(e,t,r){var n=e("./_getNative"),i=e("./_root"),o=n(i,"Map");t.exports=o},{"./_getNative":78,"./_root":115}],16:[function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var i=e("./_listCacheClear"),o=e("./_listCacheDelete"),s=e("./_listCacheGet"),a=e("./_listCacheHas"),u=e("./_listCacheSet");n.prototype.clear=i,n.prototype.delete=o,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,t.exports=n},{"./_listCacheClear":96,"./_listCacheDelete":97,"./_listCacheGet":98,"./_listCacheHas":99,"./_listCacheSet":100}],100:[function(e,t,r){function n(e,t){var r=this.__data__,n=i(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var i=e("./_assocIndexOf");t.exports=n},{"./_assocIndexOf":34}],99:[function(e,t,r){function n(e){return i(this.__data__,e)>-1}var i=e("./_assocIndexOf");t.exports=n},{"./_assocIndexOf":34}],98:[function(e,t,r){function n(e){var t=this.__data__,r=i(t,e);return r<0?void 0:t[r][1]}var i=e("./_assocIndexOf");t.exports=n},{"./_assocIndexOf":34}],97:[function(e,t,r){function n(e){var t=this.__data__,r=i(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}var i=e("./_assocIndexOf"),o=Array.prototype,s=o.splice;t.exports=n},{"./_assocIndexOf":34}],34:[function(e,t,r){function n(e,t){for(var r=e.length;r--;)if(i(e[r][0],t))return r;return-1}var i=e("./eq");t.exports=n},{"./eq":132}],132:[function(e,t,r){function n(e,t){return e===t||e!==e&&t!==t}t.exports=n},{}],96:[function(e,t,r){function n(){this.__data__=[],this.size=0}t.exports=n},{}],15:[function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var i=e("./_hashClear"),o=e("./_hashDelete"),s=e("./_hashGet"),a=e("./_hashHas"),u=e("./_hashSet");n.prototype.clear=i,n.prototype.delete=o,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,t.exports=n},{"./_hashClear":84,"./_hashDelete":85,"./_hashGet":86,"./_hashHas":87,"./_hashSet":88}],88:[function(e,t,r){function n(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=i&&void 0===t?o:t,this}var i=e("./_nativeCreate"),o="__lodash_hash_undefined__";t.exports=n},{"./_nativeCreate":109}],87:[function(e,t,r){function n(e){var t=this.__data__;return i?void 0!==t[e]:s.call(t,e)}var i=e("./_nativeCreate"),o=Object.prototype,s=o.hasOwnProperty;t.exports=n},{"./_nativeCreate":109}],86:[function(e,t,r){function n(e){var t=this.__data__;if(i){var r=t[e];return r===o?void 0:r}return a.call(t,e)?t[e]:void 0}var i=e("./_nativeCreate"),o="__lodash_hash_undefined__",s=Object.prototype,a=s.hasOwnProperty;t.exports=n},{"./_nativeCreate":109}],85:[function(e,t,r){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}t.exports=n},{}],84:[function(e,t,r){function n(){this.__data__=i?i(null):{},this.size=0}var i=e("./_nativeCreate");t.exports=n},{"./_nativeCreate":109}],109:[function(e,t,r){var n=e("./_getNative"),i=n(Object,"create");t.exports=i},{"./_getNative":78}],14:[function(e,t,r){var n=e("./_getNative"),i=e("./_root"),o=n(i,"DataView");t.exports=o},{
"./_getNative":78,"./_root":115}],78:[function(e,t,r){function n(e,t){var r=o(e,t);return i(r)?r:void 0}var i=e("./_baseIsNative"),o=e("./_getValue");t.exports=n},{"./_baseIsNative":50,"./_getValue":82}],82:[function(e,t,r){function n(e,t){return null==e?void 0:e[t]}t.exports=n},{}],50:[function(e,t,r){function n(e){return!(!s(e)||o(e))&&(i(e)?d:c).test(a(e))}var i=e("./isFunction"),o=e("./_isMasked"),s=e("./isObject"),a=e("./_toSource"),u=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,l=Function.prototype,h=Object.prototype,f=l.toString,p=h.hasOwnProperty,d=RegExp("^"+f.call(p).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=n},{"./_isMasked":93,"./_toSource":128,"./isFunction":142,"./isObject":144}],142:[function(e,t,r){function n(e){if(!o(e))return!1;var t=i(e);return t==a||t==u||t==s||t==c}var i=e("./_baseGetTag"),o=e("./isObject"),s="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";t.exports=n},{"./_baseGetTag":44,"./isObject":144}],144:[function(e,t,r){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}t.exports=n},{}],44:[function(e,t,r){function n(e){return null==e?void 0===e?u:a:c&&c in Object(e)?o(e):s(e)}var i=e("./_Symbol"),o=e("./_getRawTag"),s=e("./_objectToString"),a="[object Null]",u="[object Undefined]",c=i?i.toStringTag:void 0;t.exports=n},{"./_Symbol":23,"./_getRawTag":79,"./_objectToString":112}],112:[function(e,t,r){function n(e){return o.call(e)}var i=Object.prototype,o=i.toString;t.exports=n},{}],79:[function(e,t,r){function n(e){var t=s.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[u]=r:delete e[u]),i}var i=e("./_Symbol"),o=Object.prototype,s=o.hasOwnProperty,a=o.toString,u=i?i.toStringTag:void 0;t.exports=n},{"./_Symbol":23}],23:[function(e,t,r){var n=e("./_root"),i=n.Symbol;t.exports=i},{"./_root":115}],128:[function(e,t,r){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var i=Function.prototype,o=i.toString;t.exports=n},{}],93:[function(e,t,r){function n(e){return!!o&&o in e}var i=e("./_coreJsData"),o=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();t.exports=n},{"./_coreJsData":66}],66:[function(e,t,r){var n=e("./_root"),i=n["__core-js_shared__"];t.exports=i},{"./_root":115}],115:[function(e,t,r){var n=e("./_freeGlobal"),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},{"./_freeGlobal":74}],74:[function(e,t,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],13:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function n(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var o=0;o<e.length;o++)if(!1===n(e[o],i[o]))return!1;return!0}if(!0===r(e)){var s={};for(var a in e)if(hasOwnProperty.call(e,a)){if(!1===n(e[a],i[a]))return!1;s[a]=!0}for(var u in i)if(hasOwnProperty.call(i,u)&&!0!==s[u])return!1;return!0}return!1}function i(e){if(""===e||!1===e||null===e)return!0;if(t(e)&&0===e.length)return!0;if(r(e)){for(var n in e)if(e.hasOwnProperty(n))return!1;return!0}return!1}function o(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;n++)r.push(e[t[n]]);return r}function s(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function a(e){return e>="0"&&e<="9"||"-"===e}function u(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function c(){}function l(){}function h(e){this.runtime=e}function f(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[m]}]},avg:{_func:this._functionAvg,_signature:[{types:[E]}]},ceil:{_func:this._functionCeil,_signature:[{types:[m]}]},contains:{_func:this._functionContains,_signature:[{types:[_,b]},{types:[g]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[_]},{types:[_]}]},floor:{_func:this._functionFloor,_signature:[{types:[m]}]},length:{_func:this._functionLength,_signature:[{types:[_,b,w]}]},map:{_func:this._functionMap,_signature:[{types:[x]},{types:[b]}]},max:{_func:this._functionMax,_signature:[{types:[E,S]}]},merge:{_func:this._functionMerge,_signature:[{types:[w],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[b]},{types:[x]}]},sum:{_func:this._functionSum,_signature:[{types:[E]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[_]},{types:[_]}]},min:{_func:this._functionMin,_signature:[{types:[E,S]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[b]},{types:[x]}]},type:{_func:this._functionType,_signature:[{types:[g]}]},keys:{_func:this._functionKeys,_signature:[{types:[w]}]},values:{_func:this._functionValues,_signature:[{types:[w]}]},sort:{_func:this._functionSort,_signature:[{types:[S,E]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[b]},{types:[x]}]},join:{_func:this._functionJoin,_signature:[{types:[_]},{types:[S]}]},reverse:{_func:this._functionReverse,_signature:[{types:[_,b]}]},to_array:{_func:this._functionToArray,_signature:[{types:[g]}]},to_string:{_func:this._functionToString,_signature:[{types:[g]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[g]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[g],variadic:!0}]}}}function p(e){return(new l).parse(e)}function d(e){return(new c).tokenize(e)}function y(e,t){var r=new l,n=new f,i=new h(n);n._interpreter=i;var o=r.parse(t);return i.search(o,e)}var v;v="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var m=0,g=1,_=2,b=3,w=4,x=6,E=8,S=9,A={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},C={"<":!0,">":!0,"=":!0,"!":!0},R={" ":!0,"\t":!0,"\n":!0};c.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,n,i;this._current<e.length;)if(s(e[this._current]))r=this._current,n=this._consumeUnquotedIdentifier(e),t.push({type:"UnquotedIdentifier",value:n,start:r});else if(void 0!==A[e[this._current]])t.push({type:A[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(a(e[this._current]))i=this._consumeNumber(e),t.push(i);else if("["===e[this._current])i=this._consumeLBracket(e),t.push(i);else if('"'===e[this._current])r=this._current,n=this._consumeQuotedIdentifier(e),t.push({type:"QuotedIdentifier",value:n,start:r});else if("'"===e[this._current])r=this._current,n=this._consumeRawStringLiteral(e),t.push({type:"Literal",value:n,start:r});else if("`"===e[this._current]){r=this._current;var o=this._consumeLiteral(e);t.push({type:"Literal",value:o,start:r})}else if(void 0!==C[e[this._current]])t.push(this._consumeOperator(e));else if(void 0!==R[e[this._current]])this._current++;else if("&"===e[this._current])r=this._current,this._current++,"&"===e[this._current]?(this._current++,t.push({type:"And",value:"&&",start:r})):t.push({type:"Expref",value:"&",start:r});else{if("|"!==e[this._current]){var u=new Error("Unknown character:"+e[this._current]);throw u.name="LexerError",u}r=this._current,this._current++,"|"===e[this._current]?(this._current++,t.push({type:"Or",value:"||",start:r})):t.push({type:"Pipe",value:"|",start:r})}return t},_consumeUnquotedIdentifier:function(e){var t=this._current;for(this._current++;this._current<e.length&&u(e[this._current]);)this._current++;return e.slice(t,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var r=e.length;'"'!==e[this._current]&&this._current<r;){var n=this._current;"\\"!==e[n]||"\\"!==e[n+1]&&'"'!==e[n+1]?n++:n+=2,this._current=n}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var r=e.length;"'"!==e[this._current]&&this._current<r;){var n=this._current;"\\"!==e[n]||"\\"!==e[n+1]&&"'"!==e[n+1]?n++:n+=2,this._current=n}return this._current++,e.slice(t+1,this._current-1).replace("\\'","'")},_consumeNumber:function(e){var t=this._current;this._current++;for(var r=e.length;a(e[this._current])&&this._current<r;)this._current++;return{type:"Number",value:parseInt(e.slice(t,this._current)),start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,"?"===e[this._current]?(this._current++,{type:"Filter",value:"[?",start:t}):"]"===e[this._current]?(this._current++,{type:"Flatten",value:"[]",start:t}):{type:"Lbracket",value:"[",start:t}},_consumeOperator:function(e){var t=this._current,r=e[t];return this._current++,"!"===r?"="===e[this._current]?(this._current++,{type:"NE",value:"!=",start:t}):{type:"Not",value:"!",start:t}:"<"===r?"="===e[this._current]?(this._current++,{type:"LTE",value:"<=",start:t}):{type:"LT",value:"<",start:t}:">"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,n=e.length;"`"!==e[this._current]&&this._current<n;){var i=this._current;"\\"!==e[i]||"\\"!==e[i+1]&&"`"!==e[i+1]?i++:i+=2,this._current=i}var o=v(e.slice(r,this._current));return o=o.replace("\\`","`"),t=this._looksLikeJSON(o)?JSON.parse(o):JSON.parse('"'+o+'"'),this._current++,t},_looksLikeJSON:function(e){var t='[{"',r=["true","false","null"],n="-0123456789";if(""===e)return!1;if(t.indexOf(e[0])>=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(n.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var T={};T.EOF=0,T.UnquotedIdentifier=0,T.QuotedIdentifier=0,T.Rbracket=0,T.Rparen=0,T.Comma=0,T.Rbrace=0,T.Number=0,T.Current=0,T.Expref=0,T.Pipe=1,T.Or=2,T.And=3,T.EQ=5,T.GT=5,T.LT=5,T.GTE=5,T.LTE=5,T.NE=5,T.Flatten=9,T.Star=20,T.Filter=21,T.Dot=40,T.Not=45,T.Lbrace=50,T.Lbracket=55,T.Lparen=60,l.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw n.name="ParserError",n}return t},_loadTokens:function(e){var t=new c,r=t.tokenize(e);r.push({type:"EOF",value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),n=this._lookahead(0);e<T[n];)this._advance(),r=this.led(n,r),n=this._lookahead(0);return r},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,r,n;switch(e.type){case"Literal":return{type:"Literal",value:e.value};case"UnquotedIdentifier":return{type:"Field",name:e.value};case"QuotedIdentifier":var i={type:"Field",name:e.value};if("Lparen"===this._lookahead(0))throw new Error("Quoted identifier not allowed for function names.");return i;case"Not":return r=this.expression(T.Not),{type:"NotExpression",children:[r]};case"Star":return t={type:"Identity"},r=null,r="Rbracket"===this._lookahead(0)?{type:"Identity"}:this._parseProjectionRHS(T.Star),{type:"ValueProjection",children:[t,r]};case"Filter":return this.led(e.type,{type:"Identity"});case"Lbrace":return this._parseMultiselectHash();case"Flatten":return t={type:"Flatten",children:[{type:"Identity"}]},r=this._parseProjectionRHS(T.Flatten),{type:"Projection",children:[t,r]};case"Lbracket":return"Number"===this._lookahead(0)||"Colon"===this._lookahead(0)?(r=this._parseIndexExpression(),this._projectIfSlice({type:"Identity"},r)):"Star"===this._lookahead(0)&&"Rbracket"===this._lookahead(1)?(this._advance(),this._advance(),r=this._parseProjectionRHS(T.Star),{type:"Projection",children:[{type:"Identity"},r]}):this._parseMultiselectList();case"Current":return{type:"Current"};case"Expref":return n=this.expression(T.Expref),{type:"ExpressionReference",children:[n]};case"Lparen":for(var o=[];"Rparen"!==this._lookahead(0);)"Current"===this._lookahead(0)?(n={type:"Current"},this._advance()):n=this.expression(0),o.push(n);return this._match("Rparen"),o[0];default:this._errorToken(e)}},led:function(e,t){var r;switch(e){case"Dot":var n=T.Dot;return"Star"!==this._lookahead(0)?(r=this._parseDotRHS(n),{type:"Subexpression",children:[t,r]}):(this._advance(),r=this._parseProjectionRHS(n),{type:"ValueProjection",children:[t,r]});case"Pipe":return r=this.expression(T.Pipe),{type:"Pipe",children:[t,r]};case"Or":return r=this.expression(T.Or),{type:"OrExpression",children:[t,r]};case"And":return r=this.expression(T.And),{type:"AndExpression",children:[t,r]};case"Lparen":for(var i,o=t.name,s=[];"Rparen"!==this._lookahead(0);)"Current"===this._lookahead(0)?(i={type:"Current"},this._advance()):i=this.expression(0),"Comma"===this._lookahead(0)&&this._match("Comma"),s.push(i);return this._match("Rparen"),{type:"Function",name:o,children:s};case"Filter":var a=this.expression(0);return this._match("Rbracket"),r="Flatten"===this._lookahead(0)?{type:"Identity"}:this._parseProjectionRHS(T.Filter),{type:"FilterProjection",children:[t,r,a]};case"Flatten":return{type:"Projection",children:[{type:"Flatten",children:[t]},this._parseProjectionRHS(T.Flatten)]};case"EQ":case"NE":case"GT":case"GTE":case"LT":case"LTE":return this._parseComparator(t,e);case"Lbracket":var u=this._lookaheadToken(0);return"Number"===u.type||"Colon"===u.type?(r=this._parseIndexExpression(),this._projectIfSlice(t,r)):(this._match("Star"),this._match("Rbracket"),r=this._parseProjectionRHS(T.Star),{type:"Projection",children:[t,r]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)!==e){var t=this._lookaheadToken(0),r=new Error("Expected "+e+", got: "+t.type);throw r.name="ParserError",r}this._advance()},_errorToken:function(e){var t=new Error("Invalid token ("+e.type+'): "'+e.value+'"');throw t.name="ParserError",t},_parseIndexExpression:function(){if("Colon"===this._lookahead(0)||"Colon"===this._lookahead(1))return this._parseSliceExpression();var e={type:"Index",value:this._lookaheadToken(0).value};return this._advance(),this._match("Rbracket"),e},_projectIfSlice:function(e,t){var r={type:"IndexExpression",children:[e,t]};return"Slice"===t.type?{type:"Projection",children:[r,this._parseProjectionRHS(T.Star)]}:r},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,r=this._lookahead(0);"Rbracket"!==r&&t<3;){if("Colon"===r)t++,this._advance();else{if("Number"!==r){var n=this._lookahead(0),i=new Error("Syntax error, unexpected token: "+n.value+"("+n.type+")");throw i.name="Parsererror",i}e[t]=this._lookaheadToken(0).value,this._advance()}r=this._lookahead(0)}return this._match("Rbracket"),{type:"Slice",children:e}},_parseComparator:function(e,t){return{type:"Comparator",name:t,children:[e,this.expression(T[t])]}},_parseDotRHS:function(e){var t=this._lookahead(0);return["UnquotedIdentifier","QuotedIdentifier","Star"].indexOf(t)>=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(T[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw n.name="ParserError",n}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,n,i=[],o=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),o.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r=this.expression(0),n={type:"KeyValuePair",name:t,value:r},i.push(n),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:i}}},h.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,s){var a,u,c,l,h,f,p,d,y;switch(e.type){case"Field":return null===s?null:r(s)?(f=s[e.name],void 0===f?null:f):null;case"Subexpression":for(c=this.visit(e.children[0],s),y=1;y<e.children.length;y++)if(null===(c=this.visit(e.children[1],c)))return null;return c;case"IndexExpression":return p=this.visit(e.children[0],s),this.visit(e.children[1],p);case"Index":if(!t(s))return null;var v=e.value;return v<0&&(v=s.length+v),c=s[v],void 0===c&&(c=null),c;case"Slice":if(!t(s))return null;var m=e.children.slice(0),g=this.computeSliceParams(s.length,m),_=g[0],b=g[1],w=g[2];if(c=[],w>0)for(y=_;y<b;y+=w)c.push(s[y]);else for(y=_;y>b;y+=w)c.push(s[y]);return c;case"Projection":var x=this.visit(e.children[0],s);if(!t(x))return null;for(d=[],y=0;y<x.length;y++)null!==(u=this.visit(e.children[1],x[y]))&&d.push(u);return d;case"ValueProjection":if(x=this.visit(e.children[0],s),!r(x))return null;d=[];var E=o(x);for(y=0;y<E.length;y++)null!==(u=this.visit(e.children[1],E[y]))&&d.push(u);return d;case"FilterProjection":if(x=this.visit(e.children[0],s),!t(x))return null;var S=[],A=[];for(y=0;y<x.length;y++)a=this.visit(e.children[2],x[y]),i(a)||S.push(x[y]);for(var C=0;C<S.length;C++)null!==(u=this.visit(e.children[1],S[C]))&&A.push(u);return A;case"Comparator":switch(l=this.visit(e.children[0],s),h=this.visit(e.children[1],s),e.name){case"EQ":c=n(l,h);break;case"NE":c=!n(l,h);break;case"GT":c=l>h;break;case"GTE":c=l>=h;break;case"LT":c=l<h;break;case"LTE":c=l<=h;break;default:throw new Error("Unknown comparator: "+e.name)}return c;case"Flatten":var R=this.visit(e.children[0],s);if(!t(R))return null;var T=[];for(y=0;y<R.length;y++)u=R[y],t(u)?T.push.apply(T,u):T.push(u);return T;case"Identity":return s;case"MultiSelectList":if(null===s)return null;for(d=[],y=0;y<e.children.length;y++)d.push(this.visit(e.children[y],s));return d;case"MultiSelectHash":if(null===s)return null;d={};var I;for(y=0;y<e.children.length;y++)I=e.children[y],d[I.name]=this.visit(I.value,s);return d;case"OrExpression":return a=this.visit(e.children[0],s),i(a)&&(a=this.visit(e.children[1],s)),a;case"AndExpression":return l=this.visit(e.children[0],s),!0===i(l)?l:this.visit(e.children[1],s);case"NotExpression":return l=this.visit(e.children[0],s),i(l);case"Literal":return e.value;case"Pipe":return p=this.visit(e.children[0],s),this.visit(e.children[1],p);case"Current":return s;case"Function":var O=[];for(y=0;y<e.children.length;y++)O.push(this.visit(e.children[y],s));return this.runtime.callFunction(e.name,O);case"ExpressionReference":var j=e.children[0];return j.jmespathType="Expref",j;default:throw new Error("Unknown node type: "+e.type)}},computeSliceParams:function(e,t){var r=t[0],n=t[1],i=t[2],o=[null,null,null];if(null===i)i=1;else if(0===i){var s=new Error("Invalid slice, step cannot be 0");throw s.name="RuntimeError",s}var a=i<0;return r=null===r?a?e-1:0:this.capSliceRange(e,r,i),n=null===n?a?-1:e:this.capSliceRange(e,n,i),o[0]=r,o[1]=n,o[2]=i,o},capSliceRange:function(e,t,r){return t<0?(t+=e)<0&&(t=r<0?-1:0):t>=e&&(t=r<0?e-1:e),t}},f.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var n;if(r[r.length-1].variadic){if(t.length<r.length)throw n=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes at least"+r.length+n+" but received "+t.length)}else if(t.length!==r.length)throw n=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes "+r.length+n+" but received "+t.length);for(var i,o,s,a=0;a<r.length;a++){s=!1,i=r[a].types,o=this._getTypeName(t[a]);for(var u=0;u<i.length;u++)if(this._typeMatches(o,i[u],t[a])){s=!0;break}if(!s)throw new Error("TypeError: "+e+"() expected argument "+(a+1)+" to be type "+i+" but received type "+o+" instead.")}},_typeMatches:function(e,t,r){if(t===g)return!0;if(t!==S&&t!==E&&t!==b)return e===t;if(t===b)return e===b;if(e===b){var n;t===E?n=m:t===S&&(n=_);for(var i=0;i<r.length;i++)if(!this._typeMatches(this._getTypeName(r[i]),n,r[i]))return!1;return!0}},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return _;case"[object Number]":return m;case"[object Array]":return b;case"[object Boolean]":return 5;case"[object Null]":return 7;case"[object Object]":return"Expref"===e.jmespathType?x:w}},_functionStartsWith:function(e){return 0===e[0].lastIndexOf(e[1])},_functionEndsWith:function(e){var t=e[0],r=e[1];return-1!==t.indexOf(r,t.length-r.length)},_functionReverse:function(e){if(this._getTypeName(e[0])===_){for(var t=e[0],r="",n=t.length-1;n>=0;n--)r+=t[n];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],n=0;n<r.length;n++)t+=r[n];return t/r.length},_functionContains:function(e){return e[0].indexOf(e[1])>=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,n=e[0],i=e[1],o=0;o<i.length;o++)t.push(r.visit(n,i[o]));return t},_functionMerge:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];for(var i in n)t[i]=n[i]}return t},_functionMax:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===m)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;n<t.length;n++)r.localeCompare(t[n])<0&&(r=t[n]);return r}return null},_functionMin:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===m)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;n<t.length;n++)t[n].localeCompare(r)<0&&(r=t[n]);return r}return null},_functionSum:function(e){for(var t=0,r=e[0],n=0;n<r.length;n++)t+=r[n];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case m:return"number";case _:return"string";case b:return"array";case w:return"object";case 5:return"boolean";case x:return"expref";case 7:return"null"}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],r=Object.keys(t),n=[],i=0;i<r.length;i++)n.push(t[r[i]]);return n},_functionJoin:function(e){var t=e[0];return e[1].join(t)},_functionToArray:function(e){return this._getTypeName(e[0])===b?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===_?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t,r=this._getTypeName(e[0]);return r===m?e[0]:r!==_||(t=+e[0],isNaN(t))?null:t},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(7!==this._getTypeName(e[t]))return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(0===t.length)return t;var r=this._interpreter,n=e[1],i=this._getTypeName(r.visit(n,t[0]));if([m,_].indexOf(i)<0)throw new Error("TypeError");for(var o=this,s=[],a=0;a<t.length;a++)s.push([a,t[a]]);s.sort(function(e,t){var s=r.visit(n,e[1]),a=r.visit(n,t[1]);if(o._getTypeName(s)!==i)throw new Error("TypeError: expected "+i+", received "+o._getTypeName(s));if(o._getTypeName(a)!==i)throw new Error("TypeError: expected "+i+", received "+o._getTypeName(a));return s>a?1:s<a?-1:e[0]-t[0]});for(var u=0;u<s.length;u++)t[u]=s[u][1];return t},_functionMaxBy:function(e){for(var t,r,n=e[1],i=e[0],o=this.createKeyFunction(n,[m,_]),s=-1/0,a=0;a<i.length;a++)(r=o(i[a]))>s&&(s=r,t=i[a]);return t},_functionMinBy:function(e){for(var t,r,n=e[1],i=e[0],o=this.createKeyFunction(n,[m,_]),s=1/0,a=0;a<i.length;a++)(r=o(i[a]))<s&&(s=r,t=i[a]);return t},createKeyFunction:function(e,t){var r=this,n=this._interpreter;return function(i){var o=n.visit(e,i);if(t.indexOf(r._getTypeName(o))<0){var s="TypeError: expected one of "+t+", received "+r._getTypeName(o);throw new Error(s)}return o}}},e.tokenize=d,e.compile=p,e.search=y,e.strictDeepEqual=n}(void 0===r?this.jmespath={}:r)},{}],2:[function(e,t,r){},{}]},{},[]),_xamzrequire=function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var u="function"==typeof _xamzrequire&&_xamzrequire;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){var r=t[s][1][e];return i(r||e)},l,l.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof _xamzrequire&&_xamzrequire,s=0;s<n.length;s++)i(n[s]);return i}({190:[function(e,t,r){e("./browser_loader");var n=e("./core");"undefined"!=typeof window&&(window.AWS=n),void 0!==t&&(t.exports=n),"undefined"!=typeof self&&(self.AWS=n)},{"./browser_loader":191,"./core":194}],191:[function(e,t,r){(function(r){var n=e("./util");n.crypto.lib=e("crypto-browserify"),n.Buffer=e("buffer/").Buffer,n.url=e("url/"),n.querystring=e("querystring/"),n.environment="js";var i=e("./core");t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===r&&(r={browser:!0})}).call(this,e("_process"))},{"./core":194,"./credentials":195,"./credentials/cognito_identity_credentials":196,"./credentials/credential_provider_chain":197,"./credentials/saml_credentials":198,"./credentials/temporary_credentials":199,"./credentials/web_identity_credentials":200,"./http/xhr":209,"./util":261,"./xml/browser_parser":262,_process:154,"buffer/":3,"crypto-browserify":5,"querystring/":161,"url/":162}],262:[function(e,t,r){function n(){}function i(e,t){switch(t||(t={}),t.type){case"structure":return o(e,t);case"map":return s(e,t);case"list":return a(e,t);case void 0:case null:return c(e);default:return u(e,t)}}function o(e,t){var r={};return null===e?r:(l.each(t.members,function(t,n){if(n.isXmlAttribute){if(Object.prototype.hasOwnProperty.call(e.attributes,n.name)){var o=e.attributes[n.name].value;r[t]=i({textContent:o},n)}}else{var s=n.flattened?e:e.getElementsByTagName(n.name)[0];s?r[t]=i(s,n):n.flattened||"list"!==n.type||(r[t]=n.defaultValue)}}),r)}function s(e,t){for(var r={},n=t.key.name||"key",o=t.value.name||"value",s=t.flattened?t.name:"entry",a=e.firstElementChild;a;){if(a.nodeName===s){var u=a.getElementsByTagName(n)[0].textContent,c=a.getElementsByTagName(o)[0];r[u]=i(c,t.value)}a=a.nextElementSibling}return r}function a(e,t){for(var r=[],n=t.flattened?t.name:t.member.name||"member",o=e.firstElementChild;o;)o.nodeName===n&&r.push(i(o,t.member)),o=o.nextElementSibling;return r}function u(e,t){if(e.getAttribute){var r=e.getAttribute("encoding");"base64"===r&&(t=new h.create({type:r}))}var n=e.textContent;return""===n&&(n=null),"function"==typeof t.toType?t.toType(n):n}function c(e){if(void 0===e||null===e)return"";if(!e.firstElementChild)return null===e.parentNode.parentNode?{}:0===e.childNodes.length?"":e.textContent;for(var t={type:"structure",members:{}},r=e.firstElementChild;r;){var n=r.nodeName;Object.prototype.hasOwnProperty.call(t.members,n)?t.members[n].type="list":t.members[n]={name:n},r=r.nextElementSibling}return o(e,t)}var l=e("../util"),h=e("../model/shape");n.prototype.parse=function(e,t){if(""===e.replace(/^\s+/,""))return{};var r,n;try{if(window.DOMParser){try{r=(new DOMParser).parseFromString(e,"text/xml")}catch(e){throw l.error(new Error("Parse error in document"),{originalError:e,code:"XMLParserError",retryable:!0})}if(null===r.documentElement)throw l.error(new Error("Cannot parse empty document."),{code:"XMLParserError",retryable:!0});var o=r.getElementsByTagName("parsererror")[0];if(o&&(o.parentNode===r||"body"===o.parentNode.nodeName||o.parentNode.parentNode===r||"body"===o.parentNode.parentNode.nodeName)){var s=o.getElementsByTagName("div")[0]||o;throw l.error(new Error(s.textContent||"Parser error in document"),{code:"XMLParserError",retryable:!0})}}else{if(!window.ActiveXObject)throw new Error("Cannot load XML parser");if(r=new window.ActiveXObject("Microsoft.XMLDOM"),r.async=!1,!r.loadXML(e))throw l.error(new Error("Parse error in document"),{code:"XMLParserError",retryable:!0})}}catch(e){n=e}if(r&&r.documentElement&&!n){var a=i(r.documentElement,t),u=r.getElementsByTagName("ResponseMetadata")[0];return u&&(a.ResponseMetadata=i(u,{})),a}if(n)throw l.error(n||new Error,{code:"XMLParserError",retryable:!0});return{}},t.exports=n},{"../model/shape":217,"../util":261}],209:[function(e,t,r){var n=e("../core"),i=e("events").EventEmitter;e("../http"),n.XHRClient=n.util.inherit({handleRequest:function(e,t,r,o){var s=this,a=e.endpoint,u=new i,c=a.protocol+"//"+a.hostname;80!==a.port&&443!==a.port&&(c+=":"+a.port),c+=e.path;var l=new XMLHttpRequest,h=!1;e.stream=l,l.addEventListener("readystatechange",function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!h&&(u.statusCode=l.status,u.headers=s.parseHeaders(l.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,l.statusText),h=!0),this.readyState===this.DONE&&s.finishRequest(l,u)},!1),l.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),l.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),l.addEventListener("timeout",function(){o(n.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),l.addEventListener("error",function(){o(n.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),l.addEventListener("abort",function(){o(n.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),l.open(e.method,c,!1!==t.xhrAsync),n.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&l.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType="arraybuffer"}catch(e){}try{e.body?l.send(e.body):l.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;l.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return n.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],n=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=n)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new n.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),s=0;s<r.length;++s)r[s]=o[s]}try{r||"string"!=typeof e.responseText||(r=new n.util.Buffer(e.responseText))}catch(e){}r&&t.emit("data",r),t.emit("end")}}),n.HttpClient.prototype=n.XHRClient.prototype,n.HttpClient.streamsApiVersion=1},{"../core":194,"../http":208,events:10}],200:[function(e,t,r){var n=e("../core");n.WebIdentityCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=n.util.copy(t||{})},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithWebIdentity(function(r,n){t.data=null,r||(t.data=n,t.service.credentialsFrom(n,t)),e(r)})},createClients:function(){if(!this.service){var e=n.util.merge({},this._clientConfig);e.params=this.params,this.service=new n.STS(e)}}})},{
"../core":194}],199:[function(e,t,r){var n=e("../core");n.TemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,n){r||t.service.credentialsFrom(n,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||n.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new n.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new n.STS({params:this.params})}})},{"../core":194}],198:[function(e,t,r){var n=e("../core");n.SAMLCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithSAML(function(r,n){r||t.service.credentialsFrom(n,t),e(r)})},createClients:function(){this.service=this.service||new n.STS({params:this.params})}})},{"../core":194}],196:[function(e,t,r){var n=e("../core");n.CognitoIdentityCredentials=n.util.inherit(n.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=n.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,n){!r&&n.IdentityId?(t.params.IdentityId=n.IdentityId,e(null,n.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,n){r?t.clearIdOnNotAuthorized(r):(t.cacheId(n),t.data=n,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,n){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(n),t.params.WebIdentityToken=n.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(n.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new n.WebIdentityCredentials(this.params,e),!this.cognito){var t=n.util.merge({},e);t.params=this.params,this.cognito=new n.CognitoIdentity(t)}this.sts=this.sts||new n.STS(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,n.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=n.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../core":194}],162:[function(e,t,r){function n(){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}function i(e,t,r){if(e&&c(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}function o(e){return u(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)}function s(e,t){return i(e,!1,!0).resolve(t)}function a(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function c(e){return"object"==typeof e&&null!==e}function l(e){return null===e}function h(e){return null==e}var f=e("punycode");r.parse=i,r.resolve=s,r.resolveObject=a,r.format=o,r.Url=n;var p=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,y=["<",">",'"',"`"," ","\r","\n","\t"],v=["{","}","|","\\","^","`"].concat(y),m=["'"].concat(v),g=["%","/","?",";","#"].concat(m),_=["/","?","#"],b=/^[a-z0-9A-Z_-]{0,63}$/,w=/^([a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},S={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=e("querystring");n.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e;n=n.trim();var i=p.exec(n);if(i){i=i[0];var o=i.toLowerCase();this.protocol=o,n=n.substr(i.length)}if(r||i||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var s="//"===n.substr(0,2);!s||i&&E[i]||(n=n.substr(2),this.slashes=!0)}if(!E[i]&&(s||i&&!S[i])){for(var a=-1,c=0;c<_.length;c++){var l=n.indexOf(_[c]);-1!==l&&(-1===a||l<a)&&(a=l)}var h,d;d=-1===a?n.lastIndexOf("@"):n.lastIndexOf("@",a),-1!==d&&(h=n.slice(0,d),n=n.slice(d+1),this.auth=decodeURIComponent(h)),a=-1;for(var c=0;c<g.length;c++){var l=n.indexOf(g[c]);-1!==l&&(-1===a||l<a)&&(a=l)}-1===a&&(a=n.length),this.host=n.slice(0,a),n=n.slice(a),this.parseHost(),this.hostname=this.hostname||"";var y="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!y)for(var v=this.hostname.split(/\./),c=0,C=v.length;c<C;c++){var R=v[c];if(R&&!R.match(b)){for(var T="",I=0,O=R.length;I<O;I++)R.charCodeAt(I)>127?T+="x":T+=R[I];if(!T.match(b)){var j=v.slice(0,c),L=v.slice(c+1),P=R.match(w);P&&(j.push(P[1]),L.unshift(P[2])),L.length&&(n="/"+L.join(".")+n),this.hostname=j.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!y){for(var k=this.hostname.split("."),D=[],c=0;c<k.length;++c){var q=k[c];D.push(q.match(/[^A-Za-z0-9_-]/)?"xn--"+f.encode(q):q)}this.hostname=D.join(".")}var M=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+M,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!x[o])for(var c=0,C=m.length;c<C;c++){var U=m[c],B=encodeURIComponent(U);B===U&&(B=escape(U)),n=n.split(U).join(B)}var F=n.indexOf("#");-1!==F&&(this.hash=n.substr(F),n=n.slice(0,F));var z=n.indexOf("?");if(-1!==z?(this.search=n.substr(z),this.query=n.substr(z+1),t&&(this.query=A.parse(this.query)),n=n.slice(0,z)):t&&(this.search="",this.query={}),n&&(this.pathname=n),S[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var M=this.pathname||"",q=this.search||"";this.path=M+q}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&c(this.query)&&Object.keys(this.query).length&&(o=A.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||S[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace("#","%23"),t+i+r+s+n},n.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(u(e)){var t=new n;t.parse(e,!1,!0),e=t}var r=new n;if(Object.keys(this).forEach(function(e){r[e]=this[e]},this),r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(t){"protocol"!==t&&(r[t]=e[t])}),S[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r;if(e.protocol&&e.protocol!==r.protocol){if(!S[e.protocol])return Object.keys(e).forEach(function(t){r[t]=e[t]}),r.href=r.format(),r;if(r.protocol=e.protocol,e.host||E[e.protocol])r.pathname=e.pathname;else{for(var i=(e.pathname||"").split("/");i.length&&!(e.host=i.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==i[0]&&i.unshift(""),i.length<2&&i.unshift(""),r.pathname=i.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var o=r.pathname||"",s=r.search||"";r.path=o+s}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var a=r.pathname&&"/"===r.pathname.charAt(0),c=e.host||e.pathname&&"/"===e.pathname.charAt(0),f=c||a||r.host&&e.pathname,p=f,d=r.pathname&&r.pathname.split("/")||[],i=e.pathname&&e.pathname.split("/")||[],y=r.protocol&&!S[r.protocol];if(y&&(r.hostname="",r.port=null,r.host&&(""===d[0]?d[0]=r.host:d.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===i[0]?i[0]=e.host:i.unshift(e.host)),e.host=null),f=f&&(""===i[0]||""===d[0])),c)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,d=i;else if(i.length)d||(d=[]),d.pop(),d=d.concat(i),r.search=e.search,r.query=e.query;else if(!h(e.search)){if(y){r.hostname=r.host=d.shift();var v=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return r.search=e.search,r.query=e.query,l(r.pathname)&&l(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!d.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var m=d.slice(-1)[0],g=(r.host||e.host)&&("."===m||".."===m)||""===m,_=0,b=d.length;b>=0;b--)m=d[b],"."==m?d.splice(b,1):".."===m?(d.splice(b,1),_++):_&&(d.splice(b,1),_--);if(!f&&!p)for(;_--;_)d.unshift("..");!f||""===d[0]||d[0]&&"/"===d[0].charAt(0)||d.unshift(""),g&&"/"!==d.join("/").substr(-1)&&d.push("");var w=""===d[0]||d[0]&&"/"===d[0].charAt(0);if(y){r.hostname=r.host=w?"":d.length?d.shift():"";var v=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return f=f||r.host&&d.length,f&&!w&&d.unshift(""),d.length?r.pathname=d.join("/"):(r.pathname=null,r.path=null),l(r.pathname)&&l(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=d.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:155,querystring:158}],161:[function(e,t,r){arguments[4][158][0].apply(r,arguments)},{"./decode":159,"./encode":160,dup:158}],160:[function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(n(i))+r;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(n(e))}).join(t):o+encodeURIComponent(n(e[i]))}).join(t):i?encodeURIComponent(n(i))+r+encodeURIComponent(n(e)):""}},{}],159:[function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,i){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var u=e.length;a>0&&u>a&&(u=a);for(var c=0;c<u;++c){var l,h,f,p,d=e[c].replace(s,"%20"),y=d.indexOf(r);y>=0?(l=d.substr(0,y),h=d.substr(y+1)):(l=d,h=""),f=decodeURIComponent(l),p=decodeURIComponent(h),n(o,f)?Array.isArray(o[f])?o[f].push(p):o[f]=[o[f],p]:o[f]=p}return o}},{}],158:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":156,"./encode":157}],157:[function(e,t,r){"use strict";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?n(s(e),function(s){var a=encodeURIComponent(i(s))+r;return o(e[s])?n(e[s],function(e){return a+encodeURIComponent(i(e))}).join(t):a+encodeURIComponent(i(e[s]))}).join(t):a?encodeURIComponent(i(a))+r+encodeURIComponent(i(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],156:[function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var h,f,p,d,y=e[l].replace(a,"%20"),v=y.indexOf(r);v>=0?(h=y.substr(0,v),f=y.substr(v+1)):(h=y,f=""),p=decodeURIComponent(h),d=decodeURIComponent(f),n(s,p)?i(s[p])?s[p].push(d):s[p]=[s[p],d]:s[p]=d}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],155:[function(e,t,r){(function(e){!function(n){function i(e){throw RangeError(P[e])}function o(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function s(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(L,"."),n+o(e.split("."),t).join(".")}function a(e){for(var t,r,n=[],i=0,o=e.length;i<o;)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function u(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=q(e>>>10&1023|55296),e=56320|1023&e),t+=q(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:x}function l(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function h(e,t,r){var n=0;for(e=r?D(e/C):e>>1,e+=D(e/t);e>k*S>>1;n+=x)e=D(e/k);return D(n+(k+1)*e/(e+A))}function f(e){var t,r,n,o,s,a,l,f,p,d,y=[],v=e.length,m=0,g=T,_=R;for(r=e.lastIndexOf(I),r<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&i("not-basic"),y.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<v;){for(s=m,a=1,l=x;o>=v&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=x||f>D((w-m)/a))&&i("overflow"),m+=f*a,p=l<=_?E:l>=_+S?S:l-_,!(f<p);l+=x)d=x-p,a>D(w/d)&&i("overflow"),a*=d;t=y.length+1,_=h(m-s,t,0==s),D(m/t)>w-g&&i("overflow"),g+=D(m/t),m%=t,y.splice(m++,0,g)}return u(y)}function p(e){var t,r,n,o,s,u,c,f,p,d,y,v,m,g,_,b=[];for(e=a(e),v=e.length,t=T,r=0,s=R,u=0;u<v;++u)(y=e[u])<128&&b.push(q(y));for(n=o=b.length,o&&b.push(I);n<v;){for(c=w,u=0;u<v;++u)(y=e[u])>=t&&y<c&&(c=y);for(m=n+1,c-t>D((w-r)/m)&&i("overflow"),r+=(c-t)*m,t=c,u=0;u<v;++u)if(y=e[u],y<t&&++r>w&&i("overflow"),y==t){for(f=r,p=x;d=p<=s?E:p>=s+S?S:p-s,!(f<d);p+=x)_=f-d,g=x-d,b.push(q(l(d+_%g,0))),f=D(_/g);b.push(q(l(f,0))),s=h(r,m,n==o),r=0,++n}++r,++t}return b.join("")}function d(e){return s(e,function(e){return O.test(e)?f(e.slice(4).toLowerCase()):e})}function y(e){return s(e,function(e){return j.test(e)?"xn--"+p(e):e})}var v="object"==typeof r&&r&&!r.nodeType&&r,m="object"==typeof t&&t&&!t.nodeType&&t,g="object"==typeof e&&e;g.global!==g&&g.window!==g&&g.self!==g||(n=g);var _,b,w=2147483647,x=36,E=1,S=26,A=38,C=700,R=72,T=128,I="-",O=/^xn--/,j=/[^\x20-\x7E]/,L=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=x-E,D=Math.floor,q=String.fromCharCode;if(_={version:"1.3.2",ucs2:{decode:a,encode:u},decode:f,encode:p,toASCII:y,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return _});else if(v&&m)if(t.exports==v)m.exports=_;else for(b in _)_.hasOwnProperty(b)&&(v[b]=_[b]);else n.punycode=_}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],10:[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"number"==typeof e}function s(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,o,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(r=this._events[e],a(r))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(s(r))for(o=Array.prototype.slice.call(arguments,1),c=r.slice(),n=c.length,u=0;u<n;u++)c[u].apply(this,o);return!0},n.prototype.addListener=function(e,t){var r;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?s(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,s(this._events[e])&&!this._events[e].warned&&(r=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,o,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],o=r.length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(r)){for(a=o;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],5:[function(e,t,r){function n(e,t,r){s.isBuffer(t)||(t=new s(t)),s.isBuffer(r)||(r=new s(r)),t.length>f?t=e(t):t.length<f&&(t=s.concat([t,p],f));for(var n=new s(f),i=new s(f),o=0;o<f;o++)n[o]=54^t[o],i[o]=92^t[o];var a=e(s.concat([n,r]));return e(s.concat([i,a]))}function i(e,t){e=e||"sha1";var r=h[e],i=[],a=0;return r||o("algorithm:",e,"is not yet supported"),{update:function(e){return s.isBuffer(e)||(e=new s(e)),i.push(e),a+=e.length,this},digest:function(e){var o=s.concat(i),a=t?n(r,t,o):r(o);return i=null,e?a.toString(e):a}}}function o(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}var s=e("buffer").Buffer,a=e("./sha"),u=e("./sha256"),c=e("./rng"),l=e("./md5"),h={sha1:a,sha256:u,md5:l},f=64,p=new s(f);p.fill(0),r.createHash=function(e){return i(e)},r.createHmac=function(e,t){return i(e,t)},r.randomBytes=function(e,t){if(!t||!t.call)return new s(c(e));try{t.call(this,void 0,new s(c(e)))}catch(e){t(e)}},function(e,t){for(var r in e)t(e[r],r)}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(e){r[e]=function(){o("sorry,",e,"is not implemented yet")}})},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3}],9:[function(e,t,r){var n=e("./helpers"),i=function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r},o=function(e,t){return e>>>t|e<<32-t},s=function(e,t){return e>>>t},a=function(e,t,r){return e&t^~e&r},u=function(e,t,r){return e&t^e&r^t&r},c=function(e){return o(e,2)^o(e,13)^o(e,22)},l=function(e){return o(e,6)^o(e,11)^o(e,25)},h=function(e){return o(e,7)^o(e,18)^s(e,3)},f=function(e){return o(e,17)^o(e,19)^s(e,10)},p=function(e,t){var r,n,o,s,p,d,y,v,m,g,_,b,w=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),x=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),E=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var m=0;m<e.length;m+=16){r=x[0],n=x[1],o=x[2],s=x[3],p=x[4],d=x[5],y=x[6],v=x[7];for(var g=0;g<64;g++)E[g]=g<16?e[g+m]:i(i(i(f(E[g-2]),E[g-7]),h(E[g-15])),E[g-16]),_=i(i(i(i(v,l(p)),a(p,d,y)),w[g]),E[g]),b=i(c(r),u(r,n,o)),v=y,y=d,d=p,p=i(s,_),s=o,o=n,n=r,r=i(_,b);x[0]=i(r,x[0]),x[1]=i(n,x[1]),x[2]=i(o,x[2]),x[3]=i(s,x[3]),x[4]=i(p,x[4]),x[5]=i(d,x[5]),x[6]=i(y,x[6]),x[7]=i(v,x[7])}return x};t.exports=function(e){return n.hash(e,p,32,!0)}},{"./helpers":4}],8:[function(e,t,r){function n(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r=Array(80),n=1732584193,u=-271733879,c=-1732584194,l=271733878,h=-1009589776,f=0;f<e.length;f+=16){for(var p=n,d=u,y=c,v=l,m=h,g=0;g<80;g++){r[g]=g<16?e[f+g]:a(r[g-3]^r[g-8]^r[g-14]^r[g-16],1);var _=s(s(a(n,5),i(g,u,c,l)),s(s(h,r[g]),o(g)));h=l,l=c,c=a(u,30),u=n,n=_}n=s(n,p),u=s(u,d),c=s(c,y),l=s(l,v),h=s(h,m)}return Array(n,u,c,l,h)}function i(e,t,r,n){return e<20?t&r|~t&n:e<40?t^r^n:e<60?t&r|t&n|r&n:t^r^n}function o(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function s(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function a(e,t){return e<<t|e>>>32-t}var u=e("./helpers");t.exports=function(e){return u.hash(e,n,20,!0)}},{"./helpers":4}],7:[function(e,t,r){!function(){var e,r,n=this;e=function(e){for(var t,t,r=new Array(e),n=0;n<e;n++)0==(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r},n.crypto&&crypto.getRandomValues&&(r=function(e){var t=new Uint8Array(e);return crypto.getRandomValues(t),t}),t.exports=r||e}()},{}],6:[function(e,t,r){function n(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,l=271733878,h=0;h<e.length;h+=16){var f=r,p=n,d=i,y=l;r=o(r,n,i,l,e[h+0],7,-680876936),l=o(l,r,n,i,e[h+1],12,-389564586),i=o(i,l,r,n,e[h+2],17,606105819),n=o(n,i,l,r,e[h+3],22,-1044525330),r=o(r,n,i,l,e[h+4],7,-176418897),l=o(l,r,n,i,e[h+5],12,1200080426),i=o(i,l,r,n,e[h+6],17,-1473231341),n=o(n,i,l,r,e[h+7],22,-45705983),r=o(r,n,i,l,e[h+8],7,1770035416),l=o(l,r,n,i,e[h+9],12,-1958414417),i=o(i,l,r,n,e[h+10],17,-42063),n=o(n,i,l,r,e[h+11],22,-1990404162),r=o(r,n,i,l,e[h+12],7,1804603682),l=o(l,r,n,i,e[h+13],12,-40341101),i=o(i,l,r,n,e[h+14],17,-1502002290),n=o(n,i,l,r,e[h+15],22,1236535329),r=s(r,n,i,l,e[h+1],5,-165796510),l=s(l,r,n,i,e[h+6],9,-1069501632),i=s(i,l,r,n,e[h+11],14,643717713),n=s(n,i,l,r,e[h+0],20,-373897302),r=s(r,n,i,l,e[h+5],5,-701558691),l=s(l,r,n,i,e[h+10],9,38016083),i=s(i,l,r,n,e[h+15],14,-660478335),n=s(n,i,l,r,e[h+4],20,-405537848),r=s(r,n,i,l,e[h+9],5,568446438),l=s(l,r,n,i,e[h+14],9,-1019803690),i=s(i,l,r,n,e[h+3],14,-187363961),n=s(n,i,l,r,e[h+8],20,1163531501),r=s(r,n,i,l,e[h+13],5,-1444681467),l=s(l,r,n,i,e[h+2],9,-51403784),i=s(i,l,r,n,e[h+7],14,1735328473),n=s(n,i,l,r,e[h+12],20,-1926607734),r=a(r,n,i,l,e[h+5],4,-378558),l=a(l,r,n,i,e[h+8],11,-2022574463),i=a(i,l,r,n,e[h+11],16,1839030562),n=a(n,i,l,r,e[h+14],23,-35309556),r=a(r,n,i,l,e[h+1],4,-1530992060),l=a(l,r,n,i,e[h+4],11,1272893353),i=a(i,l,r,n,e[h+7],16,-155497632),n=a(n,i,l,r,e[h+10],23,-1094730640),r=a(r,n,i,l,e[h+13],4,681279174),l=a(l,r,n,i,e[h+0],11,-358537222),i=a(i,l,r,n,e[h+3],16,-722521979),n=a(n,i,l,r,e[h+6],23,76029189),r=a(r,n,i,l,e[h+9],4,-640364487),l=a(l,r,n,i,e[h+12],11,-421815835),i=a(i,l,r,n,e[h+15],16,530742520),n=a(n,i,l,r,e[h+2],23,-995338651),r=u(r,n,i,l,e[h+0],6,-198630844),l=u(l,r,n,i,e[h+7],10,1126891415),i=u(i,l,r,n,e[h+14],15,-1416354905),n=u(n,i,l,r,e[h+5],21,-57434055),r=u(r,n,i,l,e[h+12],6,1700485571),l=u(l,r,n,i,e[h+3],10,-1894986606),i=u(i,l,r,n,e[h+10],15,-1051523),n=u(n,i,l,r,e[h+1],21,-2054922799),r=u(r,n,i,l,e[h+8],6,1873313359),l=u(l,r,n,i,e[h+15],10,-30611744),i=u(i,l,r,n,e[h+6],15,-1560198380),n=u(n,i,l,r,e[h+13],21,1309151649),r=u(r,n,i,l,e[h+4],6,-145523070),l=u(l,r,n,i,e[h+11],10,-1120210379),i=u(i,l,r,n,e[h+2],15,718787259),n=u(n,i,l,r,e[h+9],21,-343485551),r=c(r,f),n=c(n,p),i=c(i,d),l=c(l,y)}return Array(r,n,i,l)}function i(e,t,r,n,i,o){return c(l(c(c(t,e),c(n,o)),i),r)}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function u(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}function c(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function l(e,t){return e<<t|e>>>32-t}var h=e("./helpers");t.exports=function(e){return h.hash(e,n,16)}},{"./helpers":4}],4:[function(e,t,r){function n(e,t){if(e.length%a!=0){var r=e.length+(a-e.length%a);e=s.concat([e,u],r)}for(var n=[],i=t?e.readInt32BE:e.readInt32LE,o=0;o<e.length;o+=a)n.push(i.call(e,o));return n}function i(e,t,r){for(var n=new s(t),i=r?n.writeInt32BE:n.writeInt32LE,o=0;o<e.length;o++)i.call(n,e[o],4*o,!0);return n}function o(e,t,r,o){return s.isBuffer(e)||(e=new s(e)),i(t(n(e,o),e.length*c),r,o)}var s=e("buffer").Buffer,a=4,u=new s(a);u.fill(0);var c=8;t.exports={hash:o}},{buffer:3}],3:[function(e,t,r){(function(t){"use strict";function n(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=o.prototype):(null===e&&(e=new o(t)),e.length=t),e}function o(e,t,r){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return s(this,e,t,r)}function s(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?f(e,t,r,n):"string"==typeof t?l(e,t,r):p(e,t)}function a(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t,r,n){return a(t),t<=0?i(e,t):void 0!==r?"string"==typeof n?i(e,t).fill(r,n):i(e,t).fill(r):i(e,t)}function c(e,t){if(a(t),e=i(e,t<0?0:0|d(t)),!o.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function l(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!o.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|v(t,r);e=i(e,n);var s=e.write(t,r);return s!==n&&(e=e.slice(0,s)),e}function h(e,t){var r=t.length<0?0:0|d(t.length);e=i(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function f(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),o.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=o.prototype):e=h(e,t),e}function p(e,t){if(o.isBuffer(t)){var r=0|d(t.length);return e=i(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||Y(t.length)?i(e,0):h(e,t);if("Buffer"===t.type&&Q(t.data))return h(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),o.alloc(+e)}function v(e,t){if(o.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(e).length;default:if(n)return V(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,
t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,r);case"utf8":case"utf-8":return T(this,t,r);case"ascii":return O(this,t,r);case"latin1":case"binary":return j(this,t,r);case"base64":return R(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function _(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}var c;if(i){var l=-1;for(c=r;c<a;c++)if(o(e,c)===o(t,-1===l?0:c-l)){if(-1===l&&(l=c),c-l+1===u)return l*s}else-1!==l&&(c-=c-l),l=-1}else for(r+u>a&&(r=a-u),c=r;c>=0;c--){for(var h=!0,f=0;f<u;f++)if(o(e,c+f)!==o(t,f)){h=!1;break}if(h)return c}return-1}function w(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[r+s]=a}return s}function x(e,t,r,n){return G(V(t,e.length-r),e,r,n)}function E(e,t,r,n){return G(X(t),e,r,n)}function S(e,t,r,n){return E(e,t,r,n)}function A(e,t,r,n){return G(W(t),e,r,n)}function C(e,t,r,n){return G(K(t,e.length-r),e,r,n)}function R(e,t,r){return 0===t&&r===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(t,r))}function T(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o=e[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var u,c,l,h;switch(a){case 1:o<128&&(s=o);break;case 2:u=e[i+1],128==(192&u)&&(h=(31&o)<<6|63&u)>127&&(s=h);break;case 3:u=e[i+1],c=e[i+2],128==(192&u)&&128==(192&c)&&(h=(15&o)<<12|(63&u)<<6|63&c)>2047&&(h<55296||h>57343)&&(s=h);break;case 4:u=e[i+1],c=e[i+2],l=e[i+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(h=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&h<1114112&&(s=h)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return I(n)}function I(e){var t=e.length;if(t<=Z)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Z));return r}function O(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function L(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=H(e[o]);return i}function P(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function k(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,i,s){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function q(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function M(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function N(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,r,n,i){return i||N(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return i||N(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(e,t,r,n,52,8),r+8}function F(e){if(e=z(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function z(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function H(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function X(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function K(e,t){for(var r,n,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function W(e){return J.toByteArray(F(e))}function G(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Y(e){return e!==e}var J=e("base64-js"),$=e("ieee754"),Q=e("isarray");r.Buffer=o,r.SlowBuffer=y,r.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),r.kMaxLength=n(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,r){return s(null,e,t,r)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(e,t,r){return u(null,e,t,r)},o.allocUnsafe=function(e){return c(null,e)},o.allocUnsafeSlow=function(e){return c(null,e)},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Q(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=o.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var s=e[r];if(!o.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,i),i+=s.length}return n},o.byteLength=v,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},o.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?T(this,0,e):m.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e,t,r,n,i){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,a=r-t,u=Math.min(s,a),c=this.slice(n,i),l=e.slice(t,r),h=0;h<u;++h)if(c[h]!==l[h]){s=c[h],a=l[h];break}return s<a?-1:a<s?1:0},o.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return _(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return _(this,e,t,r,!1)},o.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":return E(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n;if(o.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=o.prototype;else{var i=t-e;n=new o(i,void 0);for(var s=0;s<i;++s)n[s]=this[s+e]}return n},o.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},o.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUInt8=function(e,t){return t||k(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||k(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||k(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||k(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(e,t){t||k(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(e,t){return t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||k(e,4,this.length),$.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||k(e,4,this.length),$.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||k(e,8,this.length),$.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||k(e,8,this.length),$.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){D(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},o.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){D(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):q(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):q(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):M(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):q(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):q(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):M(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,s=n-r;if(this===e&&r<t&&t<n)for(i=s-1;i>=0;--i)e[i+t]=this[i+r];else if(s<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+s),t);return s},o.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!o.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var s;if("number"==typeof e)for(s=t;s<r;++s)this[s]=e;else{var a=o.isBuffer(e)?e:V(new o(e,n).toString()),u=a.length;for(s=0;s<r-t;++s)this[s+t]=a[s%u]}return this};var ee=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:11,isarray:12}],12:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],11:[function(e,t,r){r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,c=u>>1,l=-7,h=r?i-1:0,f=r?-1:1,p=e[t+h];for(h+=f,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+e[t+h],h+=f,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<<c)-1,h=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+h>=1?f/u:f*Math.pow(2,1-h),t*u>=2&&(s++,u/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(t*u-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[r+p]=255&s,p+=d,s/=256,c-=8);e[r+p-d]|=128*y}},{}],1:[function(e,t,r){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return 3*e.length/4-n(e)}function o(e){var t,r,i,o,s,a=e.length;o=n(e),s=new h(3*a/4-o),r=o>0?a-4:a;var u=0;for(t=0;t<r;t+=4)i=l[e.charCodeAt(t)]<<18|l[e.charCodeAt(t+1)]<<12|l[e.charCodeAt(t+2)]<<6|l[e.charCodeAt(t+3)],s[u++]=i>>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=l[e.charCodeAt(t)]<<2|l[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===o&&(i=l[e.charCodeAt(t)]<<10|l[e.charCodeAt(t+1)]<<4|l[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}function s(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function a(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(s(n));return i.join("")}function u(e){for(var t,r=e.length,n=r%3,i="",o=[],s=0,u=r-n;s<u;s+=16383)o.push(a(e,s,s+16383>u?u:s+16383));return 1===n?(t=e[r-1],i+=c[t>>2],i+=c[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=c[t>>10],i+=c[t>>4&63],i+=c[t<<2&63],i+="="),o.push(i),o.join("")}r.byteLength=i,r.toByteArray=o,r.fromByteArray=u;for(var c=[],l=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=f.length;p<d;++p)c[p]=f[p],l[f.charCodeAt(p)]=p;l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},{}]},{},[190]);AWS.apiLoader.services.ec2={},AWS.EC2=AWS.Service.defineService("ec2",["2016-11-15"]),_xamzrequire=function r(e,o,t){function n(s,a){if(!o[s]){if(!e[s]){var u="function"==typeof _xamzrequire&&_xamzrequire;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var p=o[s]={exports:{}};e[s][0].call(p.exports,function(r){var o=e[s][1][r];return n(o||r)},p,p.exports,r,e,o,t)}return o[s].exports}for(var i="function"==typeof _xamzrequire&&_xamzrequire,s=0;s<t.length;s++)n(t[s]);return n}({240:[function(r,e,o){var t=r("../core");t.util.update(t.EC2.prototype,{setupRequestListeners:function(r){r.removeListener("extractError",t.EventListeners.Query.EXTRACT_ERROR),r.addListener("extractError",this.extractError),"copySnapshot"===r.operation&&r.onAsync("validate",this.buildCopySnapshotPresignedUrl)},buildCopySnapshotPresignedUrl:function(r,e){if(r.params.PresignedUrl||r._subRequest)return e();r.params=t.util.copy(r.params),r.params.DestinationRegion=r.service.config.region;var o=t.util.copy(r.service.config);delete o.endpoint,o.region=r.params.SourceRegion;var n=new r.service.constructor(o),i=n[r.operation](r.params);i._subRequest=!0,i.presign(function(o,t){o?e(o):(r.params.PresignedUrl=t,e())})},extractError:function(r){var e=r.httpResponse,o=(new t.XML.Parser).parse(e.body.toString()||"");o.Errors?r.error=t.util.error(new Error,{code:o.Errors.Error.Code,message:o.Errors.Error.Message}):r.error=t.util.error(new Error,{code:e.statusCode,message:null}),r.error.requestId=o.RequestID||null}})},{"../core":194}]},{},[240]);AWS.apiLoader.services.ec2["2016-11-15"]={version:"2.0",metadata:{apiVersion:"2016-11-15",endpointPrefix:"ec2",protocol:"ec2",serviceAbbreviation:"Amazon EC2",serviceFullName:"Amazon Elastic Compute Cloud",signatureVersion:"v4",uid:"ec2-2016-11-15",xmlNamespace:"http://ec2.amazonaws.com/doc/2016-11-15"},operations:{AcceptReservedInstancesExchangeQuote:{input:{type:"structure",required:["ReservedInstanceIds"],members:{DryRun:{type:"boolean"},ReservedInstanceIds:{shape:"S3",locationName:"ReservedInstanceId"},TargetConfigurations:{shape:"S5",locationName:"TargetConfiguration"}}},output:{type:"structure",members:{ExchangeId:{locationName:"exchangeId"}}}},AcceptVpcPeeringConnection:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},output:{type:"structure",members:{VpcPeeringConnection:{shape:"Sb",locationName:"vpcPeeringConnection"}}}},AllocateAddress:{input:{type:"structure",members:{Domain:{},Address:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{PublicIp:{locationName:"publicIp"},AllocationId:{locationName:"allocationId"},Domain:{locationName:"domain"}}}},AllocateHosts:{input:{type:"structure",required:["AvailabilityZone","InstanceType","Quantity"],members:{AutoPlacement:{locationName:"autoPlacement"},AvailabilityZone:{locationName:"availabilityZone"},ClientToken:{locationName:"clientToken"},InstanceType:{locationName:"instanceType"},Quantity:{locationName:"quantity",type:"integer"}}},output:{type:"structure",members:{HostIds:{shape:"St",locationName:"hostIdSet"}}}},AssignIpv6Addresses:{input:{type:"structure",required:["NetworkInterfaceId"],members:{Ipv6AddressCount:{locationName:"ipv6AddressCount",type:"integer"},Ipv6Addresses:{shape:"Sv",locationName:"ipv6Addresses"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}},output:{type:"structure",members:{AssignedIpv6Addresses:{shape:"Sv",locationName:"assignedIpv6Addresses"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}}},AssignPrivateIpAddresses:{input:{type:"structure",required:["NetworkInterfaceId"],members:{AllowReassignment:{locationName:"allowReassignment",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIpAddresses:{shape:"Sy",locationName:"privateIpAddress"},SecondaryPrivateIpAddressCount:{locationName:"secondaryPrivateIpAddressCount",type:"integer"}}}},AssociateAddress:{input:{type:"structure",members:{AllocationId:{},InstanceId:{},PublicIp:{},AllowReassociation:{locationName:"allowReassociation",type:"boolean"},DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIpAddress:{locationName:"privateIpAddress"}}},output:{type:"structure",members:{AssociationId:{locationName:"associationId"}}}},AssociateDhcpOptions:{input:{type:"structure",required:["DhcpOptionsId","VpcId"],members:{DhcpOptionsId:{},VpcId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},AssociateIamInstanceProfile:{input:{type:"structure",required:["IamInstanceProfile","InstanceId"],members:{IamInstanceProfile:{shape:"S13"},InstanceId:{}}},output:{type:"structure",members:{IamInstanceProfileAssociation:{shape:"S15",locationName:"iamInstanceProfileAssociation"}}}},AssociateRouteTable:{input:{type:"structure",required:["RouteTableId","SubnetId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"},SubnetId:{locationName:"subnetId"}}},output:{type:"structure",members:{AssociationId:{locationName:"associationId"}}}},AssociateSubnetCidrBlock:{input:{type:"structure",required:["Ipv6CidrBlock","SubnetId"],members:{Ipv6CidrBlock:{locationName:"ipv6CidrBlock"},SubnetId:{locationName:"subnetId"}}},output:{type:"structure",members:{Ipv6CidrBlockAssociation:{shape:"S1c",locationName:"ipv6CidrBlockAssociation"},SubnetId:{locationName:"subnetId"}}}},AssociateVpcCidrBlock:{input:{type:"structure",required:["VpcId"],members:{AmazonProvidedIpv6CidrBlock:{locationName:"amazonProvidedIpv6CidrBlock",type:"boolean"},CidrBlock:{},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Ipv6CidrBlockAssociation:{shape:"S1h",locationName:"ipv6CidrBlockAssociation"},CidrBlockAssociation:{shape:"S1k",locationName:"cidrBlockAssociation"},VpcId:{locationName:"vpcId"}}}},AttachClassicLinkVpc:{input:{type:"structure",required:["Groups","InstanceId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Groups:{shape:"S1m",locationName:"SecurityGroupId"},InstanceId:{locationName:"instanceId"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},AttachInternetGateway:{input:{type:"structure",required:["InternetGatewayId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayId:{locationName:"internetGatewayId"},VpcId:{locationName:"vpcId"}}}},AttachNetworkInterface:{input:{type:"structure",required:["DeviceIndex","InstanceId","NetworkInterfaceId"],members:{DeviceIndex:{locationName:"deviceIndex",type:"integer"},DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}},output:{type:"structure",members:{AttachmentId:{locationName:"attachmentId"}}}},AttachVolume:{input:{type:"structure",required:["Device","InstanceId","VolumeId"],members:{Device:{},InstanceId:{},VolumeId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{shape:"S1s"}},AttachVpnGateway:{input:{type:"structure",required:["VpcId","VpnGatewayId"],members:{VpcId:{},VpnGatewayId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{VpcAttachment:{shape:"S1w",locationName:"attachment"}}}},AuthorizeSecurityGroupEgress:{input:{type:"structure",required:["GroupId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupId:{locationName:"groupId"},IpPermissions:{shape:"S1z",locationName:"ipPermissions"},CidrIp:{locationName:"cidrIp"},FromPort:{locationName:"fromPort",type:"integer"},IpProtocol:{locationName:"ipProtocol"},ToPort:{locationName:"toPort",type:"integer"},SourceSecurityGroupName:{locationName:"sourceSecurityGroupName"},SourceSecurityGroupOwnerId:{locationName:"sourceSecurityGroupOwnerId"}}}},AuthorizeSecurityGroupIngress:{input:{type:"structure",members:{CidrIp:{},FromPort:{type:"integer"},GroupId:{},GroupName:{},IpPermissions:{shape:"S1z"},IpProtocol:{},SourceSecurityGroupName:{},SourceSecurityGroupOwnerId:{},ToPort:{type:"integer"},DryRun:{locationName:"dryRun",type:"boolean"}}}},BundleInstance:{input:{type:"structure",required:["InstanceId","Storage"],members:{InstanceId:{},Storage:{shape:"S2b"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{BundleTask:{shape:"S2f",locationName:"bundleInstanceTask"}}}},CancelBundleTask:{input:{type:"structure",required:["BundleId"],members:{BundleId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{BundleTask:{shape:"S2f",locationName:"bundleInstanceTask"}}}},CancelConversionTask:{input:{type:"structure",required:["ConversionTaskId"],members:{ConversionTaskId:{locationName:"conversionTaskId"},DryRun:{locationName:"dryRun",type:"boolean"},ReasonMessage:{locationName:"reasonMessage"}}}},CancelExportTask:{input:{type:"structure",required:["ExportTaskId"],members:{ExportTaskId:{locationName:"exportTaskId"}}}},CancelImportTask:{input:{type:"structure",members:{CancelReason:{},DryRun:{type:"boolean"},ImportTaskId:{}}},output:{type:"structure",members:{ImportTaskId:{locationName:"importTaskId"},PreviousState:{locationName:"previousState"},State:{locationName:"state"}}}},CancelReservedInstancesListing:{input:{type:"structure",required:["ReservedInstancesListingId"],members:{ReservedInstancesListingId:{locationName:"reservedInstancesListingId"}}},output:{type:"structure",members:{ReservedInstancesListings:{shape:"S2q",locationName:"reservedInstancesListingsSet"}}}},CancelSpotFleetRequests:{input:{type:"structure",required:["SpotFleetRequestIds","TerminateInstances"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotFleetRequestIds:{shape:"S32",locationName:"spotFleetRequestId"},TerminateInstances:{locationName:"terminateInstances",type:"boolean"}}},output:{type:"structure",members:{SuccessfulFleetRequests:{locationName:"successfulFleetRequestSet",type:"list",member:{locationName:"item",type:"structure",required:["CurrentSpotFleetRequestState","PreviousSpotFleetRequestState","SpotFleetRequestId"],members:{CurrentSpotFleetRequestState:{locationName:"currentSpotFleetRequestState"},PreviousSpotFleetRequestState:{locationName:"previousSpotFleetRequestState"},SpotFleetRequestId:{locationName:"spotFleetRequestId"}}}},UnsuccessfulFleetRequests:{locationName:"unsuccessfulFleetRequestSet",type:"list",member:{locationName:"item",type:"structure",required:["Error","SpotFleetRequestId"],members:{Error:{locationName:"error",type:"structure",required:["Code","Message"],members:{Code:{locationName:"code"},Message:{locationName:"message"}}},SpotFleetRequestId:{locationName:"spotFleetRequestId"}}}}}}},CancelSpotInstanceRequests:{input:{type:"structure",required:["SpotInstanceRequestIds"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotInstanceRequestIds:{shape:"S3c",locationName:"SpotInstanceRequestId"}}},output:{type:"structure",members:{CancelledSpotInstanceRequests:{locationName:"spotInstanceRequestSet",type:"list",member:{locationName:"item",type:"structure",members:{SpotInstanceRequestId:{locationName:"spotInstanceRequestId"},State:{locationName:"state"}}}}}}},ConfirmProductInstance:{input:{type:"structure",required:["InstanceId","ProductCode"],members:{InstanceId:{},ProductCode:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{OwnerId:{locationName:"ownerId"},Return:{locationName:"return",type:"boolean"}}}},CopyImage:{input:{type:"structure",required:["Name","SourceImageId","SourceRegion"],members:{ClientToken:{},Description:{},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"},Name:{},SourceImageId:{},SourceRegion:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{ImageId:{locationName:"imageId"}}}},CopySnapshot:{input:{type:"structure",required:["SourceRegion","SourceSnapshotId"],members:{Description:{},DestinationRegion:{locationName:"destinationRegion"},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"},PresignedUrl:{locationName:"presignedUrl"},SourceRegion:{},SourceSnapshotId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{SnapshotId:{locationName:"snapshotId"}}}},CreateCustomerGateway:{input:{type:"structure",required:["BgpAsn","PublicIp","Type"],members:{BgpAsn:{type:"integer"},PublicIp:{locationName:"IpAddress"},Type:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{CustomerGateway:{shape:"S3q",locationName:"customerGateway"}}}},CreateDefaultVpc:{input:{type:"structure",members:{DryRun:{type:"boolean"}}},output:{type:"structure",members:{Vpc:{shape:"S3t",locationName:"vpc"}}}},CreateDhcpOptions:{input:{type:"structure",required:["DhcpConfigurations"],members:{DhcpConfigurations:{locationName:"dhcpConfiguration",type:"list",member:{locationName:"item",type:"structure",members:{Key:{locationName:"key"},Values:{shape:"S32",locationName:"Value"}}}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{DhcpOptions:{shape:"S42",locationName:"dhcpOptions"}}}},CreateEgressOnlyInternetGateway:{input:{type:"structure",required:["VpcId"],members:{ClientToken:{},DryRun:{type:"boolean"},VpcId:{}}},output:{type:"structure",members:{ClientToken:{locationName:"clientToken"},EgressOnlyInternetGateway:{shape:"S49",locationName:"egressOnlyInternetGateway"}}}},CreateFlowLogs:{input:{type:"structure",required:["DeliverLogsPermissionArn","LogGroupName","ResourceIds","ResourceType","TrafficType"],members:{ClientToken:{},DeliverLogsPermissionArn:{},LogGroupName:{},ResourceIds:{shape:"S32",locationName:"ResourceId"},ResourceType:{},TrafficType:{}}},output:{type:"structure",members:{ClientToken:{locationName:"clientToken"},FlowLogIds:{shape:"S32",locationName:"flowLogIdSet"},Unsuccessful:{shape:"S4h",locationName:"unsuccessful"}}}},CreateFpgaImage:{input:{type:"structure",required:["InputStorageLocation"],members:{DryRun:{type:"boolean"},InputStorageLocation:{shape:"S4l"},LogsStorageLocation:{shape:"S4l"},Description:{},Name:{},ClientToken:{}}},output:{type:"structure",members:{FpgaImageId:{locationName:"fpgaImageId"},FpgaImageGlobalId:{locationName:"fpgaImageGlobalId"}}}},CreateImage:{input:{type:"structure",required:["InstanceId","Name"],members:{BlockDeviceMappings:{shape:"S4o",locationName:"blockDeviceMapping"},Description:{locationName:"description"},DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},Name:{locationName:"name"},NoReboot:{locationName:"noReboot",type:"boolean"}}},output:{type:"structure",members:{ImageId:{locationName:"imageId"}}}},CreateInstanceExportTask:{input:{type:"structure",required:["InstanceId"],members:{Description:{locationName:"description"},ExportToS3Task:{locationName:"exportToS3",type:"structure",members:{ContainerFormat:{locationName:"containerFormat"},DiskImageFormat:{locationName:"diskImageFormat"},S3Bucket:{locationName:"s3Bucket"},S3Prefix:{locationName:"s3Prefix"}}},InstanceId:{locationName:"instanceId"},TargetEnvironment:{locationName:"targetEnvironment"}}},output:{type:"structure",members:{ExportTask:{shape:"S4z",locationName:"exportTask"}}}},CreateInternetGateway:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{InternetGateway:{shape:"S55",locationName:"internetGateway"}}}},CreateKeyPair:{input:{type:"structure",required:["KeyName"],members:{KeyName:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{KeyFingerprint:{locationName:"keyFingerprint"},KeyMaterial:{locationName:"keyMaterial"},KeyName:{locationName:"keyName"}}}},CreateNatGateway:{input:{type:"structure",required:["AllocationId","SubnetId"],members:{AllocationId:{},ClientToken:{},SubnetId:{}}},output:{type:"structure",members:{ClientToken:{locationName:"clientToken"},NatGateway:{shape:"S5a",locationName:"natGateway"}}}},CreateNetworkAcl:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{NetworkAcl:{shape:"S5h",locationName:"networkAcl"}}}},CreateNetworkAclEntry:{input:{type:"structure",required:["Egress","NetworkAclId","Protocol","RuleAction","RuleNumber"],members:{CidrBlock:{locationName:"cidrBlock"},DryRun:{locationName:"dryRun",type:"boolean"},Egress:{locationName:"egress",type:"boolean"},IcmpTypeCode:{shape:"S5m",locationName:"Icmp"},Ipv6CidrBlock:{locationName:"ipv6CidrBlock"},NetworkAclId:{locationName:"networkAclId"},PortRange:{shape:"S5n",locationName:"portRange"},Protocol:{locationName:"protocol"},RuleAction:{locationName:"ruleAction"},RuleNumber:{locationName:"ruleNumber",type:"integer"}}}},CreateNetworkInterface:{input:{type:"structure",required:["SubnetId"],members:{Description:{locationName:"description"},DryRun:{locationName:"dryRun",type:"boolean"},Groups:{shape:"S5r",locationName:"SecurityGroupId"},Ipv6AddressCount:{locationName:"ipv6AddressCount",type:"integer"},Ipv6Addresses:{shape:"S5s",locationName:"ipv6Addresses"},PrivateIpAddress:{locationName:"privateIpAddress"},PrivateIpAddresses:{shape:"S5u",locationName:"privateIpAddresses"},SecondaryPrivateIpAddressCount:{locationName:"secondaryPrivateIpAddressCount",type:"integer"},SubnetId:{locationName:"subnetId"}}},output:{type:"structure",members:{NetworkInterface:{shape:"S5x",locationName:"networkInterface"}}}},CreateNetworkInterfacePermission:{input:{type:"structure",required:["NetworkInterfaceId","Permission"],members:{NetworkInterfaceId:{},AwsAccountId:{},AwsService:{},Permission:{},DryRun:{type:"boolean"}}},output:{type:"structure",members:{InterfacePermission:{shape:"S6b",locationName:"interfacePermission"}}}},CreatePlacementGroup:{input:{type:"structure",required:["GroupName","Strategy"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{locationName:"groupName"},Strategy:{locationName:"strategy"}}}},CreateReservedInstancesListing:{input:{type:"structure",required:["ClientToken","InstanceCount","PriceSchedules","ReservedInstancesId"],members:{ClientToken:{locationName:"clientToken"},InstanceCount:{locationName:"instanceCount",type:"integer"},PriceSchedules:{locationName:"priceSchedules",type:"list",member:{locationName:"item",type:"structure",members:{CurrencyCode:{locationName:"currencyCode"},Price:{locationName:"price",type:"double"},Term:{locationName:"term",type:"long"}}}},ReservedInstancesId:{locationName:"reservedInstancesId"}}},output:{type:"structure",members:{ReservedInstancesListings:{shape:"S2q",locationName:"reservedInstancesListingsSet"}}}},CreateRoute:{input:{type:"structure",required:["RouteTableId"],members:{DestinationCidrBlock:{locationName:"destinationCidrBlock"},DestinationIpv6CidrBlock:{locationName:"destinationIpv6CidrBlock"},DryRun:{locationName:"dryRun",type:"boolean"},EgressOnlyInternetGatewayId:{locationName:"egressOnlyInternetGatewayId"},GatewayId:{locationName:"gatewayId"},InstanceId:{locationName:"instanceId"},NatGatewayId:{locationName:"natGatewayId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},RouteTableId:{locationName:"routeTableId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},CreateRouteTable:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{RouteTable:{shape:"S6o",locationName:"routeTable"}}}},CreateSecurityGroup:{input:{type:"structure",required:["Description","GroupName"],members:{Description:{locationName:"GroupDescription"},GroupName:{},VpcId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{GroupId:{locationName:"groupId"}}}},CreateSnapshot:{input:{type:"structure",required:["VolumeId"],members:{Description:{},VolumeId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{shape:"S70"}},CreateSpotDatafeedSubscription:{input:{type:"structure",required:["Bucket"],members:{Bucket:{locationName:"bucket"},DryRun:{locationName:"dryRun",type:"boolean"},Prefix:{locationName:"prefix"}}},output:{type:"structure",members:{SpotDatafeedSubscription:{shape:"S74",locationName:"spotDatafeedSubscription"}}}},CreateSubnet:{input:{type:"structure",required:["CidrBlock","VpcId"],members:{AvailabilityZone:{},CidrBlock:{},Ipv6CidrBlock:{},VpcId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{Subnet:{shape:"S79",locationName:"subnet"}}}},CreateTags:{input:{type:"structure",required:["Resources","Tags"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Resources:{shape:"S7d",locationName:"ResourceId"},Tags:{shape:"Sl",locationName:"Tag"}}}},CreateVolume:{input:{type:"structure",required:["AvailabilityZone"],members:{AvailabilityZone:{},Encrypted:{locationName:"encrypted",type:"boolean"},Iops:{type:"integer"},KmsKeyId:{},Size:{type:"integer"},SnapshotId:{},VolumeType:{},DryRun:{locationName:"dryRun",type:"boolean"},TagSpecifications:{shape:"S7f",locationName:"TagSpecification"}}},output:{shape:"S7i"}},CreateVpc:{input:{type:"structure",required:["CidrBlock"],members:{CidrBlock:{},AmazonProvidedIpv6CidrBlock:{locationName:"amazonProvidedIpv6CidrBlock",type:"boolean"},DryRun:{locationName:"dryRun",type:"boolean"},InstanceTenancy:{locationName:"instanceTenancy"}}},output:{type:"structure",members:{Vpc:{shape:"S3t",locationName:"vpc"}}}},CreateVpcEndpoint:{input:{type:"structure",required:["ServiceName","VpcId"],members:{ClientToken:{},DryRun:{type:"boolean"},PolicyDocument:{},RouteTableIds:{shape:"S32",locationName:"RouteTableId"},ServiceName:{},VpcId:{}}},output:{type:"structure",members:{ClientToken:{locationName:"clientToken"},VpcEndpoint:{shape:"S7p",locationName:"vpcEndpoint"}}}},CreateVpcPeeringConnection:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},PeerOwnerId:{locationName:"peerOwnerId"},PeerVpcId:{locationName:"peerVpcId"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{VpcPeeringConnection:{shape:"Sb",locationName:"vpcPeeringConnection"}}}},CreateVpnConnection:{input:{type:"structure",required:["CustomerGatewayId","Type","VpnGatewayId"],members:{CustomerGatewayId:{},Type:{},VpnGatewayId:{},DryRun:{locationName:"dryRun",type:"boolean"},Options:{locationName:"options",type:"structure",members:{StaticRoutesOnly:{locationName:"staticRoutesOnly",type:"boolean"}}}}},output:{type:"structure",members:{VpnConnection:{shape:"S7w",locationName:"vpnConnection"}}}},CreateVpnConnectionRoute:{input:{type:"structure",required:["DestinationCidrBlock","VpnConnectionId"],members:{DestinationCidrBlock:{},VpnConnectionId:{}}}},CreateVpnGateway:{input:{type:"structure",required:["Type"],members:{AvailabilityZone:{},Type:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{VpnGateway:{shape:"S88",locationName:"vpnGateway"}}}},DeleteCustomerGateway:{input:{type:"structure",required:["CustomerGatewayId"],members:{CustomerGatewayId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteDhcpOptions:{input:{type:"structure",required:["DhcpOptionsId"],members:{DhcpOptionsId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteEgressOnlyInternetGateway:{input:{type:"structure",required:["EgressOnlyInternetGatewayId"],members:{DryRun:{type:"boolean"},EgressOnlyInternetGatewayId:{}}},output:{type:"structure",members:{ReturnCode:{locationName:"returnCode",type:"boolean"}}}},DeleteFlowLogs:{input:{type:"structure",required:["FlowLogIds"],members:{FlowLogIds:{shape:"S32",locationName:"FlowLogId"}}},output:{type:"structure",members:{Unsuccessful:{shape:"S4h",locationName:"unsuccessful"}}}},DeleteInternetGateway:{input:{type:"structure",required:["InternetGatewayId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayId:{locationName:"internetGatewayId"}}}},DeleteKeyPair:{input:{type:"structure",required:["KeyName"],members:{KeyName:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteNatGateway:{input:{type:"structure",required:["NatGatewayId"],members:{NatGatewayId:{}}},output:{type:"structure",members:{NatGatewayId:{locationName:"natGatewayId"}}}},DeleteNetworkAcl:{input:{type:"structure",required:["NetworkAclId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclId:{locationName:"networkAclId"}}}},DeleteNetworkAclEntry:{input:{type:"structure",required:["Egress","NetworkAclId","RuleNumber"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Egress:{locationName:"egress",type:"boolean"},NetworkAclId:{locationName:"networkAclId"},RuleNumber:{locationName:"ruleNumber",type:"integer"}}}},DeleteNetworkInterface:{input:{type:"structure",required:["NetworkInterfaceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}}},DeleteNetworkInterfacePermission:{input:{type:"structure",required:["NetworkInterfacePermissionId"],members:{NetworkInterfacePermissionId:{},Force:{type:"boolean"},DryRun:{type:"boolean"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},DeletePlacementGroup:{input:{type:"structure",required:["GroupName"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{locationName:"groupName"}}}},DeleteRoute:{input:{type:"structure",required:["RouteTableId"],members:{DestinationCidrBlock:{locationName:"destinationCidrBlock"},DestinationIpv6CidrBlock:{locationName:"destinationIpv6CidrBlock"},DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"}}}},DeleteRouteTable:{input:{type:"structure",required:["RouteTableId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"}}}},DeleteSecurityGroup:{input:{type:"structure",members:{GroupId:{},GroupName:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteSnapshot:{input:{type:"structure",required:["SnapshotId"],members:{SnapshotId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteSpotDatafeedSubscription:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteSubnet:{input:{type:"structure",required:["SubnetId"],members:{SubnetId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteTags:{input:{type:"structure",required:["Resources"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Resources:{shape:"S7d",locationName:"resourceId"},Tags:{shape:"Sl",locationName:"tag"}}}},DeleteVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteVpc:{input:{type:"structure",required:["VpcId"],members:{VpcId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteVpcEndpoints:{input:{type:"structure",required:["VpcEndpointIds"],members:{DryRun:{type:"boolean"},VpcEndpointIds:{shape:"S32",locationName:"VpcEndpointId"}}},output:{type:"structure",members:{Unsuccessful:{shape:"S4h",locationName:"unsuccessful"}}}},DeleteVpcPeeringConnection:{input:{type:"structure",required:["VpcPeeringConnectionId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},DeleteVpnConnection:{input:{type:"structure",required:["VpnConnectionId"],members:{VpnConnectionId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeleteVpnConnectionRoute:{input:{type:"structure",required:["DestinationCidrBlock","VpnConnectionId"],members:{DestinationCidrBlock:{},VpnConnectionId:{}}}},DeleteVpnGateway:{input:{type:"structure",required:["VpnGatewayId"],members:{VpnGatewayId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DeregisterImage:{input:{type:"structure",required:["ImageId"],members:{ImageId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DescribeAccountAttributes:{input:{type:"structure",members:{AttributeNames:{locationName:"attributeName",type:"list",member:{locationName:"attributeName"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{AccountAttributes:{locationName:"accountAttributeSet",type:"list",member:{locationName:"item",type:"structure",members:{AttributeName:{locationName:"attributeName"},AttributeValues:{locationName:"attributeValueSet",type:"list",member:{locationName:"item",type:"structure",members:{AttributeValue:{locationName:"attributeValue"}}}}}}}}}},DescribeAddresses:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},PublicIps:{locationName:"PublicIp",type:"list",member:{locationName:"PublicIp"}},AllocationIds:{locationName:"AllocationId",type:"list",member:{locationName:"AllocationId"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{Addresses:{locationName:"addressesSet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},PublicIp:{locationName:"publicIp"},AllocationId:{locationName:"allocationId"},AssociationId:{locationName:"associationId"},Domain:{locationName:"domain"},NetworkInterfaceId:{locationName:"networkInterfaceId"},NetworkInterfaceOwnerId:{locationName:"networkInterfaceOwnerId"},PrivateIpAddress:{locationName:"privateIpAddress"}}}}}}},DescribeAvailabilityZones:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},ZoneNames:{locationName:"ZoneName",type:"list",member:{locationName:"ZoneName"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{AvailabilityZones:{locationName:"availabilityZoneInfo",type:"list",member:{locationName:"item",type:"structure",members:{State:{locationName:"zoneState"},Messages:{locationName:"messageSet",type:"list",member:{locationName:"item",type:"structure",members:{Message:{locationName:"message"}}}},RegionName:{locationName:"regionName"},ZoneName:{locationName:"zoneName"}}}}}}},DescribeBundleTasks:{input:{type:"structure",members:{BundleIds:{locationName:"BundleId",type:"list",member:{locationName:"BundleId"}},Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{BundleTasks:{locationName:"bundleInstanceTasksSet",type:"list",member:{shape:"S2f",locationName:"item"}}}}},DescribeClassicLinkInstances:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"Sa0",locationName:"InstanceId"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{Instances:{locationName:"instancesSet",type:"list",member:{locationName:"item",type:"structure",members:{Groups:{shape:"S60",locationName:"groupSet"},InstanceId:{locationName:"instanceId"},Tags:{shape:"Sl",locationName:"tagSet"},VpcId:{locationName:"vpcId"}}}},NextToken:{locationName:"nextToken"}}}},DescribeConversionTasks:{input:{type:"structure",members:{ConversionTaskIds:{locationName:"conversionTaskId",type:"list",member:{locationName:"item"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{ConversionTasks:{locationName:"conversionTasks",type:"list",member:{shape:"Sa8",locationName:"item"}}}}},DescribeCustomerGateways:{input:{type:"structure",members:{CustomerGatewayIds:{locationName:"CustomerGatewayId",type:"list",member:{locationName:"CustomerGatewayId"}},Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{CustomerGateways:{locationName:"customerGatewaySet",type:"list",member:{shape:"S3q",locationName:"item"}}}}},DescribeDhcpOptions:{input:{type:"structure",members:{DhcpOptionsIds:{locationName:"DhcpOptionsId",type:"list",member:{locationName:"DhcpOptionsId"}},Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{DhcpOptions:{locationName:"dhcpOptionsSet",type:"list",member:{shape:"S42",locationName:"item"}}}}},DescribeEgressOnlyInternetGateways:{input:{type:"structure",members:{DryRun:{type:"boolean"},EgressOnlyInternetGatewayIds:{locationName:"EgressOnlyInternetGatewayId",type:"list",member:{locationName:"item"}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{EgressOnlyInternetGateways:{locationName:"egressOnlyInternetGatewaySet",type:"list",member:{shape:"S49",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeElasticGpus:{input:{type:"structure",members:{ElasticGpuIds:{locationName:"ElasticGpuId",type:"list",member:{locationName:"item"}},DryRun:{type:"boolean"},Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ElasticGpuSet:{locationName:"elasticGpuSet",type:"list",member:{type:"structure",members:{ElasticGpuId:{locationName:"elasticGpuId"},AvailabilityZone:{locationName:"availabilityZone"},ElasticGpuType:{locationName:"elasticGpuType"},ElasticGpuHealth:{locationName:"elasticGpuHealth",type:"structure",members:{Status:{locationName:"status"}}},ElasticGpuState:{locationName:"elasticGpuState"},InstanceId:{locationName:"instanceId"}}}},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}}},DescribeExportTasks:{input:{type:"structure",members:{ExportTaskIds:{locationName:"exportTaskId",type:"list",member:{locationName:"ExportTaskId"}}}},output:{type:"structure",members:{ExportTasks:{locationName:"exportTaskSet",
type:"list",member:{shape:"S4z",locationName:"item"}}}}},DescribeFlowLogs:{input:{type:"structure",members:{Filter:{shape:"S9g"},FlowLogIds:{shape:"S32",locationName:"FlowLogId"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FlowLogs:{locationName:"flowLogSet",type:"list",member:{locationName:"item",type:"structure",members:{CreationTime:{locationName:"creationTime",type:"timestamp"},DeliverLogsErrorMessage:{locationName:"deliverLogsErrorMessage"},DeliverLogsPermissionArn:{locationName:"deliverLogsPermissionArn"},DeliverLogsStatus:{locationName:"deliverLogsStatus"},FlowLogId:{locationName:"flowLogId"},FlowLogStatus:{locationName:"flowLogStatus"},LogGroupName:{locationName:"logGroupName"},ResourceId:{locationName:"resourceId"},TrafficType:{locationName:"trafficType"}}}},NextToken:{locationName:"nextToken"}}}},DescribeFpgaImages:{input:{type:"structure",members:{DryRun:{type:"boolean"},FpgaImageIds:{locationName:"FpgaImageId",type:"list",member:{locationName:"item"}},Owners:{shape:"Sbb",locationName:"Owner"},Filters:{shape:"S9g",locationName:"Filter"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{FpgaImages:{locationName:"fpgaImageSet",type:"list",member:{locationName:"item",type:"structure",members:{FpgaImageId:{locationName:"fpgaImageId"},FpgaImageGlobalId:{locationName:"fpgaImageGlobalId"},Name:{locationName:"name"},Description:{locationName:"description"},ShellVersion:{locationName:"shellVersion"},PciId:{locationName:"pciId",type:"structure",members:{DeviceId:{},VendorId:{},SubsystemId:{},SubsystemVendorId:{}}},State:{locationName:"state",type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},CreateTime:{locationName:"createTime",type:"timestamp"},UpdateTime:{locationName:"updateTime",type:"timestamp"},OwnerId:{locationName:"ownerId"},OwnerAlias:{locationName:"ownerAlias"},ProductCodes:{shape:"Sbk",locationName:"productCodes"},Tags:{shape:"Sl",locationName:"tags"}}}},NextToken:{locationName:"nextToken"}}}},DescribeHostReservationOfferings:{input:{type:"structure",members:{Filter:{shape:"S9g"},MaxDuration:{type:"integer"},MaxResults:{type:"integer"},MinDuration:{type:"integer"},NextToken:{},OfferingId:{}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},OfferingSet:{locationName:"offeringSet",type:"list",member:{type:"structure",members:{CurrencyCode:{locationName:"currencyCode"},Duration:{locationName:"duration",type:"integer"},HourlyPrice:{locationName:"hourlyPrice"},InstanceFamily:{locationName:"instanceFamily"},OfferingId:{locationName:"offeringId"},PaymentOption:{locationName:"paymentOption"},UpfrontPrice:{locationName:"upfrontPrice"}}}}}}},DescribeHostReservations:{input:{type:"structure",members:{Filter:{shape:"S9g"},HostReservationIdSet:{type:"list",member:{locationName:"item"}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{HostReservationSet:{locationName:"hostReservationSet",type:"list",member:{locationName:"item",type:"structure",members:{Count:{locationName:"count",type:"integer"},CurrencyCode:{locationName:"currencyCode"},Duration:{locationName:"duration",type:"integer"},End:{locationName:"end",type:"timestamp"},HostIdSet:{shape:"Sbx",locationName:"hostIdSet"},HostReservationId:{locationName:"hostReservationId"},HourlyPrice:{locationName:"hourlyPrice"},InstanceFamily:{locationName:"instanceFamily"},OfferingId:{locationName:"offeringId"},PaymentOption:{locationName:"paymentOption"},Start:{locationName:"start",type:"timestamp"},State:{locationName:"state"},UpfrontPrice:{locationName:"upfrontPrice"}}}},NextToken:{locationName:"nextToken"}}}},DescribeHosts:{input:{type:"structure",members:{Filter:{shape:"S9g",locationName:"filter"},HostIds:{shape:"Sc0",locationName:"hostId"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{Hosts:{locationName:"hostSet",type:"list",member:{locationName:"item",type:"structure",members:{AutoPlacement:{locationName:"autoPlacement"},AvailabilityZone:{locationName:"availabilityZone"},AvailableCapacity:{locationName:"availableCapacity",type:"structure",members:{AvailableInstanceCapacity:{locationName:"availableInstanceCapacity",type:"list",member:{locationName:"item",type:"structure",members:{AvailableCapacity:{locationName:"availableCapacity",type:"integer"},InstanceType:{locationName:"instanceType"},TotalCapacity:{locationName:"totalCapacity",type:"integer"}}}},AvailableVCpus:{locationName:"availableVCpus",type:"integer"}}},ClientToken:{locationName:"clientToken"},HostId:{locationName:"hostId"},HostProperties:{locationName:"hostProperties",type:"structure",members:{Cores:{locationName:"cores",type:"integer"},InstanceType:{locationName:"instanceType"},Sockets:{locationName:"sockets",type:"integer"},TotalVCpus:{locationName:"totalVCpus",type:"integer"}}},HostReservationId:{locationName:"hostReservationId"},Instances:{locationName:"instances",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},InstanceType:{locationName:"instanceType"}}}},State:{locationName:"state"}}}},NextToken:{locationName:"nextToken"}}}},DescribeIamInstanceProfileAssociations:{input:{type:"structure",members:{AssociationIds:{locationName:"AssociationId",type:"list",member:{locationName:"AssociationId"}},Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{IamInstanceProfileAssociations:{locationName:"iamInstanceProfileAssociationSet",type:"list",member:{shape:"S15",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeIdFormat:{input:{type:"structure",members:{Resource:{}}},output:{type:"structure",members:{Statuses:{shape:"Sch",locationName:"statusSet"}}}},DescribeIdentityIdFormat:{input:{type:"structure",required:["PrincipalArn"],members:{PrincipalArn:{locationName:"principalArn"},Resource:{locationName:"resource"}}},output:{type:"structure",members:{Statuses:{shape:"Sch",locationName:"statusSet"}}}},DescribeImageAttribute:{input:{type:"structure",required:["Attribute","ImageId"],members:{Attribute:{},ImageId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{BlockDeviceMappings:{shape:"Sco",locationName:"blockDeviceMapping"},ImageId:{locationName:"imageId"},LaunchPermissions:{shape:"Scp",locationName:"launchPermission"},ProductCodes:{shape:"Sbk",locationName:"productCodes"},Description:{shape:"S46",locationName:"description"},KernelId:{shape:"S46",locationName:"kernel"},RamdiskId:{shape:"S46",locationName:"ramdisk"},SriovNetSupport:{shape:"S46",locationName:"sriovNetSupport"}}}},DescribeImages:{input:{type:"structure",members:{ExecutableUsers:{locationName:"ExecutableBy",type:"list",member:{locationName:"ExecutableBy"}},Filters:{shape:"S9g",locationName:"Filter"},ImageIds:{locationName:"ImageId",type:"list",member:{locationName:"ImageId"}},Owners:{shape:"Sbb",locationName:"Owner"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{Images:{locationName:"imagesSet",type:"list",member:{locationName:"item",type:"structure",members:{Architecture:{locationName:"architecture"},CreationDate:{locationName:"creationDate"},ImageId:{locationName:"imageId"},ImageLocation:{locationName:"imageLocation"},ImageType:{locationName:"imageType"},Public:{locationName:"isPublic",type:"boolean"},KernelId:{locationName:"kernelId"},OwnerId:{locationName:"imageOwnerId"},Platform:{locationName:"platform"},ProductCodes:{shape:"Sbk",locationName:"productCodes"},RamdiskId:{locationName:"ramdiskId"},State:{locationName:"imageState"},BlockDeviceMappings:{shape:"Sco",locationName:"blockDeviceMapping"},Description:{locationName:"description"},EnaSupport:{locationName:"enaSupport",type:"boolean"},Hypervisor:{locationName:"hypervisor"},ImageOwnerAlias:{locationName:"imageOwnerAlias"},Name:{locationName:"name"},RootDeviceName:{locationName:"rootDeviceName"},RootDeviceType:{locationName:"rootDeviceType"},SriovNetSupport:{locationName:"sriovNetSupport"},StateReason:{shape:"Sd3",locationName:"stateReason"},Tags:{shape:"Sl",locationName:"tagSet"},VirtualizationType:{locationName:"virtualizationType"}}}}}}},DescribeImportImageTasks:{input:{type:"structure",members:{DryRun:{type:"boolean"},Filters:{shape:"S9g"},ImportTaskIds:{shape:"Sd6",locationName:"ImportTaskId"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ImportImageTasks:{locationName:"importImageTaskSet",type:"list",member:{locationName:"item",type:"structure",members:{Architecture:{locationName:"architecture"},Description:{locationName:"description"},Hypervisor:{locationName:"hypervisor"},ImageId:{locationName:"imageId"},ImportTaskId:{locationName:"importTaskId"},LicenseType:{locationName:"licenseType"},Platform:{locationName:"platform"},Progress:{locationName:"progress"},SnapshotDetails:{shape:"Sda",locationName:"snapshotDetailSet"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"}}}},NextToken:{locationName:"nextToken"}}}},DescribeImportSnapshotTasks:{input:{type:"structure",members:{DryRun:{type:"boolean"},Filters:{shape:"S9g"},ImportTaskIds:{shape:"Sd6",locationName:"ImportTaskId"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ImportSnapshotTasks:{locationName:"importSnapshotTaskSet",type:"list",member:{locationName:"item",type:"structure",members:{Description:{locationName:"description"},ImportTaskId:{locationName:"importTaskId"},SnapshotTaskDetail:{shape:"Sdh",locationName:"snapshotTaskDetail"}}}},NextToken:{locationName:"nextToken"}}}},DescribeInstanceAttribute:{input:{type:"structure",required:["Attribute","InstanceId"],members:{Attribute:{locationName:"attribute"},DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"}}},output:{type:"structure",members:{Groups:{shape:"S60",locationName:"groupSet"},BlockDeviceMappings:{shape:"Sdl",locationName:"blockDeviceMapping"},DisableApiTermination:{shape:"Sdo",locationName:"disableApiTermination"},EnaSupport:{shape:"Sdo",locationName:"enaSupport"},EbsOptimized:{shape:"Sdo",locationName:"ebsOptimized"},InstanceId:{locationName:"instanceId"},InstanceInitiatedShutdownBehavior:{shape:"S46",locationName:"instanceInitiatedShutdownBehavior"},InstanceType:{shape:"S46",locationName:"instanceType"},KernelId:{shape:"S46",locationName:"kernel"},ProductCodes:{shape:"Sbk",locationName:"productCodes"},RamdiskId:{shape:"S46",locationName:"ramdisk"},RootDeviceName:{shape:"S46",locationName:"rootDeviceName"},SourceDestCheck:{shape:"Sdo",locationName:"sourceDestCheck"},SriovNetSupport:{shape:"S46",locationName:"sriovNetSupport"},UserData:{shape:"S46",locationName:"userData"}}}},DescribeInstanceStatus:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},InstanceIds:{shape:"Sa0",locationName:"InstanceId"},MaxResults:{type:"integer"},NextToken:{},DryRun:{locationName:"dryRun",type:"boolean"},IncludeAllInstances:{locationName:"includeAllInstances",type:"boolean"}}},output:{type:"structure",members:{InstanceStatuses:{locationName:"instanceStatusSet",type:"list",member:{locationName:"item",type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},Events:{locationName:"eventsSet",type:"list",member:{locationName:"item",type:"structure",members:{Code:{locationName:"code"},Description:{locationName:"description"},NotAfter:{locationName:"notAfter",type:"timestamp"},NotBefore:{locationName:"notBefore",type:"timestamp"}}}},InstanceId:{locationName:"instanceId"},InstanceState:{shape:"Sdw",locationName:"instanceState"},InstanceStatus:{shape:"Sdy",locationName:"instanceStatus"},SystemStatus:{shape:"Sdy",locationName:"systemStatus"}}}},NextToken:{locationName:"nextToken"}}}},DescribeInstances:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},InstanceIds:{shape:"Sa0",locationName:"InstanceId"},DryRun:{locationName:"dryRun",type:"boolean"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{Reservations:{locationName:"reservationSet",type:"list",member:{shape:"Se7",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeInternetGateways:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayIds:{shape:"S32",locationName:"internetGatewayId"}}},output:{type:"structure",members:{InternetGateways:{locationName:"internetGatewaySet",type:"list",member:{shape:"S55",locationName:"item"}}}}},DescribeKeyPairs:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},KeyNames:{locationName:"KeyName",type:"list",member:{locationName:"KeyName"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{KeyPairs:{locationName:"keySet",type:"list",member:{locationName:"item",type:"structure",members:{KeyFingerprint:{locationName:"keyFingerprint"},KeyName:{locationName:"keyName"}}}}}}},DescribeMovingAddresses:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"filter"},DryRun:{locationName:"dryRun",type:"boolean"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"},PublicIps:{shape:"S32",locationName:"publicIp"}}},output:{type:"structure",members:{MovingAddressStatuses:{locationName:"movingAddressStatusSet",type:"list",member:{locationName:"item",type:"structure",members:{MoveStatus:{locationName:"moveStatus"},PublicIp:{locationName:"publicIp"}}}},NextToken:{locationName:"nextToken"}}}},DescribeNatGateways:{input:{type:"structure",members:{Filter:{shape:"S9g"},MaxResults:{type:"integer"},NatGatewayIds:{shape:"S32",locationName:"NatGatewayId"},NextToken:{}}},output:{type:"structure",members:{NatGateways:{locationName:"natGatewaySet",type:"list",member:{shape:"S5a",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeNetworkAcls:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclIds:{shape:"S32",locationName:"NetworkAclId"}}},output:{type:"structure",members:{NetworkAcls:{locationName:"networkAclSet",type:"list",member:{shape:"S5h",locationName:"item"}}}}},DescribeNetworkInterfaceAttribute:{input:{type:"structure",required:["NetworkInterfaceId"],members:{Attribute:{locationName:"attribute"},DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}},output:{type:"structure",members:{Attachment:{shape:"S5z",locationName:"attachment"},Description:{shape:"S46",locationName:"description"},Groups:{shape:"S60",locationName:"groupSet"},NetworkInterfaceId:{locationName:"networkInterfaceId"},SourceDestCheck:{shape:"Sdo",locationName:"sourceDestCheck"}}}},DescribeNetworkInterfacePermissions:{input:{type:"structure",members:{NetworkInterfacePermissionIds:{locationName:"NetworkInterfacePermissionId",type:"list",member:{}},Filters:{shape:"S9g",locationName:"Filter"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NetworkInterfacePermissions:{locationName:"networkInterfacePermissions",type:"list",member:{shape:"S6b",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeNetworkInterfaces:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"filter"},DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceIds:{locationName:"NetworkInterfaceId",type:"list",member:{locationName:"item"}}}},output:{type:"structure",members:{NetworkInterfaces:{locationName:"networkInterfaceSet",type:"list",member:{shape:"S5x",locationName:"item"}}}}},DescribePlacementGroups:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},GroupNames:{locationName:"groupName",type:"list",member:{}}}},output:{type:"structure",members:{PlacementGroups:{locationName:"placementGroupSet",type:"list",member:{locationName:"item",type:"structure",members:{GroupName:{locationName:"groupName"},State:{locationName:"state"},Strategy:{locationName:"strategy"}}}}}}},DescribePrefixLists:{input:{type:"structure",members:{DryRun:{type:"boolean"},Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{},PrefixListIds:{shape:"S32",locationName:"PrefixListId"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},PrefixLists:{locationName:"prefixListSet",type:"list",member:{locationName:"item",type:"structure",members:{Cidrs:{shape:"S32",locationName:"cidrSet"},PrefixListId:{locationName:"prefixListId"},PrefixListName:{locationName:"prefixListName"}}}}}}},DescribeRegions:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},RegionNames:{locationName:"RegionName",type:"list",member:{locationName:"RegionName"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{Regions:{locationName:"regionInfo",type:"list",member:{locationName:"item",type:"structure",members:{Endpoint:{locationName:"regionEndpoint"},RegionName:{locationName:"regionName"}}}}}}},DescribeReservedInstances:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},OfferingClass:{},ReservedInstancesIds:{shape:"Sfy",locationName:"ReservedInstancesId"},DryRun:{locationName:"dryRun",type:"boolean"},OfferingType:{locationName:"offeringType"}}},output:{type:"structure",members:{ReservedInstances:{locationName:"reservedInstancesSet",type:"list",member:{locationName:"item",type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},Duration:{locationName:"duration",type:"long"},End:{locationName:"end",type:"timestamp"},FixedPrice:{locationName:"fixedPrice",type:"float"},InstanceCount:{locationName:"instanceCount",type:"integer"},InstanceType:{locationName:"instanceType"},ProductDescription:{locationName:"productDescription"},ReservedInstancesId:{locationName:"reservedInstancesId"},Start:{locationName:"start",type:"timestamp"},State:{locationName:"state"},UsagePrice:{locationName:"usagePrice",type:"float"},CurrencyCode:{locationName:"currencyCode"},InstanceTenancy:{locationName:"instanceTenancy"},OfferingClass:{locationName:"offeringClass"},OfferingType:{locationName:"offeringType"},RecurringCharges:{shape:"Sg6",locationName:"recurringCharges"},Scope:{locationName:"scope"},Tags:{shape:"Sl",locationName:"tagSet"}}}}}}},DescribeReservedInstancesListings:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},ReservedInstancesId:{locationName:"reservedInstancesId"},ReservedInstancesListingId:{locationName:"reservedInstancesListingId"}}},output:{type:"structure",members:{ReservedInstancesListings:{shape:"S2q",locationName:"reservedInstancesListingsSet"}}}},DescribeReservedInstancesModifications:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},ReservedInstancesModificationIds:{locationName:"ReservedInstancesModificationId",type:"list",member:{locationName:"ReservedInstancesModificationId"}},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},ReservedInstancesModifications:{locationName:"reservedInstancesModificationsSet",type:"list",member:{locationName:"item",type:"structure",members:{ClientToken:{locationName:"clientToken"},CreateDate:{locationName:"createDate",type:"timestamp"},EffectiveDate:{locationName:"effectiveDate",type:"timestamp"},ModificationResults:{locationName:"modificationResultSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"},TargetConfiguration:{shape:"Sgj",locationName:"targetConfiguration"}}}},ReservedInstancesIds:{locationName:"reservedInstancesSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"}}}},ReservedInstancesModificationId:{locationName:"reservedInstancesModificationId"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},UpdateDate:{locationName:"updateDate",type:"timestamp"}}}}}}},DescribeReservedInstancesOfferings:{input:{type:"structure",members:{AvailabilityZone:{},Filters:{shape:"S9g",locationName:"Filter"},IncludeMarketplace:{type:"boolean"},InstanceType:{},MaxDuration:{type:"long"},MaxInstanceCount:{type:"integer"},MinDuration:{type:"long"},OfferingClass:{},ProductDescription:{},ReservedInstancesOfferingIds:{locationName:"ReservedInstancesOfferingId",type:"list",member:{}},DryRun:{locationName:"dryRun",type:"boolean"},InstanceTenancy:{locationName:"instanceTenancy"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"},OfferingType:{locationName:"offeringType"}}},output:{type:"structure",members:{ReservedInstancesOfferings:{locationName:"reservedInstancesOfferingsSet",type:"list",member:{locationName:"item",type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},Duration:{locationName:"duration",type:"long"},FixedPrice:{locationName:"fixedPrice",type:"float"},InstanceType:{locationName:"instanceType"},ProductDescription:{locationName:"productDescription"},ReservedInstancesOfferingId:{locationName:"reservedInstancesOfferingId"},UsagePrice:{locationName:"usagePrice",type:"float"},CurrencyCode:{locationName:"currencyCode"},InstanceTenancy:{locationName:"instanceTenancy"},Marketplace:{locationName:"marketplace",type:"boolean"},OfferingClass:{locationName:"offeringClass"},OfferingType:{locationName:"offeringType"},PricingDetails:{locationName:"pricingDetailsSet",type:"list",member:{locationName:"item",type:"structure",members:{Count:{locationName:"count",type:"integer"},Price:{locationName:"price",type:"double"}}}},RecurringCharges:{shape:"Sg6",locationName:"recurringCharges"},Scope:{locationName:"scope"}}}},NextToken:{locationName:"nextToken"}}}},DescribeRouteTables:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},RouteTableIds:{shape:"S32",locationName:"RouteTableId"}}},output:{type:"structure",members:{RouteTables:{locationName:"routeTableSet",type:"list",member:{shape:"S6o",locationName:"item"}}}}},DescribeScheduledInstanceAvailability:{input:{type:"structure",required:["FirstSlotStartTimeRange","Recurrence"],members:{DryRun:{type:"boolean"},Filters:{shape:"S9g",locationName:"Filter"},FirstSlotStartTimeRange:{type:"structure",required:["EarliestTime","LatestTime"],members:{EarliestTime:{type:"timestamp"},LatestTime:{type:"timestamp"}}},MaxResults:{type:"integer"},MaxSlotDurationInHours:{type:"integer"},MinSlotDurationInHours:{type:"integer"},NextToken:{},Recurrence:{type:"structure",members:{Frequency:{},Interval:{type:"integer"},OccurrenceDays:{locationName:"OccurrenceDay",type:"list",member:{locationName:"OccurenceDay",type:"integer"}},OccurrenceRelativeToEnd:{type:"boolean"},OccurrenceUnit:{}}}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},ScheduledInstanceAvailabilitySet:{locationName:"scheduledInstanceAvailabilitySet",type:"list",member:{locationName:"item",type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},AvailableInstanceCount:{locationName:"availableInstanceCount",type:"integer"},FirstSlotStartTime:{locationName:"firstSlotStartTime",type:"timestamp"},HourlyPrice:{locationName:"hourlyPrice"},InstanceType:{locationName:"instanceType"},MaxTermDurationInDays:{locationName:"maxTermDurationInDays",type:"integer"},MinTermDurationInDays:{locationName:"minTermDurationInDays",type:"integer"},NetworkPlatform:{locationName:"networkPlatform"},Platform:{locationName:"platform"},PurchaseToken:{locationName:"purchaseToken"},Recurrence:{shape:"Sh3",locationName:"recurrence"},SlotDurationInHours:{locationName:"slotDurationInHours",type:"integer"},TotalScheduledInstanceHours:{locationName:"totalScheduledInstanceHours",type:"integer"}}}}}}},DescribeScheduledInstances:{input:{type:"structure",members:{DryRun:{type:"boolean"},Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{},ScheduledInstanceIds:{locationName:"ScheduledInstanceId",type:"list",member:{locationName:"ScheduledInstanceId"}},SlotStartTimeRange:{type:"structure",members:{EarliestTime:{type:"timestamp"},LatestTime:{type:"timestamp"}}}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},ScheduledInstanceSet:{locationName:"scheduledInstanceSet",type:"list",member:{shape:"Sha",locationName:"item"}}}}},DescribeSecurityGroupReferences:{input:{type:"structure",required:["GroupId"],members:{DryRun:{type:"boolean"},GroupId:{type:"list",member:{locationName:"item"}}}},output:{type:"structure",members:{SecurityGroupReferenceSet:{locationName:"securityGroupReferenceSet",type:"list",member:{locationName:"item",type:"structure",required:["GroupId","ReferencingVpcId"],members:{GroupId:{locationName:"groupId"},ReferencingVpcId:{locationName:"referencingVpcId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}}}}}},DescribeSecurityGroups:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},GroupIds:{shape:"S1m",locationName:"GroupId"},GroupNames:{shape:"Shh",locationName:"GroupName"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{SecurityGroups:{locationName:"securityGroupInfo",type:"list",member:{locationName:"item",type:"structure",members:{Description:{locationName:"groupDescription"},GroupName:{locationName:"groupName"},IpPermissions:{shape:"S1z",locationName:"ipPermissions"},OwnerId:{locationName:"ownerId"},GroupId:{locationName:"groupId"},IpPermissionsEgress:{shape:"S1z",locationName:"ipPermissionsEgress"},Tags:{shape:"Sl",locationName:"tagSet"},VpcId:{locationName:"vpcId"}}}}}}},DescribeSnapshotAttribute:{input:{type:"structure",required:["Attribute","SnapshotId"],members:{Attribute:{},SnapshotId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{CreateVolumePermissions:{shape:"Sho",locationName:"createVolumePermission"},ProductCodes:{shape:"Sbk",locationName:"productCodes"},SnapshotId:{locationName:"snapshotId"}}}},DescribeSnapshots:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{},OwnerIds:{shape:"Sbb",locationName:"Owner"},RestorableByUserIds:{locationName:"RestorableBy",type:"list",member:{}},SnapshotIds:{locationName:"SnapshotId",type:"list",member:{locationName:"SnapshotId"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{Snapshots:{locationName:"snapshotSet",type:"list",member:{shape:"S70",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeSpotDatafeedSubscription:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{SpotDatafeedSubscription:{shape:"S74",locationName:"spotDatafeedSubscription"}}}},DescribeSpotFleetInstances:{input:{type:"structure",required:["SpotFleetRequestId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"},SpotFleetRequestId:{locationName:"spotFleetRequestId"}}},output:{type:"structure",required:["ActiveInstances","SpotFleetRequestId"],members:{ActiveInstances:{locationName:"activeInstanceSet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},InstanceType:{locationName:"instanceType"},SpotInstanceRequestId:{locationName:"spotInstanceRequestId"},InstanceHealth:{locationName:"instanceHealth"}}}},NextToken:{locationName:"nextToken"},SpotFleetRequestId:{locationName:"spotFleetRequestId"}}}},DescribeSpotFleetRequestHistory:{input:{type:"structure",required:["SpotFleetRequestId","StartTime"],members:{DryRun:{locationName:"dryRun",type:"boolean"},EventType:{locationName:"eventType"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"},SpotFleetRequestId:{locationName:"spotFleetRequestId"},StartTime:{locationName:"startTime",type:"timestamp"}}},output:{type:"structure",required:["HistoryRecords","LastEvaluatedTime","SpotFleetRequestId","StartTime"],members:{HistoryRecords:{locationName:"historyRecordSet",type:"list",member:{locationName:"item",type:"structure",required:["EventInformation","EventType","Timestamp"],members:{EventInformation:{locationName:"eventInformation",type:"structure",members:{EventDescription:{locationName:"eventDescription"},EventSubType:{locationName:"eventSubType"},InstanceId:{locationName:"instanceId"}}},EventType:{locationName:"eventType"},Timestamp:{locationName:"timestamp",type:"timestamp"}}}},LastEvaluatedTime:{locationName:"lastEvaluatedTime",type:"timestamp"},NextToken:{locationName:"nextToken"},SpotFleetRequestId:{locationName:"spotFleetRequestId"},StartTime:{locationName:"startTime",type:"timestamp"}}}},DescribeSpotFleetRequests:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"},SpotFleetRequestIds:{shape:"S32",locationName:"spotFleetRequestId"}}},output:{type:"structure",required:["SpotFleetRequestConfigs"],members:{NextToken:{locationName:"nextToken"},SpotFleetRequestConfigs:{locationName:"spotFleetRequestConfigSet",type:"list",member:{locationName:"item",type:"structure",required:["CreateTime","SpotFleetRequestConfig","SpotFleetRequestId","SpotFleetRequestState"],members:{ActivityStatus:{locationName:"activityStatus"},CreateTime:{locationName:"createTime",type:"timestamp"},SpotFleetRequestConfig:{shape:"Sid",locationName:"spotFleetRequestConfig"},SpotFleetRequestId:{locationName:"spotFleetRequestId"},SpotFleetRequestState:{locationName:"spotFleetRequestState"}}}}}}},DescribeSpotInstanceRequests:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},SpotInstanceRequestIds:{shape:"S3c",locationName:"SpotInstanceRequestId"}}},output:{type:"structure",members:{SpotInstanceRequests:{shape:"Sir",locationName:"spotInstanceRequestSet"}}}},DescribeSpotPriceHistory:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},AvailabilityZone:{locationName:"availabilityZone"},DryRun:{locationName:"dryRun",type:"boolean"},EndTime:{locationName:"endTime",type:"timestamp"},InstanceTypes:{locationName:"InstanceType",type:"list",member:{}},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"},ProductDescriptions:{locationName:"ProductDescription",type:"list",member:{}},StartTime:{locationName:"startTime",type:"timestamp"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},SpotPriceHistory:{locationName:"spotPriceHistorySet",type:"list",member:{locationName:"item",type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},InstanceType:{locationName:"instanceType"},ProductDescription:{locationName:"productDescription"},SpotPrice:{locationName:"spotPrice"},Timestamp:{locationName:"timestamp",type:"timestamp"}}}}}}},DescribeStaleSecurityGroups:{input:{type:"structure",required:["VpcId"],members:{DryRun:{type:"boolean"},MaxResults:{type:"integer"},NextToken:{},VpcId:{}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},StaleSecurityGroupSet:{locationName:"staleSecurityGroupSet",type:"list",member:{locationName:"item",type:"structure",required:["GroupId"],members:{Description:{locationName:"description"},GroupId:{locationName:"groupId"},GroupName:{locationName:"groupName"},StaleIpPermissions:{shape:"Sj8",locationName:"staleIpPermissions"},StaleIpPermissionsEgress:{shape:"Sj8",locationName:"staleIpPermissionsEgress"},VpcId:{locationName:"vpcId"}}}}}}},DescribeSubnets:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},SubnetIds:{locationName:"SubnetId",type:"list",member:{
locationName:"SubnetId"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{Subnets:{locationName:"subnetSet",type:"list",member:{shape:"S79",locationName:"item"}}}}},DescribeTags:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},Tags:{locationName:"tagSet",type:"list",member:{locationName:"item",type:"structure",members:{Key:{locationName:"key"},ResourceId:{locationName:"resourceId"},ResourceType:{locationName:"resourceType"},Value:{locationName:"value"}}}}}}},DescribeVolumeAttribute:{input:{type:"structure",required:["VolumeId"],members:{Attribute:{},VolumeId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{AutoEnableIO:{shape:"Sdo",locationName:"autoEnableIO"},ProductCodes:{shape:"Sbk",locationName:"productCodes"},VolumeId:{locationName:"volumeId"}}}},DescribeVolumeStatus:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{},VolumeIds:{shape:"Sjp",locationName:"VolumeId"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},VolumeStatuses:{locationName:"volumeStatusSet",type:"list",member:{locationName:"item",type:"structure",members:{Actions:{locationName:"actionsSet",type:"list",member:{locationName:"item",type:"structure",members:{Code:{locationName:"code"},Description:{locationName:"description"},EventId:{locationName:"eventId"},EventType:{locationName:"eventType"}}}},AvailabilityZone:{locationName:"availabilityZone"},Events:{locationName:"eventsSet",type:"list",member:{locationName:"item",type:"structure",members:{Description:{locationName:"description"},EventId:{locationName:"eventId"},EventType:{locationName:"eventType"},NotAfter:{locationName:"notAfter",type:"timestamp"},NotBefore:{locationName:"notBefore",type:"timestamp"}}}},VolumeId:{locationName:"volumeId"},VolumeStatus:{locationName:"volumeStatus",type:"structure",members:{Details:{locationName:"details",type:"list",member:{locationName:"item",type:"structure",members:{Name:{locationName:"name"},Status:{locationName:"status"}}}},Status:{locationName:"status"}}}}}}}}},DescribeVolumes:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},VolumeIds:{shape:"Sjp",locationName:"VolumeId"},DryRun:{locationName:"dryRun",type:"boolean"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{Volumes:{locationName:"volumeSet",type:"list",member:{shape:"S7i",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeVolumesModifications:{input:{type:"structure",members:{DryRun:{type:"boolean"},VolumeIds:{shape:"Sjp",locationName:"VolumeId"},Filters:{shape:"S9g",locationName:"Filter"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{VolumesModifications:{locationName:"volumeModificationSet",type:"list",member:{shape:"Sk8",locationName:"item"}},NextToken:{locationName:"nextToken"}}}},DescribeVpcAttribute:{input:{type:"structure",required:["Attribute","VpcId"],members:{Attribute:{},VpcId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{VpcId:{locationName:"vpcId"},EnableDnsHostnames:{shape:"Sdo",locationName:"enableDnsHostnames"},EnableDnsSupport:{shape:"Sdo",locationName:"enableDnsSupport"}}}},DescribeVpcClassicLink:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},VpcIds:{shape:"Ske",locationName:"VpcId"}}},output:{type:"structure",members:{Vpcs:{locationName:"vpcSet",type:"list",member:{locationName:"item",type:"structure",members:{ClassicLinkEnabled:{locationName:"classicLinkEnabled",type:"boolean"},Tags:{shape:"Sl",locationName:"tagSet"},VpcId:{locationName:"vpcId"}}}}}}},DescribeVpcClassicLinkDnsSupport:{input:{type:"structure",members:{MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"},VpcIds:{shape:"Ske"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},Vpcs:{locationName:"vpcs",type:"list",member:{locationName:"item",type:"structure",members:{ClassicLinkDnsSupported:{locationName:"classicLinkDnsSupported",type:"boolean"},VpcId:{locationName:"vpcId"}}}}}}},DescribeVpcEndpointServices:{input:{type:"structure",members:{DryRun:{type:"boolean"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},ServiceNames:{shape:"S32",locationName:"serviceNameSet"}}}},DescribeVpcEndpoints:{input:{type:"structure",members:{DryRun:{type:"boolean"},Filters:{shape:"S9g",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{},VpcEndpointIds:{shape:"S32",locationName:"VpcEndpointId"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},VpcEndpoints:{locationName:"vpcEndpointSet",type:"list",member:{shape:"S7p",locationName:"item"}}}}},DescribeVpcPeeringConnections:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionIds:{shape:"S32",locationName:"VpcPeeringConnectionId"}}},output:{type:"structure",members:{VpcPeeringConnections:{locationName:"vpcPeeringConnectionSet",type:"list",member:{shape:"Sb",locationName:"item"}}}}},DescribeVpcs:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},VpcIds:{locationName:"VpcId",type:"list",member:{locationName:"VpcId"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{Vpcs:{locationName:"vpcSet",type:"list",member:{shape:"S3t",locationName:"item"}}}}},DescribeVpnConnections:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},VpnConnectionIds:{locationName:"VpnConnectionId",type:"list",member:{locationName:"VpnConnectionId"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{VpnConnections:{locationName:"vpnConnectionSet",type:"list",member:{shape:"S7w",locationName:"item"}}}}},DescribeVpnGateways:{input:{type:"structure",members:{Filters:{shape:"S9g",locationName:"Filter"},VpnGatewayIds:{locationName:"VpnGatewayId",type:"list",member:{locationName:"VpnGatewayId"}},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{VpnGateways:{locationName:"vpnGatewaySet",type:"list",member:{shape:"S88",locationName:"item"}}}}},DetachClassicLinkVpc:{input:{type:"structure",required:["InstanceId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},DetachInternetGateway:{input:{type:"structure",required:["InternetGatewayId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayId:{locationName:"internetGatewayId"},VpcId:{locationName:"vpcId"}}}},DetachNetworkInterface:{input:{type:"structure",required:["AttachmentId"],members:{AttachmentId:{locationName:"attachmentId"},DryRun:{locationName:"dryRun",type:"boolean"},Force:{locationName:"force",type:"boolean"}}}},DetachVolume:{input:{type:"structure",required:["VolumeId"],members:{Device:{},Force:{type:"boolean"},InstanceId:{},VolumeId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{shape:"S1s"}},DetachVpnGateway:{input:{type:"structure",required:["VpcId","VpnGatewayId"],members:{VpcId:{},VpnGatewayId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DisableVgwRoutePropagation:{input:{type:"structure",required:["GatewayId","RouteTableId"],members:{GatewayId:{},RouteTableId:{}}}},DisableVpcClassicLink:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},DisableVpcClassicLinkDnsSupport:{input:{type:"structure",members:{VpcId:{}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},DisassociateAddress:{input:{type:"structure",members:{AssociationId:{},PublicIp:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},DisassociateIamInstanceProfile:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{}}},output:{type:"structure",members:{IamInstanceProfileAssociation:{shape:"S15",locationName:"iamInstanceProfileAssociation"}}}},DisassociateRouteTable:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{locationName:"associationId"},DryRun:{locationName:"dryRun",type:"boolean"}}}},DisassociateSubnetCidrBlock:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{locationName:"associationId"}}},output:{type:"structure",members:{Ipv6CidrBlockAssociation:{shape:"S1c",locationName:"ipv6CidrBlockAssociation"},SubnetId:{locationName:"subnetId"}}}},DisassociateVpcCidrBlock:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{locationName:"associationId"}}},output:{type:"structure",members:{Ipv6CidrBlockAssociation:{shape:"S1h",locationName:"ipv6CidrBlockAssociation"},CidrBlockAssociation:{shape:"S1k",locationName:"cidrBlockAssociation"},VpcId:{locationName:"vpcId"}}}},EnableVgwRoutePropagation:{input:{type:"structure",required:["GatewayId","RouteTableId"],members:{GatewayId:{},RouteTableId:{}}}},EnableVolumeIO:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{locationName:"volumeId"}}}},EnableVpcClassicLink:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},EnableVpcClassicLinkDnsSupport:{input:{type:"structure",members:{VpcId:{}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},GetConsoleOutput:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{InstanceId:{locationName:"instanceId"},Output:{locationName:"output"},Timestamp:{locationName:"timestamp",type:"timestamp"}}}},GetConsoleScreenshot:{input:{type:"structure",required:["InstanceId"],members:{DryRun:{type:"boolean"},InstanceId:{},WakeUp:{type:"boolean"}}},output:{type:"structure",members:{ImageData:{locationName:"imageData"},InstanceId:{locationName:"instanceId"}}}},GetHostReservationPurchasePreview:{input:{type:"structure",required:["HostIdSet","OfferingId"],members:{HostIdSet:{shape:"Sm0"},OfferingId:{}}},output:{type:"structure",members:{CurrencyCode:{locationName:"currencyCode"},Purchase:{shape:"Sm2",locationName:"purchase"},TotalHourlyPrice:{locationName:"totalHourlyPrice"},TotalUpfrontPrice:{locationName:"totalUpfrontPrice"}}}},GetPasswordData:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{InstanceId:{locationName:"instanceId"},PasswordData:{locationName:"passwordData"},Timestamp:{locationName:"timestamp",type:"timestamp"}}}},GetReservedInstancesExchangeQuote:{input:{type:"structure",required:["ReservedInstanceIds"],members:{DryRun:{type:"boolean"},ReservedInstanceIds:{shape:"S3",locationName:"ReservedInstanceId"},TargetConfigurations:{shape:"S5",locationName:"TargetConfiguration"}}},output:{type:"structure",members:{CurrencyCode:{locationName:"currencyCode"},IsValidExchange:{locationName:"isValidExchange",type:"boolean"},OutputReservedInstancesWillExpireAt:{locationName:"outputReservedInstancesWillExpireAt",type:"timestamp"},PaymentDue:{locationName:"paymentDue"},ReservedInstanceValueRollup:{shape:"Sm8",locationName:"reservedInstanceValueRollup"},ReservedInstanceValueSet:{locationName:"reservedInstanceValueSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservationValue:{shape:"Sm8",locationName:"reservationValue"},ReservedInstanceId:{locationName:"reservedInstanceId"}}}},TargetConfigurationValueRollup:{shape:"Sm8",locationName:"targetConfigurationValueRollup"},TargetConfigurationValueSet:{locationName:"targetConfigurationValueSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservationValue:{shape:"Sm8",locationName:"reservationValue"},TargetConfiguration:{locationName:"targetConfiguration",type:"structure",members:{InstanceCount:{locationName:"instanceCount",type:"integer"},OfferingId:{locationName:"offeringId"}}}}}},ValidationFailureReason:{locationName:"validationFailureReason"}}}},ImportImage:{input:{type:"structure",members:{Architecture:{},ClientData:{shape:"Smf"},ClientToken:{},Description:{},DiskContainers:{locationName:"DiskContainer",type:"list",member:{locationName:"item",type:"structure",members:{Description:{},DeviceName:{},Format:{},SnapshotId:{},Url:{},UserBucket:{shape:"Smi"}}}},DryRun:{type:"boolean"},Hypervisor:{},LicenseType:{},Platform:{},RoleName:{}}},output:{type:"structure",members:{Architecture:{locationName:"architecture"},Description:{locationName:"description"},Hypervisor:{locationName:"hypervisor"},ImageId:{locationName:"imageId"},ImportTaskId:{locationName:"importTaskId"},LicenseType:{locationName:"licenseType"},Platform:{locationName:"platform"},Progress:{locationName:"progress"},SnapshotDetails:{shape:"Sda",locationName:"snapshotDetailSet"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"}}}},ImportInstance:{input:{type:"structure",required:["Platform"],members:{Description:{locationName:"description"},DiskImages:{locationName:"diskImage",type:"list",member:{type:"structure",members:{Description:{},Image:{shape:"Smn"},Volume:{shape:"Smo"}}}},DryRun:{locationName:"dryRun",type:"boolean"},LaunchSpecification:{locationName:"launchSpecification",type:"structure",members:{AdditionalInfo:{locationName:"additionalInfo"},Architecture:{locationName:"architecture"},GroupIds:{shape:"S5r",locationName:"GroupId"},GroupNames:{shape:"Smq",locationName:"GroupName"},InstanceInitiatedShutdownBehavior:{locationName:"instanceInitiatedShutdownBehavior"},InstanceType:{locationName:"instanceType"},Monitoring:{locationName:"monitoring",type:"boolean"},Placement:{shape:"Sed",locationName:"placement"},PrivateIpAddress:{locationName:"privateIpAddress"},SubnetId:{locationName:"subnetId"},UserData:{locationName:"userData",type:"structure",members:{Data:{locationName:"data"}}}}},Platform:{locationName:"platform"}}},output:{type:"structure",members:{ConversionTask:{shape:"Sa8",locationName:"conversionTask"}}}},ImportKeyPair:{input:{type:"structure",required:["KeyName","PublicKeyMaterial"],members:{DryRun:{locationName:"dryRun",type:"boolean"},KeyName:{locationName:"keyName"},PublicKeyMaterial:{locationName:"publicKeyMaterial",type:"blob"}}},output:{type:"structure",members:{KeyFingerprint:{locationName:"keyFingerprint"},KeyName:{locationName:"keyName"}}}},ImportSnapshot:{input:{type:"structure",members:{ClientData:{shape:"Smf"},ClientToken:{},Description:{},DiskContainer:{type:"structure",members:{Description:{},Format:{},Url:{},UserBucket:{shape:"Smi"}}},DryRun:{type:"boolean"},RoleName:{}}},output:{type:"structure",members:{Description:{locationName:"description"},ImportTaskId:{locationName:"importTaskId"},SnapshotTaskDetail:{shape:"Sdh",locationName:"snapshotTaskDetail"}}}},ImportVolume:{input:{type:"structure",required:["AvailabilityZone","Image","Volume"],members:{AvailabilityZone:{locationName:"availabilityZone"},Description:{locationName:"description"},DryRun:{locationName:"dryRun",type:"boolean"},Image:{shape:"Smn",locationName:"image"},Volume:{shape:"Smo",locationName:"volume"}}},output:{type:"structure",members:{ConversionTask:{shape:"Sa8",locationName:"conversionTask"}}}},ModifyHosts:{input:{type:"structure",required:["AutoPlacement","HostIds"],members:{AutoPlacement:{locationName:"autoPlacement"},HostIds:{shape:"Sc0",locationName:"hostId"}}},output:{type:"structure",members:{Successful:{shape:"St",locationName:"successful"},Unsuccessful:{shape:"Sn3",locationName:"unsuccessful"}}}},ModifyIdFormat:{input:{type:"structure",required:["Resource","UseLongIds"],members:{Resource:{},UseLongIds:{type:"boolean"}}}},ModifyIdentityIdFormat:{input:{type:"structure",required:["PrincipalArn","Resource","UseLongIds"],members:{PrincipalArn:{locationName:"principalArn"},Resource:{locationName:"resource"},UseLongIds:{locationName:"useLongIds",type:"boolean"}}}},ModifyImageAttribute:{input:{type:"structure",required:["ImageId"],members:{Attribute:{},Description:{shape:"S46"},ImageId:{},LaunchPermission:{type:"structure",members:{Add:{shape:"Scp"},Remove:{shape:"Scp"}}},OperationType:{},ProductCodes:{locationName:"ProductCode",type:"list",member:{locationName:"ProductCode"}},UserGroups:{locationName:"UserGroup",type:"list",member:{locationName:"UserGroup"}},UserIds:{shape:"Snb",locationName:"UserId"},Value:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},ModifyInstanceAttribute:{input:{type:"structure",required:["InstanceId"],members:{SourceDestCheck:{shape:"Sdo"},Attribute:{locationName:"attribute"},BlockDeviceMappings:{locationName:"blockDeviceMapping",type:"list",member:{locationName:"item",type:"structure",members:{DeviceName:{locationName:"deviceName"},Ebs:{locationName:"ebs",type:"structure",members:{DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},VolumeId:{locationName:"volumeId"}}},NoDevice:{locationName:"noDevice"},VirtualName:{locationName:"virtualName"}}}},DisableApiTermination:{shape:"Sdo",locationName:"disableApiTermination"},DryRun:{locationName:"dryRun",type:"boolean"},EbsOptimized:{shape:"Sdo",locationName:"ebsOptimized"},EnaSupport:{shape:"Sdo",locationName:"enaSupport"},Groups:{shape:"S1m",locationName:"GroupId"},InstanceId:{locationName:"instanceId"},InstanceInitiatedShutdownBehavior:{shape:"S46",locationName:"instanceInitiatedShutdownBehavior"},InstanceType:{shape:"S46",locationName:"instanceType"},Kernel:{shape:"S46",locationName:"kernel"},Ramdisk:{shape:"S46",locationName:"ramdisk"},SriovNetSupport:{shape:"S46",locationName:"sriovNetSupport"},UserData:{locationName:"userData",type:"structure",members:{Value:{locationName:"value",type:"blob"}}},Value:{locationName:"value"}}}},ModifyInstancePlacement:{input:{type:"structure",required:["InstanceId"],members:{Affinity:{locationName:"affinity"},HostId:{locationName:"hostId"},InstanceId:{locationName:"instanceId"},Tenancy:{locationName:"tenancy"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},ModifyNetworkInterfaceAttribute:{input:{type:"structure",required:["NetworkInterfaceId"],members:{Attachment:{locationName:"attachment",type:"structure",members:{AttachmentId:{locationName:"attachmentId"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}},Description:{shape:"S46",locationName:"description"},DryRun:{locationName:"dryRun",type:"boolean"},Groups:{shape:"S5r",locationName:"SecurityGroupId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},SourceDestCheck:{shape:"Sdo",locationName:"sourceDestCheck"}}}},ModifyReservedInstances:{input:{type:"structure",required:["ReservedInstancesIds","TargetConfigurations"],members:{ReservedInstancesIds:{shape:"Sfy",locationName:"ReservedInstancesId"},ClientToken:{locationName:"clientToken"},TargetConfigurations:{locationName:"ReservedInstancesConfigurationSetItemType",type:"list",member:{shape:"Sgj",locationName:"item"}}}},output:{type:"structure",members:{ReservedInstancesModificationId:{locationName:"reservedInstancesModificationId"}}}},ModifySnapshotAttribute:{input:{type:"structure",required:["SnapshotId"],members:{Attribute:{},CreateVolumePermission:{type:"structure",members:{Add:{shape:"Sho"},Remove:{shape:"Sho"}}},GroupNames:{shape:"Shh",locationName:"UserGroup"},OperationType:{},SnapshotId:{},UserIds:{shape:"Snb",locationName:"UserId"},DryRun:{locationName:"dryRun",type:"boolean"}}}},ModifySpotFleetRequest:{input:{type:"structure",required:["SpotFleetRequestId"],members:{ExcessCapacityTerminationPolicy:{locationName:"excessCapacityTerminationPolicy"},SpotFleetRequestId:{locationName:"spotFleetRequestId"},TargetCapacity:{locationName:"targetCapacity",type:"integer"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},ModifySubnetAttribute:{input:{type:"structure",required:["SubnetId"],members:{AssignIpv6AddressOnCreation:{shape:"Sdo"},MapPublicIpOnLaunch:{shape:"Sdo"},SubnetId:{locationName:"subnetId"}}}},ModifyVolume:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{type:"boolean"},VolumeId:{},Size:{type:"integer"},VolumeType:{},Iops:{type:"integer"}}},output:{type:"structure",members:{VolumeModification:{shape:"Sk8",locationName:"volumeModification"}}}},ModifyVolumeAttribute:{input:{type:"structure",required:["VolumeId"],members:{AutoEnableIO:{shape:"Sdo"},VolumeId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},ModifyVpcAttribute:{input:{type:"structure",required:["VpcId"],members:{EnableDnsHostnames:{shape:"Sdo"},EnableDnsSupport:{shape:"Sdo"},VpcId:{locationName:"vpcId"}}}},ModifyVpcEndpoint:{input:{type:"structure",required:["VpcEndpointId"],members:{AddRouteTableIds:{shape:"S32",locationName:"AddRouteTableId"},DryRun:{type:"boolean"},PolicyDocument:{},RemoveRouteTableIds:{shape:"S32",locationName:"RemoveRouteTableId"},ResetPolicy:{type:"boolean"},VpcEndpointId:{}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},ModifyVpcPeeringConnectionOptions:{input:{type:"structure",required:["VpcPeeringConnectionId"],members:{AccepterPeeringConnectionOptions:{shape:"So2"},DryRun:{type:"boolean"},RequesterPeeringConnectionOptions:{shape:"So2"},VpcPeeringConnectionId:{}}},output:{type:"structure",members:{AccepterPeeringConnectionOptions:{shape:"So4",locationName:"accepterPeeringConnectionOptions"},RequesterPeeringConnectionOptions:{shape:"So4",locationName:"requesterPeeringConnectionOptions"}}}},MonitorInstances:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Sa0",locationName:"InstanceId"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{InstanceMonitorings:{shape:"So7",locationName:"instancesSet"}}}},MoveAddressToVpc:{input:{type:"structure",required:["PublicIp"],members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIp:{locationName:"publicIp"}}},output:{type:"structure",members:{AllocationId:{locationName:"allocationId"},Status:{locationName:"status"}}}},PurchaseHostReservation:{input:{type:"structure",required:["HostIdSet","OfferingId"],members:{ClientToken:{},CurrencyCode:{},HostIdSet:{shape:"Sm0"},LimitPrice:{},OfferingId:{}}},output:{type:"structure",members:{ClientToken:{locationName:"clientToken"},CurrencyCode:{locationName:"currencyCode"},Purchase:{shape:"Sm2",locationName:"purchase"},TotalHourlyPrice:{locationName:"totalHourlyPrice"},TotalUpfrontPrice:{locationName:"totalUpfrontPrice"}}}},PurchaseReservedInstancesOffering:{input:{type:"structure",required:["InstanceCount","ReservedInstancesOfferingId"],members:{InstanceCount:{type:"integer"},ReservedInstancesOfferingId:{},DryRun:{locationName:"dryRun",type:"boolean"},LimitPrice:{locationName:"limitPrice",type:"structure",members:{Amount:{locationName:"amount",type:"double"},CurrencyCode:{locationName:"currencyCode"}}}}},output:{type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"}}}},PurchaseScheduledInstances:{input:{type:"structure",required:["PurchaseRequests"],members:{ClientToken:{idempotencyToken:!0},DryRun:{type:"boolean"},PurchaseRequests:{locationName:"PurchaseRequest",type:"list",member:{locationName:"PurchaseRequest",type:"structure",required:["InstanceCount","PurchaseToken"],members:{InstanceCount:{type:"integer"},PurchaseToken:{}}}}}},output:{type:"structure",members:{ScheduledInstanceSet:{locationName:"scheduledInstanceSet",type:"list",member:{shape:"Sha",locationName:"item"}}}}},RebootInstances:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Sa0",locationName:"InstanceId"},DryRun:{locationName:"dryRun",type:"boolean"}}}},RegisterImage:{input:{type:"structure",required:["Name"],members:{ImageLocation:{},Architecture:{locationName:"architecture"},BlockDeviceMappings:{shape:"S4o",locationName:"BlockDeviceMapping"},Description:{locationName:"description"},DryRun:{locationName:"dryRun",type:"boolean"},EnaSupport:{locationName:"enaSupport",type:"boolean"},KernelId:{locationName:"kernelId"},Name:{locationName:"name"},BillingProducts:{locationName:"BillingProduct",type:"list",member:{locationName:"item"}},RamdiskId:{locationName:"ramdiskId"},RootDeviceName:{locationName:"rootDeviceName"},SriovNetSupport:{locationName:"sriovNetSupport"},VirtualizationType:{locationName:"virtualizationType"}}},output:{type:"structure",members:{ImageId:{locationName:"imageId"}}}},RejectVpcPeeringConnection:{input:{type:"structure",required:["VpcPeeringConnectionId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}}},ReleaseAddress:{input:{type:"structure",members:{AllocationId:{},PublicIp:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},ReleaseHosts:{input:{type:"structure",required:["HostIds"],members:{HostIds:{shape:"Sc0",locationName:"hostId"}}},output:{type:"structure",members:{Successful:{shape:"St",locationName:"successful"},Unsuccessful:{shape:"Sn3",locationName:"unsuccessful"}}}},ReplaceIamInstanceProfileAssociation:{input:{type:"structure",required:["IamInstanceProfile","AssociationId"],members:{IamInstanceProfile:{shape:"S13"},AssociationId:{}}},output:{type:"structure",members:{IamInstanceProfileAssociation:{shape:"S15",locationName:"iamInstanceProfileAssociation"}}}},ReplaceNetworkAclAssociation:{input:{type:"structure",required:["AssociationId","NetworkAclId"],members:{AssociationId:{locationName:"associationId"},DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclId:{locationName:"networkAclId"}}},output:{type:"structure",members:{NewAssociationId:{locationName:"newAssociationId"}}}},ReplaceNetworkAclEntry:{input:{type:"structure",required:["Egress","NetworkAclId","Protocol","RuleAction","RuleNumber"],members:{CidrBlock:{locationName:"cidrBlock"},DryRun:{locationName:"dryRun",type:"boolean"},Egress:{locationName:"egress",type:"boolean"},IcmpTypeCode:{shape:"S5m",locationName:"Icmp"},Ipv6CidrBlock:{locationName:"ipv6CidrBlock"},NetworkAclId:{locationName:"networkAclId"},PortRange:{shape:"S5n",locationName:"portRange"},Protocol:{locationName:"protocol"},RuleAction:{locationName:"ruleAction"},RuleNumber:{locationName:"ruleNumber",type:"integer"}}}},ReplaceRoute:{input:{type:"structure",required:["RouteTableId"],members:{DestinationCidrBlock:{locationName:"destinationCidrBlock"},DestinationIpv6CidrBlock:{locationName:"destinationIpv6CidrBlock"},DryRun:{locationName:"dryRun",type:"boolean"},EgressOnlyInternetGatewayId:{locationName:"egressOnlyInternetGatewayId"},GatewayId:{locationName:"gatewayId"},InstanceId:{locationName:"instanceId"},NatGatewayId:{locationName:"natGatewayId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},RouteTableId:{locationName:"routeTableId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}}},ReplaceRouteTableAssociation:{input:{type:"structure",required:["AssociationId","RouteTableId"],members:{AssociationId:{locationName:"associationId"},DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"}}},output:{type:"structure",members:{NewAssociationId:{locationName:"newAssociationId"}}}},ReportInstanceStatus:{input:{type:"structure",required:["Instances","ReasonCodes","Status"],members:{Description:{locationName:"description"},DryRun:{locationName:"dryRun",type:"boolean"},EndTime:{locationName:"endTime",type:"timestamp"},Instances:{shape:"Sa0",locationName:"instanceId"},ReasonCodes:{locationName:"reasonCode",type:"list",member:{locationName:"item"}},StartTime:{locationName:"startTime",type:"timestamp"},Status:{locationName:"status"}}}},RequestSpotFleet:{input:{type:"structure",required:["SpotFleetRequestConfig"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotFleetRequestConfig:{shape:"Sid",locationName:"spotFleetRequestConfig"}}},output:{type:"structure",required:["SpotFleetRequestId"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"}}}},RequestSpotInstances:{input:{type:"structure",required:["SpotPrice"],members:{AvailabilityZoneGroup:{locationName:"availabilityZoneGroup"},BlockDurationMinutes:{locationName:"blockDurationMinutes",type:"integer"},ClientToken:{locationName:"clientToken"},DryRun:{locationName:"dryRun",type:"boolean"},InstanceCount:{locationName:"instanceCount",type:"integer"},LaunchGroup:{locationName:"launchGroup"},LaunchSpecification:{type:"structure",members:{SecurityGroupIds:{shape:"S32",locationName:"SecurityGroupId"},SecurityGroups:{shape:"S32",locationName:"SecurityGroup"},AddressingType:{locationName:"addressingType"},BlockDeviceMappings:{shape:"Sco",locationName:"blockDeviceMapping"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},IamInstanceProfile:{shape:"S13",locationName:"iamInstanceProfile"},ImageId:{locationName:"imageId"},InstanceType:{locationName:"instanceType"},KernelId:{locationName:"kernelId"},KeyName:{locationName:"keyName"},Monitoring:{shape:"Siu",locationName:"monitoring"},NetworkInterfaces:{shape:"Sij",locationName:"NetworkInterface"},Placement:{shape:"Sil",locationName:"placement"},RamdiskId:{locationName:"ramdiskId"},SubnetId:{locationName:"subnetId"},UserData:{locationName:"userData"}}},SpotPrice:{locationName:"spotPrice"},Type:{locationName:"type"},ValidFrom:{locationName:"validFrom",type:"timestamp"},ValidUntil:{locationName:"validUntil",type:"timestamp"}}},output:{type:"structure",members:{SpotInstanceRequests:{shape:"Sir",locationName:"spotInstanceRequestSet"}}}},ResetImageAttribute:{input:{type:"structure",required:["Attribute","ImageId"],members:{Attribute:{},ImageId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},ResetInstanceAttribute:{input:{type:"structure",required:["Attribute","InstanceId"],members:{Attribute:{locationName:"attribute"},DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"}}}},ResetNetworkInterfaceAttribute:{input:{type:"structure",required:["NetworkInterfaceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"},SourceDestCheck:{locationName:"sourceDestCheck"}}}},ResetSnapshotAttribute:{input:{type:"structure",required:["Attribute","SnapshotId"],members:{Attribute:{},SnapshotId:{},DryRun:{locationName:"dryRun",type:"boolean"}}}},RestoreAddressToClassic:{input:{type:"structure",required:["PublicIp"],members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIp:{locationName:"publicIp"}}},output:{type:"structure",members:{PublicIp:{locationName:"publicIp"},Status:{locationName:"status"}}}},RevokeSecurityGroupEgress:{input:{type:"structure",required:["GroupId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupId:{locationName:"groupId"},IpPermissions:{shape:"S1z",locationName:"ipPermissions"},CidrIp:{locationName:"cidrIp"},FromPort:{locationName:"fromPort",type:"integer"},IpProtocol:{locationName:"ipProtocol"},ToPort:{locationName:"toPort",type:"integer"},SourceSecurityGroupName:{locationName:"sourceSecurityGroupName"},SourceSecurityGroupOwnerId:{locationName:"sourceSecurityGroupOwnerId"}}}},RevokeSecurityGroupIngress:{input:{type:"structure",members:{CidrIp:{},FromPort:{type:"integer"},GroupId:{},GroupName:{},IpPermissions:{shape:"S1z"},IpProtocol:{},SourceSecurityGroupName:{},
SourceSecurityGroupOwnerId:{},ToPort:{type:"integer"},DryRun:{locationName:"dryRun",type:"boolean"}}}},RunInstances:{input:{type:"structure",required:["ImageId","MaxCount","MinCount"],members:{BlockDeviceMappings:{shape:"S4o",locationName:"BlockDeviceMapping"},ImageId:{},InstanceType:{},Ipv6AddressCount:{type:"integer"},Ipv6Addresses:{shape:"S5s",locationName:"Ipv6Address"},KernelId:{},KeyName:{},MaxCount:{type:"integer"},MinCount:{type:"integer"},Monitoring:{shape:"Siu"},Placement:{shape:"Sed"},RamdiskId:{},SecurityGroupIds:{shape:"S5r",locationName:"SecurityGroupId"},SecurityGroups:{shape:"Smq",locationName:"SecurityGroup"},SubnetId:{},UserData:{},AdditionalInfo:{locationName:"additionalInfo"},ClientToken:{locationName:"clientToken"},DisableApiTermination:{locationName:"disableApiTermination",type:"boolean"},DryRun:{locationName:"dryRun",type:"boolean"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},IamInstanceProfile:{shape:"S13",locationName:"iamInstanceProfile"},InstanceInitiatedShutdownBehavior:{locationName:"instanceInitiatedShutdownBehavior"},NetworkInterfaces:{shape:"Sij",locationName:"networkInterface"},PrivateIpAddress:{locationName:"privateIpAddress"},ElasticGpuSpecification:{type:"list",member:{locationName:"item",type:"structure",required:["Type"],members:{Type:{}}}},TagSpecifications:{shape:"S7f",locationName:"TagSpecification"}}},output:{shape:"Se7"}},RunScheduledInstances:{input:{type:"structure",required:["LaunchSpecification","ScheduledInstanceId"],members:{ClientToken:{idempotencyToken:!0},DryRun:{type:"boolean"},InstanceCount:{type:"integer"},LaunchSpecification:{type:"structure",required:["ImageId"],members:{BlockDeviceMappings:{locationName:"BlockDeviceMapping",type:"list",member:{locationName:"BlockDeviceMapping",type:"structure",members:{DeviceName:{},Ebs:{type:"structure",members:{DeleteOnTermination:{type:"boolean"},Encrypted:{type:"boolean"},Iops:{type:"integer"},SnapshotId:{},VolumeSize:{type:"integer"},VolumeType:{}}},NoDevice:{},VirtualName:{}}}},EbsOptimized:{type:"boolean"},IamInstanceProfile:{type:"structure",members:{Arn:{},Name:{}}},ImageId:{},InstanceType:{},KernelId:{},KeyName:{},Monitoring:{type:"structure",members:{Enabled:{type:"boolean"}}},NetworkInterfaces:{locationName:"NetworkInterface",type:"list",member:{locationName:"NetworkInterface",type:"structure",members:{AssociatePublicIpAddress:{type:"boolean"},DeleteOnTermination:{type:"boolean"},Description:{},DeviceIndex:{type:"integer"},Groups:{shape:"Spx",locationName:"Group"},Ipv6AddressCount:{type:"integer"},Ipv6Addresses:{locationName:"Ipv6Address",type:"list",member:{locationName:"Ipv6Address",type:"structure",members:{Ipv6Address:{}}}},NetworkInterfaceId:{},PrivateIpAddress:{},PrivateIpAddressConfigs:{locationName:"PrivateIpAddressConfig",type:"list",member:{locationName:"PrivateIpAddressConfigSet",type:"structure",members:{Primary:{type:"boolean"},PrivateIpAddress:{}}}},SecondaryPrivateIpAddressCount:{type:"integer"},SubnetId:{}}}},Placement:{type:"structure",members:{AvailabilityZone:{},GroupName:{}}},RamdiskId:{},SecurityGroupIds:{shape:"Spx",locationName:"SecurityGroupId"},SubnetId:{},UserData:{}}},ScheduledInstanceId:{}}},output:{type:"structure",members:{InstanceIdSet:{locationName:"instanceIdSet",type:"list",member:{locationName:"item"}}}}},StartInstances:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Sa0",locationName:"InstanceId"},AdditionalInfo:{locationName:"additionalInfo"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{StartingInstances:{shape:"Sq8",locationName:"instancesSet"}}}},StopInstances:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Sa0",locationName:"InstanceId"},DryRun:{locationName:"dryRun",type:"boolean"},Force:{locationName:"force",type:"boolean"}}},output:{type:"structure",members:{StoppingInstances:{shape:"Sq8",locationName:"instancesSet"}}}},TerminateInstances:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Sa0",locationName:"InstanceId"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{TerminatingInstances:{shape:"Sq8",locationName:"instancesSet"}}}},UnassignIpv6Addresses:{input:{type:"structure",required:["Ipv6Addresses","NetworkInterfaceId"],members:{Ipv6Addresses:{shape:"Sv",locationName:"ipv6Addresses"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}},output:{type:"structure",members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},UnassignedIpv6Addresses:{shape:"Sv",locationName:"unassignedIpv6Addresses"}}}},UnassignPrivateIpAddresses:{input:{type:"structure",required:["NetworkInterfaceId","PrivateIpAddresses"],members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIpAddresses:{shape:"Sy",locationName:"privateIpAddress"}}}},UnmonitorInstances:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Sa0",locationName:"InstanceId"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{InstanceMonitorings:{shape:"So7",locationName:"instancesSet"}}}}},shapes:{S3:{type:"list",member:{locationName:"ReservedInstanceId"}},S5:{type:"list",member:{locationName:"TargetConfigurationRequest",type:"structure",required:["OfferingId"],members:{InstanceCount:{type:"integer"},OfferingId:{}}}},Sb:{type:"structure",members:{AccepterVpcInfo:{shape:"Sc",locationName:"accepterVpcInfo"},ExpirationTime:{locationName:"expirationTime",type:"timestamp"},RequesterVpcInfo:{shape:"Sc",locationName:"requesterVpcInfo"},Status:{locationName:"status",type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},Tags:{shape:"Sl",locationName:"tagSet"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},Sc:{type:"structure",members:{CidrBlock:{locationName:"cidrBlock"},Ipv6CidrBlockSet:{locationName:"ipv6CidrBlockSet",type:"list",member:{locationName:"item",type:"structure",members:{Ipv6CidrBlock:{locationName:"ipv6CidrBlock"}}}},CidrBlockSet:{locationName:"cidrBlockSet",type:"list",member:{locationName:"item",type:"structure",members:{CidrBlock:{locationName:"cidrBlock"}}}},OwnerId:{locationName:"ownerId"},PeeringOptions:{locationName:"peeringOptions",type:"structure",members:{AllowDnsResolutionFromRemoteVpc:{locationName:"allowDnsResolutionFromRemoteVpc",type:"boolean"},AllowEgressFromLocalClassicLinkToRemoteVpc:{locationName:"allowEgressFromLocalClassicLinkToRemoteVpc",type:"boolean"},AllowEgressFromLocalVpcToRemoteClassicLink:{locationName:"allowEgressFromLocalVpcToRemoteClassicLink",type:"boolean"}}},VpcId:{locationName:"vpcId"}}},Sl:{type:"list",member:{locationName:"item",type:"structure",members:{Key:{locationName:"key"},Value:{locationName:"value"}}}},St:{type:"list",member:{locationName:"item"}},Sv:{type:"list",member:{locationName:"item"}},Sy:{type:"list",member:{locationName:"PrivateIpAddress"}},S13:{type:"structure",members:{Arn:{locationName:"arn"},Name:{locationName:"name"}}},S15:{type:"structure",members:{AssociationId:{locationName:"associationId"},InstanceId:{locationName:"instanceId"},IamInstanceProfile:{shape:"S16",locationName:"iamInstanceProfile"},State:{locationName:"state"},Timestamp:{locationName:"timestamp",type:"timestamp"}}},S16:{type:"structure",members:{Arn:{locationName:"arn"},Id:{locationName:"id"}}},S1c:{type:"structure",members:{AssociationId:{locationName:"associationId"},Ipv6CidrBlock:{locationName:"ipv6CidrBlock"},Ipv6CidrBlockState:{locationName:"ipv6CidrBlockState",type:"structure",members:{State:{locationName:"state"},StatusMessage:{locationName:"statusMessage"}}}}},S1h:{type:"structure",members:{AssociationId:{locationName:"associationId"},Ipv6CidrBlock:{locationName:"ipv6CidrBlock"},Ipv6CidrBlockState:{shape:"S1i",locationName:"ipv6CidrBlockState"}}},S1i:{type:"structure",members:{State:{locationName:"state"},StatusMessage:{locationName:"statusMessage"}}},S1k:{type:"structure",members:{AssociationId:{locationName:"associationId"},CidrBlock:{locationName:"cidrBlock"},CidrBlockState:{shape:"S1i",locationName:"cidrBlockState"}}},S1m:{type:"list",member:{locationName:"groupId"}},S1s:{type:"structure",members:{AttachTime:{locationName:"attachTime",type:"timestamp"},Device:{locationName:"device"},InstanceId:{locationName:"instanceId"},State:{locationName:"status"},VolumeId:{locationName:"volumeId"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}},S1w:{type:"structure",members:{State:{locationName:"state"},VpcId:{locationName:"vpcId"}}},S1z:{type:"list",member:{locationName:"item",type:"structure",members:{FromPort:{locationName:"fromPort",type:"integer"},IpProtocol:{locationName:"ipProtocol"},IpRanges:{locationName:"ipRanges",type:"list",member:{locationName:"item",type:"structure",members:{CidrIp:{locationName:"cidrIp"}}}},Ipv6Ranges:{locationName:"ipv6Ranges",type:"list",member:{locationName:"item",type:"structure",members:{CidrIpv6:{locationName:"cidrIpv6"}}}},PrefixListIds:{locationName:"prefixListIds",type:"list",member:{locationName:"item",type:"structure",members:{PrefixListId:{locationName:"prefixListId"}}}},ToPort:{locationName:"toPort",type:"integer"},UserIdGroupPairs:{locationName:"groups",type:"list",member:{shape:"S28",locationName:"item"}}}}},S28:{type:"structure",members:{GroupId:{locationName:"groupId"},GroupName:{locationName:"groupName"},PeeringStatus:{locationName:"peeringStatus"},UserId:{locationName:"userId"},VpcId:{locationName:"vpcId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},S2b:{type:"structure",members:{S3:{type:"structure",members:{AWSAccessKeyId:{},Bucket:{locationName:"bucket"},Prefix:{locationName:"prefix"},UploadPolicy:{locationName:"uploadPolicy",type:"blob"},UploadPolicySignature:{locationName:"uploadPolicySignature"}}}}},S2f:{type:"structure",members:{BundleId:{locationName:"bundleId"},BundleTaskError:{locationName:"error",type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},InstanceId:{locationName:"instanceId"},Progress:{locationName:"progress"},StartTime:{locationName:"startTime",type:"timestamp"},State:{locationName:"state"},Storage:{shape:"S2b",locationName:"storage"},UpdateTime:{locationName:"updateTime",type:"timestamp"}}},S2q:{type:"list",member:{locationName:"item",type:"structure",members:{ClientToken:{locationName:"clientToken"},CreateDate:{locationName:"createDate",type:"timestamp"},InstanceCounts:{locationName:"instanceCounts",type:"list",member:{locationName:"item",type:"structure",members:{InstanceCount:{locationName:"instanceCount",type:"integer"},State:{locationName:"state"}}}},PriceSchedules:{locationName:"priceSchedules",type:"list",member:{locationName:"item",type:"structure",members:{Active:{locationName:"active",type:"boolean"},CurrencyCode:{locationName:"currencyCode"},Price:{locationName:"price",type:"double"},Term:{locationName:"term",type:"long"}}}},ReservedInstancesId:{locationName:"reservedInstancesId"},ReservedInstancesListingId:{locationName:"reservedInstancesListingId"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},Tags:{shape:"Sl",locationName:"tagSet"},UpdateDate:{locationName:"updateDate",type:"timestamp"}}}},S32:{type:"list",member:{locationName:"item"}},S3c:{type:"list",member:{locationName:"SpotInstanceRequestId"}},S3q:{type:"structure",members:{BgpAsn:{locationName:"bgpAsn"},CustomerGatewayId:{locationName:"customerGatewayId"},IpAddress:{locationName:"ipAddress"},State:{locationName:"state"},Type:{locationName:"type"},Tags:{shape:"Sl",locationName:"tagSet"}}},S3t:{type:"structure",members:{CidrBlock:{locationName:"cidrBlock"},DhcpOptionsId:{locationName:"dhcpOptionsId"},State:{locationName:"state"},VpcId:{locationName:"vpcId"},InstanceTenancy:{locationName:"instanceTenancy"},Ipv6CidrBlockAssociationSet:{locationName:"ipv6CidrBlockAssociationSet",type:"list",member:{shape:"S1h",locationName:"item"}},CidrBlockAssociationSet:{locationName:"cidrBlockAssociationSet",type:"list",member:{shape:"S1k",locationName:"item"}},IsDefault:{locationName:"isDefault",type:"boolean"},Tags:{shape:"Sl",locationName:"tagSet"}}},S42:{type:"structure",members:{DhcpConfigurations:{locationName:"dhcpConfigurationSet",type:"list",member:{locationName:"item",type:"structure",members:{Key:{locationName:"key"},Values:{locationName:"valueSet",type:"list",member:{shape:"S46",locationName:"item"}}}}},DhcpOptionsId:{locationName:"dhcpOptionsId"},Tags:{shape:"Sl",locationName:"tagSet"}}},S46:{type:"structure",members:{Value:{locationName:"value"}}},S49:{type:"structure",members:{Attachments:{shape:"S4a",locationName:"attachmentSet"},EgressOnlyInternetGatewayId:{locationName:"egressOnlyInternetGatewayId"}}},S4a:{type:"list",member:{locationName:"item",type:"structure",members:{State:{locationName:"state"},VpcId:{locationName:"vpcId"}}}},S4h:{type:"list",member:{shape:"S4i",locationName:"item"}},S4i:{type:"structure",required:["Error"],members:{Error:{locationName:"error",type:"structure",required:["Code","Message"],members:{Code:{locationName:"code"},Message:{locationName:"message"}}},ResourceId:{locationName:"resourceId"}}},S4l:{type:"structure",members:{Bucket:{},Key:{}}},S4o:{type:"list",member:{shape:"S4p",locationName:"BlockDeviceMapping"}},S4p:{type:"structure",members:{DeviceName:{locationName:"deviceName"},VirtualName:{locationName:"virtualName"},Ebs:{locationName:"ebs",type:"structure",members:{Encrypted:{locationName:"encrypted",type:"boolean"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},Iops:{locationName:"iops",type:"integer"},SnapshotId:{locationName:"snapshotId"},VolumeSize:{locationName:"volumeSize",type:"integer"},VolumeType:{locationName:"volumeType"}}},NoDevice:{locationName:"noDevice"}}},S4z:{type:"structure",members:{Description:{locationName:"description"},ExportTaskId:{locationName:"exportTaskId"},ExportToS3Task:{locationName:"exportToS3",type:"structure",members:{ContainerFormat:{locationName:"containerFormat"},DiskImageFormat:{locationName:"diskImageFormat"},S3Bucket:{locationName:"s3Bucket"},S3Key:{locationName:"s3Key"}}},InstanceExportDetails:{locationName:"instanceExport",type:"structure",members:{InstanceId:{locationName:"instanceId"},TargetEnvironment:{locationName:"targetEnvironment"}}},State:{locationName:"state"},StatusMessage:{locationName:"statusMessage"}}},S55:{type:"structure",members:{Attachments:{shape:"S4a",locationName:"attachmentSet"},InternetGatewayId:{locationName:"internetGatewayId"},Tags:{shape:"Sl",locationName:"tagSet"}}},S5a:{type:"structure",members:{CreateTime:{locationName:"createTime",type:"timestamp"},DeleteTime:{locationName:"deleteTime",type:"timestamp"},FailureCode:{locationName:"failureCode"},FailureMessage:{locationName:"failureMessage"},NatGatewayAddresses:{locationName:"natGatewayAddressSet",type:"list",member:{locationName:"item",type:"structure",members:{AllocationId:{locationName:"allocationId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIp:{locationName:"privateIp"},PublicIp:{locationName:"publicIp"}}}},NatGatewayId:{locationName:"natGatewayId"},ProvisionedBandwidth:{locationName:"provisionedBandwidth",type:"structure",members:{ProvisionTime:{locationName:"provisionTime",type:"timestamp"},Provisioned:{locationName:"provisioned"},RequestTime:{locationName:"requestTime",type:"timestamp"},Requested:{locationName:"requested"},Status:{locationName:"status"}}},State:{locationName:"state"},SubnetId:{locationName:"subnetId"},VpcId:{locationName:"vpcId"}}},S5h:{type:"structure",members:{Associations:{locationName:"associationSet",type:"list",member:{locationName:"item",type:"structure",members:{NetworkAclAssociationId:{locationName:"networkAclAssociationId"},NetworkAclId:{locationName:"networkAclId"},SubnetId:{locationName:"subnetId"}}}},Entries:{locationName:"entrySet",type:"list",member:{locationName:"item",type:"structure",members:{CidrBlock:{locationName:"cidrBlock"},Egress:{locationName:"egress",type:"boolean"},IcmpTypeCode:{shape:"S5m",locationName:"icmpTypeCode"},Ipv6CidrBlock:{locationName:"ipv6CidrBlock"},PortRange:{shape:"S5n",locationName:"portRange"},Protocol:{locationName:"protocol"},RuleAction:{locationName:"ruleAction"},RuleNumber:{locationName:"ruleNumber",type:"integer"}}}},IsDefault:{locationName:"default",type:"boolean"},NetworkAclId:{locationName:"networkAclId"},Tags:{shape:"Sl",locationName:"tagSet"},VpcId:{locationName:"vpcId"}}},S5m:{type:"structure",members:{Code:{locationName:"code",type:"integer"},Type:{locationName:"type",type:"integer"}}},S5n:{type:"structure",members:{From:{locationName:"from",type:"integer"},To:{locationName:"to",type:"integer"}}},S5r:{type:"list",member:{locationName:"SecurityGroupId"}},S5s:{type:"list",member:{locationName:"item",type:"structure",members:{Ipv6Address:{locationName:"ipv6Address"}}}},S5u:{type:"list",member:{locationName:"item",type:"structure",required:["PrivateIpAddress"],members:{Primary:{locationName:"primary",type:"boolean"},PrivateIpAddress:{locationName:"privateIpAddress"}}}},S5x:{type:"structure",members:{Association:{shape:"S5y",locationName:"association"},Attachment:{shape:"S5z",locationName:"attachment"},AvailabilityZone:{locationName:"availabilityZone"},Description:{locationName:"description"},Groups:{shape:"S60",locationName:"groupSet"},InterfaceType:{locationName:"interfaceType"},Ipv6Addresses:{locationName:"ipv6AddressesSet",type:"list",member:{locationName:"item",type:"structure",members:{Ipv6Address:{locationName:"ipv6Address"}}}},MacAddress:{locationName:"macAddress"},NetworkInterfaceId:{locationName:"networkInterfaceId"},OwnerId:{locationName:"ownerId"},PrivateDnsName:{locationName:"privateDnsName"},PrivateIpAddress:{locationName:"privateIpAddress"},PrivateIpAddresses:{locationName:"privateIpAddressesSet",type:"list",member:{locationName:"item",type:"structure",members:{Association:{shape:"S5y",locationName:"association"},Primary:{locationName:"primary",type:"boolean"},PrivateDnsName:{locationName:"privateDnsName"},PrivateIpAddress:{locationName:"privateIpAddress"}}}},RequesterId:{locationName:"requesterId"},RequesterManaged:{locationName:"requesterManaged",type:"boolean"},SourceDestCheck:{locationName:"sourceDestCheck",type:"boolean"},Status:{locationName:"status"},SubnetId:{locationName:"subnetId"},TagSet:{shape:"Sl",locationName:"tagSet"},VpcId:{locationName:"vpcId"}}},S5y:{type:"structure",members:{AllocationId:{locationName:"allocationId"},AssociationId:{locationName:"associationId"},IpOwnerId:{locationName:"ipOwnerId"},PublicDnsName:{locationName:"publicDnsName"},PublicIp:{locationName:"publicIp"}}},S5z:{type:"structure",members:{AttachTime:{locationName:"attachTime",type:"timestamp"},AttachmentId:{locationName:"attachmentId"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},DeviceIndex:{locationName:"deviceIndex",type:"integer"},InstanceId:{locationName:"instanceId"},InstanceOwnerId:{locationName:"instanceOwnerId"},Status:{locationName:"status"}}},S60:{type:"list",member:{locationName:"item",type:"structure",members:{GroupName:{locationName:"groupName"},GroupId:{locationName:"groupId"}}}},S6b:{type:"structure",members:{NetworkInterfacePermissionId:{locationName:"networkInterfacePermissionId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},AwsAccountId:{locationName:"awsAccountId"},AwsService:{locationName:"awsService"},Permission:{locationName:"permission"},PermissionState:{locationName:"permissionState",type:"structure",members:{State:{locationName:"state"},StatusMessage:{locationName:"statusMessage"}}}}},S6o:{type:"structure",members:{Associations:{locationName:"associationSet",type:"list",member:{locationName:"item",type:"structure",members:{Main:{locationName:"main",type:"boolean"},RouteTableAssociationId:{locationName:"routeTableAssociationId"},RouteTableId:{locationName:"routeTableId"},SubnetId:{locationName:"subnetId"}}}},PropagatingVgws:{locationName:"propagatingVgwSet",type:"list",member:{locationName:"item",type:"structure",members:{GatewayId:{locationName:"gatewayId"}}}},RouteTableId:{locationName:"routeTableId"},Routes:{locationName:"routeSet",type:"list",member:{locationName:"item",type:"structure",members:{DestinationCidrBlock:{locationName:"destinationCidrBlock"},DestinationIpv6CidrBlock:{locationName:"destinationIpv6CidrBlock"},DestinationPrefixListId:{locationName:"destinationPrefixListId"},EgressOnlyInternetGatewayId:{locationName:"egressOnlyInternetGatewayId"},GatewayId:{locationName:"gatewayId"},InstanceId:{locationName:"instanceId"},InstanceOwnerId:{locationName:"instanceOwnerId"},NatGatewayId:{locationName:"natGatewayId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},Origin:{locationName:"origin"},State:{locationName:"state"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}}},Tags:{shape:"Sl",locationName:"tagSet"},VpcId:{locationName:"vpcId"}}},S70:{type:"structure",members:{DataEncryptionKeyId:{locationName:"dataEncryptionKeyId"},Description:{locationName:"description"},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"},OwnerId:{locationName:"ownerId"},Progress:{locationName:"progress"},SnapshotId:{locationName:"snapshotId"},StartTime:{locationName:"startTime",type:"timestamp"},State:{locationName:"status"},StateMessage:{locationName:"statusMessage"},VolumeId:{locationName:"volumeId"},VolumeSize:{locationName:"volumeSize",type:"integer"},OwnerAlias:{locationName:"ownerAlias"},Tags:{shape:"Sl",locationName:"tagSet"}}},S74:{type:"structure",members:{Bucket:{locationName:"bucket"},Fault:{shape:"S75",locationName:"fault"},OwnerId:{locationName:"ownerId"},Prefix:{locationName:"prefix"},State:{locationName:"state"}}},S75:{type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},S79:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},AvailableIpAddressCount:{locationName:"availableIpAddressCount",type:"integer"},CidrBlock:{locationName:"cidrBlock"},DefaultForAz:{locationName:"defaultForAz",type:"boolean"},MapPublicIpOnLaunch:{locationName:"mapPublicIpOnLaunch",type:"boolean"},State:{locationName:"state"},SubnetId:{locationName:"subnetId"},VpcId:{locationName:"vpcId"},AssignIpv6AddressOnCreation:{locationName:"assignIpv6AddressOnCreation",type:"boolean"},Ipv6CidrBlockAssociationSet:{locationName:"ipv6CidrBlockAssociationSet",type:"list",member:{shape:"S1c",locationName:"item"}},Tags:{shape:"Sl",locationName:"tagSet"}}},S7d:{type:"list",member:{}},S7f:{type:"list",member:{locationName:"item",type:"structure",members:{ResourceType:{locationName:"resourceType"},Tags:{shape:"Sl",locationName:"Tag"}}}},S7i:{type:"structure",members:{Attachments:{locationName:"attachmentSet",type:"list",member:{shape:"S1s",locationName:"item"}},AvailabilityZone:{locationName:"availabilityZone"},CreateTime:{locationName:"createTime",type:"timestamp"},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"},Size:{locationName:"size",type:"integer"},SnapshotId:{locationName:"snapshotId"},State:{locationName:"status"},VolumeId:{locationName:"volumeId"},Iops:{locationName:"iops",type:"integer"},Tags:{shape:"Sl",locationName:"tagSet"},VolumeType:{locationName:"volumeType"}}},S7p:{type:"structure",members:{CreationTimestamp:{locationName:"creationTimestamp",type:"timestamp"},PolicyDocument:{locationName:"policyDocument"},RouteTableIds:{shape:"S32",locationName:"routeTableIdSet"},ServiceName:{locationName:"serviceName"},State:{locationName:"state"},VpcEndpointId:{locationName:"vpcEndpointId"},VpcId:{locationName:"vpcId"}}},S7w:{type:"structure",members:{CustomerGatewayConfiguration:{locationName:"customerGatewayConfiguration"},CustomerGatewayId:{locationName:"customerGatewayId"},State:{locationName:"state"},Type:{locationName:"type"},VpnConnectionId:{locationName:"vpnConnectionId"},VpnGatewayId:{locationName:"vpnGatewayId"},Options:{locationName:"options",type:"structure",members:{StaticRoutesOnly:{locationName:"staticRoutesOnly",type:"boolean"}}},Routes:{locationName:"routes",type:"list",member:{locationName:"item",type:"structure",members:{DestinationCidrBlock:{locationName:"destinationCidrBlock"},Source:{locationName:"source"},State:{locationName:"state"}}}},Tags:{shape:"Sl",locationName:"tagSet"},VgwTelemetry:{locationName:"vgwTelemetry",type:"list",member:{locationName:"item",type:"structure",members:{AcceptedRouteCount:{locationName:"acceptedRouteCount",type:"integer"},LastStatusChange:{locationName:"lastStatusChange",type:"timestamp"},OutsideIpAddress:{locationName:"outsideIpAddress"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"}}}}}},S88:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},State:{locationName:"state"},Type:{locationName:"type"},VpcAttachments:{locationName:"attachments",type:"list",member:{shape:"S1w",locationName:"item"}},VpnGatewayId:{locationName:"vpnGatewayId"},Tags:{shape:"Sl",locationName:"tagSet"}}},S9g:{type:"list",member:{locationName:"Filter",type:"structure",members:{Name:{},Values:{shape:"S32",locationName:"Value"}}}},Sa0:{type:"list",member:{locationName:"InstanceId"}},Sa8:{type:"structure",required:["ConversionTaskId","State"],members:{ConversionTaskId:{locationName:"conversionTaskId"},ExpirationTime:{locationName:"expirationTime"},ImportInstance:{locationName:"importInstance",type:"structure",required:["Volumes"],members:{Description:{locationName:"description"},InstanceId:{locationName:"instanceId"},Platform:{locationName:"platform"},Volumes:{locationName:"volumes",type:"list",member:{locationName:"item",type:"structure",required:["AvailabilityZone","BytesConverted","Image","Status","Volume"],members:{AvailabilityZone:{locationName:"availabilityZone"},BytesConverted:{locationName:"bytesConverted",type:"long"},Description:{locationName:"description"},Image:{shape:"Sad",locationName:"image"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},Volume:{shape:"Sae",locationName:"volume"}}}}}},ImportVolume:{locationName:"importVolume",type:"structure",required:["AvailabilityZone","BytesConverted","Image","Volume"],members:{AvailabilityZone:{locationName:"availabilityZone"},BytesConverted:{locationName:"bytesConverted",type:"long"},Description:{locationName:"description"},Image:{shape:"Sad",locationName:"image"},Volume:{shape:"Sae",locationName:"volume"}}},State:{locationName:"state"},StatusMessage:{locationName:"statusMessage"},Tags:{shape:"Sl",locationName:"tagSet"}}},Sad:{type:"structure",required:["Format","ImportManifestUrl","Size"],members:{Checksum:{locationName:"checksum"},Format:{locationName:"format"},ImportManifestUrl:{locationName:"importManifestUrl"},Size:{locationName:"size",type:"long"}}},Sae:{type:"structure",required:["Id"],members:{Id:{locationName:"id"},Size:{locationName:"size",type:"long"}}},Sbb:{type:"list",member:{locationName:"Owner"}},Sbk:{type:"list",member:{locationName:"item",type:"structure",members:{ProductCodeId:{locationName:"productCode"},ProductCodeType:{locationName:"type"}}}},Sbx:{type:"list",member:{locationName:"item"}},Sc0:{type:"list",member:{locationName:"item"}},Sch:{type:"list",member:{locationName:"item",type:"structure",members:{Deadline:{locationName:"deadline",type:"timestamp"},Resource:{locationName:"resource"},UseLongIds:{locationName:"useLongIds",type:"boolean"}}}},Sco:{type:"list",member:{shape:"S4p",locationName:"item"}},Scp:{type:"list",member:{locationName:"item",type:"structure",members:{Group:{locationName:"group"},UserId:{locationName:"userId"}}}},Sd3:{type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},Sd6:{type:"list",member:{locationName:"ImportTaskId"}},Sda:{type:"list",member:{locationName:"item",type:"structure",members:{Description:{locationName:"description"},DeviceName:{locationName:"deviceName"},DiskImageSize:{locationName:"diskImageSize",type:"double"},Format:{locationName:"format"},Progress:{locationName:"progress"},SnapshotId:{locationName:"snapshotId"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},Url:{locationName:"url"},UserBucket:{shape:"Sdc",locationName:"userBucket"}}}},Sdc:{type:"structure",members:{S3Bucket:{locationName:"s3Bucket"},S3Key:{locationName:"s3Key"}}},Sdh:{type:"structure",members:{Description:{locationName:"description"},DiskImageSize:{locationName:"diskImageSize",type:"double"},Format:{locationName:"format"},Progress:{locationName:"progress"},SnapshotId:{locationName:"snapshotId"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},Url:{locationName:"url"},UserBucket:{shape:"Sdc",locationName:"userBucket"}}},Sdl:{type:"list",member:{locationName:"item",type:"structure",members:{DeviceName:{locationName:"deviceName"},Ebs:{locationName:"ebs",type:"structure",members:{AttachTime:{locationName:"attachTime",type:"timestamp"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},Status:{locationName:"status"},VolumeId:{locationName:"volumeId"}}}}}},Sdo:{type:"structure",members:{Value:{locationName:"value",type:"boolean"}}},Sdw:{type:"structure",members:{Code:{locationName:"code",type:"integer"},Name:{locationName:"name"}}},Sdy:{type:"structure",members:{Details:{locationName:"details",type:"list",member:{locationName:"item",type:"structure",members:{ImpairedSince:{locationName:"impairedSince",type:"timestamp"},Name:{locationName:"name"},Status:{locationName:"status"}}}},Status:{locationName:"status"}}},Se7:{type:"structure",members:{Groups:{shape:"S60",locationName:"groupSet"},Instances:{locationName:"instancesSet",type:"list",member:{locationName:"item",type:"structure",members:{AmiLaunchIndex:{locationName:"amiLaunchIndex",type:"integer"},ImageId:{locationName:"imageId"},InstanceId:{locationName:"instanceId"},InstanceType:{locationName:"instanceType"},KernelId:{locationName:"kernelId"},KeyName:{locationName:"keyName"},LaunchTime:{locationName:"launchTime",type:"timestamp"},Monitoring:{shape:"Seb",locationName:"monitoring"},Placement:{shape:"Sed",locationName:"placement"},Platform:{locationName:"platform"},PrivateDnsName:{locationName:"privateDnsName"},PrivateIpAddress:{locationName:"privateIpAddress"},ProductCodes:{shape:"Sbk",locationName:"productCodes"},PublicDnsName:{locationName:"dnsName"},PublicIpAddress:{locationName:"ipAddress"},RamdiskId:{locationName:"ramdiskId"},State:{shape:"Sdw",locationName:"instanceState"},StateTransitionReason:{locationName:"reason"},SubnetId:{locationName:"subnetId"},VpcId:{locationName:"vpcId"},Architecture:{locationName:"architecture"},BlockDeviceMappings:{shape:"Sdl",locationName:"blockDeviceMapping"},ClientToken:{locationName:"clientToken"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},EnaSupport:{locationName:"enaSupport",type:"boolean"},Hypervisor:{locationName:"hypervisor"},IamInstanceProfile:{shape:"S16",locationName:"iamInstanceProfile"},InstanceLifecycle:{locationName:"instanceLifecycle"},ElasticGpuAssociations:{locationName:"elasticGpuAssociationSet",type:"list",member:{locationName:"item",type:"structure",members:{ElasticGpuId:{locationName:"elasticGpuId"},ElasticGpuAssociationId:{locationName:"elasticGpuAssociationId"},ElasticGpuAssociationState:{locationName:"elasticGpuAssociationState"},ElasticGpuAssociationTime:{locationName:"elasticGpuAssociationTime"}}}},NetworkInterfaces:{locationName:"networkInterfaceSet",type:"list",member:{locationName:"item",type:"structure",members:{Association:{shape:"Sej",locationName:"association"},Attachment:{locationName:"attachment",type:"structure",members:{AttachTime:{locationName:"attachTime",type:"timestamp"},AttachmentId:{locationName:"attachmentId"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},DeviceIndex:{locationName:"deviceIndex",type:"integer"},Status:{locationName:"status"}}},Description:{locationName:"description"},Groups:{shape:"S60",locationName:"groupSet"},Ipv6Addresses:{shape:"S5s",locationName:"ipv6AddressesSet"},MacAddress:{
locationName:"macAddress"},NetworkInterfaceId:{locationName:"networkInterfaceId"},OwnerId:{locationName:"ownerId"},PrivateDnsName:{locationName:"privateDnsName"},PrivateIpAddress:{locationName:"privateIpAddress"},PrivateIpAddresses:{locationName:"privateIpAddressesSet",type:"list",member:{locationName:"item",type:"structure",members:{Association:{shape:"Sej",locationName:"association"},Primary:{locationName:"primary",type:"boolean"},PrivateDnsName:{locationName:"privateDnsName"},PrivateIpAddress:{locationName:"privateIpAddress"}}}},SourceDestCheck:{locationName:"sourceDestCheck",type:"boolean"},Status:{locationName:"status"},SubnetId:{locationName:"subnetId"},VpcId:{locationName:"vpcId"}}}},RootDeviceName:{locationName:"rootDeviceName"},RootDeviceType:{locationName:"rootDeviceType"},SecurityGroups:{shape:"S60",locationName:"groupSet"},SourceDestCheck:{locationName:"sourceDestCheck",type:"boolean"},SpotInstanceRequestId:{locationName:"spotInstanceRequestId"},SriovNetSupport:{locationName:"sriovNetSupport"},StateReason:{shape:"Sd3",locationName:"stateReason"},Tags:{shape:"Sl",locationName:"tagSet"},VirtualizationType:{locationName:"virtualizationType"}}}},OwnerId:{locationName:"ownerId"},RequesterId:{locationName:"requesterId"},ReservationId:{locationName:"reservationId"}}},Seb:{type:"structure",members:{State:{locationName:"state"}}},Sed:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},Affinity:{locationName:"affinity"},GroupName:{locationName:"groupName"},HostId:{locationName:"hostId"},Tenancy:{locationName:"tenancy"},SpreadDomain:{locationName:"spreadDomain"}}},Sej:{type:"structure",members:{IpOwnerId:{locationName:"ipOwnerId"},PublicDnsName:{locationName:"publicDnsName"},PublicIp:{locationName:"publicIp"}}},Sfy:{type:"list",member:{locationName:"ReservedInstancesId"}},Sg6:{type:"list",member:{locationName:"item",type:"structure",members:{Amount:{locationName:"amount",type:"double"},Frequency:{locationName:"frequency"}}}},Sgj:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},InstanceCount:{locationName:"instanceCount",type:"integer"},InstanceType:{locationName:"instanceType"},Platform:{locationName:"platform"},Scope:{locationName:"scope"}}},Sh3:{type:"structure",members:{Frequency:{locationName:"frequency"},Interval:{locationName:"interval",type:"integer"},OccurrenceDaySet:{locationName:"occurrenceDaySet",type:"list",member:{locationName:"item",type:"integer"}},OccurrenceRelativeToEnd:{locationName:"occurrenceRelativeToEnd",type:"boolean"},OccurrenceUnit:{locationName:"occurrenceUnit"}}},Sha:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},CreateDate:{locationName:"createDate",type:"timestamp"},HourlyPrice:{locationName:"hourlyPrice"},InstanceCount:{locationName:"instanceCount",type:"integer"},InstanceType:{locationName:"instanceType"},NetworkPlatform:{locationName:"networkPlatform"},NextSlotStartTime:{locationName:"nextSlotStartTime",type:"timestamp"},Platform:{locationName:"platform"},PreviousSlotEndTime:{locationName:"previousSlotEndTime",type:"timestamp"},Recurrence:{shape:"Sh3",locationName:"recurrence"},ScheduledInstanceId:{locationName:"scheduledInstanceId"},SlotDurationInHours:{locationName:"slotDurationInHours",type:"integer"},TermEndDate:{locationName:"termEndDate",type:"timestamp"},TermStartDate:{locationName:"termStartDate",type:"timestamp"},TotalScheduledInstanceHours:{locationName:"totalScheduledInstanceHours",type:"integer"}}},Shh:{type:"list",member:{locationName:"GroupName"}},Sho:{type:"list",member:{locationName:"item",type:"structure",members:{Group:{locationName:"group"},UserId:{locationName:"userId"}}}},Sid:{type:"structure",required:["IamFleetRole","LaunchSpecifications","SpotPrice","TargetCapacity"],members:{AllocationStrategy:{locationName:"allocationStrategy"},ClientToken:{locationName:"clientToken"},ExcessCapacityTerminationPolicy:{locationName:"excessCapacityTerminationPolicy"},FulfilledCapacity:{locationName:"fulfilledCapacity",type:"double"},IamFleetRole:{locationName:"iamFleetRole"},LaunchSpecifications:{locationName:"launchSpecifications",type:"list",member:{locationName:"item",type:"structure",members:{SecurityGroups:{shape:"S60",locationName:"groupSet"},AddressingType:{locationName:"addressingType"},BlockDeviceMappings:{shape:"Sco",locationName:"blockDeviceMapping"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},IamInstanceProfile:{shape:"S13",locationName:"iamInstanceProfile"},ImageId:{locationName:"imageId"},InstanceType:{locationName:"instanceType"},KernelId:{locationName:"kernelId"},KeyName:{locationName:"keyName"},Monitoring:{locationName:"monitoring",type:"structure",members:{Enabled:{locationName:"enabled",type:"boolean"}}},NetworkInterfaces:{shape:"Sij",locationName:"networkInterfaceSet"},Placement:{shape:"Sil",locationName:"placement"},RamdiskId:{locationName:"ramdiskId"},SpotPrice:{locationName:"spotPrice"},SubnetId:{locationName:"subnetId"},UserData:{locationName:"userData"},WeightedCapacity:{locationName:"weightedCapacity",type:"double"},TagSpecifications:{locationName:"tagSpecificationSet",type:"list",member:{locationName:"item",type:"structure",members:{ResourceType:{locationName:"resourceType"},Tags:{shape:"Sl",locationName:"tag"}}}}}}},SpotPrice:{locationName:"spotPrice"},TargetCapacity:{locationName:"targetCapacity",type:"integer"},TerminateInstancesWithExpiration:{locationName:"terminateInstancesWithExpiration",type:"boolean"},Type:{locationName:"type"},ValidFrom:{locationName:"validFrom",type:"timestamp"},ValidUntil:{locationName:"validUntil",type:"timestamp"},ReplaceUnhealthyInstances:{locationName:"replaceUnhealthyInstances",type:"boolean"}}},Sij:{type:"list",member:{locationName:"item",type:"structure",members:{AssociatePublicIpAddress:{locationName:"associatePublicIpAddress",type:"boolean"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},Description:{locationName:"description"},DeviceIndex:{locationName:"deviceIndex",type:"integer"},Groups:{shape:"S5r",locationName:"SecurityGroupId"},Ipv6AddressCount:{locationName:"ipv6AddressCount",type:"integer"},Ipv6Addresses:{shape:"S5s",locationName:"ipv6AddressesSet",queryName:"Ipv6Addresses"},NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIpAddress:{locationName:"privateIpAddress"},PrivateIpAddresses:{shape:"S5u",locationName:"privateIpAddressesSet",queryName:"PrivateIpAddresses"},SecondaryPrivateIpAddressCount:{locationName:"secondaryPrivateIpAddressCount",type:"integer"},SubnetId:{locationName:"subnetId"}}}},Sil:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},GroupName:{locationName:"groupName"},Tenancy:{locationName:"tenancy"}}},Sir:{type:"list",member:{locationName:"item",type:"structure",members:{ActualBlockHourlyPrice:{locationName:"actualBlockHourlyPrice"},AvailabilityZoneGroup:{locationName:"availabilityZoneGroup"},BlockDurationMinutes:{locationName:"blockDurationMinutes",type:"integer"},CreateTime:{locationName:"createTime",type:"timestamp"},Fault:{shape:"S75",locationName:"fault"},InstanceId:{locationName:"instanceId"},LaunchGroup:{locationName:"launchGroup"},LaunchSpecification:{locationName:"launchSpecification",type:"structure",members:{UserData:{locationName:"userData"},SecurityGroups:{shape:"S60",locationName:"groupSet"},AddressingType:{locationName:"addressingType"},BlockDeviceMappings:{shape:"Sco",locationName:"blockDeviceMapping"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},IamInstanceProfile:{shape:"S13",locationName:"iamInstanceProfile"},ImageId:{locationName:"imageId"},InstanceType:{locationName:"instanceType"},KernelId:{locationName:"kernelId"},KeyName:{locationName:"keyName"},NetworkInterfaces:{shape:"Sij",locationName:"networkInterfaceSet"},Placement:{shape:"Sil",locationName:"placement"},RamdiskId:{locationName:"ramdiskId"},SubnetId:{locationName:"subnetId"},Monitoring:{shape:"Siu",locationName:"monitoring"}}},LaunchedAvailabilityZone:{locationName:"launchedAvailabilityZone"},ProductDescription:{locationName:"productDescription"},SpotInstanceRequestId:{locationName:"spotInstanceRequestId"},SpotPrice:{locationName:"spotPrice"},State:{locationName:"state"},Status:{locationName:"status",type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"},UpdateTime:{locationName:"updateTime",type:"timestamp"}}},Tags:{shape:"Sl",locationName:"tagSet"},Type:{locationName:"type"},ValidFrom:{locationName:"validFrom",type:"timestamp"},ValidUntil:{locationName:"validUntil",type:"timestamp"}}}},Siu:{type:"structure",required:["Enabled"],members:{Enabled:{locationName:"enabled",type:"boolean"}}},Sj8:{type:"list",member:{locationName:"item",type:"structure",members:{FromPort:{locationName:"fromPort",type:"integer"},IpProtocol:{locationName:"ipProtocol"},IpRanges:{locationName:"ipRanges",type:"list",member:{locationName:"item"}},PrefixListIds:{locationName:"prefixListIds",type:"list",member:{locationName:"item"}},ToPort:{locationName:"toPort",type:"integer"},UserIdGroupPairs:{locationName:"groups",type:"list",member:{shape:"S28",locationName:"item"}}}}},Sjp:{type:"list",member:{locationName:"VolumeId"}},Sk8:{type:"structure",members:{VolumeId:{locationName:"volumeId"},ModificationState:{locationName:"modificationState"},StatusMessage:{locationName:"statusMessage"},TargetSize:{locationName:"targetSize",type:"integer"},TargetIops:{locationName:"targetIops",type:"integer"},TargetVolumeType:{locationName:"targetVolumeType"},OriginalSize:{locationName:"originalSize",type:"integer"},OriginalIops:{locationName:"originalIops",type:"integer"},OriginalVolumeType:{locationName:"originalVolumeType"},Progress:{locationName:"progress",type:"long"},StartTime:{locationName:"startTime",type:"timestamp"},EndTime:{locationName:"endTime",type:"timestamp"}}},Ske:{type:"list",member:{locationName:"VpcId"}},Sm0:{type:"list",member:{locationName:"item"}},Sm2:{type:"list",member:{type:"structure",members:{CurrencyCode:{locationName:"currencyCode"},Duration:{locationName:"duration",type:"integer"},HostIdSet:{shape:"Sbx",locationName:"hostIdSet"},HostReservationId:{locationName:"hostReservationId"},HourlyPrice:{locationName:"hourlyPrice"},InstanceFamily:{locationName:"instanceFamily"},PaymentOption:{locationName:"paymentOption"},UpfrontPrice:{locationName:"upfrontPrice"}}}},Sm8:{type:"structure",members:{HourlyPrice:{locationName:"hourlyPrice"},RemainingTotalValue:{locationName:"remainingTotalValue"},RemainingUpfrontValue:{locationName:"remainingUpfrontValue"}}},Smf:{type:"structure",members:{Comment:{},UploadEnd:{type:"timestamp"},UploadSize:{type:"double"},UploadStart:{type:"timestamp"}}},Smi:{type:"structure",members:{S3Bucket:{},S3Key:{}}},Smn:{type:"structure",required:["Bytes","Format","ImportManifestUrl"],members:{Bytes:{locationName:"bytes",type:"long"},Format:{locationName:"format"},ImportManifestUrl:{locationName:"importManifestUrl"}}},Smo:{type:"structure",required:["Size"],members:{Size:{locationName:"size",type:"long"}}},Smq:{type:"list",member:{locationName:"SecurityGroup"}},Sn3:{type:"list",member:{shape:"S4i",locationName:"item"}},Snb:{type:"list",member:{locationName:"UserId"}},So2:{type:"structure",members:{AllowDnsResolutionFromRemoteVpc:{type:"boolean"},AllowEgressFromLocalClassicLinkToRemoteVpc:{type:"boolean"},AllowEgressFromLocalVpcToRemoteClassicLink:{type:"boolean"}}},So4:{type:"structure",members:{AllowDnsResolutionFromRemoteVpc:{locationName:"allowDnsResolutionFromRemoteVpc",type:"boolean"},AllowEgressFromLocalClassicLinkToRemoteVpc:{locationName:"allowEgressFromLocalClassicLinkToRemoteVpc",type:"boolean"},AllowEgressFromLocalVpcToRemoteClassicLink:{locationName:"allowEgressFromLocalVpcToRemoteClassicLink",type:"boolean"}}},So7:{type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},Monitoring:{shape:"Seb",locationName:"monitoring"}}}},Spx:{type:"list",member:{locationName:"SecurityGroupId"}},Sq8:{type:"list",member:{locationName:"item",type:"structure",members:{CurrentState:{shape:"Sdw",locationName:"currentState"},InstanceId:{locationName:"instanceId"},PreviousState:{shape:"Sdw",locationName:"previousState"}}}}},paginators:{DescribeAccountAttributes:{result_key:"AccountAttributes"},DescribeAddresses:{result_key:"Addresses"},DescribeAvailabilityZones:{result_key:"AvailabilityZones"},DescribeBundleTasks:{result_key:"BundleTasks"},DescribeConversionTasks:{result_key:"ConversionTasks"},DescribeCustomerGateways:{result_key:"CustomerGateways"},DescribeDhcpOptions:{result_key:"DhcpOptions"},DescribeExportTasks:{result_key:"ExportTasks"},DescribeImages:{result_key:"Images"},DescribeInstanceStatus:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstanceStatuses"},DescribeInstances:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Reservations"},DescribeInternetGateways:{result_key:"InternetGateways"},DescribeKeyPairs:{result_key:"KeyPairs"},DescribeNatGateways:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"NatGateways"},DescribeNetworkAcls:{result_key:"NetworkAcls"},DescribeNetworkInterfaces:{result_key:"NetworkInterfaces"},DescribePlacementGroups:{result_key:"PlacementGroups"},DescribeRegions:{result_key:"Regions"},DescribeReservedInstances:{result_key:"ReservedInstances"},DescribeReservedInstancesListings:{result_key:"ReservedInstancesListings"},DescribeReservedInstancesModifications:{input_token:"NextToken",output_token:"NextToken",result_key:"ReservedInstancesModifications"},DescribeReservedInstancesOfferings:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ReservedInstancesOfferings"},DescribeRouteTables:{result_key:"RouteTables"},DescribeSecurityGroups:{result_key:"SecurityGroups"},DescribeSnapshots:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Snapshots"},DescribeSpotFleetRequests:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"SpotFleetRequestConfigs"},DescribeSpotInstanceRequests:{result_key:"SpotInstanceRequests"},DescribeSpotPriceHistory:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"SpotPriceHistory"},DescribeSubnets:{result_key:"Subnets"},DescribeTags:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Tags"},DescribeVolumeStatus:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"VolumeStatuses"},DescribeVolumes:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Volumes"},DescribeVpcPeeringConnections:{result_key:"VpcPeeringConnections"},DescribeVpcs:{result_key:"Vpcs"},DescribeVpnConnections:{result_key:"VpnConnections"},DescribeVpnGateways:{result_key:"VpnGateways"}},waiters:{InstanceExists:{delay:5,maxAttempts:40,operation:"DescribeInstances",acceptors:[{matcher:"path",expected:!0,argument:"length(Reservations[]) > `0`",state:"success"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},BundleTaskComplete:{delay:15,operation:"DescribeBundleTasks",maxAttempts:40,acceptors:[{expected:"complete",matcher:"pathAll",state:"success",argument:"BundleTasks[].State"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"BundleTasks[].State"}]},ConversionTaskCancelled:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},ConversionTaskCompleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"},{expected:"cancelled",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"},{expected:"cancelling",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"}]},ConversionTaskDeleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},CustomerGatewayAvailable:{delay:15,operation:"DescribeCustomerGateways",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"CustomerGateways[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"}]},ExportTaskCancelled:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ExportTaskCompleted:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ImageExists:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{matcher:"path",expected:!0,argument:"length(Images[]) > `0`",state:"success"},{matcher:"error",expected:"InvalidAMIID.NotFound",state:"retry"}]},ImageAvailable:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"Images[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"Images[].State",expected:"failed"}]},InstanceRunning:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"running",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"shutting-down",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].InstanceStatus.Status",expected:"ok"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStopped:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"stopped",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},InstanceTerminated:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"terminated",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},KeyPairExists:{operation:"DescribeKeyPairs",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(KeyPairs[].KeyName) > `0`"},{expected:"InvalidKeyPair.NotFound",matcher:"error",state:"retry"}]},NatGatewayAvailable:{operation:"DescribeNatGateways",delay:15,maxAttempts:40,acceptors:[{state:"success",matcher:"pathAll",argument:"NatGateways[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"failed"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleting"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleted"},{state:"retry",matcher:"error",expected:"NatGatewayNotFound"}]},NetworkInterfaceAvailable:{operation:"DescribeNetworkInterfaces",delay:20,maxAttempts:10,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"NetworkInterfaces[].Status"},{expected:"InvalidNetworkInterfaceID.NotFound",matcher:"error",state:"failure"}]},PasswordDataAvailable:{operation:"GetPasswordData",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"path",argument:"length(PasswordData) > `0`",expected:!0}]},SnapshotCompleted:{delay:15,operation:"DescribeSnapshots",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"Snapshots[].State"}]},SpotInstanceRequestFulfilled:{operation:"DescribeSpotInstanceRequests",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"SpotInstanceRequests[].Status.Code",expected:"fulfilled"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"schedule-expired"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"canceled-before-fulfillment"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"bad-parameters"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"system-error"},{state:"retry",matcher:"error",expected:"InvalidSpotInstanceRequestID.NotFound"}]},SubnetAvailable:{delay:15,operation:"DescribeSubnets",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Subnets[].State"}]},SystemStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].SystemStatus.Status",expected:"ok"}]},VolumeAvailable:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VolumeDeleted:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{matcher:"error",expected:"InvalidVolume.NotFound",state:"success"}]},VolumeInUse:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"in-use",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VpcAvailable:{delay:15,operation:"DescribeVpcs",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Vpcs[].State"}]},VpcExists:{operation:"DescribeVpcs",delay:1,maxAttempts:5,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"InvalidVpcID.NotFound",state:"retry"}]},VpnConnectionAvailable:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpnConnectionDeleted:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpcPeeringConnectionExists:{delay:15,operation:"DescribeVpcPeeringConnections",maxAttempts:40,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"InvalidVpcPeeringConnectionID.NotFound",state:"retry"}]},VpcPeeringConnectionDeleted:{delay:15,operation:"DescribeVpcPeeringConnections",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"VpcPeeringConnections[].Status.Code"},{matcher:"error",expected:"InvalidVpcPeeringConnectionID.NotFound",state:"success"}]}}};AWS.apiLoader.services.sts={},AWS.STS=AWS.Service.defineService("sts",["2011-06-15"]),_xamzrequire=function e(r,t,n){function i(o,a){if(!t[o]){if(!r[o]){var u="function"==typeof _xamzrequire&&_xamzrequire;if(!a&&u)return u(o,!0);if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var d=t[o]={exports:{}};r[o][0].call(d.exports,function(e){var t=r[o][1][e];return i(t||e)},d,d.exports,e,r,t,n)}return t[o].exports}for(var s="function"==typeof _xamzrequire&&_xamzrequire,o=0;o<n.length;o++)i(n[o]);return i}({250:[function(e,r,t){var n=e("../core");n.util.update(n.STS.prototype,{credentialsFrom:function(e,r){return e?(r||(r=new n.TemporaryCredentials),r.expired=!1,r.accessKeyId=e.Credentials.AccessKeyId,r.secretAccessKey=e.Credentials.SecretAccessKey,r.sessionToken=e.Credentials.SessionToken,r.expireTime=e.Credentials.Expiration,r):null},assumeRoleWithWebIdentity:function(e,r){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,r)},assumeRoleWithSAML:function(e,r){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,r)}})},{"../core":194}]},{},[250]);AWS.apiLoader.services.sts["2011-06-15"]={version:"2.0",metadata:{apiVersion:"2011-06-15",endpointPrefix:"sts",globalEndpoint:"sts.amazonaws.com",protocol:"query",serviceAbbreviation:"AWS STS",serviceFullName:"AWS Security Token Service",signatureVersion:"v4",uid:"sts-2011-06-15",xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/"},operations:{AssumeRole:{input:{type:"structure",required:["RoleArn","RoleSessionName"],members:{RoleArn:{},RoleSessionName:{},Policy:{},DurationSeconds:{type:"integer"},ExternalId:{},SerialNumber:{},TokenCode:{}}},output:{resultWrapper:"AssumeRoleResult",type:"structure",members:{Credentials:{shape:"Sa"},AssumedRoleUser:{shape:"Sf"},PackedPolicySize:{type:"integer"}}}},AssumeRoleWithSAML:{input:{type:"structure",required:["RoleArn","PrincipalArn","SAMLAssertion"],members:{RoleArn:{},PrincipalArn:{},SAMLAssertion:{},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithSAMLResult",type:"structure",members:{Credentials:{shape:"Sa"},AssumedRoleUser:{shape:"Sf"},PackedPolicySize:{type:"integer"},Subject:{},SubjectType:{},Issuer:{},Audience:{},NameQualifier:{}}}},AssumeRoleWithWebIdentity:{input:{type:"structure",required:["RoleArn","RoleSessionName","WebIdentityToken"],members:{RoleArn:{},RoleSessionName:{},WebIdentityToken:{},ProviderId:{},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithWebIdentityResult",type:"structure",members:{Credentials:{shape:"Sa"},SubjectFromWebIdentityToken:{},AssumedRoleUser:{shape:"Sf"},PackedPolicySize:{type:"integer"},Provider:{},Audience:{}}}},DecodeAuthorizationMessage:{input:{type:"structure",required:["EncodedMessage"],members:{EncodedMessage:{}}},output:{resultWrapper:"DecodeAuthorizationMessageResult",type:"structure",members:{DecodedMessage:{}}}},GetCallerIdentity:{input:{type:"structure",members:{}},output:{resultWrapper:"GetCallerIdentityResult",type:"structure",members:{UserId:{},Account:{},Arn:{}}}},GetFederationToken:{input:{type:"structure",required:["Name"],members:{Name:{},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"GetFederationTokenResult",type:"structure",members:{Credentials:{shape:"Sa"},FederatedUser:{type:"structure",required:["FederatedUserId","Arn"],members:{FederatedUserId:{},Arn:{}}},PackedPolicySize:{type:"integer"}}}},GetSessionToken:{input:{type:"structure",members:{DurationSeconds:{type:"integer"},SerialNumber:{},TokenCode:{}}},output:{resultWrapper:"GetSessionTokenResult",type:"structure",members:{Credentials:{shape:"Sa"}}}}},shapes:{Sa:{type:"structure",required:["AccessKeyId","SecretAccessKey","SessionToken","Expiration"],members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{},Expiration:{type:"timestamp"}}},Sf:{type:"structure",required:["AssumedRoleId","Arn"],members:{AssumedRoleId:{},Arn:{}}}},paginators:{}};