/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@alicloud/ecs20140526@7.7.3/dist/client.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,r,a,n){void 0===n&&(n=a);var i=Object.getOwnPropertyDescriptor(r,a);i&&!("get"in i?!r.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[a]}}),Object.defineProperty(e,n,i)}:function(e,r,a,n){void 0===n&&(n=a),e[n]=r[a]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),__importStar=this&&this.__importStar||function(){var e=function(r){return e=Object.getOwnPropertyNames||function(e){var r=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[r.length]=a);return r},e(r)};return function(r){if(r&&r.__esModule)return r;var a={};if(null!=r)for(var n=e(r),i=0;i<n.length;i++)"default"!==n[i]&&__createBinding(a,r,n[i]);return __setModuleDefault(a,r),a}}(),__exportStar=this&&this.__exportStar||function(e,r){for(var a in e)"default"===a||Object.prototype.hasOwnProperty.call(r,a)||__createBinding(r,e,a)},__importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const $dara=__importStar(require("@darabonba/typescript")),openapi_core_1=__importDefault(require("@alicloud/openapi-core")),openapi_core_2=require("@alicloud/openapi-core"),$_model=__importStar(require("./models/model"));__exportStar(require("./models/model"),exports);class Client extends openapi_core_1.default{constructor(e){super(e),this._endpointRule="regional",this._endpointMap={"cn-hangzhou":"ecs-cn-hangzhou.aliyuncs.com","cn-shanghai-finance-1":"ecs-cn-hangzhou.aliyuncs.com","cn-shenzhen-finance-1":"ecs-cn-hangzhou.aliyuncs.com","cn-north-2-gov-1":"ecs.aliyuncs.com","ap-northeast-2-pop":"ecs.aliyuncs.com","cn-beijing-finance-pop":"ecs.aliyuncs.com","cn-beijing-gov-1":"ecs.aliyuncs.com","cn-beijing-nu16-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-edge-1":"ecs.cn-qingdao-nebula.aliyuncs.com","cn-fujian":"ecs-cn-hangzhou.aliyuncs.com","cn-haidian-cm12-c01":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-bj-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-finance":"ecs.aliyuncs.com","cn-hangzhou-internal-prod-1":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-internal-test-1":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-internal-test-2":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-internal-test-3":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-test-306":"ecs-cn-hangzhou.aliyuncs.com","cn-hongkong-finance-pop":"ecs.aliyuncs.com","cn-huhehaote-nebula-1":"ecs.cn-qingdao-nebula.aliyuncs.com","cn-shanghai-et15-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-shanghai-et2-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-shanghai-inner":"ecs.aliyuncs.com","cn-shanghai-internal-test-1":"ecs-cn-hangzhou.aliyuncs.com","cn-shenzhen-inner":"ecs.aliyuncs.com","cn-shenzhen-st4-d01":"ecs-cn-hangzhou.aliyuncs.com","cn-shenzhen-su18-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-wuhan":"ecs.aliyuncs.com","cn-yushanfang":"ecs.aliyuncs.com","cn-zhangbei":"ecs.aliyuncs.com","cn-zhangbei-na61-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-zhangjiakou-na62-a01":"ecs.cn-zhangjiakou.aliyuncs.com","cn-zhengzhou-nebula-1":"ecs.cn-qingdao-nebula.aliyuncs.com","eu-west-1-oxs":"ecs.cn-shenzhen-cloudstone.aliyuncs.com","rus-west-1-pop":"ecs.aliyuncs.com"},this.checkConfig(e),this._endpoint=this.getEndpoint("ecs",this._regionId,this._endpointRule,this._network,this._suffix,this._endpointMap,this._endpoint)}getEndpoint(e,r,a,n,i,t,o){return $dara.isNull(o)?$dara.isNull(t)||$dara.isNull(t[r])?openapi_core_2.OpenApiUtil.getEndpointRules(e,r,a,n,i):t[r]:o}async acceptInquiredSystemEventWithOptions(e,r){e.validate();let a={};$dara.isNull(e.choice)||(a.Choice=e.choice),$dara.isNull(e.eventId)||(a.EventId=e.eventId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AcceptInquiredSystemEvent",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AcceptInquiredSystemEventResponse({}))}async acceptInquiredSystemEvent(e){let r=new $dara.RuntimeOptions({});return await this.acceptInquiredSystemEventWithOptions(e,r)}async activateRouterInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routerInterfaceId)||(a.RouterInterfaceId=e.routerInterfaceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ActivateRouterInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ActivateRouterInterfaceResponse({}))}async activateRouterInterface(e){let r=new $dara.RuntimeOptions({});return await this.activateRouterInterfaceWithOptions(e,r)}async addBandwidthPackageIpsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bandwidthPackageId)||(a.BandwidthPackageId=e.bandwidthPackageId),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ipCount)||(a.IpCount=e.ipCount),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AddBandwidthPackageIps",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AddBandwidthPackageIpsResponse({}))}async addBandwidthPackageIps(e){let r=new $dara.RuntimeOptions({});return await this.addBandwidthPackageIpsWithOptions(e,r)}async addTagsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AddTags",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AddTagsResponse({}))}async addTags(e){let r=new $dara.RuntimeOptions({});return await this.addTagsWithOptions(e,r)}async allocateDedicatedHostsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.actionOnMaintenance)||(a.ActionOnMaintenance=e.actionOnMaintenance),$dara.isNull(e.autoPlacement)||(a.AutoPlacement=e.autoPlacement),$dara.isNull(e.autoReleaseTime)||(a.AutoReleaseTime=e.autoReleaseTime),$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.chargeType)||(a.ChargeType=e.chargeType),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.cpuOverCommitRatio)||(a.CpuOverCommitRatio=e.cpuOverCommitRatio),$dara.isNull(e.dedicatedHostClusterId)||(a.DedicatedHostClusterId=e.dedicatedHostClusterId),$dara.isNull(e.dedicatedHostName)||(a.DedicatedHostName=e.dedicatedHostName),$dara.isNull(e.dedicatedHostType)||(a.DedicatedHostType=e.dedicatedHostType),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.minQuantity)||(a.MinQuantity=e.minQuantity),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.quantity)||(a.Quantity=e.quantity),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.networkAttributes)||(a.NetworkAttributes=e.networkAttributes);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AllocateDedicatedHosts",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AllocateDedicatedHostsResponse({}))}async allocateDedicatedHosts(e){let r=new $dara.RuntimeOptions({});return await this.allocateDedicatedHostsWithOptions(e,r)}async allocateEipAddressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.activityId)||(a.ActivityId=e.activityId),$dara.isNull(e.bandwidth)||(a.Bandwidth=e.bandwidth),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ISP)||(a.ISP=e.ISP),$dara.isNull(e.internetChargeType)||(a.InternetChargeType=e.internetChargeType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AllocateEipAddress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AllocateEipAddressResponse({}))}async allocateEipAddress(e){let r=new $dara.RuntimeOptions({});return await this.allocateEipAddressWithOptions(e,r)}async allocatePublicIpAddressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ipAddress)||(a.IpAddress=e.ipAddress),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vlanId)||(a.VlanId=e.vlanId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AllocatePublicIpAddress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AllocatePublicIpAddressResponse({}))}async allocatePublicIpAddress(e){let r=new $dara.RuntimeOptions({});return await this.allocatePublicIpAddressWithOptions(e,r)}async applyAutoSnapshotPolicyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.autoSnapshotPolicyId)||(a.autoSnapshotPolicyId=e.autoSnapshotPolicyId),$dara.isNull(e.diskIds)||(a.diskIds=e.diskIds),$dara.isNull(e.regionId)||(a.regionId=e.regionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ApplyAutoSnapshotPolicy",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ApplyAutoSnapshotPolicyResponse({}))}async applyAutoSnapshotPolicy(e){let r=new $dara.RuntimeOptions({});return await this.applyAutoSnapshotPolicyWithOptions(e,r)}async assignIpv6AddressesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ipv6Address)||(a.Ipv6Address=e.ipv6Address),$dara.isNull(e.ipv6AddressCount)||(a.Ipv6AddressCount=e.ipv6AddressCount),$dara.isNull(e.ipv6Prefix)||(a.Ipv6Prefix=e.ipv6Prefix),$dara.isNull(e.ipv6PrefixCount)||(a.Ipv6PrefixCount=e.ipv6PrefixCount),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AssignIpv6Addresses",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AssignIpv6AddressesResponse({}))}async assignIpv6Addresses(e){let r=new $dara.RuntimeOptions({});return await this.assignIpv6AddressesWithOptions(e,r)}async assignPrivateIpAddressesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ipv4Prefix)||(a.Ipv4Prefix=e.ipv4Prefix),$dara.isNull(e.ipv4PrefixCount)||(a.Ipv4PrefixCount=e.ipv4PrefixCount),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.secondaryPrivateIpAddressCount)||(a.SecondaryPrivateIpAddressCount=e.secondaryPrivateIpAddressCount);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AssignPrivateIpAddresses",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AssignPrivateIpAddressesResponse({}))}async assignPrivateIpAddresses(e){let r=new $dara.RuntimeOptions({});return await this.assignPrivateIpAddressesWithOptions(e,r)}async associateEipAddressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationId)||(a.AllocationId=e.allocationId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AssociateEipAddress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AssociateEipAddressResponse({}))}async associateEipAddress(e){let r=new $dara.RuntimeOptions({});return await this.associateEipAddressWithOptions(e,r)}async associateHaVipWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.haVipId)||(a.HaVipId=e.haVipId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AssociateHaVip",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AssociateHaVipResponse({}))}async associateHaVip(e){let r=new $dara.RuntimeOptions({});return await this.associateHaVipWithOptions(e,r)}async attachClassicLinkVpcWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AttachClassicLinkVpc",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AttachClassicLinkVpcResponse({}))}async attachClassicLinkVpc(e){let r=new $dara.RuntimeOptions({});return await this.attachClassicLinkVpcWithOptions(e,r)}async attachDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bootable)||(a.Bootable=e.bootable),$dara.isNull(e.deleteWithInstance)||(a.DeleteWithInstance=e.deleteWithInstance),$dara.isNull(e.device)||(a.Device=e.device),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.password)||(a.Password=e.password),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AttachDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AttachDiskResponse({}))}async attachDisk(e){let r=new $dara.RuntimeOptions({});return await this.attachDiskWithOptions(e,r)}async attachInstanceRamRoleWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.policy)||(a.Policy=e.policy),$dara.isNull(e.ramRoleName)||(a.RamRoleName=e.ramRoleName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AttachInstanceRamRole",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AttachInstanceRamRoleResponse({}))}async attachInstanceRamRole(e){let r=new $dara.RuntimeOptions({});return await this.attachInstanceRamRoleWithOptions(e,r)}async attachKeyPairWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AttachKeyPair",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AttachKeyPairResponse({}))}async attachKeyPair(e){let r=new $dara.RuntimeOptions({});return await this.attachKeyPairWithOptions(e,r)}async attachNetworkInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.networkCardIndex)||(a.NetworkCardIndex=e.networkCardIndex),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.trunkNetworkInstanceId)||(a.TrunkNetworkInstanceId=e.trunkNetworkInstanceId),$dara.isNull(e.waitForNetworkConfigurationReady)||(a.WaitForNetworkConfigurationReady=e.waitForNetworkConfigurationReady);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AttachNetworkInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AttachNetworkInterfaceResponse({}))}async attachNetworkInterface(e){let r=new $dara.RuntimeOptions({});return await this.attachNetworkInterfaceWithOptions(e,r)}async authorizeSecurityGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.destCidrIp)||(a.DestCidrIp=e.destCidrIp),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ipv6DestCidrIp)||(a.Ipv6DestCidrIp=e.ipv6DestCidrIp),$dara.isNull(e.ipv6SourceCidrIp)||(a.Ipv6SourceCidrIp=e.ipv6SourceCidrIp),$dara.isNull(e.nicType)||(a.NicType=e.nicType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.permissions)||(a.Permissions=e.permissions),$dara.isNull(e.policy)||(a.Policy=e.policy),$dara.isNull(e.portRange)||(a.PortRange=e.portRange),$dara.isNull(e.priority)||(a.Priority=e.priority),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.sourceCidrIp)||(a.SourceCidrIp=e.sourceCidrIp),$dara.isNull(e.sourceGroupId)||(a.SourceGroupId=e.sourceGroupId),$dara.isNull(e.sourceGroupOwnerAccount)||(a.SourceGroupOwnerAccount=e.sourceGroupOwnerAccount),$dara.isNull(e.sourceGroupOwnerId)||(a.SourceGroupOwnerId=e.sourceGroupOwnerId),$dara.isNull(e.sourcePortRange)||(a.SourcePortRange=e.sourcePortRange),$dara.isNull(e.sourcePrefixListId)||(a.SourcePrefixListId=e.sourcePrefixListId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AuthorizeSecurityGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AuthorizeSecurityGroupResponse({}))}async authorizeSecurityGroup(e){let r=new $dara.RuntimeOptions({});return await this.authorizeSecurityGroupWithOptions(e,r)}async authorizeSecurityGroupEgressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.destCidrIp)||(a.DestCidrIp=e.destCidrIp),$dara.isNull(e.destGroupId)||(a.DestGroupId=e.destGroupId),$dara.isNull(e.destGroupOwnerAccount)||(a.DestGroupOwnerAccount=e.destGroupOwnerAccount),$dara.isNull(e.destGroupOwnerId)||(a.DestGroupOwnerId=e.destGroupOwnerId),$dara.isNull(e.destPrefixListId)||(a.DestPrefixListId=e.destPrefixListId),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ipv6DestCidrIp)||(a.Ipv6DestCidrIp=e.ipv6DestCidrIp),$dara.isNull(e.ipv6SourceCidrIp)||(a.Ipv6SourceCidrIp=e.ipv6SourceCidrIp),$dara.isNull(e.nicType)||(a.NicType=e.nicType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.permissions)||(a.Permissions=e.permissions),$dara.isNull(e.policy)||(a.Policy=e.policy),$dara.isNull(e.portRange)||(a.PortRange=e.portRange),$dara.isNull(e.priority)||(a.Priority=e.priority),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.sourceCidrIp)||(a.SourceCidrIp=e.sourceCidrIp),$dara.isNull(e.sourcePortRange)||(a.SourcePortRange=e.sourcePortRange);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"AuthorizeSecurityGroupEgress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.AuthorizeSecurityGroupEgressResponse({}))}async authorizeSecurityGroupEgress(e){let r=new $dara.RuntimeOptions({});return await this.authorizeSecurityGroupEgressWithOptions(e,r)}async cancelAutoSnapshotPolicyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.autoSnapshotPolicyId)||(a.autoSnapshotPolicyId=e.autoSnapshotPolicyId),$dara.isNull(e.diskIds)||(a.diskIds=e.diskIds),$dara.isNull(e.regionId)||(a.regionId=e.regionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CancelAutoSnapshotPolicy",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CancelAutoSnapshotPolicyResponse({}))}async cancelAutoSnapshotPolicy(e){let r=new $dara.RuntimeOptions({});return await this.cancelAutoSnapshotPolicyWithOptions(e,r)}async cancelCopyImageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CancelCopyImage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CancelCopyImageResponse({}))}async cancelCopyImage(e){let r=new $dara.RuntimeOptions({});return await this.cancelCopyImageWithOptions(e,r)}async cancelImagePipelineExecutionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.executionId)||(a.ExecutionId=e.executionId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.templateTag)||(a.TemplateTag=e.templateTag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CancelImagePipelineExecution",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CancelImagePipelineExecutionResponse({}))}async cancelImagePipelineExecution(e){let r=new $dara.RuntimeOptions({});return await this.cancelImagePipelineExecutionWithOptions(e,r)}async cancelPhysicalConnectionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.physicalConnectionId)||(a.PhysicalConnectionId=e.physicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CancelPhysicalConnection",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CancelPhysicalConnectionResponse({}))}async cancelPhysicalConnection(e){let r=new $dara.RuntimeOptions({});return await this.cancelPhysicalConnectionWithOptions(e,r)}async cancelSimulatedSystemEventsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.eventId)||(a.EventId=e.eventId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CancelSimulatedSystemEvents",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CancelSimulatedSystemEventsResponse({}))}async cancelSimulatedSystemEvents(e){let r=new $dara.RuntimeOptions({});return await this.cancelSimulatedSystemEventsWithOptions(e,r)}async cancelTaskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.taskId)||(a.TaskId=e.taskId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CancelTask",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CancelTaskResponse({}))}async cancelTask(e){let r=new $dara.RuntimeOptions({});return await this.cancelTaskWithOptions(e,r)}async cloneDisksWithOptions(e,r){e.validate();let a={};$dara.isNull(e.arn)||(a.Arn=e.arn),$dara.isNull(e.burstingEnabled)||(a.BurstingEnabled=e.burstingEnabled),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.diskCategory)||(a.DiskCategory=e.diskCategory),$dara.isNull(e.diskName)||(a.DiskName=e.diskName),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.encrypted)||(a.Encrypted=e.encrypted),$dara.isNull(e.kmsKeyId)||(a.KmsKeyId=e.kmsKeyId),$dara.isNull(e.multiAttach)||(a.MultiAttach=e.multiAttach),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.performanceLevel)||(a.PerformanceLevel=e.performanceLevel),$dara.isNull(e.provisionedIops)||(a.ProvisionedIops=e.provisionedIops),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.size)||(a.Size=e.size),$dara.isNull(e.sourceDiskId)||(a.SourceDiskId=e.sourceDiskId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CloneDisks",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CloneDisksResponse({}))}async cloneDisks(e){let r=new $dara.RuntimeOptions({});return await this.cloneDisksWithOptions(e,r)}async connectRouterInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routerInterfaceId)||(a.RouterInterfaceId=e.routerInterfaceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ConnectRouterInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ConnectRouterInterfaceResponse({}))}async connectRouterInterface(e){let r=new $dara.RuntimeOptions({});return await this.connectRouterInterfaceWithOptions(e,r)}async convertNatPublicIpToEipWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ConvertNatPublicIpToEip",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ConvertNatPublicIpToEipResponse({}))}async convertNatPublicIpToEip(e){let r=new $dara.RuntimeOptions({});return await this.convertNatPublicIpToEipWithOptions(e,r)}async copyImageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.destinationDescription)||(a.DestinationDescription=e.destinationDescription),$dara.isNull(e.destinationImageName)||(a.DestinationImageName=e.destinationImageName),$dara.isNull(e.destinationRegionId)||(a.DestinationRegionId=e.destinationRegionId),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.encryptAlgorithm)||(a.EncryptAlgorithm=e.encryptAlgorithm),$dara.isNull(e.encrypted)||(a.Encrypted=e.encrypted),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.KMSKeyId)||(a.KMSKeyId=e.KMSKeyId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CopyImage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CopyImageResponse({}))}async copyImage(e){let r=new $dara.RuntimeOptions({});return await this.copyImageWithOptions(e,r)}async copySnapshotWithOptions(e,r){e.validate();let a={};$dara.isNull(e.arn)||(a.Arn=e.arn),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.destinationRegionId)||(a.DestinationRegionId=e.destinationRegionId),$dara.isNull(e.destinationSnapshotDescription)||(a.DestinationSnapshotDescription=e.destinationSnapshotDescription),$dara.isNull(e.destinationSnapshotName)||(a.DestinationSnapshotName=e.destinationSnapshotName),$dara.isNull(e.destinationStorageLocationArn)||(a.DestinationStorageLocationArn=e.destinationStorageLocationArn),$dara.isNull(e.encrypted)||(a.Encrypted=e.encrypted),$dara.isNull(e.KMSKeyId)||(a.KMSKeyId=e.KMSKeyId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.retentionDays)||(a.RetentionDays=e.retentionDays),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CopySnapshot",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CopySnapshotResponse({}))}async copySnapshot(e){let r=new $dara.RuntimeOptions({});return await this.copySnapshotWithOptions(e,r)}async createActivationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.instanceCount)||(a.InstanceCount=e.instanceCount),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.ipAddressRange)||(a.IpAddressRange=e.ipAddressRange),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.timeToLiveInHours)||(a.TimeToLiveInHours=e.timeToLiveInHours);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateActivation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateActivationResponse({}))}async createActivation(e){let r=new $dara.RuntimeOptions({});return await this.createActivationWithOptions(e,r)}async createAutoProvisioningGroupWithOptions(e,r){e.validate();let a=new $_model.CreateAutoProvisioningGroupShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.resourcePoolOptions)||(a.resourcePoolOptionsShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.resourcePoolOptions,"ResourcePoolOptions","json"));let n={};$dara.isNull(a.autoProvisioningGroupName)||(n.AutoProvisioningGroupName=a.autoProvisioningGroupName),$dara.isNull(a.autoProvisioningGroupType)||(n.AutoProvisioningGroupType=a.autoProvisioningGroupType),$dara.isNull(a.clientToken)||(n.ClientToken=a.clientToken),$dara.isNull(a.dataDiskConfig)||(n.DataDiskConfig=a.dataDiskConfig),$dara.isNull(a.defaultTargetCapacityType)||(n.DefaultTargetCapacityType=a.defaultTargetCapacityType),$dara.isNull(a.description)||(n.Description=a.description),$dara.isNull(a.excessCapacityTerminationPolicy)||(n.ExcessCapacityTerminationPolicy=a.excessCapacityTerminationPolicy),$dara.isNull(a.executionMode)||(n.ExecutionMode=a.executionMode),$dara.isNull(a.hibernationOptionsConfigured)||(n.HibernationOptionsConfigured=a.hibernationOptionsConfigured),$dara.isNull(a.launchTemplateConfig)||(n.LaunchTemplateConfig=a.launchTemplateConfig),$dara.isNull(a.launchTemplateId)||(n.LaunchTemplateId=a.launchTemplateId),$dara.isNull(a.launchTemplateVersion)||(n.LaunchTemplateVersion=a.launchTemplateVersion),$dara.isNull(a.maxSpotPrice)||(n.MaxSpotPrice=a.maxSpotPrice),$dara.isNull(a.minTargetCapacity)||(n.MinTargetCapacity=a.minTargetCapacity),$dara.isNull(a.ownerAccount)||(n.OwnerAccount=a.ownerAccount),$dara.isNull(a.ownerId)||(n.OwnerId=a.ownerId),$dara.isNull(a.payAsYouGoAllocationStrategy)||(n.PayAsYouGoAllocationStrategy=a.payAsYouGoAllocationStrategy),$dara.isNull(a.payAsYouGoTargetCapacity)||(n.PayAsYouGoTargetCapacity=a.payAsYouGoTargetCapacity),$dara.isNull(a.prePaidOptions)||(n.PrePaidOptions=a.prePaidOptions),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.resourceGroupId)||(n.ResourceGroupId=a.resourceGroupId),$dara.isNull(a.resourceOwnerAccount)||(n.ResourceOwnerAccount=a.resourceOwnerAccount),$dara.isNull(a.resourceOwnerId)||(n.ResourceOwnerId=a.resourceOwnerId),$dara.isNull(a.resourcePoolOptionsShrink)||(n.ResourcePoolOptions=a.resourcePoolOptionsShrink),$dara.isNull(a.spotAllocationStrategy)||(n.SpotAllocationStrategy=a.spotAllocationStrategy),$dara.isNull(a.spotInstanceInterruptionBehavior)||(n.SpotInstanceInterruptionBehavior=a.spotInstanceInterruptionBehavior),$dara.isNull(a.spotInstancePoolsToUseCount)||(n.SpotInstancePoolsToUseCount=a.spotInstancePoolsToUseCount),$dara.isNull(a.spotTargetCapacity)||(n.SpotTargetCapacity=a.spotTargetCapacity),$dara.isNull(a.systemDiskConfig)||(n.SystemDiskConfig=a.systemDiskConfig),$dara.isNull(a.tag)||(n.Tag=a.tag),$dara.isNull(a.terminateInstances)||(n.TerminateInstances=a.terminateInstances),$dara.isNull(a.terminateInstancesWithExpiration)||(n.TerminateInstancesWithExpiration=a.terminateInstancesWithExpiration),$dara.isNull(a.totalTargetCapacity)||(n.TotalTargetCapacity=a.totalTargetCapacity),$dara.isNull(a.validFrom)||(n.ValidFrom=a.validFrom),$dara.isNull(a.validUntil)||(n.ValidUntil=a.validUntil),$dara.isNull(a.launchConfiguration)||(n.LaunchConfiguration=a.launchConfiguration);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"CreateAutoProvisioningGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.CreateAutoProvisioningGroupResponse({}))}async createAutoProvisioningGroup(e){let r=new $dara.RuntimeOptions({});return await this.createAutoProvisioningGroupWithOptions(e,r)}async createAutoSnapshotPolicyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.copiedSnapshotsRetentionDays)||(a.CopiedSnapshotsRetentionDays=e.copiedSnapshotsRetentionDays),$dara.isNull(e.copyEncryptionConfiguration)||(a.CopyEncryptionConfiguration=e.copyEncryptionConfiguration),$dara.isNull(e.enableCrossRegionCopy)||(a.EnableCrossRegionCopy=e.enableCrossRegionCopy),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageLocationArn)||(a.StorageLocationArn=e.storageLocationArn),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.targetCopyRegions)||(a.TargetCopyRegions=e.targetCopyRegions),$dara.isNull(e.autoSnapshotPolicyName)||(a.autoSnapshotPolicyName=e.autoSnapshotPolicyName),$dara.isNull(e.regionId)||(a.regionId=e.regionId),$dara.isNull(e.repeatWeekdays)||(a.repeatWeekdays=e.repeatWeekdays),$dara.isNull(e.retentionDays)||(a.retentionDays=e.retentionDays),$dara.isNull(e.timePoints)||(a.timePoints=e.timePoints);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateAutoSnapshotPolicy",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateAutoSnapshotPolicyResponse({}))}async createAutoSnapshotPolicy(e){let r=new $dara.RuntimeOptions({});return await this.createAutoSnapshotPolicyWithOptions(e,r)}async createCapacityReservationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.endTimeType)||(a.EndTimeType=e.endTimeType),$dara.isNull(e.instanceAmount)||(a.InstanceAmount=e.instanceAmount),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateCapacityReservation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateCapacityReservationResponse({}))}async createCapacityReservation(e){let r=new $dara.RuntimeOptions({});return await this.createCapacityReservationWithOptions(e,r)}async createCommandWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.commandContent)||(a.CommandContent=e.commandContent),$dara.isNull(e.contentEncoding)||(a.ContentEncoding=e.contentEncoding),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.enableParameter)||(a.EnableParameter=e.enableParameter),$dara.isNull(e.launcher)||(a.Launcher=e.launcher),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.timeout)||(a.Timeout=e.timeout),$dara.isNull(e.type)||(a.Type=e.type),$dara.isNull(e.workingDir)||(a.WorkingDir=e.workingDir);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateCommand",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateCommandResponse({}))}async createCommand(e){let r=new $dara.RuntimeOptions({});return await this.createCommandWithOptions(e,r)}async createDedicatedHostClusterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostClusterName)||(a.DedicatedHostClusterName=e.dedicatedHostClusterName),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateDedicatedHostCluster",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateDedicatedHostClusterResponse({}))}async createDedicatedHostCluster(e){let r=new $dara.RuntimeOptions({});return await this.createDedicatedHostClusterWithOptions(e,r)}async createDeploymentSetWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.deploymentSetName)||(a.DeploymentSetName=e.deploymentSetName),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.domain)||(a.Domain=e.domain),$dara.isNull(e.granularity)||(a.Granularity=e.granularity),$dara.isNull(e.groupCount)||(a.GroupCount=e.groupCount),$dara.isNull(e.onUnableToRedeployFailedInstance)||(a.OnUnableToRedeployFailedInstance=e.onUnableToRedeployFailedInstance),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.strategy)||(a.Strategy=e.strategy),$dara.isNull(e.type)||(a.Type=e.type);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateDeploymentSet",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateDeploymentSetResponse({}))}async createDeploymentSet(e){let r=new $dara.RuntimeOptions({});return await this.createDeploymentSetWithOptions(e,r)}async createDiagnosticMetricSetWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.metricIds)||(a.MetricIds=e.metricIds),$dara.isNull(e.metricSetName)||(a.MetricSetName=e.metricSetName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateDiagnosticMetricSet",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateDiagnosticMetricSetResponse({}))}async createDiagnosticMetricSet(e){let r=new $dara.RuntimeOptions({});return await this.createDiagnosticMetricSetWithOptions(e,r)}async createDiagnosticReportWithOptions(e,r){e.validate();let a=new $_model.CreateDiagnosticReportShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.additionalOptions)||(a.additionalOptionsShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.additionalOptions,"AdditionalOptions","json"));let n={};$dara.isNull(a.additionalOptionsShrink)||(n.AdditionalOptions=a.additionalOptionsShrink),$dara.isNull(a.endTime)||(n.EndTime=a.endTime),$dara.isNull(a.metricSetId)||(n.MetricSetId=a.metricSetId),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.resourceId)||(n.ResourceId=a.resourceId),$dara.isNull(a.startTime)||(n.StartTime=a.startTime);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"CreateDiagnosticReport",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.CreateDiagnosticReportResponse({}))}async createDiagnosticReport(e){let r=new $dara.RuntimeOptions({});return await this.createDiagnosticReportWithOptions(e,r)}async createDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.advancedFeatures)||(a.AdvancedFeatures=e.advancedFeatures),$dara.isNull(e.arn)||(a.Arn=e.arn),$dara.isNull(e.burstingEnabled)||(a.BurstingEnabled=e.burstingEnabled),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.diskCategory)||(a.DiskCategory=e.diskCategory),$dara.isNull(e.diskName)||(a.DiskName=e.diskName),$dara.isNull(e.encryptAlgorithm)||(a.EncryptAlgorithm=e.encryptAlgorithm),$dara.isNull(e.encrypted)||(a.Encrypted=e.encrypted),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.KMSKeyId)||(a.KMSKeyId=e.KMSKeyId),$dara.isNull(e.multiAttach)||(a.MultiAttach=e.multiAttach),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.performanceLevel)||(a.PerformanceLevel=e.performanceLevel),$dara.isNull(e.provisionedIops)||(a.ProvisionedIops=e.provisionedIops),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.size)||(a.Size=e.size),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId),$dara.isNull(e.storageClusterId)||(a.StorageClusterId=e.storageClusterId),$dara.isNull(e.storageSetId)||(a.StorageSetId=e.storageSetId),$dara.isNull(e.storageSetPartitionNumber)||(a.StorageSetPartitionNumber=e.storageSetPartitionNumber),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateDiskResponse({}))}async createDisk(e){let r=new $dara.RuntimeOptions({});return await this.createDiskWithOptions(e,r)}async createElasticityAssuranceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.assuranceTimes)||(a.AssuranceTimes=e.assuranceTimes),$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.instanceAmount)||(a.InstanceAmount=e.instanceAmount),$dara.isNull(e.instanceCpuCoreCount)||(a.InstanceCpuCoreCount=e.instanceCpuCoreCount),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.recurrenceRules)||(a.RecurrenceRules=e.recurrenceRules),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateElasticityAssurance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateElasticityAssuranceResponse({}))}async createElasticityAssurance(e){let r=new $dara.RuntimeOptions({});return await this.createElasticityAssuranceWithOptions(e,r)}async createForwardEntryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.externalIp)||(a.ExternalIp=e.externalIp),$dara.isNull(e.externalPort)||(a.ExternalPort=e.externalPort),$dara.isNull(e.forwardTableId)||(a.ForwardTableId=e.forwardTableId),$dara.isNull(e.internalIp)||(a.InternalIp=e.internalIp),$dara.isNull(e.internalPort)||(a.InternalPort=e.internalPort),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateForwardEntry",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateForwardEntryResponse({}))}async createForwardEntry(e){let r=new $dara.RuntimeOptions({});return await this.createForwardEntryWithOptions(e,r)}async createHaVipWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ipAddress)||(a.IpAddress=e.ipAddress),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateHaVip",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateHaVipResponse({}))}async createHaVip(e){let r=new $dara.RuntimeOptions({});return await this.createHaVipWithOptions(e,r)}async createHpcClusterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateHpcCluster",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateHpcClusterResponse({}))}async createHpcCluster(e){let r=new $dara.RuntimeOptions({});return await this.createHpcClusterWithOptions(e,r)}async createImageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.architecture)||(a.Architecture=e.architecture),$dara.isNull(e.bootMode)||(a.BootMode=e.bootMode),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.detectionStrategy)||(a.DetectionStrategy=e.detectionStrategy),$dara.isNull(e.diskDeviceMapping)||(a.DiskDeviceMapping=e.diskDeviceMapping),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.features)||(a.Features=e.features),$dara.isNull(e.imageFamily)||(a.ImageFamily=e.imageFamily),$dara.isNull(e.imageName)||(a.ImageName=e.imageName),$dara.isNull(e.imageVersion)||(a.ImageVersion=e.imageVersion),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateImage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateImageResponse({}))}async createImage(e){let r=new $dara.RuntimeOptions({});return await this.createImageWithOptions(e,r)}async createImageComponentWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.componentType)||(a.ComponentType=e.componentType),$dara.isNull(e.componentVersion)||(a.ComponentVersion=e.componentVersion),$dara.isNull(e.content)||(a.Content=e.content),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.systemType)||(a.SystemType=e.systemType),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateImageComponent",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateImageComponentResponse({}))}async createImageComponent(e){let r=new $dara.RuntimeOptions({});return await this.createImageComponentWithOptions(e,r)}async createImagePipelineWithOptions(e,r){e.validate();let a={};$dara.isNull(e.addAccount)||(a.AddAccount=e.addAccount),$dara.isNull(e.advancedOptions)||(a.AdvancedOptions=e.advancedOptions),$dara.isNull(e.baseImage)||(a.BaseImage=e.baseImage),$dara.isNull(e.baseImageType)||(a.BaseImageType=e.baseImageType),$dara.isNull(e.buildContent)||(a.BuildContent=e.buildContent),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.deleteInstanceOnFailure)||(a.DeleteInstanceOnFailure=e.deleteInstanceOnFailure),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.imageFamily)||(a.ImageFamily=e.imageFamily),$dara.isNull(e.imageName)||(a.ImageName=e.imageName),$dara.isNull(e.imageOptions)||(a.ImageOptions=e.imageOptions),$dara.isNull(e.importImageOptions)||(a.ImportImageOptions=e.importImageOptions),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.nvmeSupport)||(a.NvmeSupport=e.nvmeSupport),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.repairMode)||(a.RepairMode=e.repairMode),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.systemDiskSize)||(a.SystemDiskSize=e.systemDiskSize),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.testContent)||(a.TestContent=e.testContent),$dara.isNull(e.toRegionId)||(a.ToRegionId=e.toRegionId),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateImagePipeline",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateImagePipelineResponse({}))}async createImagePipeline(e){let r=new $dara.RuntimeOptions({});return await this.createImagePipelineWithOptions(e,r)}async createInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.affinity)||(a.Affinity=e.affinity),$dara.isNull(e.arn)||(a.Arn=e.arn),$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clusterId)||(a.ClusterId=e.clusterId),$dara.isNull(e.creditSpecification)||(a.CreditSpecification=e.creditSpecification),$dara.isNull(e.dataDisk)||(a.DataDisk=e.dataDisk),$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.deletionProtection)||(a.DeletionProtection=e.deletionProtection),$dara.isNull(e.deploymentSetGroupNo)||(a.DeploymentSetGroupNo=e.deploymentSetGroupNo),$dara.isNull(e.deploymentSetId)||(a.DeploymentSetId=e.deploymentSetId),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.hostName)||(a.HostName=e.hostName),$dara.isNull(e.hpcClusterId)||(a.HpcClusterId=e.hpcClusterId),$dara.isNull(e.httpEndpoint)||(a.HttpEndpoint=e.httpEndpoint),$dara.isNull(e.httpPutResponseHopLimit)||(a.HttpPutResponseHopLimit=e.httpPutResponseHopLimit),$dara.isNull(e.httpTokens)||(a.HttpTokens=e.httpTokens),$dara.isNull(e.imageFamily)||(a.ImageFamily=e.imageFamily),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.innerIpAddress)||(a.InnerIpAddress=e.innerIpAddress),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.internetChargeType)||(a.InternetChargeType=e.internetChargeType),$dara.isNull(e.internetMaxBandwidthIn)||(a.InternetMaxBandwidthIn=e.internetMaxBandwidthIn),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.nodeControllerId)||(a.NodeControllerId=e.nodeControllerId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.password)||(a.Password=e.password),$dara.isNull(e.passwordInherit)||(a.PasswordInherit=e.passwordInherit),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.ramRoleName)||(a.RamRoleName=e.ramRoleName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityEnhancementStrategy)||(a.SecurityEnhancementStrategy=e.securityEnhancementStrategy),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.spotDuration)||(a.SpotDuration=e.spotDuration),$dara.isNull(e.spotInterruptionBehavior)||(a.SpotInterruptionBehavior=e.spotInterruptionBehavior),$dara.isNull(e.spotPriceLimit)||(a.SpotPriceLimit=e.spotPriceLimit),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.storageSetId)||(a.StorageSetId=e.storageSetId),$dara.isNull(e.storageSetPartitionNumber)||(a.StorageSetPartitionNumber=e.storageSetPartitionNumber),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.tenancy)||(a.Tenancy=e.tenancy),$dara.isNull(e.useAdditionalService)||(a.UseAdditionalService=e.useAdditionalService),$dara.isNull(e.userData)||(a.UserData=e.userData),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.vlanId)||(a.VlanId=e.vlanId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.hibernationOptions)||(a.HibernationOptions=e.hibernationOptions),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateInstanceResponse({}))}async createInstance(e){let r=new $dara.RuntimeOptions({});return await this.createInstanceWithOptions(e,r)}async createKeyPairWithOptions(e,r){e.validate();let a={};$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateKeyPair",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateKeyPairResponse({}))}async createKeyPair(e){let r=new $dara.RuntimeOptions({});return await this.createKeyPairWithOptions(e,r)}async createLaunchTemplateWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoReleaseTime)||(a.AutoReleaseTime=e.autoReleaseTime),$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.creditSpecification)||(a.CreditSpecification=e.creditSpecification),$dara.isNull(e.dataDisk)||(a.DataDisk=e.dataDisk),$dara.isNull(e.deletionProtection)||(a.DeletionProtection=e.deletionProtection),$dara.isNull(e.deploymentSetId)||(a.DeploymentSetId=e.deploymentSetId),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.enableVmOsConfig)||(a.EnableVmOsConfig=e.enableVmOsConfig),$dara.isNull(e.hostName)||(a.HostName=e.hostName),$dara.isNull(e.httpEndpoint)||(a.HttpEndpoint=e.httpEndpoint),$dara.isNull(e.httpPutResponseHopLimit)||(a.HttpPutResponseHopLimit=e.httpPutResponseHopLimit),$dara.isNull(e.httpTokens)||(a.HttpTokens=e.httpTokens),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.imageOptions)||(a.ImageOptions=e.imageOptions),$dara.isNull(e.imageOwnerAlias)||(a.ImageOwnerAlias=e.imageOwnerAlias),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.internetChargeType)||(a.InternetChargeType=e.internetChargeType),$dara.isNull(e.internetMaxBandwidthIn)||(a.InternetMaxBandwidthIn=e.internetMaxBandwidthIn),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.ipv6AddressCount)||(a.Ipv6AddressCount=e.ipv6AddressCount),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.networkInterface)||(a.NetworkInterface=e.networkInterface),$dara.isNull(e.networkType)||(a.NetworkType=e.networkType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.passwordInherit)||(a.PasswordInherit=e.passwordInherit),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.ramRoleName)||(a.RamRoleName=e.ramRoleName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityEnhancementStrategy)||(a.SecurityEnhancementStrategy=e.securityEnhancementStrategy),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupIds)||(a.SecurityGroupIds=e.securityGroupIds),$dara.isNull(e.securityOptions)||(a.SecurityOptions=e.securityOptions),$dara.isNull(e.spotDuration)||(a.SpotDuration=e.spotDuration),$dara.isNull(e.spotPriceLimit)||(a.SpotPriceLimit=e.spotPriceLimit),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.templateResourceGroupId)||(a.TemplateResourceGroupId=e.templateResourceGroupId),$dara.isNull(e.templateTag)||(a.TemplateTag=e.templateTag),$dara.isNull(e.userData)||(a.UserData=e.userData),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.versionDescription)||(a.VersionDescription=e.versionDescription),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateLaunchTemplate",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateLaunchTemplateResponse({}))}async createLaunchTemplate(e){let r=new $dara.RuntimeOptions({});return await this.createLaunchTemplateWithOptions(e,r)}async createLaunchTemplateVersionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoReleaseTime)||(a.AutoReleaseTime=e.autoReleaseTime),$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.creditSpecification)||(a.CreditSpecification=e.creditSpecification),$dara.isNull(e.dataDisk)||(a.DataDisk=e.dataDisk),$dara.isNull(e.deletionProtection)||(a.DeletionProtection=e.deletionProtection),$dara.isNull(e.deploymentSetId)||(a.DeploymentSetId=e.deploymentSetId),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.enableVmOsConfig)||(a.EnableVmOsConfig=e.enableVmOsConfig),$dara.isNull(e.hostName)||(a.HostName=e.hostName),$dara.isNull(e.httpEndpoint)||(a.HttpEndpoint=e.httpEndpoint),$dara.isNull(e.httpPutResponseHopLimit)||(a.HttpPutResponseHopLimit=e.httpPutResponseHopLimit),$dara.isNull(e.httpTokens)||(a.HttpTokens=e.httpTokens),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.imageOptions)||(a.ImageOptions=e.imageOptions),$dara.isNull(e.imageOwnerAlias)||(a.ImageOwnerAlias=e.imageOwnerAlias),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.internetChargeType)||(a.InternetChargeType=e.internetChargeType),$dara.isNull(e.internetMaxBandwidthIn)||(a.InternetMaxBandwidthIn=e.internetMaxBandwidthIn),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.ipv6AddressCount)||(a.Ipv6AddressCount=e.ipv6AddressCount),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.launchTemplateId)||(a.LaunchTemplateId=e.launchTemplateId),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.networkInterface)||(a.NetworkInterface=e.networkInterface),$dara.isNull(e.networkType)||(a.NetworkType=e.networkType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.passwordInherit)||(a.PasswordInherit=e.passwordInherit),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.ramRoleName)||(a.RamRoleName=e.ramRoleName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityEnhancementStrategy)||(a.SecurityEnhancementStrategy=e.securityEnhancementStrategy),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupIds)||(a.SecurityGroupIds=e.securityGroupIds),$dara.isNull(e.securityOptions)||(a.SecurityOptions=e.securityOptions),$dara.isNull(e.spotDuration)||(a.SpotDuration=e.spotDuration),$dara.isNull(e.spotPriceLimit)||(a.SpotPriceLimit=e.spotPriceLimit),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.userData)||(a.UserData=e.userData),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.versionDescription)||(a.VersionDescription=e.versionDescription),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateLaunchTemplateVersion",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateLaunchTemplateVersionResponse({}))}async createLaunchTemplateVersion(e){let r=new $dara.RuntimeOptions({});return await this.createLaunchTemplateVersionWithOptions(e,r)}async createNatGatewayWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bandwidthPackage)||(a.BandwidthPackage=e.bandwidthPackage),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateNatGateway",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateNatGatewayResponse({}))}async createNatGateway(e){let r=new $dara.RuntimeOptions({});return await this.createNatGatewayWithOptions(e,r)}async createNetworkInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.businessType)||(a.BusinessType=e.businessType),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.connectionTrackingConfiguration)||(a.ConnectionTrackingConfiguration=e.connectionTrackingConfiguration),$dara.isNull(e.deleteOnRelease)||(a.DeleteOnRelease=e.deleteOnRelease),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.enhancedNetwork)||(a.EnhancedNetwork=e.enhancedNetwork),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ipv4Prefix)||(a.Ipv4Prefix=e.ipv4Prefix),$dara.isNull(e.ipv4PrefixCount)||(a.Ipv4PrefixCount=e.ipv4PrefixCount),$dara.isNull(e.ipv6Address)||(a.Ipv6Address=e.ipv6Address),$dara.isNull(e.ipv6AddressCount)||(a.Ipv6AddressCount=e.ipv6AddressCount),$dara.isNull(e.ipv6Prefix)||(a.Ipv6Prefix=e.ipv6Prefix),$dara.isNull(e.ipv6PrefixCount)||(a.Ipv6PrefixCount=e.ipv6PrefixCount),$dara.isNull(e.networkInterfaceName)||(a.NetworkInterfaceName=e.networkInterfaceName),$dara.isNull(e.networkInterfaceTrafficConfig)||(a.NetworkInterfaceTrafficConfig=e.networkInterfaceTrafficConfig),$dara.isNull(e.networkInterfaceTrafficMode)||(a.NetworkInterfaceTrafficMode=e.networkInterfaceTrafficMode),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.primaryIpAddress)||(a.PrimaryIpAddress=e.primaryIpAddress),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.queueNumber)||(a.QueueNumber=e.queueNumber),$dara.isNull(e.queuePairNumber)||(a.QueuePairNumber=e.queuePairNumber),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.rxQueueSize)||(a.RxQueueSize=e.rxQueueSize),$dara.isNull(e.secondaryPrivateIpAddressCount)||(a.SecondaryPrivateIpAddressCount=e.secondaryPrivateIpAddressCount),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupIds)||(a.SecurityGroupIds=e.securityGroupIds),$dara.isNull(e.sourceDestCheck)||(a.SourceDestCheck=e.sourceDestCheck),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.txQueueSize)||(a.TxQueueSize=e.txQueueSize),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.visible)||(a.Visible=e.visible);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateNetworkInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateNetworkInterfaceResponse({}))}async createNetworkInterface(e){let r=new $dara.RuntimeOptions({});return await this.createNetworkInterfaceWithOptions(e,r)}async createNetworkInterfacePermissionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.accountId)||(a.AccountId=e.accountId),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.permission)||(a.Permission=e.permission),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateNetworkInterfacePermission",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateNetworkInterfacePermissionResponse({}))}async createNetworkInterfacePermission(e){let r=new $dara.RuntimeOptions({});return await this.createNetworkInterfacePermissionWithOptions(e,r)}async createPhysicalConnectionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.accessPointId)||(a.AccessPointId=e.accessPointId),$dara.isNull(e.circuitCode)||(a.CircuitCode=e.circuitCode),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.lineOperator)||(a.LineOperator=e.lineOperator),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.peerLocation)||(a.PeerLocation=e.peerLocation),$dara.isNull(e.portType)||(a.PortType=e.portType),$dara.isNull(e.redundantPhysicalConnectionId)||(a.RedundantPhysicalConnectionId=e.redundantPhysicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.type)||(a.Type=e.type),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.bandwidth)||(a.bandwidth=e.bandwidth);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreatePhysicalConnection",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreatePhysicalConnectionResponse({}))}async createPhysicalConnection(e){let r=new $dara.RuntimeOptions({});return await this.createPhysicalConnectionWithOptions(e,r)}async createPlanMaintenanceWindowWithOptions(e,r){e.validate();let a=new $_model.CreatePlanMaintenanceWindowShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.targetResource)||(a.targetResourceShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.targetResource,"TargetResource","json")),$dara.isNull(e.timePeriod)||(a.timePeriodShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.timePeriod,"TimePeriod","json"));let n={};$dara.isNull(a.enable)||(n.Enable=a.enable),$dara.isNull(a.planWindowName)||(n.PlanWindowName=a.planWindowName),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.supportMaintenanceAction)||(n.SupportMaintenanceAction=a.supportMaintenanceAction),$dara.isNull(a.targetResourceShrink)||(n.TargetResource=a.targetResourceShrink),$dara.isNull(a.timePeriodShrink)||(n.TimePeriod=a.timePeriodShrink);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"CreatePlanMaintenanceWindow",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.CreatePlanMaintenanceWindowResponse({}))}async createPlanMaintenanceWindow(e){let r=new $dara.RuntimeOptions({});return await this.createPlanMaintenanceWindowWithOptions(e,r)}async createPortRangeListWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.entry)||(a.Entry=e.entry),$dara.isNull(e.maxEntries)||(a.MaxEntries=e.maxEntries),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.portRangeListName)||(a.PortRangeListName=e.portRangeListName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreatePortRangeList",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreatePortRangeListResponse({}))}async createPortRangeList(e){let r=new $dara.RuntimeOptions({});return await this.createPortRangeListWithOptions(e,r)}async createPrefixListWithOptions(e,r){e.validate();let a={};$dara.isNull(e.addressFamily)||(a.AddressFamily=e.addressFamily),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.entry)||(a.Entry=e.entry),$dara.isNull(e.maxEntries)||(a.MaxEntries=e.maxEntries),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.prefixListName)||(a.PrefixListName=e.prefixListName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreatePrefixList",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreatePrefixListResponse({}))}async createPrefixList(e){let r=new $dara.RuntimeOptions({});return await this.createPrefixListWithOptions(e,r)}async createRouteEntryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.destinationCidrBlock)||(a.DestinationCidrBlock=e.destinationCidrBlock),$dara.isNull(e.nextHopId)||(a.NextHopId=e.nextHopId),$dara.isNull(e.nextHopList)||(a.NextHopList=e.nextHopList),$dara.isNull(e.nextHopType)||(a.NextHopType=e.nextHopType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routeTableId)||(a.RouteTableId=e.routeTableId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateRouteEntry",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateRouteEntryResponse({}))}async createRouteEntry(e){let r=new $dara.RuntimeOptions({});return await this.createRouteEntryWithOptions(e,r)}async createRouterInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.accessPointId)||(a.AccessPointId=e.accessPointId),$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.healthCheckSourceIp)||(a.HealthCheckSourceIp=e.healthCheckSourceIp),$dara.isNull(e.healthCheckTargetIp)||(a.HealthCheckTargetIp=e.healthCheckTargetIp),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.oppositeAccessPointId)||(a.OppositeAccessPointId=e.oppositeAccessPointId),$dara.isNull(e.oppositeInterfaceId)||(a.OppositeInterfaceId=e.oppositeInterfaceId),$dara.isNull(e.oppositeInterfaceOwnerId)||(a.OppositeInterfaceOwnerId=e.oppositeInterfaceOwnerId),$dara.isNull(e.oppositeRegionId)||(a.OppositeRegionId=e.oppositeRegionId),$dara.isNull(e.oppositeRouterId)||(a.OppositeRouterId=e.oppositeRouterId),$dara.isNull(e.oppositeRouterType)||(a.OppositeRouterType=e.oppositeRouterType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.pricingCycle)||(a.PricingCycle=e.pricingCycle),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.role)||(a.Role=e.role),$dara.isNull(e.routerId)||(a.RouterId=e.routerId),$dara.isNull(e.routerType)||(a.RouterType=e.routerType),$dara.isNull(e.spec)||(a.Spec=e.spec),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateRouterInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateRouterInterfaceResponse({}))}async createRouterInterface(e){let r=new $dara.RuntimeOptions({});return await this.createRouterInterfaceWithOptions(e,r)}async createSavingsPlanWithOptions(e,r){e.validate();let a={};$dara.isNull(e.chargeType)||(a.ChargeType=e.chargeType),$dara.isNull(e.committedAmount)||(a.CommittedAmount=e.committedAmount),$dara.isNull(e.instanceTypeFamily)||(a.InstanceTypeFamily=e.instanceTypeFamily),$dara.isNull(e.instanceTypeFamilyGroup)||(a.InstanceTypeFamilyGroup=e.instanceTypeFamilyGroup),$dara.isNull(e.offeringType)||(a.OfferingType=e.offeringType),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.planType)||(a.PlanType=e.planType),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateSavingsPlan",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateSavingsPlanResponse({}))}async createSavingsPlan(e){let r=new $dara.RuntimeOptions({});return await this.createSavingsPlanWithOptions(e,r)}async createSecurityGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupName)||(a.SecurityGroupName=e.securityGroupName),$dara.isNull(e.securityGroupType)||(a.SecurityGroupType=e.securityGroupType),$dara.isNull(e.serviceManaged)||(a.ServiceManaged=e.serviceManaged),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateSecurityGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateSecurityGroupResponse({}))}async createSecurityGroup(e){let r=new $dara.RuntimeOptions({});return await this.createSecurityGroupWithOptions(e,r)}async createSimulatedSystemEventsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.eventType)||(a.EventType=e.eventType),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.notBefore)||(a.NotBefore=e.notBefore),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateSimulatedSystemEvents",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateSimulatedSystemEventsResponse({}))}async createSimulatedSystemEvents(e){let r=new $dara.RuntimeOptions({});return await this.createSimulatedSystemEventsWithOptions(e,r)}async createSnapshotWithOptions(e,r){e.validate();let a={};$dara.isNull(e.category)||(a.Category=e.category),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.instantAccess)||(a.InstantAccess=e.instantAccess),$dara.isNull(e.instantAccessRetentionDays)||(a.InstantAccessRetentionDays=e.instantAccessRetentionDays),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.retentionDays)||(a.RetentionDays=e.retentionDays),$dara.isNull(e.snapshotName)||(a.SnapshotName=e.snapshotName),$dara.isNull(e.storageLocationArn)||(a.StorageLocationArn=e.storageLocationArn),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateSnapshot",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateSnapshotResponse({}))}async createSnapshot(e){let r=new $dara.RuntimeOptions({});return await this.createSnapshotWithOptions(e,r)}async createSnapshotGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.excludeDiskId)||(a.ExcludeDiskId=e.excludeDiskId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instantAccess)||(a.InstantAccess=e.instantAccess),$dara.isNull(e.instantAccessRetentionDays)||(a.InstantAccessRetentionDays=e.instantAccessRetentionDays),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageLocationArn)||(a.StorageLocationArn=e.storageLocationArn),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateSnapshotGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateSnapshotGroupResponse({}))}async createSnapshotGroup(e){let r=new $dara.RuntimeOptions({});return await this.createSnapshotGroupWithOptions(e,r)}async createStorageSetWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.maxPartitionNumber)||(a.MaxPartitionNumber=e.maxPartitionNumber),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageSetName)||(a.StorageSetName=e.storageSetName),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateStorageSet",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateStorageSetResponse({}))}async createStorageSet(e){let r=new $dara.RuntimeOptions({});return await this.createStorageSetWithOptions(e,r)}async createVSwitchWithOptions(e,r){e.validate();let a={};$dara.isNull(e.cidrBlock)||(a.CidrBlock=e.cidrBlock),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vSwitchName)||(a.VSwitchName=e.vSwitchName),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateVSwitch",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateVSwitchResponse({}))}async createVSwitch(e){let r=new $dara.RuntimeOptions({});return await this.createVSwitchWithOptions(e,r)}async createVirtualBorderRouterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.circuitCode)||(a.CircuitCode=e.circuitCode),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.localGatewayIp)||(a.LocalGatewayIp=e.localGatewayIp),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.peerGatewayIp)||(a.PeerGatewayIp=e.peerGatewayIp),$dara.isNull(e.peeringSubnetMask)||(a.PeeringSubnetMask=e.peeringSubnetMask),$dara.isNull(e.physicalConnectionId)||(a.PhysicalConnectionId=e.physicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.vbrOwnerId)||(a.VbrOwnerId=e.vbrOwnerId),$dara.isNull(e.vlanId)||(a.VlanId=e.vlanId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateVirtualBorderRouter",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateVirtualBorderRouterResponse({}))}async createVirtualBorderRouter(e){let r=new $dara.RuntimeOptions({});return await this.createVirtualBorderRouterWithOptions(e,r)}async createVpcWithOptions(e,r){e.validate();let a={};$dara.isNull(e.cidrBlock)||(a.CidrBlock=e.cidrBlock),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.vpcName)||(a.VpcName=e.vpcName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"CreateVpc",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.CreateVpcResponse({}))}async createVpc(e){let r=new $dara.RuntimeOptions({});return await this.createVpcWithOptions(e,r)}async deactivateRouterInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routerInterfaceId)||(a.RouterInterfaceId=e.routerInterfaceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeactivateRouterInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeactivateRouterInterfaceResponse({}))}async deactivateRouterInterface(e){let r=new $dara.RuntimeOptions({});return await this.deactivateRouterInterfaceWithOptions(e,r)}async deleteActivationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.activationId)||(a.ActivationId=e.activationId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteActivation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteActivationResponse({}))}async deleteActivation(e){let r=new $dara.RuntimeOptions({});return await this.deleteActivationWithOptions(e,r)}async deleteAutoProvisioningGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoProvisioningGroupId)||(a.AutoProvisioningGroupId=e.autoProvisioningGroupId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.terminateInstances)||(a.TerminateInstances=e.terminateInstances);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteAutoProvisioningGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteAutoProvisioningGroupResponse({}))}async deleteAutoProvisioningGroup(e){let r=new $dara.RuntimeOptions({});return await this.deleteAutoProvisioningGroupWithOptions(e,r)}async deleteAutoSnapshotPolicyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.autoSnapshotPolicyId)||(a.autoSnapshotPolicyId=e.autoSnapshotPolicyId),$dara.isNull(e.regionId)||(a.regionId=e.regionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteAutoSnapshotPolicy",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteAutoSnapshotPolicyResponse({}))}async deleteAutoSnapshotPolicy(e){let r=new $dara.RuntimeOptions({});return await this.deleteAutoSnapshotPolicyWithOptions(e,r)}async deleteBandwidthPackageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bandwidthPackageId)||(a.BandwidthPackageId=e.bandwidthPackageId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteBandwidthPackage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteBandwidthPackageResponse({}))}async deleteBandwidthPackage(e){let r=new $dara.RuntimeOptions({});return await this.deleteBandwidthPackageWithOptions(e,r)}async deleteCommandWithOptions(e,r){e.validate();let a={};$dara.isNull(e.commandId)||(a.CommandId=e.commandId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteCommand",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteCommandResponse({}))}async deleteCommand(e){let r=new $dara.RuntimeOptions({});return await this.deleteCommandWithOptions(e,r)}async deleteDedicatedHostClusterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostClusterId)||(a.DedicatedHostClusterId=e.dedicatedHostClusterId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteDedicatedHostCluster",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteDedicatedHostClusterResponse({}))}async deleteDedicatedHostCluster(e){let r=new $dara.RuntimeOptions({});return await this.deleteDedicatedHostClusterWithOptions(e,r)}async deleteDeploymentSetWithOptions(e,r){e.validate();let a={};$dara.isNull(e.deploymentSetId)||(a.DeploymentSetId=e.deploymentSetId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteDeploymentSet",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteDeploymentSetResponse({}))}async deleteDeploymentSet(e){let r=new $dara.RuntimeOptions({});return await this.deleteDeploymentSetWithOptions(e,r)}async deleteDiagnosticMetricSetsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.metricSetIds)||(a.MetricSetIds=e.metricSetIds),$dara.isNull(e.regionId)||(a.RegionId=e.regionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteDiagnosticMetricSets",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteDiagnosticMetricSetsResponse({}))}async deleteDiagnosticMetricSets(e){let r=new $dara.RuntimeOptions({});return await this.deleteDiagnosticMetricSetsWithOptions(e,r)}async deleteDiagnosticReportsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reportIds)||(a.ReportIds=e.reportIds);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteDiagnosticReports",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteDiagnosticReportsResponse({}))}async deleteDiagnosticReports(e){let r=new $dara.RuntimeOptions({});return await this.deleteDiagnosticReportsWithOptions(e,r)}async deleteDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteDiskResponse({}))}async deleteDisk(e){let r=new $dara.RuntimeOptions({});return await this.deleteDiskWithOptions(e,r)}async deleteForwardEntryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.forwardEntryId)||(a.ForwardEntryId=e.forwardEntryId),$dara.isNull(e.forwardTableId)||(a.ForwardTableId=e.forwardTableId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteForwardEntry",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteForwardEntryResponse({}))}async deleteForwardEntry(e){let r=new $dara.RuntimeOptions({});return await this.deleteForwardEntryWithOptions(e,r)}async deleteHaVipWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.haVipId)||(a.HaVipId=e.haVipId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteHaVip",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteHaVipResponse({}))}async deleteHaVip(e){let r=new $dara.RuntimeOptions({});return await this.deleteHaVipWithOptions(e,r)}async deleteHpcClusterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.hpcClusterId)||(a.HpcClusterId=e.hpcClusterId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteHpcCluster",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteHpcClusterResponse({}))}async deleteHpcCluster(e){let r=new $dara.RuntimeOptions({});return await this.deleteHpcClusterWithOptions(e,r)}async deleteImageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteImage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteImageResponse({}))}async deleteImage(e){let r=new $dara.RuntimeOptions({});return await this.deleteImageWithOptions(e,r)}async deleteImageComponentWithOptions(e,r){e.validate();let a={};$dara.isNull(e.imageComponentId)||(a.ImageComponentId=e.imageComponentId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteImageComponent",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteImageComponentResponse({}))}async deleteImageComponent(e){let r=new $dara.RuntimeOptions({});return await this.deleteImageComponentWithOptions(e,r)}async deleteImagePipelineWithOptions(e,r){e.validate();let a={};$dara.isNull(e.imagePipelineId)||(a.ImagePipelineId=e.imagePipelineId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteImagePipeline",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteImagePipelineResponse({}))}async deleteImagePipeline(e){let r=new $dara.RuntimeOptions({});return await this.deleteImagePipelineWithOptions(e,r)}async deleteInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.forceStop)||(a.ForceStop=e.forceStop),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.terminateSubscription)||(a.TerminateSubscription=e.terminateSubscription);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteInstanceResponse({}))}async deleteInstance(e){let r=new $dara.RuntimeOptions({});return await this.deleteInstanceWithOptions(e,r)}async deleteInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.forceStop)||(a.ForceStop=e.forceStop),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.terminateSubscription)||(a.TerminateSubscription=e.terminateSubscription);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteInstancesResponse({}))}async deleteInstances(e){let r=new $dara.RuntimeOptions({});return await this.deleteInstancesWithOptions(e,r)}async deleteKeyPairsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.keyPairNames)||(a.KeyPairNames=e.keyPairNames),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteKeyPairs",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteKeyPairsResponse({}))}async deleteKeyPairs(e){let r=new $dara.RuntimeOptions({});return await this.deleteKeyPairsWithOptions(e,r)}async deleteLaunchTemplateWithOptions(e,r){e.validate();let a={};$dara.isNull(e.launchTemplateId)||(a.LaunchTemplateId=e.launchTemplateId),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteLaunchTemplate",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteLaunchTemplateResponse({}))}async deleteLaunchTemplate(e){let r=new $dara.RuntimeOptions({});return await this.deleteLaunchTemplateWithOptions(e,r)}async deleteLaunchTemplateVersionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.deleteVersion)||(a.DeleteVersion=e.deleteVersion),$dara.isNull(e.launchTemplateId)||(a.LaunchTemplateId=e.launchTemplateId),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteLaunchTemplateVersion",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteLaunchTemplateVersionResponse({}))}async deleteLaunchTemplateVersion(e){let r=new $dara.RuntimeOptions({});return await this.deleteLaunchTemplateVersionWithOptions(e,r)}async deleteNatGatewayWithOptions(e,r){e.validate();let a={};$dara.isNull(e.natGatewayId)||(a.NatGatewayId=e.natGatewayId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteNatGateway",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteNatGatewayResponse({}))}async deleteNatGateway(e){let r=new $dara.RuntimeOptions({});return await this.deleteNatGatewayWithOptions(e,r)}async deleteNetworkInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteNetworkInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteNetworkInterfaceResponse({}))}async deleteNetworkInterface(e){let r=new $dara.RuntimeOptions({});return await this.deleteNetworkInterfaceWithOptions(e,r)}async deleteNetworkInterfacePermissionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.networkInterfacePermissionId)||(a.NetworkInterfacePermissionId=e.networkInterfacePermissionId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteNetworkInterfacePermission",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteNetworkInterfacePermissionResponse({}))}async deleteNetworkInterfacePermission(e){let r=new $dara.RuntimeOptions({});return await this.deleteNetworkInterfacePermissionWithOptions(e,r)}async deletePhysicalConnectionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.physicalConnectionId)||(a.PhysicalConnectionId=e.physicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeletePhysicalConnection",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeletePhysicalConnectionResponse({}))}async deletePhysicalConnection(e){let r=new $dara.RuntimeOptions({});return await this.deletePhysicalConnectionWithOptions(e,r)}async deletePlanMaintenanceWindowWithOptions(e,r){e.validate();let a={};$dara.isNull(e.planWindowId)||(a.PlanWindowId=e.planWindowId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeletePlanMaintenanceWindow",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeletePlanMaintenanceWindowResponse({}))}async deletePlanMaintenanceWindow(e){let r=new $dara.RuntimeOptions({});return await this.deletePlanMaintenanceWindowWithOptions(e,r)}async deletePortRangeListWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.portRangeListId)||(a.PortRangeListId=e.portRangeListId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeletePortRangeList",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeletePortRangeListResponse({}))}async deletePortRangeList(e){let r=new $dara.RuntimeOptions({});return await this.deletePortRangeListWithOptions(e,r)}async deletePrefixListWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.prefixListId)||(a.PrefixListId=e.prefixListId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeletePrefixList",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeletePrefixListResponse({}))}async deletePrefixList(e){let r=new $dara.RuntimeOptions({});return await this.deletePrefixListWithOptions(e,r)}async deleteRouteEntryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.destinationCidrBlock)||(a.DestinationCidrBlock=e.destinationCidrBlock),$dara.isNull(e.nextHopId)||(a.NextHopId=e.nextHopId),$dara.isNull(e.nextHopList)||(a.NextHopList=e.nextHopList),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routeTableId)||(a.RouteTableId=e.routeTableId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteRouteEntry",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteRouteEntryResponse({}))}async deleteRouteEntry(e){let r=new $dara.RuntimeOptions({});return await this.deleteRouteEntryWithOptions(e,r)}async deleteRouterInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routerInterfaceId)||(a.RouterInterfaceId=e.routerInterfaceId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteRouterInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteRouterInterfaceResponse({}))}async deleteRouterInterface(e){let r=new $dara.RuntimeOptions({});return await this.deleteRouterInterfaceWithOptions(e,r)}async deleteSecurityGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteSecurityGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteSecurityGroupResponse({}))}async deleteSecurityGroup(e){let r=new $dara.RuntimeOptions({});return await this.deleteSecurityGroupWithOptions(e,r)}async deleteSnapshotWithOptions(e,r){e.validate();let a={};$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteSnapshot",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteSnapshotResponse({}))}async deleteSnapshot(e){let r=new $dara.RuntimeOptions({});return await this.deleteSnapshotWithOptions(e,r)}async deleteSnapshotGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotGroupId)||(a.SnapshotGroupId=e.snapshotGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteSnapshotGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteSnapshotGroupResponse({}))}async deleteSnapshotGroup(e){let r=new $dara.RuntimeOptions({});return await this.deleteSnapshotGroupWithOptions(e,r)}async deleteStorageSetWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageSetId)||(a.StorageSetId=e.storageSetId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteStorageSet",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteStorageSetResponse({}))}async deleteStorageSet(e){let r=new $dara.RuntimeOptions({});return await this.deleteStorageSetWithOptions(e,r)}async deleteVSwitchWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteVSwitch",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteVSwitchResponse({}))}async deleteVSwitch(e){let r=new $dara.RuntimeOptions({});return await this.deleteVSwitchWithOptions(e,r)}async deleteVirtualBorderRouterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.vbrId)||(a.VbrId=e.vbrId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteVirtualBorderRouter",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteVirtualBorderRouterResponse({}))}async deleteVirtualBorderRouter(e){let r=new $dara.RuntimeOptions({});return await this.deleteVirtualBorderRouterWithOptions(e,r)}async deleteVpcWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeleteVpc",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeleteVpcResponse({}))}async deleteVpc(e){let r=new $dara.RuntimeOptions({});return await this.deleteVpcWithOptions(e,r)}async deregisterManagedInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DeregisterManagedInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DeregisterManagedInstanceResponse({}))}async deregisterManagedInstance(e){let r=new $dara.RuntimeOptions({});return await this.deregisterManagedInstanceWithOptions(e,r)}async describeAccessPointsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.type)||(a.Type=e.type);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAccessPoints",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAccessPointsResponse({}))}async describeAccessPoints(e){let r=new $dara.RuntimeOptions({});return await this.describeAccessPointsWithOptions(e,r)}async describeAccountAttributesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.attributeName)||(a.AttributeName=e.attributeName),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAccountAttributes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAccountAttributesResponse({}))}async describeAccountAttributes(e){let r=new $dara.RuntimeOptions({});return await this.describeAccountAttributesWithOptions(e,r)}async describeActivationsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.activationId)||(a.ActivationId=e.activationId),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeActivations",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeActivationsResponse({}))}async describeActivations(e){let r=new $dara.RuntimeOptions({});return await this.describeActivationsWithOptions(e,r)}async describeAutoProvisioningGroupHistoryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoProvisioningGroupId)||(a.AutoProvisioningGroupId=e.autoProvisioningGroupId),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAutoProvisioningGroupHistory",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAutoProvisioningGroupHistoryResponse({}))}async describeAutoProvisioningGroupHistory(e){let r=new $dara.RuntimeOptions({});return await this.describeAutoProvisioningGroupHistoryWithOptions(e,r)}async describeAutoProvisioningGroupInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoProvisioningGroupId)||(a.AutoProvisioningGroupId=e.autoProvisioningGroupId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAutoProvisioningGroupInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAutoProvisioningGroupInstancesResponse({}))}async describeAutoProvisioningGroupInstances(e){let r=new $dara.RuntimeOptions({});return await this.describeAutoProvisioningGroupInstancesWithOptions(e,r)}async describeAutoProvisioningGroupsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoProvisioningGroupId)||(a.AutoProvisioningGroupId=e.autoProvisioningGroupId),$dara.isNull(e.autoProvisioningGroupName)||(a.AutoProvisioningGroupName=e.autoProvisioningGroupName),$dara.isNull(e.autoProvisioningGroupStatus)||(a.AutoProvisioningGroupStatus=e.autoProvisioningGroupStatus),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAutoProvisioningGroups",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAutoProvisioningGroupsResponse({}))}async describeAutoProvisioningGroups(e){let r=new $dara.RuntimeOptions({});return await this.describeAutoProvisioningGroupsWithOptions(e,r)}async describeAutoSnapshotPolicyAssociationsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoSnapshotPolicyId)||(a.AutoSnapshotPolicyId=e.autoSnapshotPolicyId),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAutoSnapshotPolicyAssociations",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAutoSnapshotPolicyAssociationsResponse({}))}async describeAutoSnapshotPolicyAssociations(e){let r=new $dara.RuntimeOptions({});return await this.describeAutoSnapshotPolicyAssociationsWithOptions(e,r)}async describeAutoSnapshotPolicyExWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoSnapshotPolicyId)||(a.AutoSnapshotPolicyId=e.autoSnapshotPolicyId),$dara.isNull(e.autoSnapshotPolicyName)||(a.AutoSnapshotPolicyName=e.autoSnapshotPolicyName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAutoSnapshotPolicyEx",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAutoSnapshotPolicyExResponse({}))}async describeAutoSnapshotPolicyEx(e){let r=new $dara.RuntimeOptions({});return await this.describeAutoSnapshotPolicyExWithOptions(e,r)}async describeAvailableResourceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.cores)||(a.Cores=e.cores),$dara.isNull(e.dataDiskCategory)||(a.DataDiskCategory=e.dataDiskCategory),$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.destinationResource)||(a.DestinationResource=e.destinationResource),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.memory)||(a.Memory=e.memory),$dara.isNull(e.networkCategory)||(a.NetworkCategory=e.networkCategory),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.scope)||(a.Scope=e.scope),$dara.isNull(e.spotDuration)||(a.SpotDuration=e.spotDuration),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.systemDiskCategory)||(a.SystemDiskCategory=e.systemDiskCategory),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeAvailableResource",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeAvailableResourceResponse({}))}async describeAvailableResource(e){let r=new $dara.RuntimeOptions({});return await this.describeAvailableResourceWithOptions(e,r)}async describeBandwidthLimitationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.operationType)||(a.OperationType=e.operationType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeBandwidthLimitation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeBandwidthLimitationResponse({}))}async describeBandwidthLimitation(e){let r=new $dara.RuntimeOptions({});return await this.describeBandwidthLimitationWithOptions(e,r)}async describeBandwidthPackagesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bandwidthPackageId)||(a.BandwidthPackageId=e.bandwidthPackageId),$dara.isNull(e.natGatewayId)||(a.NatGatewayId=e.natGatewayId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeBandwidthPackages",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeBandwidthPackagesResponse({}))}async describeBandwidthPackages(e){let r=new $dara.RuntimeOptions({});return await this.describeBandwidthPackagesWithOptions(e,r)}async describeCapacityReservationInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeCapacityReservationInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeCapacityReservationInstancesResponse({}))}async describeCapacityReservationInstances(e){let r=new $dara.RuntimeOptions({});return await this.describeCapacityReservationInstancesWithOptions(e,r)}async describeCapacityReservationsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeCapacityReservations",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeCapacityReservationsResponse({}))}async describeCapacityReservations(e){let r=new $dara.RuntimeOptions({});return await this.describeCapacityReservationsWithOptions(e,r)}async describeClassicLinkInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeClassicLinkInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeClassicLinkInstancesResponse({}))}async describeClassicLinkInstances(e){let r=new $dara.RuntimeOptions({});return await this.describeClassicLinkInstancesWithOptions(e,r)}async describeCloudAssistantSettingsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.settingType)||(a.SettingType=e.settingType);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeCloudAssistantSettings",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeCloudAssistantSettingsResponse({}))}async describeCloudAssistantSettings(e){let r=new $dara.RuntimeOptions({});return await this.describeCloudAssistantSettingsWithOptions(e,r)}async describeCloudAssistantStatusWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.OSType)||(a.OSType=e.OSType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeCloudAssistantStatus",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeCloudAssistantStatusResponse({}))}async describeCloudAssistantStatus(e){let r=new $dara.RuntimeOptions({});return await this.describeCloudAssistantStatusWithOptions(e,r)}async describeClustersWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeClusters",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeClustersResponse({}))}async describeClusters(e){let r=new $dara.RuntimeOptions({});return await this.describeClustersWithOptions(e,r)}async describeCommandsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.commandId)||(a.CommandId=e.commandId),$dara.isNull(e.contentEncoding)||(a.ContentEncoding=e.contentEncoding),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.latest)||(a.Latest=e.latest),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.provider)||(a.Provider=e.provider),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.type)||(a.Type=e.type);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeCommands",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeCommandsResponse({}))}async describeCommands(e){let r=new $dara.RuntimeOptions({});return await this.describeCommandsWithOptions(e,r)}async describeDedicatedHostAutoRenewWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostIds)||(a.DedicatedHostIds=e.dedicatedHostIds),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDedicatedHostAutoRenew",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDedicatedHostAutoRenewResponse({}))}async describeDedicatedHostAutoRenew(e){let r=new $dara.RuntimeOptions({});return await this.describeDedicatedHostAutoRenewWithOptions(e,r)}async describeDedicatedHostClustersWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostClusterIds)||(a.DedicatedHostClusterIds=e.dedicatedHostClusterIds),$dara.isNull(e.dedicatedHostClusterName)||(a.DedicatedHostClusterName=e.dedicatedHostClusterName),$dara.isNull(e.lockReason)||(a.LockReason=e.lockReason),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDedicatedHostClusters",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDedicatedHostClustersResponse({}))}async describeDedicatedHostClusters(e){let r=new $dara.RuntimeOptions({});return await this.describeDedicatedHostClustersWithOptions(e,r)}async describeDedicatedHostTypesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostType)||(a.DedicatedHostType=e.dedicatedHostType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.supportedInstanceTypeFamily)||(a.SupportedInstanceTypeFamily=e.supportedInstanceTypeFamily);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDedicatedHostTypes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDedicatedHostTypesResponse({}))}async describeDedicatedHostTypes(e){let r=new $dara.RuntimeOptions({});return await this.describeDedicatedHostTypesWithOptions(e,r)}async describeDedicatedHostsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostClusterId)||(a.DedicatedHostClusterId=e.dedicatedHostClusterId),$dara.isNull(e.dedicatedHostIds)||(a.DedicatedHostIds=e.dedicatedHostIds),$dara.isNull(e.dedicatedHostName)||(a.DedicatedHostName=e.dedicatedHostName),$dara.isNull(e.dedicatedHostType)||(a.DedicatedHostType=e.dedicatedHostType),$dara.isNull(e.lockReason)||(a.LockReason=e.lockReason),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.queryInventory)||(a.QueryInventory=e.queryInventory),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.socketDetails)||(a.SocketDetails=e.socketDetails),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDedicatedHosts",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDedicatedHostsResponse({}))}async describeDedicatedHosts(e){let r=new $dara.RuntimeOptions({});return await this.describeDedicatedHostsWithOptions(e,r)}async describeDeploymentSetSupportedInstanceTypeFamilyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.strategy)||(a.Strategy=e.strategy);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDeploymentSetSupportedInstanceTypeFamily",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse({}))}async describeDeploymentSetSupportedInstanceTypeFamily(e){let r=new $dara.RuntimeOptions({});return await this.describeDeploymentSetSupportedInstanceTypeFamilyWithOptions(e,r)}async describeDeploymentSetsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.deploymentSetIds)||(a.DeploymentSetIds=e.deploymentSetIds),$dara.isNull(e.deploymentSetName)||(a.DeploymentSetName=e.deploymentSetName),$dara.isNull(e.domain)||(a.Domain=e.domain),$dara.isNull(e.granularity)||(a.Granularity=e.granularity),$dara.isNull(e.networkType)||(a.NetworkType=e.networkType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.strategy)||(a.Strategy=e.strategy),$dara.isNull(e.type)||(a.Type=e.type);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDeploymentSets",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDeploymentSetsResponse({}))}async describeDeploymentSets(e){let r=new $dara.RuntimeOptions({});return await this.describeDeploymentSetsWithOptions(e,r)}async describeDiagnosticMetricSetsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.metricSetIds)||(a.MetricSetIds=e.metricSetIds),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.type)||(a.Type=e.type);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDiagnosticMetricSets",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDiagnosticMetricSetsResponse({}))}async describeDiagnosticMetricSets(e){let r=new $dara.RuntimeOptions({});return await this.describeDiagnosticMetricSetsWithOptions(e,r)}async describeDiagnosticMetricsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.metricIds)||(a.MetricIds=e.metricIds),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDiagnosticMetrics",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDiagnosticMetricsResponse({}))}async describeDiagnosticMetrics(e){let r=new $dara.RuntimeOptions({});return await this.describeDiagnosticMetricsWithOptions(e,r)}async describeDiagnosticReportAttributesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reportId)||(a.ReportId=e.reportId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDiagnosticReportAttributes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDiagnosticReportAttributesResponse({}))}async describeDiagnosticReportAttributes(e){let r=new $dara.RuntimeOptions({});return await this.describeDiagnosticReportAttributesWithOptions(e,r)}async describeDiagnosticReportsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reportIds)||(a.ReportIds=e.reportIds),$dara.isNull(e.resourceIds)||(a.ResourceIds=e.resourceIds),$dara.isNull(e.severity)||(a.Severity=e.severity),$dara.isNull(e.status)||(a.Status=e.status);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDiagnosticReports",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDiagnosticReportsResponse({}))}async describeDiagnosticReports(e){let r=new $dara.RuntimeOptions({});return await this.describeDiagnosticReportsWithOptions(e,r)}async describeDiskDefaultKMSKeyIdWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDiskDefaultKMSKeyId",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDiskDefaultKMSKeyIdResponse({}))}async describeDiskDefaultKMSKeyId(e){let r=new $dara.RuntimeOptions({});return await this.describeDiskDefaultKMSKeyIdWithOptions(e,r)}async describeDiskEncryptionByDefaultStatusWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDiskEncryptionByDefaultStatus",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDiskEncryptionByDefaultStatusResponse({}))}async describeDiskEncryptionByDefaultStatus(e){let r=new $dara.RuntimeOptions({});return await this.describeDiskEncryptionByDefaultStatusWithOptions(e,r)}async describeDiskMonitorDataWithOptions(e,r){e.validate();let a={};$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDiskMonitorData",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDiskMonitorDataResponse({}))}async describeDiskMonitorData(e){let r=new $dara.RuntimeOptions({});return await this.describeDiskMonitorDataWithOptions(e,r)}async describeDisksWithOptions(e,r){e.validate();let a={};$dara.isNull(e.additionalAttributes)||(a.AdditionalAttributes=e.additionalAttributes),$dara.isNull(e.autoSnapshotPolicyId)||(a.AutoSnapshotPolicyId=e.autoSnapshotPolicyId),$dara.isNull(e.category)||(a.Category=e.category),$dara.isNull(e.deleteAutoSnapshot)||(a.DeleteAutoSnapshot=e.deleteAutoSnapshot),$dara.isNull(e.deleteWithInstance)||(a.DeleteWithInstance=e.deleteWithInstance),$dara.isNull(e.diskChargeType)||(a.DiskChargeType=e.diskChargeType),$dara.isNull(e.diskIds)||(a.DiskIds=e.diskIds),$dara.isNull(e.diskName)||(a.DiskName=e.diskName),$dara.isNull(e.diskType)||(a.DiskType=e.diskType),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.enableAutoSnapshot)||(a.EnableAutoSnapshot=e.enableAutoSnapshot),$dara.isNull(e.enableAutomatedSnapshotPolicy)||(a.EnableAutomatedSnapshotPolicy=e.enableAutomatedSnapshotPolicy),$dara.isNull(e.enableShared)||(a.EnableShared=e.enableShared),$dara.isNull(e.encrypted)||(a.Encrypted=e.encrypted),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.KMSKeyId)||(a.KMSKeyId=e.KMSKeyId),$dara.isNull(e.lockReason)||(a.LockReason=e.lockReason),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.multiAttach)||(a.MultiAttach=e.multiAttach),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.portable)||(a.Portable=e.portable),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.filter)||(a.Filter=e.filter);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDisks",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDisksResponse({}))}async describeDisks(e){let r=new $dara.RuntimeOptions({});return await this.describeDisksWithOptions(e,r)}async describeDisksFullStatusWithOptions(e,r){e.validate();let a={};$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.eventId)||(a.EventId=e.eventId),$dara.isNull(e.eventType)||(a.EventType=e.eventType),$dara.isNull(e.healthStatus)||(a.HealthStatus=e.healthStatus),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.eventTime)||(a.EventTime=e.eventTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeDisksFullStatus",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeDisksFullStatusResponse({}))}async describeDisksFullStatus(e){let r=new $dara.RuntimeOptions({});return await this.describeDisksFullStatusWithOptions(e,r)}async describeEipAddressesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationId)||(a.AllocationId=e.allocationId),$dara.isNull(e.associatedInstanceId)||(a.AssociatedInstanceId=e.associatedInstanceId),$dara.isNull(e.associatedInstanceType)||(a.AssociatedInstanceType=e.associatedInstanceType),$dara.isNull(e.chargeType)||(a.ChargeType=e.chargeType),$dara.isNull(e.eipAddress)||(a.EipAddress=e.eipAddress),$dara.isNull(e.ISP)||(a.ISP=e.ISP),$dara.isNull(e.lockReason)||(a.LockReason=e.lockReason),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.filter)||(a.Filter=e.filter);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeEipAddresses",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeEipAddressesResponse({}))}async describeEipAddresses(e){let r=new $dara.RuntimeOptions({});return await this.describeEipAddressesWithOptions(e,r)}async describeEipMonitorDataWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationId)||(a.AllocationId=e.allocationId),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeEipMonitorData",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeEipMonitorDataResponse({}))}async describeEipMonitorData(e){let r=new $dara.RuntimeOptions({});return await this.describeEipMonitorDataWithOptions(e,r)}async describeElasticityAssuranceAutoRenewAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeElasticityAssuranceAutoRenewAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeElasticityAssuranceAutoRenewAttributeResponse({}))}async describeElasticityAssuranceAutoRenewAttribute(e){let r=new $dara.RuntimeOptions({});return await this.describeElasticityAssuranceAutoRenewAttributeWithOptions(e,r)}async describeElasticityAssuranceInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeElasticityAssuranceInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeElasticityAssuranceInstancesResponse({}))}async describeElasticityAssuranceInstances(e){let r=new $dara.RuntimeOptions({});return await this.describeElasticityAssuranceInstancesWithOptions(e,r)}async describeElasticityAssurancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.packageType)||(a.PackageType=e.packageType),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeElasticityAssurances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeElasticityAssurancesResponse({}))}async describeElasticityAssurances(e){let r=new $dara.RuntimeOptions({});return await this.describeElasticityAssurancesWithOptions(e,r)}async describeEniMonitorDataWithOptions(e,r){e.validate();let a={};$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.eniId)||(a.EniId=e.eniId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeEniMonitorData",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeEniMonitorDataResponse({}))}async describeEniMonitorData(e){let r=new $dara.RuntimeOptions({});return await this.describeEniMonitorDataWithOptions(e,r)}async describeForwardTableEntriesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.forwardEntryId)||(a.ForwardEntryId=e.forwardEntryId),$dara.isNull(e.forwardTableId)||(a.ForwardTableId=e.forwardTableId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeForwardTableEntries",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeForwardTableEntriesResponse({}))}async describeForwardTableEntries(e){let r=new $dara.RuntimeOptions({});return await this.describeForwardTableEntriesWithOptions(e,r)}async describeHaVipsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeHaVips",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeHaVipsResponse({}))}async describeHaVips(e){let r=new $dara.RuntimeOptions({});return await this.describeHaVipsWithOptions(e,r)}async describeHpcClustersWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.hpcClusterIds)||(a.HpcClusterIds=e.hpcClusterIds),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeHpcClusters",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeHpcClustersResponse({}))}async describeHpcClusters(e){let r=new $dara.RuntimeOptions({});return await this.describeHpcClustersWithOptions(e,r)}async describeImageComponentsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.componentType)||(a.ComponentType=e.componentType),$dara.isNull(e.componentVersion)||(a.ComponentVersion=e.componentVersion),$dara.isNull(e.imageComponentId)||(a.ImageComponentId=e.imageComponentId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.owner)||(a.Owner=e.owner),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.systemType)||(a.SystemType=e.systemType),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeImageComponents",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeImageComponentsResponse({}))}async describeImageComponents(e){let r=new $dara.RuntimeOptions({});return await this.describeImageComponentsWithOptions(e,r)}async describeImageFromFamilyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.imageFamily)||(a.ImageFamily=e.imageFamily),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeImageFromFamily",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeImageFromFamilyResponse({}))}async describeImageFromFamily(e){let r=new $dara.RuntimeOptions({});return await this.describeImageFromFamilyWithOptions(e,r)}async describeImagePipelineExecutionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.executionId)||(a.ExecutionId=e.executionId),$dara.isNull(e.imagePipelineId)||(a.ImagePipelineId=e.imagePipelineId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeImagePipelineExecutions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeImagePipelineExecutionsResponse({}))}async describeImagePipelineExecutions(e){let r=new $dara.RuntimeOptions({});return await this.describeImagePipelineExecutionsWithOptions(e,r)}async describeImagePipelinesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.imagePipelineId)||(a.ImagePipelineId=e.imagePipelineId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeImagePipelines",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeImagePipelinesResponse({}))}async describeImagePipelines(e){let r=new $dara.RuntimeOptions({});return await this.describeImagePipelinesWithOptions(e,r)}async describeImageSharePermissionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeImageSharePermission",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeImageSharePermissionResponse({}))}async describeImageSharePermission(e){let r=new $dara.RuntimeOptions({});return await this.describeImageSharePermissionWithOptions(e,r)}async describeImageSupportInstanceTypesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.actionType)||(a.ActionType=e.actionType),$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeImageSupportInstanceTypes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeImageSupportInstanceTypesResponse({}))}async describeImageSupportInstanceTypes(e){let r=new $dara.RuntimeOptions({});return await this.describeImageSupportInstanceTypesWithOptions(e,r)}async describeImagesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.actionType)||(a.ActionType=e.actionType),$dara.isNull(e.architecture)||(a.Architecture=e.architecture),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.imageFamily)||(a.ImageFamily=e.imageFamily),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.imageName)||(a.ImageName=e.imageName),$dara.isNull(e.imageOwnerAlias)||(a.ImageOwnerAlias=e.imageOwnerAlias),$dara.isNull(e.imageOwnerId)||(a.ImageOwnerId=e.imageOwnerId),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.isPublic)||(a.IsPublic=e.isPublic),$dara.isNull(e.isSupportCloudinit)||(a.IsSupportCloudinit=e.isSupportCloudinit),$dara.isNull(e.isSupportIoOptimized)||(a.IsSupportIoOptimized=e.isSupportIoOptimized),$dara.isNull(e.OSType)||(a.OSType=e.OSType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.showExpired)||(a.ShowExpired=e.showExpired),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.usage)||(a.Usage=e.usage);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeImages",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeImagesResponse({}))}async describeImages(e){let r=new $dara.RuntimeOptions({});return await this.describeImagesWithOptions(e,r)}async describeInstanceAttachmentAttributesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceAttachmentAttributes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceAttachmentAttributesResponse({}))}async describeInstanceAttachmentAttributes(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceAttachmentAttributesWithOptions(e,r)}async describeInstanceAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceAttributeResponse({}))}async describeInstanceAttribute(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceAttributeWithOptions(e,r)}async describeInstanceAutoRenewAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.renewalStatus)||(a.RenewalStatus=e.renewalStatus),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceAutoRenewAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceAutoRenewAttributeResponse({}))}async describeInstanceAutoRenewAttribute(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceAutoRenewAttributeWithOptions(e,r)}async describeInstanceHistoryEventsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.eventCycleStatus)||(a.EventCycleStatus=e.eventCycleStatus),$dara.isNull(e.eventId)||(a.EventId=e.eventId),$dara.isNull(e.eventType)||(a.EventType=e.eventType),$dara.isNull(e.impactLevel)||(a.ImpactLevel=e.impactLevel),$dara.isNull(e.instanceEventCycleStatus)||(a.InstanceEventCycleStatus=e.instanceEventCycleStatus),$dara.isNull(e.instanceEventType)||(a.InstanceEventType=e.instanceEventType),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.eventPublishTime)||(a.EventPublishTime=e.eventPublishTime),$dara.isNull(e.notBefore)||(a.NotBefore=e.notBefore);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceHistoryEvents",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceHistoryEventsResponse({}))}async describeInstanceHistoryEvents(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceHistoryEventsWithOptions(e,r)}async describeInstanceMaintenanceAttributesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceMaintenanceAttributes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceMaintenanceAttributesResponse({}))}async describeInstanceMaintenanceAttributes(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceMaintenanceAttributesWithOptions(e,r)}async describeInstanceModificationPriceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dataDisk)||(a.DataDisk=e.dataDisk),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceModificationPrice",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceModificationPriceResponse({}))}async describeInstanceModificationPrice(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceModificationPriceWithOptions(e,r)}async describeInstanceMonitorDataWithOptions(e,r){e.validate();let a={};$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceMonitorData",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceMonitorDataResponse({}))}async describeInstanceMonitorData(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceMonitorDataWithOptions(e,r)}async describeInstanceRamRoleWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.ramRoleName)||(a.RamRoleName=e.ramRoleName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceRamRole",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceRamRoleResponse({}))}async describeInstanceRamRole(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceRamRoleWithOptions(e,r)}async describeInstanceStatusWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clusterId)||(a.ClusterId=e.clusterId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceStatus",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceStatusResponse({}))}async describeInstanceStatus(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceStatusWithOptions(e,r)}async describeInstanceTopologyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceTopology",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceTopologyResponse({}))}async describeInstanceTopology(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceTopologyWithOptions(e,r)}async describeInstanceTypeFamiliesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.generation)||(a.Generation=e.generation),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceTypeFamilies",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceTypeFamiliesResponse({}))}async describeInstanceTypeFamilies(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceTypeFamiliesWithOptions(e,r)}async describeInstanceTypesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.additionalAttributes)||(a.AdditionalAttributes=e.additionalAttributes),$dara.isNull(e.cpuArchitecture)||(a.CpuArchitecture=e.cpuArchitecture),$dara.isNull(e.cpuArchitectures)||(a.CpuArchitectures=e.cpuArchitectures),$dara.isNull(e.GPUSpec)||(a.GPUSpec=e.GPUSpec),$dara.isNull(e.gpuSpecs)||(a.GpuSpecs=e.gpuSpecs),$dara.isNull(e.instanceCategories)||(a.InstanceCategories=e.instanceCategories),$dara.isNull(e.instanceCategory)||(a.InstanceCategory=e.instanceCategory),$dara.isNull(e.instanceFamilyLevel)||(a.InstanceFamilyLevel=e.instanceFamilyLevel),$dara.isNull(e.instanceTypeFamilies)||(a.InstanceTypeFamilies=e.instanceTypeFamilies),$dara.isNull(e.instanceTypeFamily)||(a.InstanceTypeFamily=e.instanceTypeFamily),$dara.isNull(e.instanceTypes)||(a.InstanceTypes=e.instanceTypes),$dara.isNull(e.localStorageCategories)||(a.LocalStorageCategories=e.localStorageCategories),$dara.isNull(e.localStorageCategory)||(a.LocalStorageCategory=e.localStorageCategory),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.maximumCpuCoreCount)||(a.MaximumCpuCoreCount=e.maximumCpuCoreCount),$dara.isNull(e.maximumCpuSpeedFrequency)||(a.MaximumCpuSpeedFrequency=e.maximumCpuSpeedFrequency),$dara.isNull(e.maximumCpuTurboFrequency)||(a.MaximumCpuTurboFrequency=e.maximumCpuTurboFrequency),$dara.isNull(e.maximumGPUAmount)||(a.MaximumGPUAmount=e.maximumGPUAmount),$dara.isNull(e.maximumMemorySize)||(a.MaximumMemorySize=e.maximumMemorySize),$dara.isNull(e.minimumBaselineCredit)||(a.MinimumBaselineCredit=e.minimumBaselineCredit),$dara.isNull(e.minimumCpuCoreCount)||(a.MinimumCpuCoreCount=e.minimumCpuCoreCount),$dara.isNull(e.minimumCpuSpeedFrequency)||(a.MinimumCpuSpeedFrequency=e.minimumCpuSpeedFrequency),$dara.isNull(e.minimumCpuTurboFrequency)||(a.MinimumCpuTurboFrequency=e.minimumCpuTurboFrequency),$dara.isNull(e.minimumDiskQuantity)||(a.MinimumDiskQuantity=e.minimumDiskQuantity),$dara.isNull(e.minimumEniIpv6AddressQuantity)||(a.MinimumEniIpv6AddressQuantity=e.minimumEniIpv6AddressQuantity),$dara.isNull(e.minimumEniPrivateIpAddressQuantity)||(a.MinimumEniPrivateIpAddressQuantity=e.minimumEniPrivateIpAddressQuantity),$dara.isNull(e.minimumEniQuantity)||(a.MinimumEniQuantity=e.minimumEniQuantity),$dara.isNull(e.minimumEriQuantity)||(a.MinimumEriQuantity=e.minimumEriQuantity),$dara.isNull(e.minimumGPUAmount)||(a.MinimumGPUAmount=e.minimumGPUAmount),$dara.isNull(e.minimumInitialCredit)||(a.MinimumInitialCredit=e.minimumInitialCredit),$dara.isNull(e.minimumInstanceBandwidthRx)||(a.MinimumInstanceBandwidthRx=e.minimumInstanceBandwidthRx),$dara.isNull(e.minimumInstanceBandwidthTx)||(a.MinimumInstanceBandwidthTx=e.minimumInstanceBandwidthTx),$dara.isNull(e.minimumInstancePpsRx)||(a.MinimumInstancePpsRx=e.minimumInstancePpsRx),$dara.isNull(e.minimumInstancePpsTx)||(a.MinimumInstancePpsTx=e.minimumInstancePpsTx),$dara.isNull(e.minimumLocalStorageAmount)||(a.MinimumLocalStorageAmount=e.minimumLocalStorageAmount),$dara.isNull(e.minimumLocalStorageCapacity)||(a.MinimumLocalStorageCapacity=e.minimumLocalStorageCapacity),$dara.isNull(e.minimumMemorySize)||(a.MinimumMemorySize=e.minimumMemorySize),$dara.isNull(e.minimumPrimaryEniQueueNumber)||(a.MinimumPrimaryEniQueueNumber=e.minimumPrimaryEniQueueNumber),$dara.isNull(e.minimumQueuePairNumber)||(a.MinimumQueuePairNumber=e.minimumQueuePairNumber),$dara.isNull(e.minimumSecondaryEniQueueNumber)||(a.MinimumSecondaryEniQueueNumber=e.minimumSecondaryEniQueueNumber),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.nvmeSupport)||(a.NvmeSupport=e.nvmeSupport),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.physicalProcessorModel)||(a.PhysicalProcessorModel=e.physicalProcessorModel),$dara.isNull(e.physicalProcessorModels)||(a.PhysicalProcessorModels=e.physicalProcessorModels),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceTypes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceTypesResponse({}))}async describeInstanceTypes(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceTypesWithOptions(e,r)}async describeInstanceVncUrlWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstanceVncUrl",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstanceVncUrlResponse({}))}async describeInstanceVncUrl(e){let r=new $dara.RuntimeOptions({});return await this.describeInstanceVncUrlWithOptions(e,r)}async describeInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.additionalAttributes)||(a.AdditionalAttributes=e.additionalAttributes),$dara.isNull(e.deviceAvailable)||(a.DeviceAvailable=e.deviceAvailable),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.eipAddresses)||(a.EipAddresses=e.eipAddresses),$dara.isNull(e.hpcClusterId)||(a.HpcClusterId=e.hpcClusterId),$dara.isNull(e.httpEndpoint)||(a.HttpEndpoint=e.httpEndpoint),$dara.isNull(e.httpPutResponseHopLimit)||(a.HttpPutResponseHopLimit=e.httpPutResponseHopLimit),$dara.isNull(e.httpTokens)||(a.HttpTokens=e.httpTokens),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.innerIpAddresses)||(a.InnerIpAddresses=e.innerIpAddresses),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.instanceNetworkType)||(a.InstanceNetworkType=e.instanceNetworkType),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.instanceTypeFamily)||(a.InstanceTypeFamily=e.instanceTypeFamily),$dara.isNull(e.internetChargeType)||(a.InternetChargeType=e.internetChargeType),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.ipv6Address)||(a.Ipv6Address=e.ipv6Address),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.lockReason)||(a.LockReason=e.lockReason),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.needSaleCycle)||(a.NeedSaleCycle=e.needSaleCycle),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.privateIpAddresses)||(a.PrivateIpAddresses=e.privateIpAddresses),$dara.isNull(e.publicIpAddresses)||(a.PublicIpAddresses=e.publicIpAddresses),$dara.isNull(e.rdmaIpAddresses)||(a.RdmaIpAddresses=e.rdmaIpAddresses),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.filter)||(a.Filter=e.filter);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstancesResponse({}))}async describeInstances(e){let r=new $dara.RuntimeOptions({});return await this.describeInstancesWithOptions(e,r)}async describeInstancesFullStatusWithOptions(e,r){e.validate();let a={};$dara.isNull(e.eventId)||(a.EventId=e.eventId),$dara.isNull(e.eventType)||(a.EventType=e.eventType),$dara.isNull(e.healthStatus)||(a.HealthStatus=e.healthStatus),$dara.isNull(e.instanceEventType)||(a.InstanceEventType=e.instanceEventType),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.eventPublishTime)||(a.EventPublishTime=e.eventPublishTime),$dara.isNull(e.notBefore)||(a.NotBefore=e.notBefore);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInstancesFullStatus",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInstancesFullStatusResponse({}))}async describeInstancesFullStatus(e){let r=new $dara.RuntimeOptions({});return await this.describeInstancesFullStatusWithOptions(e,r)}async describeInvocationResultsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.commandId)||(a.CommandId=e.commandId),$dara.isNull(e.contentEncoding)||(a.ContentEncoding=e.contentEncoding),$dara.isNull(e.includeHistory)||(a.IncludeHistory=e.includeHistory),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.invokeId)||(a.InvokeId=e.invokeId),$dara.isNull(e.invokeRecordStatus)||(a.InvokeRecordStatus=e.invokeRecordStatus),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInvocationResults",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInvocationResultsResponse({}))}async describeInvocationResults(e){let r=new $dara.RuntimeOptions({});return await this.describeInvocationResultsWithOptions(e,r)}async describeInvocationsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.commandId)||(a.CommandId=e.commandId),$dara.isNull(e.commandName)||(a.CommandName=e.commandName),$dara.isNull(e.commandType)||(a.CommandType=e.commandType),$dara.isNull(e.contentEncoding)||(a.ContentEncoding=e.contentEncoding),$dara.isNull(e.includeOutput)||(a.IncludeOutput=e.includeOutput),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.invokeId)||(a.InvokeId=e.invokeId),$dara.isNull(e.invokeStatus)||(a.InvokeStatus=e.invokeStatus),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.repeatMode)||(a.RepeatMode=e.repeatMode),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.timed)||(a.Timed=e.timed);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeInvocations",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeInvocationsResponse({}))}async describeInvocations(e){let r=new $dara.RuntimeOptions({});return await this.describeInvocationsWithOptions(e,r)}async describeKeyPairsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.includePublicKey)||(a.IncludePublicKey=e.includePublicKey),$dara.isNull(e.keyPairFingerPrint)||(a.KeyPairFingerPrint=e.keyPairFingerPrint),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeKeyPairs",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeKeyPairsResponse({}))}async describeKeyPairs(e){let r=new $dara.RuntimeOptions({});return await this.describeKeyPairsWithOptions(e,r)}async describeLaunchTemplateVersionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.defaultVersion)||(a.DefaultVersion=e.defaultVersion),$dara.isNull(e.detailFlag)||(a.DetailFlag=e.detailFlag),$dara.isNull(e.launchTemplateId)||(a.LaunchTemplateId=e.launchTemplateId),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.launchTemplateVersion)||(a.LaunchTemplateVersion=e.launchTemplateVersion),$dara.isNull(e.maxVersion)||(a.MaxVersion=e.maxVersion),$dara.isNull(e.minVersion)||(a.MinVersion=e.minVersion),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeLaunchTemplateVersions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeLaunchTemplateVersionsResponse({}))}async describeLaunchTemplateVersions(e){let r=new $dara.RuntimeOptions({});return await this.describeLaunchTemplateVersionsWithOptions(e,r)}async describeLaunchTemplatesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.launchTemplateId)||(a.LaunchTemplateId=e.launchTemplateId),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.templateResourceGroupId)||(a.TemplateResourceGroupId=e.templateResourceGroupId),$dara.isNull(e.templateTag)||(a.TemplateTag=e.templateTag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeLaunchTemplates",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeLaunchTemplatesResponse({}))}async describeLaunchTemplates(e){let r=new $dara.RuntimeOptions({});return await this.describeLaunchTemplatesWithOptions(e,r)}async describeLimitationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.limitation)||(a.Limitation=e.limitation),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeLimitation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeLimitationResponse({}))}async describeLimitation(e){let r=new $dara.RuntimeOptions({});return await this.describeLimitationWithOptions(e,r)}async describeLockedSnapshotsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.lockStatus)||(a.LockStatus=e.lockStatus),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotIds)||(a.SnapshotIds=e.snapshotIds);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeLockedSnapshots",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeLockedSnapshotsResponse({}))}async describeLockedSnapshots(e){let r=new $dara.RuntimeOptions({});return await this.describeLockedSnapshotsWithOptions(e,r)}async describeManagedInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.activationId)||(a.ActivationId=e.activationId),$dara.isNull(e.connected)||(a.Connected=e.connected),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceIp)||(a.InstanceIp=e.instanceIp),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.machineId)||(a.MachineId=e.machineId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.osType)||(a.OsType=e.osType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeManagedInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeManagedInstancesResponse({}))}async describeManagedInstances(e){let r=new $dara.RuntimeOptions({});return await this.describeManagedInstancesWithOptions(e,r)}async describeNatGatewaysWithOptions(e,r){e.validate();let a={};$dara.isNull(e.natGatewayId)||(a.NatGatewayId=e.natGatewayId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeNatGateways",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeNatGatewaysResponse({}))}async describeNatGateways(e){let r=new $dara.RuntimeOptions({});return await this.describeNatGatewaysWithOptions(e,r)}async describeNetworkInterfaceAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.attribute)||(a.Attribute=e.attribute),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeNetworkInterfaceAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeNetworkInterfaceAttributeResponse({}))}async describeNetworkInterfaceAttribute(e){let r=new $dara.RuntimeOptions({});return await this.describeNetworkInterfaceAttributeWithOptions(e,r)}async describeNetworkInterfacePermissionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.networkInterfacePermissionId)||(a.NetworkInterfacePermissionId=e.networkInterfacePermissionId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeNetworkInterfacePermissions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeNetworkInterfacePermissionsResponse({}))}async describeNetworkInterfacePermissions(e){let r=new $dara.RuntimeOptions({});return await this.describeNetworkInterfacePermissionsWithOptions(e,r)}async describeNetworkInterfacesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ipv6Address)||(a.Ipv6Address=e.ipv6Address),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.networkInterfaceName)||(a.NetworkInterfaceName=e.networkInterfaceName),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.primaryIpAddress)||(a.PrimaryIpAddress=e.primaryIpAddress),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.serviceManaged)||(a.ServiceManaged=e.serviceManaged),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.type)||(a.Type=e.type),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeNetworkInterfaces",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeNetworkInterfacesResponse({}))}async describeNetworkInterfaces(e){let r=new $dara.RuntimeOptions({});return await this.describeNetworkInterfacesWithOptions(e,r)}async describeNewProjectEipMonitorDataWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationId)||(a.AllocationId=e.allocationId),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeNewProjectEipMonitorData",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeNewProjectEipMonitorDataResponse({}))}async describeNewProjectEipMonitorData(e){let r=new $dara.RuntimeOptions({});return await this.describeNewProjectEipMonitorDataWithOptions(e,r)}async describePhysicalConnectionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePhysicalConnections",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePhysicalConnectionsResponse({}))}async describePhysicalConnections(e){let r=new $dara.RuntimeOptions({});return await this.describePhysicalConnectionsWithOptions(e,r)}async describePlanMaintenanceWindowsWithOptions(e,r){e.validate();let a=new $_model.DescribePlanMaintenanceWindowsShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.targetResourceTags)||(a.targetResourceTagsShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.targetResourceTags,"TargetResourceTags","json"));let n={};$dara.isNull(a.enable)||(n.Enable=a.enable),$dara.isNull(a.maxResults)||(n.MaxResults=a.maxResults),$dara.isNull(a.nextToken)||(n.NextToken=a.nextToken),$dara.isNull(a.planWindowId)||(n.PlanWindowId=a.planWindowId),$dara.isNull(a.planWindowName)||(n.PlanWindowName=a.planWindowName),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.targetResourceGroupId)||(n.TargetResourceGroupId=a.targetResourceGroupId),$dara.isNull(a.targetResourceTagsShrink)||(n.TargetResourceTags=a.targetResourceTagsShrink);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePlanMaintenanceWindows",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.DescribePlanMaintenanceWindowsResponse({}))}async describePlanMaintenanceWindows(e){let r=new $dara.RuntimeOptions({});return await this.describePlanMaintenanceWindowsWithOptions(e,r)}async describePortRangeListAssociationsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.portRangeListId)||(a.PortRangeListId=e.portRangeListId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePortRangeListAssociations",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePortRangeListAssociationsResponse({}))}async describePortRangeListAssociations(e){let r=new $dara.RuntimeOptions({});return await this.describePortRangeListAssociationsWithOptions(e,r)}async describePortRangeListEntriesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.portRangeListId)||(a.PortRangeListId=e.portRangeListId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePortRangeListEntries",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePortRangeListEntriesResponse({}))}async describePortRangeListEntries(e){let r=new $dara.RuntimeOptions({});return await this.describePortRangeListEntriesWithOptions(e,r)}async describePortRangeListsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.portRangeListId)||(a.PortRangeListId=e.portRangeListId),$dara.isNull(e.portRangeListName)||(a.PortRangeListName=e.portRangeListName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePortRangeLists",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePortRangeListsResponse({}))}async describePortRangeLists(e){let r=new $dara.RuntimeOptions({});return await this.describePortRangeListsWithOptions(e,r)}async describePrefixListAssociationsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.prefixListId)||(a.PrefixListId=e.prefixListId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePrefixListAssociations",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePrefixListAssociationsResponse({}))}async describePrefixListAssociations(e){let r=new $dara.RuntimeOptions({});return await this.describePrefixListAssociationsWithOptions(e,r)}async describePrefixListAttributesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.prefixListId)||(a.PrefixListId=e.prefixListId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePrefixListAttributes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePrefixListAttributesResponse({}))}async describePrefixListAttributes(e){let r=new $dara.RuntimeOptions({});return await this.describePrefixListAttributesWithOptions(e,r)}async describePrefixListsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.addressFamily)||(a.AddressFamily=e.addressFamily),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.prefixListId)||(a.PrefixListId=e.prefixListId),$dara.isNull(e.prefixListName)||(a.PrefixListName=e.prefixListName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePrefixLists",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePrefixListsResponse({}))}async describePrefixLists(e){let r=new $dara.RuntimeOptions({});return await this.describePrefixListsWithOptions(e,r)}async describePriceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.amount)||(a.Amount=e.amount),$dara.isNull(e.assuranceTimes)||(a.AssuranceTimes=e.assuranceTimes),$dara.isNull(e.capacity)||(a.Capacity=e.capacity),$dara.isNull(e.dedicatedHostType)||(a.DedicatedHostType=e.dedicatedHostType),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.instanceAmount)||(a.InstanceAmount=e.instanceAmount),$dara.isNull(e.instanceCpuCoreCount)||(a.InstanceCpuCoreCount=e.instanceCpuCoreCount),$dara.isNull(e.instanceNetworkType)||(a.InstanceNetworkType=e.instanceNetworkType),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.instanceTypeList)||(a.InstanceTypeList=e.instanceTypeList),$dara.isNull(e.internetChargeType)||(a.InternetChargeType=e.internetChargeType),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.isp)||(a.Isp=e.isp),$dara.isNull(e.offeringType)||(a.OfferingType=e.offeringType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.priceUnit)||(a.PriceUnit=e.priceUnit),$dara.isNull(e.recurrenceRules)||(a.RecurrenceRules=e.recurrenceRules),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.scope)||(a.Scope=e.scope),$dara.isNull(e.spotDuration)||(a.SpotDuration=e.spotDuration),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.dataDisk)||(a.DataDisk=e.dataDisk),$dara.isNull(e.schedulerOptions)||(a.SchedulerOptions=e.schedulerOptions),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribePrice",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribePriceResponse({}))}async describePrice(e){let r=new $dara.RuntimeOptions({});return await this.describePriceWithOptions(e,r)}async describeRecommendInstanceTypeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.cores)||(a.Cores=e.cores),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceFamilyLevel)||(a.InstanceFamilyLevel=e.instanceFamilyLevel),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.instanceTypeFamily)||(a.InstanceTypeFamily=e.instanceTypeFamily),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.maxPrice)||(a.MaxPrice=e.maxPrice),$dara.isNull(e.memory)||(a.Memory=e.memory),$dara.isNull(e.networkType)||(a.NetworkType=e.networkType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.priorityStrategy)||(a.PriorityStrategy=e.priorityStrategy),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.scene)||(a.Scene=e.scene),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.systemDiskCategory)||(a.SystemDiskCategory=e.systemDiskCategory),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.zoneMatchMode)||(a.ZoneMatchMode=e.zoneMatchMode);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeRecommendInstanceType",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeRecommendInstanceTypeResponse({}))}async describeRecommendInstanceType(e){let r=new $dara.RuntimeOptions({});return await this.describeRecommendInstanceTypeWithOptions(e,r)}async describeRegionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.acceptLanguage)||(a.AcceptLanguage=e.acceptLanguage),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeRegions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeRegionsResponse({}))}async describeRegions(e){let r=new $dara.RuntimeOptions({});return await this.describeRegionsWithOptions(e,r)}async describeRenewalPriceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.expectedRenewDay)||(a.ExpectedRenewDay=e.expectedRenewDay),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.priceUnit)||(a.PriceUnit=e.priceUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeRenewalPrice",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeRenewalPriceResponse({}))}async describeRenewalPrice(e){let r=new $dara.RuntimeOptions({});return await this.describeRenewalPriceWithOptions(e,r)}async describeReservedInstanceAutoRenewAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reservedInstanceId)||(a.ReservedInstanceId=e.reservedInstanceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeReservedInstanceAutoRenewAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeReservedInstanceAutoRenewAttributeResponse({}))}async describeReservedInstanceAutoRenewAttribute(e){let r=new $dara.RuntimeOptions({});return await this.describeReservedInstanceAutoRenewAttributeWithOptions(e,r)}async describeReservedInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationType)||(a.AllocationType=e.allocationType),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.instanceTypeFamily)||(a.InstanceTypeFamily=e.instanceTypeFamily),$dara.isNull(e.lockReason)||(a.LockReason=e.lockReason),$dara.isNull(e.offeringType)||(a.OfferingType=e.offeringType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reservedInstanceId)||(a.ReservedInstanceId=e.reservedInstanceId),$dara.isNull(e.reservedInstanceName)||(a.ReservedInstanceName=e.reservedInstanceName),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.scope)||(a.Scope=e.scope),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeReservedInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeReservedInstancesResponse({}))}async describeReservedInstances(e){let r=new $dara.RuntimeOptions({});return await this.describeReservedInstancesWithOptions(e,r)}async describeResourceByTagsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeResourceByTags",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeResourceByTagsResponse({}))}async describeResourceByTags(e){let r=new $dara.RuntimeOptions({});return await this.describeResourceByTagsWithOptions(e,r)}async describeResourcesModificationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.conditions)||(a.Conditions=e.conditions),$dara.isNull(e.cores)||(a.Cores=e.cores),$dara.isNull(e.destinationResource)||(a.DestinationResource=e.destinationResource),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.memory)||(a.Memory=e.memory),$dara.isNull(e.migrateAcrossZone)||(a.MigrateAcrossZone=e.migrateAcrossZone),$dara.isNull(e.operationType)||(a.OperationType=e.operationType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeResourcesModification",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeResourcesModificationResponse({}))}async describeResourcesModification(e){let r=new $dara.RuntimeOptions({});return await this.describeResourcesModificationWithOptions(e,r)}async describeRouteTablesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routeTableId)||(a.RouteTableId=e.routeTableId),$dara.isNull(e.routeTableName)||(a.RouteTableName=e.routeTableName),$dara.isNull(e.routerId)||(a.RouterId=e.routerId),$dara.isNull(e.routerType)||(a.RouterType=e.routerType),$dara.isNull(e.VRouterId)||(a.VRouterId=e.VRouterId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeRouteTables",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeRouteTablesResponse({}))}async describeRouteTables(e){let r=new $dara.RuntimeOptions({});return await this.describeRouteTablesWithOptions(e,r)}async describeRouterInterfacesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeRouterInterfaces",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeRouterInterfacesResponse({}))}async describeRouterInterfaces(e){let r=new $dara.RuntimeOptions({});return await this.describeRouterInterfacesWithOptions(e,r)}async describeSavingsPlanEstimationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.estimationResource)||(a.EstimationResource=e.estimationResource),$dara.isNull(e.instanceTypeScope)||(a.InstanceTypeScope=e.instanceTypeScope),$dara.isNull(e.offeringType)||(a.OfferingType=e.offeringType),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.planType)||(a.PlanType=e.planType),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSavingsPlanEstimation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSavingsPlanEstimationResponse({}))}async describeSavingsPlanEstimation(e){let r=new $dara.RuntimeOptions({});return await this.describeSavingsPlanEstimationWithOptions(e,r)}async describeSavingsPlanPriceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.committedAmount)||(a.CommittedAmount=e.committedAmount),$dara.isNull(e.instanceTypeFamily)||(a.InstanceTypeFamily=e.instanceTypeFamily),$dara.isNull(e.instanceTypeFamilyGroup)||(a.InstanceTypeFamilyGroup=e.instanceTypeFamilyGroup),$dara.isNull(e.offeringType)||(a.OfferingType=e.offeringType),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.planType)||(a.PlanType=e.planType),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSavingsPlanPrice",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSavingsPlanPriceResponse({}))}async describeSavingsPlanPrice(e){let r=new $dara.RuntimeOptions({});return await this.describeSavingsPlanPriceWithOptions(e,r)}async describeSecurityGroupAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.attribute)||(a.Attribute=e.attribute),$dara.isNull(e.direction)||(a.Direction=e.direction),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.nicType)||(a.NicType=e.nicType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSecurityGroupAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSecurityGroupAttributeResponse({}))}async describeSecurityGroupAttribute(e){let r=new $dara.RuntimeOptions({});return await this.describeSecurityGroupAttributeWithOptions(e,r)}async describeSecurityGroupReferencesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSecurityGroupReferences",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSecurityGroupReferencesResponse({}))}async describeSecurityGroupReferences(e){let r=new $dara.RuntimeOptions({});return await this.describeSecurityGroupReferencesWithOptions(e,r)}async describeSecurityGroupsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.fuzzyQuery)||(a.FuzzyQuery=e.fuzzyQuery),$dara.isNull(e.isQueryEcsCount)||(a.IsQueryEcsCount=e.isQueryEcsCount),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.networkType)||(a.NetworkType=e.networkType),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupIds)||(a.SecurityGroupIds=e.securityGroupIds),$dara.isNull(e.securityGroupName)||(a.SecurityGroupName=e.securityGroupName),$dara.isNull(e.securityGroupType)||(a.SecurityGroupType=e.securityGroupType),$dara.isNull(e.serviceManaged)||(a.ServiceManaged=e.serviceManaged),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSecurityGroups",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSecurityGroupsResponse({}))}async describeSecurityGroups(e){let r=new $dara.RuntimeOptions({});return await this.describeSecurityGroupsWithOptions(e,r)}async describeSendFileResultsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.invocationStatus)||(a.InvocationStatus=e.invocationStatus),$dara.isNull(e.invokeId)||(a.InvokeId=e.invokeId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSendFileResults",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSendFileResultsResponse({}))}async describeSendFileResults(e){let r=new $dara.RuntimeOptions({});return await this.describeSendFileResultsWithOptions(e,r)}async describeSnapshotGroupsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.additionalAttributes)||(a.AdditionalAttributes=e.additionalAttributes),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotGroupId)||(a.SnapshotGroupId=e.snapshotGroupId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSnapshotGroups",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSnapshotGroupsResponse({}))}async describeSnapshotGroups(e){let r=new $dara.RuntimeOptions({});return await this.describeSnapshotGroupsWithOptions(e,r)}async describeSnapshotLinksWithOptions(e,r){e.validate();let a={};$dara.isNull(e.diskIds)||(a.DiskIds=e.diskIds),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotLinkIds)||(a.SnapshotLinkIds=e.snapshotLinkIds);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSnapshotLinks",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSnapshotLinksResponse({}))}async describeSnapshotLinks(e){let r=new $dara.RuntimeOptions({});return await this.describeSnapshotLinksWithOptions(e,r)}async describeSnapshotMonitorDataWithOptions(e,r){e.validate();let a={};$dara.isNull(e.category)||(a.Category=e.category),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSnapshotMonitorData",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSnapshotMonitorDataResponse({}))}async describeSnapshotMonitorData(e){let r=new $dara.RuntimeOptions({});return await this.describeSnapshotMonitorDataWithOptions(e,r)}async describeSnapshotPackageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSnapshotPackage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSnapshotPackageResponse({}))}async describeSnapshotPackage(e){let r=new $dara.RuntimeOptions({});return await this.describeSnapshotPackageWithOptions(e,r)}async describeSnapshotsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.category)||(a.Category=e.category),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.encrypted)||(a.Encrypted=e.encrypted),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.KMSKeyId)||(a.KMSKeyId=e.KMSKeyId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotIds)||(a.SnapshotIds=e.snapshotIds),$dara.isNull(e.snapshotLinkId)||(a.SnapshotLinkId=e.snapshotLinkId),$dara.isNull(e.snapshotName)||(a.SnapshotName=e.snapshotName),$dara.isNull(e.snapshotType)||(a.SnapshotType=e.snapshotType),$dara.isNull(e.sourceDiskType)||(a.SourceDiskType=e.sourceDiskType),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.usage)||(a.Usage=e.usage),$dara.isNull(e.filter)||(a.Filter=e.filter);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSnapshots",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSnapshotsResponse({}))}async describeSnapshots(e){let r=new $dara.RuntimeOptions({});return await this.describeSnapshotsWithOptions(e,r)}async describeSnapshotsUsageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSnapshotsUsage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSnapshotsUsageResponse({}))}async describeSnapshotsUsage(e){let r=new $dara.RuntimeOptions({});return await this.describeSnapshotsUsageWithOptions(e,r)}async describeSpotAdviceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.cores)||(a.Cores=e.cores),$dara.isNull(e.gpuAmount)||(a.GpuAmount=e.gpuAmount),$dara.isNull(e.gpuSpec)||(a.GpuSpec=e.gpuSpec),$dara.isNull(e.instanceFamilyLevel)||(a.InstanceFamilyLevel=e.instanceFamilyLevel),$dara.isNull(e.instanceTypeFamily)||(a.InstanceTypeFamily=e.instanceTypeFamily),$dara.isNull(e.instanceTypes)||(a.InstanceTypes=e.instanceTypes),$dara.isNull(e.memory)||(a.Memory=e.memory),$dara.isNull(e.minCores)||(a.MinCores=e.minCores),$dara.isNull(e.minMemory)||(a.MinMemory=e.minMemory),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSpotAdvice",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSpotAdviceResponse({}))}async describeSpotAdvice(e){let r=new $dara.RuntimeOptions({});return await this.describeSpotAdviceWithOptions(e,r)}async describeSpotPriceHistoryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.networkType)||(a.NetworkType=e.networkType),$dara.isNull(e.OSType)||(a.OSType=e.OSType),$dara.isNull(e.offset)||(a.Offset=e.offset),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.spotDuration)||(a.SpotDuration=e.spotDuration),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeSpotPriceHistory",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeSpotPriceHistoryResponse({}))}async describeSpotPriceHistory(e){let r=new $dara.RuntimeOptions({});return await this.describeSpotPriceHistoryWithOptions(e,r)}async describeStorageCapacityUnitsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationType)||(a.AllocationType=e.allocationType),$dara.isNull(e.capacity)||(a.Capacity=e.capacity),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status),$dara.isNull(e.storageCapacityUnitId)||(a.StorageCapacityUnitId=e.storageCapacityUnitId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeStorageCapacityUnits",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeStorageCapacityUnitsResponse({}))}async describeStorageCapacityUnits(e){let r=new $dara.RuntimeOptions({});return await this.describeStorageCapacityUnitsWithOptions(e,r)}async describeStorageSetDetailsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.diskIds)||(a.DiskIds=e.diskIds),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageSetId)||(a.StorageSetId=e.storageSetId),$dara.isNull(e.storageSetPartitionNumber)||(a.StorageSetPartitionNumber=e.storageSetPartitionNumber);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeStorageSetDetails",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeStorageSetDetailsResponse({}))}async describeStorageSetDetails(e){let r=new $dara.RuntimeOptions({});return await this.describeStorageSetDetailsWithOptions(e,r)}async describeStorageSetsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageSetIds)||(a.StorageSetIds=e.storageSetIds),$dara.isNull(e.storageSetName)||(a.StorageSetName=e.storageSetName),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeStorageSets",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeStorageSetsResponse({}))}async describeStorageSets(e){let r=new $dara.RuntimeOptions({});return await this.describeStorageSetsWithOptions(e,r)}async describeTagsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.category)||(a.Category=e.category),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeTags",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeTagsResponse({}))}async describeTags(e){let r=new $dara.RuntimeOptions({});return await this.describeTagsWithOptions(e,r)}async describeTaskAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.taskId)||(a.TaskId=e.taskId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeTaskAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeTaskAttributeResponse({}))}async describeTaskAttribute(e){let r=new $dara.RuntimeOptions({});return await this.describeTaskAttributeWithOptions(e,r)}async describeTasksWithOptions(e,r){e.validate();let a={};$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceIds)||(a.ResourceIds=e.resourceIds),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.taskAction)||(a.TaskAction=e.taskAction),$dara.isNull(e.taskGroupId)||(a.TaskGroupId=e.taskGroupId),$dara.isNull(e.taskIds)||(a.TaskIds=e.taskIds),$dara.isNull(e.taskStatus)||(a.TaskStatus=e.taskStatus);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeTasks",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeTasksResponse({}))}async describeTasks(e){let r=new $dara.RuntimeOptions({});return await this.describeTasksWithOptions(e,r)}async describeTerminalSessionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.sessionId)||(a.SessionId=e.sessionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeTerminalSessions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeTerminalSessionsResponse({}))}async describeTerminalSessions(e){let r=new $dara.RuntimeOptions({});return await this.describeTerminalSessionsWithOptions(e,r)}async describeUserBusinessBehaviorWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.statusKey)||(a.statusKey=e.statusKey);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeUserBusinessBehavior",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeUserBusinessBehaviorResponse({}))}async describeUserBusinessBehavior(e){let r=new $dara.RuntimeOptions({});return await this.describeUserBusinessBehaviorWithOptions(e,r)}async describeUserDataWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeUserData",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeUserDataResponse({}))}async describeUserData(e){let r=new $dara.RuntimeOptions({});return await this.describeUserDataWithOptions(e,r)}async describeVRoutersWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.VRouterId)||(a.VRouterId=e.VRouterId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeVRouters",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeVRoutersResponse({}))}async describeVRouters(e){let r=new $dara.RuntimeOptions({});return await this.describeVRoutersWithOptions(e,r)}async describeVSwitchesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.isDefault)||(a.IsDefault=e.isDefault),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeVSwitches",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeVSwitchesResponse({}))}async describeVSwitches(e){let r=new $dara.RuntimeOptions({});return await this.describeVSwitchesWithOptions(e,r)}async describeVirtualBorderRoutersWithOptions(e,r){e.validate();let a={};$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeVirtualBorderRouters",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeVirtualBorderRoutersResponse({}))}async describeVirtualBorderRouters(e){let r=new $dara.RuntimeOptions({});return await this.describeVirtualBorderRoutersWithOptions(e,r)}async describeVirtualBorderRoutersForPhysicalConnectionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.filter)||(a.Filter=e.filter),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.physicalConnectionId)||(a.PhysicalConnectionId=e.physicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeVirtualBorderRoutersForPhysicalConnection",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeVirtualBorderRoutersForPhysicalConnectionResponse({}))}async describeVirtualBorderRoutersForPhysicalConnection(e){let r=new $dara.RuntimeOptions({});return await this.describeVirtualBorderRoutersForPhysicalConnectionWithOptions(e,r)}async describeVpcsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.isDefault)||(a.IsDefault=e.isDefault),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeVpcs",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeVpcsResponse({}))}async describeVpcs(e){let r=new $dara.RuntimeOptions({});return await this.describeVpcsWithOptions(e,r)}async describeZonesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.acceptLanguage)||(a.AcceptLanguage=e.acceptLanguage),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.verbose)||(a.Verbose=e.verbose);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DescribeZones",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DescribeZonesResponse({}))}async describeZones(e){let r=new $dara.RuntimeOptions({});return await this.describeZonesWithOptions(e,r)}async detachClassicLinkVpcWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DetachClassicLinkVpc",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DetachClassicLinkVpcResponse({}))}async detachClassicLinkVpc(e){let r=new $dara.RuntimeOptions({});return await this.detachClassicLinkVpcWithOptions(e,r)}async detachDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.deleteWithInstance)||(a.DeleteWithInstance=e.deleteWithInstance),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DetachDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DetachDiskResponse({}))}async detachDisk(e){let r=new $dara.RuntimeOptions({});return await this.detachDiskWithOptions(e,r)}async detachInstanceRamRoleWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.ramRoleName)||(a.RamRoleName=e.ramRoleName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DetachInstanceRamRole",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DetachInstanceRamRoleResponse({}))}async detachInstanceRamRole(e){let r=new $dara.RuntimeOptions({});return await this.detachInstanceRamRoleWithOptions(e,r)}async detachKeyPairWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DetachKeyPair",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DetachKeyPairResponse({}))}async detachKeyPair(e){let r=new $dara.RuntimeOptions({});return await this.detachKeyPairWithOptions(e,r)}async detachNetworkInterfaceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.trunkNetworkInstanceId)||(a.TrunkNetworkInstanceId=e.trunkNetworkInstanceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DetachNetworkInterface",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DetachNetworkInterfaceResponse({}))}async detachNetworkInterface(e){let r=new $dara.RuntimeOptions({});return await this.detachNetworkInterfaceWithOptions(e,r)}async disableActivationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.activationId)||(a.ActivationId=e.activationId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DisableActivation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DisableActivationResponse({}))}async disableActivation(e){let r=new $dara.RuntimeOptions({});return await this.disableActivationWithOptions(e,r)}async disableDiskEncryptionByDefaultWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DisableDiskEncryptionByDefault",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DisableDiskEncryptionByDefaultResponse({}))}async disableDiskEncryptionByDefault(e){let r=new $dara.RuntimeOptions({});return await this.disableDiskEncryptionByDefaultWithOptions(e,r)}async disableNetworkInterfaceQoSWithOptions(e,r){e.validate();let a={};$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"DisableNetworkInterfaceQoS",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.DisableNetworkInterfaceQoSResponse({}))}async disableNetworkInterfaceQoS(e){let r=new $dara.RuntimeOptions({});return await this.disableNetworkInterfaceQoSWithOptions(e,r)}async enableDiskEncryptionByDefaultWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"EnableDiskEncryptionByDefault",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.EnableDiskEncryptionByDefaultResponse({}))}async enableDiskEncryptionByDefault(e){let r=new $dara.RuntimeOptions({});return await this.enableDiskEncryptionByDefaultWithOptions(e,r)}async enableNetworkInterfaceQoSWithOptions(e,r){e.validate();let a={};$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.qoS)||(a.QoS=e.qoS),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"EnableNetworkInterfaceQoS",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.EnableNetworkInterfaceQoSResponse({}))}async enableNetworkInterfaceQoS(e){let r=new $dara.RuntimeOptions({});return await this.enableNetworkInterfaceQoSWithOptions(e,r)}async enablePhysicalConnectionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.physicalConnectionId)||(a.PhysicalConnectionId=e.physicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"EnablePhysicalConnection",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.EnablePhysicalConnectionResponse({}))}async enablePhysicalConnection(e){let r=new $dara.RuntimeOptions({});return await this.enablePhysicalConnectionWithOptions(e,r)}async endTerminalSessionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.sessionId)||(a.SessionId=e.sessionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"EndTerminalSession",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.EndTerminalSessionResponse({}))}async endTerminalSession(e){let r=new $dara.RuntimeOptions({});return await this.endTerminalSessionWithOptions(e,r)}async exportImageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.imageFormat)||(a.ImageFormat=e.imageFormat),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.OSSBucket)||(a.OSSBucket=e.OSSBucket),$dara.isNull(e.OSSPrefix)||(a.OSSPrefix=e.OSSPrefix),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.roleName)||(a.RoleName=e.roleName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ExportImage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ExportImageResponse({}))}async exportImage(e){let r=new $dara.RuntimeOptions({});return await this.exportImageWithOptions(e,r)}async exportSnapshotWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ossBucket)||(a.OssBucket=e.ossBucket),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.roleName)||(a.RoleName=e.roleName),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ExportSnapshot",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ExportSnapshotResponse({}))}async exportSnapshot(e){let r=new $dara.RuntimeOptions({});return await this.exportSnapshotWithOptions(e,r)}async getInstanceConsoleOutputWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.removeSymbols)||(a.RemoveSymbols=e.removeSymbols),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"GetInstanceConsoleOutput",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.GetInstanceConsoleOutputResponse({}))}async getInstanceConsoleOutput(e){let r=new $dara.RuntimeOptions({});return await this.getInstanceConsoleOutputWithOptions(e,r)}async getInstanceScreenshotWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.wakeUp)||(a.WakeUp=e.wakeUp);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"GetInstanceScreenshot",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.GetInstanceScreenshotResponse({}))}async getInstanceScreenshot(e){let r=new $dara.RuntimeOptions({});return await this.getInstanceScreenshotWithOptions(e,r)}async importImageWithOptions(e,r){e.validate();let a={};$dara.isNull(e.architecture)||(a.Architecture=e.architecture),$dara.isNull(e.bootMode)||(a.BootMode=e.bootMode),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.detectionStrategy)||(a.DetectionStrategy=e.detectionStrategy),$dara.isNull(e.diskDeviceMapping)||(a.DiskDeviceMapping=e.diskDeviceMapping),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.features)||(a.Features=e.features),$dara.isNull(e.imageName)||(a.ImageName=e.imageName),$dara.isNull(e.licenseType)||(a.LicenseType=e.licenseType),$dara.isNull(e.OSType)||(a.OSType=e.OSType),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.roleName)||(a.RoleName=e.roleName),$dara.isNull(e.storageLocationArn)||(a.StorageLocationArn=e.storageLocationArn),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ImportImage",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ImportImageResponse({}))}async importImage(e){let r=new $dara.RuntimeOptions({});return await this.importImageWithOptions(e,r)}async importKeyPairWithOptions(e,r){e.validate();let a={};$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.publicKeyBody)||(a.PublicKeyBody=e.publicKeyBody),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ImportKeyPair",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ImportKeyPairResponse({}))}async importKeyPair(e){let r=new $dara.RuntimeOptions({});return await this.importKeyPairWithOptions(e,r)}async installCloudAssistantWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"InstallCloudAssistant",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.InstallCloudAssistantResponse({}))}async installCloudAssistant(e){let r=new $dara.RuntimeOptions({});return await this.installCloudAssistantWithOptions(e,r)}async invokeCommandWithOptions(e,r){e.validate();let a=new $_model.InvokeCommandShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.parameters)||(a.parametersShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.parameters,"Parameters","json"));let n={};$dara.isNull(a.clientToken)||(n.ClientToken=a.clientToken),$dara.isNull(a.commandId)||(n.CommandId=a.commandId),$dara.isNull(a.containerId)||(n.ContainerId=a.containerId),$dara.isNull(a.containerName)||(n.ContainerName=a.containerName),$dara.isNull(a.frequency)||(n.Frequency=a.frequency),$dara.isNull(a.instanceId)||(n.InstanceId=a.instanceId),$dara.isNull(a.launcher)||(n.Launcher=a.launcher),$dara.isNull(a.ossOutputDelivery)||(n.OssOutputDelivery=a.ossOutputDelivery),$dara.isNull(a.ownerAccount)||(n.OwnerAccount=a.ownerAccount),$dara.isNull(a.ownerId)||(n.OwnerId=a.ownerId),$dara.isNull(a.parametersShrink)||(n.Parameters=a.parametersShrink),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.repeatMode)||(n.RepeatMode=a.repeatMode),$dara.isNull(a.resourceGroupId)||(n.ResourceGroupId=a.resourceGroupId),$dara.isNull(a.resourceOwnerAccount)||(n.ResourceOwnerAccount=a.resourceOwnerAccount),$dara.isNull(a.resourceOwnerId)||(n.ResourceOwnerId=a.resourceOwnerId),$dara.isNull(a.resourceTag)||(n.ResourceTag=a.resourceTag),$dara.isNull(a.tag)||(n.Tag=a.tag),$dara.isNull(a.terminationMode)||(n.TerminationMode=a.terminationMode),$dara.isNull(a.timed)||(n.Timed=a.timed),$dara.isNull(a.timeout)||(n.Timeout=a.timeout),$dara.isNull(a.username)||(n.Username=a.username),$dara.isNull(a.windowsPasswordName)||(n.WindowsPasswordName=a.windowsPasswordName),$dara.isNull(a.workingDir)||(n.WorkingDir=a.workingDir);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"InvokeCommand",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.InvokeCommandResponse({}))}async invokeCommand(e){let r=new $dara.RuntimeOptions({});return await this.invokeCommandWithOptions(e,r)}async joinResourceGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"JoinResourceGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.JoinResourceGroupResponse({}))}async joinResourceGroup(e){let r=new $dara.RuntimeOptions({});return await this.joinResourceGroupWithOptions(e,r)}async joinSecurityGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"JoinSecurityGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.JoinSecurityGroupResponse({}))}async joinSecurityGroup(e){let r=new $dara.RuntimeOptions({});return await this.joinSecurityGroupWithOptions(e,r)}async leaveSecurityGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"LeaveSecurityGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.LeaveSecurityGroupResponse({}))}async leaveSecurityGroup(e){let r=new $dara.RuntimeOptions({});return await this.leaveSecurityGroupWithOptions(e,r)}async listPluginStatusWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.maxResults)||(a.MaxResults=e.maxResults),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.pageNumber)||(a.PageNumber=e.pageNumber),$dara.isNull(e.pageSize)||(a.PageSize=e.pageSize),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ListPluginStatus",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ListPluginStatusResponse({}))}async listPluginStatus(e){let r=new $dara.RuntimeOptions({});return await this.listPluginStatusWithOptions(e,r)}async listTagResourcesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.nextToken)||(a.NextToken=e.nextToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.tagFilter)||(a.TagFilter=e.tagFilter);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ListTagResources",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ListTagResourcesResponse({}))}async listTagResources(e){let r=new $dara.RuntimeOptions({});return await this.listTagResourcesWithOptions(e,r)}async lockSnapshotWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.coolOffPeriod)||(a.CoolOffPeriod=e.coolOffPeriod),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.lockDuration)||(a.LockDuration=e.lockDuration),$dara.isNull(e.lockMode)||(a.LockMode=e.lockMode),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"LockSnapshot",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.LockSnapshotResponse({}))}async lockSnapshot(e){let r=new $dara.RuntimeOptions({});return await this.lockSnapshotWithOptions(e,r)}async modifyAutoProvisioningGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoProvisioningGroupId)||(a.AutoProvisioningGroupId=e.autoProvisioningGroupId),$dara.isNull(e.autoProvisioningGroupName)||(a.AutoProvisioningGroupName=e.autoProvisioningGroupName),$dara.isNull(e.defaultTargetCapacityType)||(a.DefaultTargetCapacityType=e.defaultTargetCapacityType),$dara.isNull(e.excessCapacityTerminationPolicy)||(a.ExcessCapacityTerminationPolicy=e.excessCapacityTerminationPolicy),$dara.isNull(e.launchTemplateConfig)||(a.LaunchTemplateConfig=e.launchTemplateConfig),$dara.isNull(e.maxSpotPrice)||(a.MaxSpotPrice=e.maxSpotPrice),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.payAsYouGoTargetCapacity)||(a.PayAsYouGoTargetCapacity=e.payAsYouGoTargetCapacity),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.spotTargetCapacity)||(a.SpotTargetCapacity=e.spotTargetCapacity),$dara.isNull(e.terminateInstancesWithExpiration)||(a.TerminateInstancesWithExpiration=e.terminateInstancesWithExpiration),$dara.isNull(e.totalTargetCapacity)||(a.TotalTargetCapacity=e.totalTargetCapacity);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyAutoProvisioningGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyAutoProvisioningGroupResponse({}))}async modifyAutoProvisioningGroup(e){let r=new $dara.RuntimeOptions({});return await this.modifyAutoProvisioningGroupWithOptions(e,r)}async modifyAutoSnapshotPolicyExWithOptions(e,r){e.validate();let a={};$dara.isNull(e.copiedSnapshotsRetentionDays)||(a.CopiedSnapshotsRetentionDays=e.copiedSnapshotsRetentionDays),$dara.isNull(e.copyEncryptionConfiguration)||(a.CopyEncryptionConfiguration=e.copyEncryptionConfiguration),$dara.isNull(e.enableCrossRegionCopy)||(a.EnableCrossRegionCopy=e.enableCrossRegionCopy),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.targetCopyRegions)||(a.TargetCopyRegions=e.targetCopyRegions),$dara.isNull(e.autoSnapshotPolicyId)||(a.autoSnapshotPolicyId=e.autoSnapshotPolicyId),$dara.isNull(e.autoSnapshotPolicyName)||(a.autoSnapshotPolicyName=e.autoSnapshotPolicyName),$dara.isNull(e.regionId)||(a.regionId=e.regionId),$dara.isNull(e.repeatWeekdays)||(a.repeatWeekdays=e.repeatWeekdays),$dara.isNull(e.retentionDays)||(a.retentionDays=e.retentionDays),$dara.isNull(e.timePoints)||(a.timePoints=e.timePoints);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyAutoSnapshotPolicyEx",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyAutoSnapshotPolicyExResponse({}))}async modifyAutoSnapshotPolicyEx(e){let r=new $dara.RuntimeOptions({});return await this.modifyAutoSnapshotPolicyExWithOptions(e,r)}async modifyBandwidthPackageSpecWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bandwidth)||(a.Bandwidth=e.bandwidth),$dara.isNull(e.bandwidthPackageId)||(a.BandwidthPackageId=e.bandwidthPackageId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyBandwidthPackageSpec",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyBandwidthPackageSpecResponse({}))}async modifyBandwidthPackageSpec(e){let r=new $dara.RuntimeOptions({});return await this.modifyBandwidthPackageSpecWithOptions(e,r)}async modifyCapacityReservationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.endTimeType)||(a.EndTimeType=e.endTimeType),$dara.isNull(e.instanceAmount)||(a.InstanceAmount=e.instanceAmount),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyCapacityReservation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyCapacityReservationResponse({}))}async modifyCapacityReservation(e){let r=new $dara.RuntimeOptions({});return await this.modifyCapacityReservationWithOptions(e,r)}async modifyCloudAssistantSettingsWithOptions(e,r){e.validate();let a=new $_model.ModifyCloudAssistantSettingsShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.agentUpgradeConfig)||(a.agentUpgradeConfigShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.agentUpgradeConfig,"AgentUpgradeConfig","json")),$dara.isNull(e.ossDeliveryConfig)||(a.ossDeliveryConfigShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.ossDeliveryConfig,"OssDeliveryConfig","json")),$dara.isNull(e.resourceUsageConfig)||(a.resourceUsageConfigShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.resourceUsageConfig,"ResourceUsageConfig","json")),$dara.isNull(e.sessionManagerConfig)||(a.sessionManagerConfigShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.sessionManagerConfig,"SessionManagerConfig","json")),$dara.isNull(e.slsDeliveryConfig)||(a.slsDeliveryConfigShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.slsDeliveryConfig,"SlsDeliveryConfig","json"));let n={};$dara.isNull(a.agentUpgradeConfigShrink)||(n.AgentUpgradeConfig=a.agentUpgradeConfigShrink),$dara.isNull(a.ossDeliveryConfigShrink)||(n.OssDeliveryConfig=a.ossDeliveryConfigShrink),$dara.isNull(a.ownerAccount)||(n.OwnerAccount=a.ownerAccount),$dara.isNull(a.ownerId)||(n.OwnerId=a.ownerId),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.resourceOwnerAccount)||(n.ResourceOwnerAccount=a.resourceOwnerAccount),$dara.isNull(a.resourceOwnerId)||(n.ResourceOwnerId=a.resourceOwnerId),$dara.isNull(a.resourceUsageConfigShrink)||(n.ResourceUsageConfig=a.resourceUsageConfigShrink),$dara.isNull(a.sessionManagerConfigShrink)||(n.SessionManagerConfig=a.sessionManagerConfigShrink),$dara.isNull(a.settingType)||(n.SettingType=a.settingType),$dara.isNull(a.slsDeliveryConfigShrink)||(n.SlsDeliveryConfig=a.slsDeliveryConfigShrink);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyCloudAssistantSettings",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.ModifyCloudAssistantSettingsResponse({}))}async modifyCloudAssistantSettings(e){let r=new $dara.RuntimeOptions({});return await this.modifyCloudAssistantSettingsWithOptions(e,r)}async modifyCommandWithOptions(e,r){e.validate();let a={};$dara.isNull(e.commandContent)||(a.CommandContent=e.commandContent),$dara.isNull(e.commandId)||(a.CommandId=e.commandId),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.launcher)||(a.Launcher=e.launcher),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.timeout)||(a.Timeout=e.timeout),$dara.isNull(e.workingDir)||(a.WorkingDir=e.workingDir);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyCommand",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyCommandResponse({}))}async modifyCommand(e){let r=new $dara.RuntimeOptions({});return await this.modifyCommandWithOptions(e,r)}async modifyDedicatedHostAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.actionOnMaintenance)||(a.ActionOnMaintenance=e.actionOnMaintenance),$dara.isNull(e.autoPlacement)||(a.AutoPlacement=e.autoPlacement),$dara.isNull(e.cpuOverCommitRatio)||(a.CpuOverCommitRatio=e.cpuOverCommitRatio),$dara.isNull(e.dedicatedHostClusterId)||(a.DedicatedHostClusterId=e.dedicatedHostClusterId),$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.dedicatedHostName)||(a.DedicatedHostName=e.dedicatedHostName),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.networkAttributes)||(a.NetworkAttributes=e.networkAttributes);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDedicatedHostAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDedicatedHostAttributeResponse({}))}async modifyDedicatedHostAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyDedicatedHostAttributeWithOptions(e,r)}async modifyDedicatedHostAutoReleaseTimeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoReleaseTime)||(a.AutoReleaseTime=e.autoReleaseTime),$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDedicatedHostAutoReleaseTime",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDedicatedHostAutoReleaseTimeResponse({}))}async modifyDedicatedHostAutoReleaseTime(e){let r=new $dara.RuntimeOptions({});return await this.modifyDedicatedHostAutoReleaseTimeWithOptions(e,r)}async modifyDedicatedHostAutoRenewAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewWithEcs)||(a.AutoRenewWithEcs=e.autoRenewWithEcs),$dara.isNull(e.dedicatedHostIds)||(a.DedicatedHostIds=e.dedicatedHostIds),$dara.isNull(e.duration)||(a.Duration=e.duration),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.renewalStatus)||(a.RenewalStatus=e.renewalStatus),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDedicatedHostAutoRenewAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDedicatedHostAutoRenewAttributeResponse({}))}async modifyDedicatedHostAutoRenewAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyDedicatedHostAutoRenewAttributeWithOptions(e,r)}async modifyDedicatedHostClusterAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostClusterId)||(a.DedicatedHostClusterId=e.dedicatedHostClusterId),$dara.isNull(e.dedicatedHostClusterName)||(a.DedicatedHostClusterName=e.dedicatedHostClusterName),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDedicatedHostClusterAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDedicatedHostClusterAttributeResponse({}))}async modifyDedicatedHostClusterAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyDedicatedHostClusterAttributeWithOptions(e,r)}async modifyDedicatedHostsChargeTypeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.dedicatedHostChargeType)||(a.DedicatedHostChargeType=e.dedicatedHostChargeType),$dara.isNull(e.dedicatedHostIds)||(a.DedicatedHostIds=e.dedicatedHostIds),$dara.isNull(e.detailFee)||(a.DetailFee=e.detailFee),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDedicatedHostsChargeType",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDedicatedHostsChargeTypeResponse({}))}async modifyDedicatedHostsChargeType(e){let r=new $dara.RuntimeOptions({});return await this.modifyDedicatedHostsChargeTypeWithOptions(e,r)}async modifyDeploymentSetAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.deploymentSetId)||(a.DeploymentSetId=e.deploymentSetId),$dara.isNull(e.deploymentSetName)||(a.DeploymentSetName=e.deploymentSetName),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDeploymentSetAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDeploymentSetAttributeResponse({}))}async modifyDeploymentSetAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyDeploymentSetAttributeWithOptions(e,r)}async modifyDiagnosticMetricSetWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.metricIds)||(a.MetricIds=e.metricIds),$dara.isNull(e.metricSetId)||(a.MetricSetId=e.metricSetId),$dara.isNull(e.metricSetName)||(a.MetricSetName=e.metricSetName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDiagnosticMetricSet",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDiagnosticMetricSetResponse({}))}async modifyDiagnosticMetricSet(e){let r=new $dara.RuntimeOptions({});return await this.modifyDiagnosticMetricSetWithOptions(e,r)}async modifyDiskAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.burstingEnabled)||(a.BurstingEnabled=e.burstingEnabled),$dara.isNull(e.deleteAutoSnapshot)||(a.DeleteAutoSnapshot=e.deleteAutoSnapshot),$dara.isNull(e.deleteWithInstance)||(a.DeleteWithInstance=e.deleteWithInstance),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.diskIds)||(a.DiskIds=e.diskIds),$dara.isNull(e.diskName)||(a.DiskName=e.diskName),$dara.isNull(e.enableAutoSnapshot)||(a.EnableAutoSnapshot=e.enableAutoSnapshot),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDiskAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDiskAttributeResponse({}))}async modifyDiskAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyDiskAttributeWithOptions(e,r)}async modifyDiskChargeTypeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.diskChargeType)||(a.DiskChargeType=e.diskChargeType),$dara.isNull(e.diskIds)||(a.DiskIds=e.diskIds),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDiskChargeType",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDiskChargeTypeResponse({}))}async modifyDiskChargeType(e){let r=new $dara.RuntimeOptions({});return await this.modifyDiskChargeTypeWithOptions(e,r)}async modifyDiskDefaultKMSKeyIdWithOptions(e,r){e.validate();let a={};$dara.isNull(e.KMSKeyId)||(a.KMSKeyId=e.KMSKeyId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDiskDefaultKMSKeyId",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDiskDefaultKMSKeyIdResponse({}))}async modifyDiskDefaultKMSKeyId(e){let r=new $dara.RuntimeOptions({});return await this.modifyDiskDefaultKMSKeyIdWithOptions(e,r)}async modifyDiskDeploymentWithOptions(e,r){e.validate();let a={};$dara.isNull(e.diskCategory)||(a.DiskCategory=e.diskCategory),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.performanceLevel)||(a.PerformanceLevel=e.performanceLevel),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageClusterId)||(a.StorageClusterId=e.storageClusterId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDiskDeployment",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDiskDeploymentResponse({}))}async modifyDiskDeployment(e){let r=new $dara.RuntimeOptions({});return await this.modifyDiskDeploymentWithOptions(e,r)}async modifyDiskSpecWithOptions(e,r){e.validate();let a={};$dara.isNull(e.destinationZoneId)||(a.DestinationZoneId=e.destinationZoneId),$dara.isNull(e.diskCategory)||(a.DiskCategory=e.diskCategory),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.performanceControlOptions)||(a.PerformanceControlOptions=e.performanceControlOptions),$dara.isNull(e.performanceLevel)||(a.PerformanceLevel=e.performanceLevel),$dara.isNull(e.provisionedIops)||(a.ProvisionedIops=e.provisionedIops),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyDiskSpec",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyDiskSpecResponse({}))}async modifyDiskSpec(e){let r=new $dara.RuntimeOptions({});return await this.modifyDiskSpecWithOptions(e,r)}async modifyEipAddressAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationId)||(a.AllocationId=e.allocationId),$dara.isNull(e.bandwidth)||(a.Bandwidth=e.bandwidth),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyEipAddressAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyEipAddressAttributeResponse({}))}async modifyEipAddressAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyEipAddressAttributeWithOptions(e,r)}async modifyElasticityAssuranceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.instanceAmount)||(a.InstanceAmount=e.instanceAmount),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.recurrenceRules)||(a.RecurrenceRules=e.recurrenceRules),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyElasticityAssurance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyElasticityAssuranceResponse({}))}async modifyElasticityAssurance(e){let r=new $dara.RuntimeOptions({});return await this.modifyElasticityAssuranceWithOptions(e,r)}async modifyElasticityAssuranceAutoRenewAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.renewalStatus)||(a.RenewalStatus=e.renewalStatus),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyElasticityAssuranceAutoRenewAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyElasticityAssuranceAutoRenewAttributeResponse({}))}async modifyElasticityAssuranceAutoRenewAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyElasticityAssuranceAutoRenewAttributeWithOptions(e,r)}async modifyForwardEntryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.externalIp)||(a.ExternalIp=e.externalIp),$dara.isNull(e.externalPort)||(a.ExternalPort=e.externalPort),$dara.isNull(e.forwardEntryId)||(a.ForwardEntryId=e.forwardEntryId),$dara.isNull(e.forwardTableId)||(a.ForwardTableId=e.forwardTableId),$dara.isNull(e.internalIp)||(a.InternalIp=e.internalIp),$dara.isNull(e.internalPort)||(a.InternalPort=e.internalPort),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyForwardEntry",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyForwardEntryResponse({}))}async modifyForwardEntry(e){let r=new $dara.RuntimeOptions({});return await this.modifyForwardEntryWithOptions(e,r)}async modifyHaVipAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.haVipId)||(a.HaVipId=e.haVipId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyHaVipAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyHaVipAttributeResponse({}))}async modifyHaVipAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyHaVipAttributeWithOptions(e,r)}async modifyHpcClusterAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.hpcClusterId)||(a.HpcClusterId=e.hpcClusterId),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyHpcClusterAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyHpcClusterAttributeResponse({}))}async modifyHpcClusterAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyHpcClusterAttributeWithOptions(e,r)}async modifyImageAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bootMode)||(a.BootMode=e.bootMode),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.features)||(a.Features=e.features),$dara.isNull(e.imageFamily)||(a.ImageFamily=e.imageFamily),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.imageName)||(a.ImageName=e.imageName),$dara.isNull(e.licenseType)||(a.LicenseType=e.licenseType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.status)||(a.Status=e.status);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyImageAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyImageAttributeResponse({}))}async modifyImageAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyImageAttributeWithOptions(e,r)}async modifyImageShareGroupPermissionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.addGroup)||(a.AddGroup=e.addGroup),$dara.isNull(e.removeGroup)||(a.RemoveGroup=e.removeGroup);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyImageShareGroupPermission",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyImageShareGroupPermissionResponse({}))}async modifyImageShareGroupPermission(e){let r=new $dara.RuntimeOptions({});return await this.modifyImageShareGroupPermissionWithOptions(e,r)}async modifyImageSharePermissionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.addAccount)||(a.AddAccount=e.addAccount),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.isPublic)||(a.IsPublic=e.isPublic),$dara.isNull(e.launchPermission)||(a.LaunchPermission=e.launchPermission),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.removeAccount)||(a.RemoveAccount=e.removeAccount),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyImageSharePermission",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyImageSharePermissionResponse({}))}async modifyImageSharePermission(e){let r=new $dara.RuntimeOptions({});return await this.modifyImageSharePermissionWithOptions(e,r)}async modifyInstanceAttachmentAttributesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceAttachmentAttributes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceAttachmentAttributesResponse({}))}async modifyInstanceAttachmentAttributes(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceAttachmentAttributesWithOptions(e,r)}async modifyInstanceAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.creditSpecification)||(a.CreditSpecification=e.creditSpecification),$dara.isNull(e.deletionProtection)||(a.DeletionProtection=e.deletionProtection),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.enableJumboFrame)||(a.EnableJumboFrame=e.enableJumboFrame),$dara.isNull(e.enableNetworkEncryption)||(a.EnableNetworkEncryption=e.enableNetworkEncryption),$dara.isNull(e.hostName)||(a.HostName=e.hostName),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.networkInterfaceQueueNumber)||(a.NetworkInterfaceQueueNumber=e.networkInterfaceQueueNumber),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.password)||(a.Password=e.password),$dara.isNull(e.privateDnsNameOptions)||(a.PrivateDnsNameOptions=e.privateDnsNameOptions),$dara.isNull(e.recyclable)||(a.Recyclable=e.recyclable),$dara.isNull(e.remoteConnectionOptions)||(a.RemoteConnectionOptions=e.remoteConnectionOptions),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupIds)||(a.SecurityGroupIds=e.securityGroupIds),$dara.isNull(e.userData)||(a.UserData=e.userData),$dara.isNull(e.cpuOptions)||(a.CpuOptions=e.cpuOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceAttributeResponse({}))}async modifyInstanceAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceAttributeWithOptions(e,r)}async modifyInstanceAutoReleaseTimeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoReleaseTime)||(a.AutoReleaseTime=e.autoReleaseTime),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceAutoReleaseTime",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceAutoReleaseTimeResponse({}))}async modifyInstanceAutoReleaseTime(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceAutoReleaseTimeWithOptions(e,r)}async modifyInstanceAutoRenewAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.duration)||(a.Duration=e.duration),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.renewalStatus)||(a.RenewalStatus=e.renewalStatus),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceAutoRenewAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceAutoRenewAttributeResponse({}))}async modifyInstanceAutoRenewAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceAutoRenewAttributeWithOptions(e,r)}async modifyInstanceChargeTypeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.includeDataDisks)||(a.IncludeDataDisks=e.includeDataDisks),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceIds)||(a.InstanceIds=e.instanceIds),$dara.isNull(e.isDetailFee)||(a.IsDetailFee=e.isDetailFee),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceChargeType",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceChargeTypeResponse({}))}async modifyInstanceChargeType(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceChargeTypeWithOptions(e,r)}async modifyInstanceClockOptionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.ptpStatus)||(a.PtpStatus=e.ptpStatus),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceClockOptions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceClockOptionsResponse({}))}async modifyInstanceClockOptions(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceClockOptionsWithOptions(e,r)}async modifyInstanceDeploymentWithOptions(e,r){e.validate();let a={};$dara.isNull(e.affinity)||(a.Affinity=e.affinity),$dara.isNull(e.dedicatedHostClusterId)||(a.DedicatedHostClusterId=e.dedicatedHostClusterId),$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.deploymentSetGroupNo)||(a.DeploymentSetGroupNo=e.deploymentSetGroupNo),$dara.isNull(e.deploymentSetId)||(a.DeploymentSetId=e.deploymentSetId),$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.migrationType)||(a.MigrationType=e.migrationType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.removeFromDeploymentSet)||(a.RemoveFromDeploymentSet=e.removeFromDeploymentSet),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tenancy)||(a.Tenancy=e.tenancy);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceDeployment",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceDeploymentResponse({}))}async modifyInstanceDeployment(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceDeploymentWithOptions(e,r)}async modifyInstanceMaintenanceAttributesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.actionOnMaintenance)||(a.ActionOnMaintenance=e.actionOnMaintenance),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.maintenanceWindow)||(a.MaintenanceWindow=e.maintenanceWindow),$dara.isNull(e.notifyOnMaintenance)||(a.NotifyOnMaintenance=e.notifyOnMaintenance),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceMaintenanceAttributes",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceMaintenanceAttributesResponse({}))}async modifyInstanceMaintenanceAttributes(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceMaintenanceAttributesWithOptions(e,r)}async modifyInstanceMetadataOptionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.httpEndpoint)||(a.HttpEndpoint=e.httpEndpoint),$dara.isNull(e.httpPutResponseHopLimit)||(a.HttpPutResponseHopLimit=e.httpPutResponseHopLimit),$dara.isNull(e.httpTokens)||(a.HttpTokens=e.httpTokens),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceMetadataTags)||(a.InstanceMetadataTags=e.instanceMetadataTags),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceMetadataOptions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceMetadataOptionsResponse({}))}async modifyInstanceMetadataOptions(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceMetadataOptionsWithOptions(e,r)}async modifyInstanceNetworkOptionsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bandwidthWeighting)||(a.BandwidthWeighting=e.bandwidthWeighting),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceNetworkOptions",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceNetworkOptionsResponse({}))}async modifyInstanceNetworkOptions(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceNetworkOptionsWithOptions(e,r)}async modifyInstanceNetworkSpecWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocatePublicIp)||(a.AllocatePublicIp=e.allocatePublicIp),$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.ISP)||(a.ISP=e.ISP),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.internetMaxBandwidthIn)||(a.InternetMaxBandwidthIn=e.internetMaxBandwidthIn),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.networkChargeType)||(a.NetworkChargeType=e.networkChargeType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceNetworkSpec",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceNetworkSpecResponse({}))}async modifyInstanceNetworkSpec(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceNetworkSpecWithOptions(e,r)}async modifyInstanceSpecWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allowMigrateAcrossZone)||(a.AllowMigrateAcrossZone=e.allowMigrateAcrossZone),$dara.isNull(e.async)||(a.Async=e.async),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.disk)||(a.Disk=e.disk),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.internetMaxBandwidthIn)||(a.InternetMaxBandwidthIn=e.internetMaxBandwidthIn),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.modifyMode)||(a.ModifyMode=e.modifyMode),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk),$dara.isNull(e.temporary)||(a.Temporary=e.temporary);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceSpec",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceSpecResponse({}))}async modifyInstanceSpec(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceSpecWithOptions(e,r)}async modifyInstanceVncPasswdWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vncPassword)||(a.VncPassword=e.vncPassword);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceVncPasswd",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceVncPasswdResponse({}))}async modifyInstanceVncPasswd(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceVncPasswdWithOptions(e,r)}async modifyInstanceVpcAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInstanceVpcAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyInstanceVpcAttributeResponse({}))}async modifyInstanceVpcAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyInstanceVpcAttributeWithOptions(e,r)}async modifyInvocationAttributeWithOptions(e,r){e.validate();let a=new $_model.ModifyInvocationAttributeShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.parameters)||(a.parametersShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.parameters,"Parameters","json"));let n={};$dara.isNull(a.clientToken)||(n.ClientToken=a.clientToken),$dara.isNull(a.commandContent)||(n.CommandContent=a.commandContent),$dara.isNull(a.contentEncoding)||(n.ContentEncoding=a.contentEncoding),$dara.isNull(a.enableParameter)||(n.EnableParameter=a.enableParameter),$dara.isNull(a.frequency)||(n.Frequency=a.frequency),$dara.isNull(a.instanceId)||(n.InstanceId=a.instanceId),$dara.isNull(a.invokeId)||(n.InvokeId=a.invokeId),$dara.isNull(a.ownerAccount)||(n.OwnerAccount=a.ownerAccount),$dara.isNull(a.ownerId)||(n.OwnerId=a.ownerId),$dara.isNull(a.parametersShrink)||(n.Parameters=a.parametersShrink),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.resourceOwnerAccount)||(n.ResourceOwnerAccount=a.resourceOwnerAccount),$dara.isNull(a.resourceOwnerId)||(n.ResourceOwnerId=a.resourceOwnerId);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyInvocationAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.ModifyInvocationAttributeResponse({}))}async modifyInvocationAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyInvocationAttributeWithOptions(e,r)}async modifyLaunchTemplateDefaultVersionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.defaultVersionNumber)||(a.DefaultVersionNumber=e.defaultVersionNumber),$dara.isNull(e.launchTemplateId)||(a.LaunchTemplateId=e.launchTemplateId),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyLaunchTemplateDefaultVersion",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyLaunchTemplateDefaultVersionResponse({}))}async modifyLaunchTemplateDefaultVersion(e){let r=new $dara.RuntimeOptions({});return await this.modifyLaunchTemplateDefaultVersionWithOptions(e,r)}async modifyManagedInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyManagedInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyManagedInstanceResponse({}))}async modifyManagedInstance(e){let r=new $dara.RuntimeOptions({});return await this.modifyManagedInstanceWithOptions(e,r)}async modifyNetworkInterfaceAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.connectionTrackingConfiguration)||(a.ConnectionTrackingConfiguration=e.connectionTrackingConfiguration),$dara.isNull(e.deleteOnRelease)||(a.DeleteOnRelease=e.deleteOnRelease),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.enhancedNetwork)||(a.EnhancedNetwork=e.enhancedNetwork),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.networkInterfaceName)||(a.NetworkInterfaceName=e.networkInterfaceName),$dara.isNull(e.networkInterfaceTrafficConfig)||(a.NetworkInterfaceTrafficConfig=e.networkInterfaceTrafficConfig),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.queueNumber)||(a.QueueNumber=e.queueNumber),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.rxQueueSize)||(a.RxQueueSize=e.rxQueueSize),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.sourceDestCheck)||(a.SourceDestCheck=e.sourceDestCheck),$dara.isNull(e.txQueueSize)||(a.TxQueueSize=e.txQueueSize);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyNetworkInterfaceAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyNetworkInterfaceAttributeResponse({}))}async modifyNetworkInterfaceAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyNetworkInterfaceAttributeWithOptions(e,r)}async modifyPhysicalConnectionAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.circuitCode)||(a.CircuitCode=e.circuitCode),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.lineOperator)||(a.LineOperator=e.lineOperator),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.peerLocation)||(a.PeerLocation=e.peerLocation),$dara.isNull(e.physicalConnectionId)||(a.PhysicalConnectionId=e.physicalConnectionId),$dara.isNull(e.portType)||(a.PortType=e.portType),$dara.isNull(e.redundantPhysicalConnectionId)||(a.RedundantPhysicalConnectionId=e.redundantPhysicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.bandwidth)||(a.bandwidth=e.bandwidth);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyPhysicalConnectionAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyPhysicalConnectionAttributeResponse({}))}async modifyPhysicalConnectionAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyPhysicalConnectionAttributeWithOptions(e,r)}async modifyPlanMaintenanceWindowWithOptions(e,r){e.validate();let a=new $_model.ModifyPlanMaintenanceWindowShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.targetResource)||(a.targetResourceShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.targetResource,"TargetResource","json")),$dara.isNull(e.timePeriod)||(a.timePeriodShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.timePeriod,"TimePeriod","json"));let n={};$dara.isNull(a.enable)||(n.Enable=a.enable),$dara.isNull(a.planWindowId)||(n.PlanWindowId=a.planWindowId),$dara.isNull(a.planWindowName)||(n.PlanWindowName=a.planWindowName),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.supportMaintenanceAction)||(n.SupportMaintenanceAction=a.supportMaintenanceAction),$dara.isNull(a.targetResourceShrink)||(n.TargetResource=a.targetResourceShrink),$dara.isNull(a.timePeriodShrink)||(n.TimePeriod=a.timePeriodShrink);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyPlanMaintenanceWindow",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.ModifyPlanMaintenanceWindowResponse({}))}async modifyPlanMaintenanceWindow(e){let r=new $dara.RuntimeOptions({});return await this.modifyPlanMaintenanceWindowWithOptions(e,r)}async modifyPortRangeListWithOptions(e,r){e.validate();let a={};$dara.isNull(e.addEntry)||(a.AddEntry=e.addEntry),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.portRangeListId)||(a.PortRangeListId=e.portRangeListId),$dara.isNull(e.portRangeListName)||(a.PortRangeListName=e.portRangeListName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.removeEntry)||(a.RemoveEntry=e.removeEntry),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyPortRangeList",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyPortRangeListResponse({}))}async modifyPortRangeList(e){let r=new $dara.RuntimeOptions({});return await this.modifyPortRangeListWithOptions(e,r)}async modifyPrefixListWithOptions(e,r){e.validate();let a={};$dara.isNull(e.addEntry)||(a.AddEntry=e.addEntry),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.prefixListId)||(a.PrefixListId=e.prefixListId),$dara.isNull(e.prefixListName)||(a.PrefixListName=e.prefixListName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.removeEntry)||(a.RemoveEntry=e.removeEntry),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyPrefixList",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyPrefixListResponse({}))}async modifyPrefixList(e){let r=new $dara.RuntimeOptions({});return await this.modifyPrefixListWithOptions(e,r)}async modifyPrepayInstanceSpecWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.disk)||(a.Disk=e.disk),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.migrateAcrossZone)||(a.MigrateAcrossZone=e.migrateAcrossZone),$dara.isNull(e.modifyMode)||(a.ModifyMode=e.modifyMode),$dara.isNull(e.operatorType)||(a.OperatorType=e.operatorType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.rebootTime)||(a.RebootTime=e.rebootTime),$dara.isNull(e.rebootWhenFinished)||(a.RebootWhenFinished=e.rebootWhenFinished),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyPrepayInstanceSpec",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyPrepayInstanceSpecResponse({}))}async modifyPrepayInstanceSpec(e){let r=new $dara.RuntimeOptions({});return await this.modifyPrepayInstanceSpecWithOptions(e,r)}async modifyReservedInstanceAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reservedInstanceId)||(a.ReservedInstanceId=e.reservedInstanceId),$dara.isNull(e.reservedInstanceName)||(a.ReservedInstanceName=e.reservedInstanceName),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyReservedInstanceAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyReservedInstanceAttributeResponse({}))}async modifyReservedInstanceAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyReservedInstanceAttributeWithOptions(e,r)}async modifyReservedInstanceAutoRenewAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.renewalStatus)||(a.RenewalStatus=e.renewalStatus),$dara.isNull(e.reservedInstanceId)||(a.ReservedInstanceId=e.reservedInstanceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyReservedInstanceAutoRenewAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyReservedInstanceAutoRenewAttributeResponse({}))}async modifyReservedInstanceAutoRenewAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyReservedInstanceAutoRenewAttributeWithOptions(e,r)}async modifyReservedInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.configuration)||(a.Configuration=e.configuration),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reservedInstanceId)||(a.ReservedInstanceId=e.reservedInstanceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyReservedInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyReservedInstancesResponse({}))}async modifyReservedInstances(e){let r=new $dara.RuntimeOptions({});return await this.modifyReservedInstancesWithOptions(e,r)}async modifyRouterInterfaceAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.healthCheckSourceIp)||(a.HealthCheckSourceIp=e.healthCheckSourceIp),$dara.isNull(e.healthCheckTargetIp)||(a.HealthCheckTargetIp=e.healthCheckTargetIp),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.oppositeInterfaceId)||(a.OppositeInterfaceId=e.oppositeInterfaceId),$dara.isNull(e.oppositeInterfaceOwnerId)||(a.OppositeInterfaceOwnerId=e.oppositeInterfaceOwnerId),$dara.isNull(e.oppositeRouterId)||(a.OppositeRouterId=e.oppositeRouterId),$dara.isNull(e.oppositeRouterType)||(a.OppositeRouterType=e.oppositeRouterType),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routerInterfaceId)||(a.RouterInterfaceId=e.routerInterfaceId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyRouterInterfaceAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyRouterInterfaceAttributeResponse({}))}async modifyRouterInterfaceAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyRouterInterfaceAttributeWithOptions(e,r)}async modifyRouterInterfaceSpecWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.routerInterfaceId)||(a.RouterInterfaceId=e.routerInterfaceId),$dara.isNull(e.spec)||(a.Spec=e.spec),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyRouterInterfaceSpec",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyRouterInterfaceSpecResponse({}))}async modifyRouterInterfaceSpec(e){let r=new $dara.RuntimeOptions({});return await this.modifyRouterInterfaceSpecWithOptions(e,r)}async modifySecurityGroupAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupName)||(a.SecurityGroupName=e.securityGroupName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifySecurityGroupAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifySecurityGroupAttributeResponse({}))}async modifySecurityGroupAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifySecurityGroupAttributeWithOptions(e,r)}async modifySecurityGroupEgressRuleWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.destCidrIp)||(a.DestCidrIp=e.destCidrIp),$dara.isNull(e.destGroupId)||(a.DestGroupId=e.destGroupId),$dara.isNull(e.destGroupOwnerAccount)||(a.DestGroupOwnerAccount=e.destGroupOwnerAccount),$dara.isNull(e.destGroupOwnerId)||(a.DestGroupOwnerId=e.destGroupOwnerId),$dara.isNull(e.destPrefixListId)||(a.DestPrefixListId=e.destPrefixListId),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ipv6DestCidrIp)||(a.Ipv6DestCidrIp=e.ipv6DestCidrIp),$dara.isNull(e.ipv6SourceCidrIp)||(a.Ipv6SourceCidrIp=e.ipv6SourceCidrIp),$dara.isNull(e.nicType)||(a.NicType=e.nicType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.policy)||(a.Policy=e.policy),$dara.isNull(e.portRange)||(a.PortRange=e.portRange),$dara.isNull(e.portRangeListId)||(a.PortRangeListId=e.portRangeListId),$dara.isNull(e.priority)||(a.Priority=e.priority),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupRuleId)||(a.SecurityGroupRuleId=e.securityGroupRuleId),$dara.isNull(e.sourceCidrIp)||(a.SourceCidrIp=e.sourceCidrIp),$dara.isNull(e.sourcePortRange)||(a.SourcePortRange=e.sourcePortRange);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifySecurityGroupEgressRule",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifySecurityGroupEgressRuleResponse({}))}async modifySecurityGroupEgressRule(e){let r=new $dara.RuntimeOptions({});return await this.modifySecurityGroupEgressRuleWithOptions(e,r)}async modifySecurityGroupPolicyWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.innerAccessPolicy)||(a.InnerAccessPolicy=e.innerAccessPolicy),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifySecurityGroupPolicy",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifySecurityGroupPolicyResponse({}))}async modifySecurityGroupPolicy(e){let r=new $dara.RuntimeOptions({});return await this.modifySecurityGroupPolicyWithOptions(e,r)}async modifySecurityGroupRuleWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.destCidrIp)||(a.DestCidrIp=e.destCidrIp),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ipv6DestCidrIp)||(a.Ipv6DestCidrIp=e.ipv6DestCidrIp),$dara.isNull(e.ipv6SourceCidrIp)||(a.Ipv6SourceCidrIp=e.ipv6SourceCidrIp),$dara.isNull(e.nicType)||(a.NicType=e.nicType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.policy)||(a.Policy=e.policy),$dara.isNull(e.portRange)||(a.PortRange=e.portRange),$dara.isNull(e.portRangeListId)||(a.PortRangeListId=e.portRangeListId),$dara.isNull(e.priority)||(a.Priority=e.priority),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupRuleId)||(a.SecurityGroupRuleId=e.securityGroupRuleId),$dara.isNull(e.sourceCidrIp)||(a.SourceCidrIp=e.sourceCidrIp),$dara.isNull(e.sourceGroupId)||(a.SourceGroupId=e.sourceGroupId),$dara.isNull(e.sourceGroupOwnerAccount)||(a.SourceGroupOwnerAccount=e.sourceGroupOwnerAccount),$dara.isNull(e.sourceGroupOwnerId)||(a.SourceGroupOwnerId=e.sourceGroupOwnerId),$dara.isNull(e.sourcePortRange)||(a.SourcePortRange=e.sourcePortRange),$dara.isNull(e.sourcePrefixListId)||(a.SourcePrefixListId=e.sourcePrefixListId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifySecurityGroupRule",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifySecurityGroupRuleResponse({}))}async modifySecurityGroupRule(e){let r=new $dara.RuntimeOptions({});return await this.modifySecurityGroupRuleWithOptions(e,r)}async modifySnapshotAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.disableInstantAccess)||(a.DisableInstantAccess=e.disableInstantAccess),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.retentionDays)||(a.RetentionDays=e.retentionDays),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId),$dara.isNull(e.snapshotName)||(a.SnapshotName=e.snapshotName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifySnapshotAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifySnapshotAttributeResponse({}))}async modifySnapshotAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifySnapshotAttributeWithOptions(e,r)}async modifySnapshotCategoryWithOptions(e,r){e.validate();let a={};$dara.isNull(e.category)||(a.Category=e.category),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.retentionDays)||(a.RetentionDays=e.retentionDays),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifySnapshotCategory",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifySnapshotCategoryResponse({}))}async modifySnapshotCategory(e){let r=new $dara.RuntimeOptions({});return await this.modifySnapshotCategoryWithOptions(e,r)}async modifySnapshotGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotGroupId)||(a.SnapshotGroupId=e.snapshotGroupId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifySnapshotGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifySnapshotGroupResponse({}))}async modifySnapshotGroup(e){let r=new $dara.RuntimeOptions({});return await this.modifySnapshotGroupWithOptions(e,r)}async modifyStorageCapacityUnitAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageCapacityUnitId)||(a.StorageCapacityUnitId=e.storageCapacityUnitId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyStorageCapacityUnitAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyStorageCapacityUnitAttributeResponse({}))}async modifyStorageCapacityUnitAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyStorageCapacityUnitAttributeWithOptions(e,r)}async modifyStorageSetAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.storageSetId)||(a.StorageSetId=e.storageSetId),$dara.isNull(e.storageSetName)||(a.StorageSetName=e.storageSetName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyStorageSetAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyStorageSetAttributeResponse({}))}async modifyStorageSetAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyStorageSetAttributeWithOptions(e,r)}async modifyUserBusinessBehaviorWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.statusKey)||(a.statusKey=e.statusKey),$dara.isNull(e.statusValue)||(a.statusValue=e.statusValue);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyUserBusinessBehavior",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyUserBusinessBehaviorResponse({}))}async modifyUserBusinessBehavior(e){let r=new $dara.RuntimeOptions({});return await this.modifyUserBusinessBehaviorWithOptions(e,r)}async modifyVRouterAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.VRouterId)||(a.VRouterId=e.VRouterId),$dara.isNull(e.VRouterName)||(a.VRouterName=e.VRouterName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyVRouterAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyVRouterAttributeResponse({}))}async modifyVRouterAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyVRouterAttributeWithOptions(e,r)}async modifyVSwitchAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.vSwitchName)||(a.VSwitchName=e.vSwitchName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyVSwitchAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyVSwitchAttributeResponse({}))}async modifyVSwitchAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyVSwitchAttributeWithOptions(e,r)}async modifyVirtualBorderRouterAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.circuitCode)||(a.CircuitCode=e.circuitCode),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.localGatewayIp)||(a.LocalGatewayIp=e.localGatewayIp),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.peerGatewayIp)||(a.PeerGatewayIp=e.peerGatewayIp),$dara.isNull(e.peeringSubnetMask)||(a.PeeringSubnetMask=e.peeringSubnetMask),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.vbrId)||(a.VbrId=e.vbrId),$dara.isNull(e.vlanId)||(a.VlanId=e.vlanId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyVirtualBorderRouterAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyVirtualBorderRouterAttributeResponse({}))}async modifyVirtualBorderRouterAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyVirtualBorderRouterAttributeWithOptions(e,r)}async modifyVpcAttributeWithOptions(e,r){e.validate();let a={};$dara.isNull(e.cidrBlock)||(a.CidrBlock=e.cidrBlock),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.vpcId)||(a.VpcId=e.vpcId),$dara.isNull(e.vpcName)||(a.VpcName=e.vpcName);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ModifyVpcAttribute",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ModifyVpcAttributeResponse({}))}async modifyVpcAttribute(e){let r=new $dara.RuntimeOptions({});return await this.modifyVpcAttributeWithOptions(e,r)}async openSnapshotServiceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"OpenSnapshotService",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.OpenSnapshotServiceResponse({}))}async openSnapshotService(e){let r=new $dara.RuntimeOptions({});return await this.openSnapshotServiceWithOptions(e,r)}async purchaseElasticityAssuranceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"PurchaseElasticityAssurance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.PurchaseElasticityAssuranceResponse({}))}async purchaseElasticityAssurance(e){let r=new $dara.RuntimeOptions({});return await this.purchaseElasticityAssuranceWithOptions(e,r)}async purchaseReservedInstancesOfferingWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.instanceAmount)||(a.InstanceAmount=e.instanceAmount),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.offeringType)||(a.OfferingType=e.offeringType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reservedInstanceName)||(a.ReservedInstanceName=e.reservedInstanceName),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.scope)||(a.Scope=e.scope),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"PurchaseReservedInstancesOffering",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.PurchaseReservedInstancesOfferingResponse({}))}async purchaseReservedInstancesOffering(e){let r=new $dara.RuntimeOptions({});return await this.purchaseReservedInstancesOfferingWithOptions(e,r)}async purchaseStorageCapacityUnitWithOptions(e,r){e.validate();let a={};$dara.isNull(e.amount)||(a.Amount=e.amount),$dara.isNull(e.capacity)||(a.Capacity=e.capacity),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.fromApp)||(a.FromApp=e.fromApp),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"PurchaseStorageCapacityUnit",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.PurchaseStorageCapacityUnitResponse({}))}async purchaseStorageCapacityUnit(e){let r=new $dara.RuntimeOptions({});return await this.purchaseStorageCapacityUnitWithOptions(e,r)}async reActivateInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReActivateInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReActivateInstancesResponse({}))}async reActivateInstances(e){let r=new $dara.RuntimeOptions({});return await this.reActivateInstancesWithOptions(e,r)}async reInitDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoStartInstance)||(a.AutoStartInstance=e.autoStartInstance),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.password)||(a.Password=e.password),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityEnhancementStrategy)||(a.SecurityEnhancementStrategy=e.securityEnhancementStrategy);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReInitDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReInitDiskResponse({}))}async reInitDisk(e){let r=new $dara.RuntimeOptions({});return await this.reInitDiskWithOptions(e,r)}async rebootInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.forceStop)||(a.ForceStop=e.forceStop),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RebootInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RebootInstanceResponse({}))}async rebootInstance(e){let r=new $dara.RuntimeOptions({});return await this.rebootInstanceWithOptions(e,r)}async rebootInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.batchOptimization)||(a.BatchOptimization=e.batchOptimization),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.forceReboot)||(a.ForceReboot=e.forceReboot),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RebootInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RebootInstancesResponse({}))}async rebootInstances(e){let r=new $dara.RuntimeOptions({});return await this.rebootInstancesWithOptions(e,r)}async recoverVirtualBorderRouterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.vbrId)||(a.VbrId=e.vbrId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RecoverVirtualBorderRouter",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RecoverVirtualBorderRouterResponse({}))}async recoverVirtualBorderRouter(e){let r=new $dara.RuntimeOptions({});return await this.recoverVirtualBorderRouterWithOptions(e,r)}async redeployDedicatedHostWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.migrationType)||(a.MigrationType=e.migrationType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RedeployDedicatedHost",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RedeployDedicatedHostResponse({}))}async redeployDedicatedHost(e){let r=new $dara.RuntimeOptions({});return await this.redeployDedicatedHostWithOptions(e,r)}async redeployInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.forceStop)||(a.ForceStop=e.forceStop),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RedeployInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RedeployInstanceResponse({}))}async redeployInstance(e){let r=new $dara.RuntimeOptions({});return await this.redeployInstanceWithOptions(e,r)}async releaseCapacityReservationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReleaseCapacityReservation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReleaseCapacityReservationResponse({}))}async releaseCapacityReservation(e){let r=new $dara.RuntimeOptions({});return await this.releaseCapacityReservationWithOptions(e,r)}async releaseDedicatedHostWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.terminateSubscription)||(a.TerminateSubscription=e.terminateSubscription);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReleaseDedicatedHost",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReleaseDedicatedHostResponse({}))}async releaseDedicatedHost(e){let r=new $dara.RuntimeOptions({});return await this.releaseDedicatedHostWithOptions(e,r)}async releaseEipAddressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationId)||(a.AllocationId=e.allocationId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReleaseEipAddress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReleaseEipAddressResponse({}))}async releaseEipAddress(e){let r=new $dara.RuntimeOptions({});return await this.releaseEipAddressWithOptions(e,r)}async releasePublicIpAddressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.publicIpAddress)||(a.PublicIpAddress=e.publicIpAddress),$dara.isNull(e.regionId)||(a.RegionId=e.regionId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReleasePublicIpAddress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReleasePublicIpAddressResponse({}))}async releasePublicIpAddress(e){let r=new $dara.RuntimeOptions({});return await this.releasePublicIpAddressWithOptions(e,r)}async removeBandwidthPackageIpsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.bandwidthPackageId)||(a.BandwidthPackageId=e.bandwidthPackageId),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.removedIpAddresses)||(a.RemovedIpAddresses=e.removedIpAddresses),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RemoveBandwidthPackageIps",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RemoveBandwidthPackageIpsResponse({}))}async removeBandwidthPackageIps(e){let r=new $dara.RuntimeOptions({});return await this.removeBandwidthPackageIpsWithOptions(e,r)}async removeTagsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RemoveTags",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RemoveTagsResponse({}))}async removeTags(e){let r=new $dara.RuntimeOptions({});return await this.removeTagsWithOptions(e,r)}async renewDedicatedHostsWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.dedicatedHostIds)||(a.DedicatedHostIds=e.dedicatedHostIds),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RenewDedicatedHosts",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RenewDedicatedHostsResponse({}))}async renewDedicatedHosts(e){let r=new $dara.RuntimeOptions({});return await this.renewDedicatedHostsWithOptions(e,r)}async renewElasticityAssurancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RenewElasticityAssurances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RenewElasticityAssurancesResponse({}))}async renewElasticityAssurances(e){let r=new $dara.RuntimeOptions({});return await this.renewElasticityAssurancesWithOptions(e,r)}async renewInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.expectedRenewDay)||(a.ExpectedRenewDay=e.expectedRenewDay),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RenewInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RenewInstanceResponse({}))}async renewInstance(e){let r=new $dara.RuntimeOptions({});return await this.renewInstanceWithOptions(e,r)}async renewReservedInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.reservedInstanceId)||(a.ReservedInstanceId=e.reservedInstanceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RenewReservedInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RenewReservedInstancesResponse({}))}async renewReservedInstances(e){let r=new $dara.RuntimeOptions({});return await this.renewReservedInstancesWithOptions(e,r)}async replaceSystemDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.architecture)||(a.Architecture=e.architecture),$dara.isNull(e.arn)||(a.Arn=e.arn),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.encryptAlgorithm)||(a.EncryptAlgorithm=e.encryptAlgorithm),$dara.isNull(e.encrypted)||(a.Encrypted=e.encrypted),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.KMSKeyId)||(a.KMSKeyId=e.KMSKeyId),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.password)||(a.Password=e.password),$dara.isNull(e.passwordInherit)||(a.PasswordInherit=e.passwordInherit),$dara.isNull(e.platform)||(a.Platform=e.platform),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityEnhancementStrategy)||(a.SecurityEnhancementStrategy=e.securityEnhancementStrategy),$dara.isNull(e.useAdditionalService)||(a.UseAdditionalService=e.useAdditionalService),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReplaceSystemDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReplaceSystemDiskResponse({}))}async replaceSystemDisk(e){let r=new $dara.RuntimeOptions({});return await this.replaceSystemDiskWithOptions(e,r)}async reportInstancesStatusWithOptions(e,r){e.validate();let a={};$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.device)||(a.Device=e.device),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.endTime)||(a.EndTime=e.endTime),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.issueCategory)||(a.IssueCategory=e.issueCategory),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.reason)||(a.Reason=e.reason),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.startTime)||(a.StartTime=e.startTime);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ReportInstancesStatus",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ReportInstancesStatusResponse({}))}async reportInstancesStatus(e){let r=new $dara.RuntimeOptions({});return await this.reportInstancesStatusWithOptions(e,r)}async resetDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ResetDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ResetDiskResponse({}))}async resetDisk(e){let r=new $dara.RuntimeOptions({});return await this.resetDiskWithOptions(e,r)}async resetDiskDefaultKMSKeyIdWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ResetDiskDefaultKMSKeyId",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ResetDiskDefaultKMSKeyIdResponse({}))}async resetDiskDefaultKMSKeyId(e){let r=new $dara.RuntimeOptions({});return await this.resetDiskDefaultKMSKeyIdWithOptions(e,r)}async resetDisksWithOptions(e,r){e.validate();let a={};$dara.isNull(e.disk)||(a.Disk=e.disk),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ResetDisks",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ResetDisksResponse({}))}async resetDisks(e){let r=new $dara.RuntimeOptions({});return await this.resetDisksWithOptions(e,r)}async resizeDiskWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.diskId)||(a.DiskId=e.diskId),$dara.isNull(e.newSize)||(a.NewSize=e.newSize),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.type)||(a.Type=e.type);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"ResizeDisk",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.ResizeDiskResponse({}))}async resizeDisk(e){let r=new $dara.RuntimeOptions({});return await this.resizeDiskWithOptions(e,r)}async revokeSecurityGroupWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.destCidrIp)||(a.DestCidrIp=e.destCidrIp),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ipv6DestCidrIp)||(a.Ipv6DestCidrIp=e.ipv6DestCidrIp),$dara.isNull(e.ipv6SourceCidrIp)||(a.Ipv6SourceCidrIp=e.ipv6SourceCidrIp),$dara.isNull(e.nicType)||(a.NicType=e.nicType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.permissions)||(a.Permissions=e.permissions),$dara.isNull(e.policy)||(a.Policy=e.policy),$dara.isNull(e.portRange)||(a.PortRange=e.portRange),$dara.isNull(e.priority)||(a.Priority=e.priority),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupRuleId)||(a.SecurityGroupRuleId=e.securityGroupRuleId),$dara.isNull(e.sourceCidrIp)||(a.SourceCidrIp=e.sourceCidrIp),$dara.isNull(e.sourceGroupId)||(a.SourceGroupId=e.sourceGroupId),$dara.isNull(e.sourceGroupOwnerAccount)||(a.SourceGroupOwnerAccount=e.sourceGroupOwnerAccount),$dara.isNull(e.sourceGroupOwnerId)||(a.SourceGroupOwnerId=e.sourceGroupOwnerId),$dara.isNull(e.sourcePortRange)||(a.SourcePortRange=e.sourcePortRange),$dara.isNull(e.sourcePrefixListId)||(a.SourcePrefixListId=e.sourcePrefixListId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RevokeSecurityGroup",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RevokeSecurityGroupResponse({}))}async revokeSecurityGroup(e){let r=new $dara.RuntimeOptions({});return await this.revokeSecurityGroupWithOptions(e,r)}async revokeSecurityGroupEgressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.destCidrIp)||(a.DestCidrIp=e.destCidrIp),$dara.isNull(e.destGroupId)||(a.DestGroupId=e.destGroupId),$dara.isNull(e.destGroupOwnerAccount)||(a.DestGroupOwnerAccount=e.destGroupOwnerAccount),$dara.isNull(e.destGroupOwnerId)||(a.DestGroupOwnerId=e.destGroupOwnerId),$dara.isNull(e.destPrefixListId)||(a.DestPrefixListId=e.destPrefixListId),$dara.isNull(e.ipProtocol)||(a.IpProtocol=e.ipProtocol),$dara.isNull(e.ipv6DestCidrIp)||(a.Ipv6DestCidrIp=e.ipv6DestCidrIp),$dara.isNull(e.ipv6SourceCidrIp)||(a.Ipv6SourceCidrIp=e.ipv6SourceCidrIp),$dara.isNull(e.nicType)||(a.NicType=e.nicType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.permissions)||(a.Permissions=e.permissions),$dara.isNull(e.policy)||(a.Policy=e.policy),$dara.isNull(e.portRange)||(a.PortRange=e.portRange),$dara.isNull(e.priority)||(a.Priority=e.priority),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupRuleId)||(a.SecurityGroupRuleId=e.securityGroupRuleId),$dara.isNull(e.sourceCidrIp)||(a.SourceCidrIp=e.sourceCidrIp),$dara.isNull(e.sourcePortRange)||(a.SourcePortRange=e.sourcePortRange);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RevokeSecurityGroupEgress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RevokeSecurityGroupEgressResponse({}))}async revokeSecurityGroupEgress(e){let r=new $dara.RuntimeOptions({});return await this.revokeSecurityGroupEgressWithOptions(e,r)}async runCommandWithOptions(e,r){e.validate();let a=new $_model.RunCommandShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.parameters)||(a.parametersShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.parameters,"Parameters","json"));let n={};$dara.isNull(a.clientToken)||(n.ClientToken=a.clientToken),$dara.isNull(a.commandContent)||(n.CommandContent=a.commandContent),$dara.isNull(a.containerId)||(n.ContainerId=a.containerId),$dara.isNull(a.containerName)||(n.ContainerName=a.containerName),$dara.isNull(a.contentEncoding)||(n.ContentEncoding=a.contentEncoding),$dara.isNull(a.description)||(n.Description=a.description),$dara.isNull(a.enableParameter)||(n.EnableParameter=a.enableParameter),$dara.isNull(a.frequency)||(n.Frequency=a.frequency),$dara.isNull(a.instanceId)||(n.InstanceId=a.instanceId),$dara.isNull(a.keepCommand)||(n.KeepCommand=a.keepCommand),$dara.isNull(a.launcher)||(n.Launcher=a.launcher),$dara.isNull(a.name)||(n.Name=a.name),$dara.isNull(a.ossOutputDelivery)||(n.OssOutputDelivery=a.ossOutputDelivery),$dara.isNull(a.ownerAccount)||(n.OwnerAccount=a.ownerAccount),$dara.isNull(a.ownerId)||(n.OwnerId=a.ownerId),$dara.isNull(a.parametersShrink)||(n.Parameters=a.parametersShrink),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.repeatMode)||(n.RepeatMode=a.repeatMode),$dara.isNull(a.resourceGroupId)||(n.ResourceGroupId=a.resourceGroupId),$dara.isNull(a.resourceOwnerAccount)||(n.ResourceOwnerAccount=a.resourceOwnerAccount),$dara.isNull(a.resourceOwnerId)||(n.ResourceOwnerId=a.resourceOwnerId),$dara.isNull(a.resourceTag)||(n.ResourceTag=a.resourceTag),$dara.isNull(a.tag)||(n.Tag=a.tag),$dara.isNull(a.terminationMode)||(n.TerminationMode=a.terminationMode),$dara.isNull(a.timed)||(n.Timed=a.timed),$dara.isNull(a.timeout)||(n.Timeout=a.timeout),$dara.isNull(a.type)||(n.Type=a.type),$dara.isNull(a.username)||(n.Username=a.username),$dara.isNull(a.windowsPasswordName)||(n.WindowsPasswordName=a.windowsPasswordName),$dara.isNull(a.workingDir)||(n.WorkingDir=a.workingDir);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"RunCommand",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.RunCommandResponse({}))}async runCommand(e){let r=new $dara.RuntimeOptions({});return await this.runCommandWithOptions(e,r)}async runInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.affinity)||(a.Affinity=e.affinity),$dara.isNull(e.amount)||(a.Amount=e.amount),$dara.isNull(e.arn)||(a.Arn=e.arn),$dara.isNull(e.autoPay)||(a.AutoPay=e.autoPay),$dara.isNull(e.autoReleaseTime)||(a.AutoReleaseTime=e.autoReleaseTime),$dara.isNull(e.autoRenew)||(a.AutoRenew=e.autoRenew),$dara.isNull(e.autoRenewPeriod)||(a.AutoRenewPeriod=e.autoRenewPeriod),$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.clockOptions)||(a.ClockOptions=e.clockOptions),$dara.isNull(e.creditSpecification)||(a.CreditSpecification=e.creditSpecification),$dara.isNull(e.dataDisk)||(a.DataDisk=e.dataDisk),$dara.isNull(e.dedicatedHostId)||(a.DedicatedHostId=e.dedicatedHostId),$dara.isNull(e.deletionProtection)||(a.DeletionProtection=e.deletionProtection),$dara.isNull(e.deploymentSetGroupNo)||(a.DeploymentSetGroupNo=e.deploymentSetGroupNo),$dara.isNull(e.deploymentSetId)||(a.DeploymentSetId=e.deploymentSetId),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.hostName)||(a.HostName=e.hostName),$dara.isNull(e.hostNames)||(a.HostNames=e.hostNames),$dara.isNull(e.hpcClusterId)||(a.HpcClusterId=e.hpcClusterId),$dara.isNull(e.httpEndpoint)||(a.HttpEndpoint=e.httpEndpoint),$dara.isNull(e.httpPutResponseHopLimit)||(a.HttpPutResponseHopLimit=e.httpPutResponseHopLimit),$dara.isNull(e.httpTokens)||(a.HttpTokens=e.httpTokens),$dara.isNull(e.imageFamily)||(a.ImageFamily=e.imageFamily),$dara.isNull(e.imageId)||(a.ImageId=e.imageId),$dara.isNull(e.imageOptions)||(a.ImageOptions=e.imageOptions),$dara.isNull(e.instanceChargeType)||(a.InstanceChargeType=e.instanceChargeType),$dara.isNull(e.instanceName)||(a.InstanceName=e.instanceName),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.internetChargeType)||(a.InternetChargeType=e.internetChargeType),$dara.isNull(e.internetMaxBandwidthIn)||(a.InternetMaxBandwidthIn=e.internetMaxBandwidthIn),$dara.isNull(e.internetMaxBandwidthOut)||(a.InternetMaxBandwidthOut=e.internetMaxBandwidthOut),$dara.isNull(e.ioOptimized)||(a.IoOptimized=e.ioOptimized),$dara.isNull(e.ipv6Address)||(a.Ipv6Address=e.ipv6Address),$dara.isNull(e.ipv6AddressCount)||(a.Ipv6AddressCount=e.ipv6AddressCount),$dara.isNull(e.isp)||(a.Isp=e.isp),$dara.isNull(e.keyPairName)||(a.KeyPairName=e.keyPairName),$dara.isNull(e.launchTemplateId)||(a.LaunchTemplateId=e.launchTemplateId),$dara.isNull(e.launchTemplateName)||(a.LaunchTemplateName=e.launchTemplateName),$dara.isNull(e.launchTemplateVersion)||(a.LaunchTemplateVersion=e.launchTemplateVersion),$dara.isNull(e.minAmount)||(a.MinAmount=e.minAmount),$dara.isNull(e.networkInterface)||(a.NetworkInterface=e.networkInterface),$dara.isNull(e.networkInterfaceQueueNumber)||(a.NetworkInterfaceQueueNumber=e.networkInterfaceQueueNumber),$dara.isNull(e.networkOptions)||(a.NetworkOptions=e.networkOptions),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.password)||(a.Password=e.password),$dara.isNull(e.passwordInherit)||(a.PasswordInherit=e.passwordInherit),$dara.isNull(e.period)||(a.Period=e.period),$dara.isNull(e.periodUnit)||(a.PeriodUnit=e.periodUnit),$dara.isNull(e.privateDnsNameOptions)||(a.PrivateDnsNameOptions=e.privateDnsNameOptions),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.ramRoleName)||(a.RamRoleName=e.ramRoleName),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.securityEnhancementStrategy)||(a.SecurityEnhancementStrategy=e.securityEnhancementStrategy),$dara.isNull(e.securityGroupId)||(a.SecurityGroupId=e.securityGroupId),$dara.isNull(e.securityGroupIds)||(a.SecurityGroupIds=e.securityGroupIds),$dara.isNull(e.spotDuration)||(a.SpotDuration=e.spotDuration),$dara.isNull(e.spotInterruptionBehavior)||(a.SpotInterruptionBehavior=e.spotInterruptionBehavior),$dara.isNull(e.spotPriceLimit)||(a.SpotPriceLimit=e.spotPriceLimit),$dara.isNull(e.spotStrategy)||(a.SpotStrategy=e.spotStrategy),$dara.isNull(e.storageSetId)||(a.StorageSetId=e.storageSetId),$dara.isNull(e.storageSetPartitionNumber)||(a.StorageSetPartitionNumber=e.storageSetPartitionNumber),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.tenancy)||(a.Tenancy=e.tenancy),$dara.isNull(e.uniqueSuffix)||(a.UniqueSuffix=e.uniqueSuffix),$dara.isNull(e.userData)||(a.UserData=e.userData),$dara.isNull(e.vSwitchId)||(a.VSwitchId=e.vSwitchId),$dara.isNull(e.zoneId)||(a.ZoneId=e.zoneId),$dara.isNull(e.cpuOptions)||(a.CpuOptions=e.cpuOptions),$dara.isNull(e.hibernationOptions)||(a.HibernationOptions=e.hibernationOptions),$dara.isNull(e.privatePoolOptions)||(a.PrivatePoolOptions=e.privatePoolOptions),$dara.isNull(e.schedulerOptions)||(a.SchedulerOptions=e.schedulerOptions),$dara.isNull(e.securityOptions)||(a.SecurityOptions=e.securityOptions),$dara.isNull(e.systemDisk)||(a.SystemDisk=e.systemDisk);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"RunInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.RunInstancesResponse({}))}async runInstances(e){let r=new $dara.RuntimeOptions({});return await this.runInstancesWithOptions(e,r)}async sendFileWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.content)||(a.Content=e.content),$dara.isNull(e.contentType)||(a.ContentType=e.contentType),$dara.isNull(e.description)||(a.Description=e.description),$dara.isNull(e.fileGroup)||(a.FileGroup=e.fileGroup),$dara.isNull(e.fileMode)||(a.FileMode=e.fileMode),$dara.isNull(e.fileOwner)||(a.FileOwner=e.fileOwner),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.name)||(a.Name=e.name),$dara.isNull(e.overwrite)||(a.Overwrite=e.overwrite),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceGroupId)||(a.ResourceGroupId=e.resourceGroupId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.targetDir)||(a.TargetDir=e.targetDir),$dara.isNull(e.timeout)||(a.Timeout=e.timeout);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"SendFile",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.SendFileResponse({}))}async sendFile(e){let r=new $dara.RuntimeOptions({});return await this.sendFileWithOptions(e,r)}async startImagePipelineExecutionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.imagePipelineId)||(a.ImagePipelineId=e.imagePipelineId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.tag)||(a.Tag=e.tag),$dara.isNull(e.templateTag)||(a.TemplateTag=e.templateTag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"StartImagePipelineExecution",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.StartImagePipelineExecutionResponse({}))}async startImagePipelineExecution(e){let r=new $dara.RuntimeOptions({});return await this.startImagePipelineExecutionWithOptions(e,r)}async startInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.initLocalDisk)||(a.InitLocalDisk=e.initLocalDisk),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"StartInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.StartInstanceResponse({}))}async startInstance(e){let r=new $dara.RuntimeOptions({});return await this.startInstanceWithOptions(e,r)}async startInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.batchOptimization)||(a.BatchOptimization=e.batchOptimization),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"StartInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.StartInstancesResponse({}))}async startInstances(e){let r=new $dara.RuntimeOptions({});return await this.startInstancesWithOptions(e,r)}async startTerminalSessionWithOptions(e,r){e.validate();let a=new $_model.StartTerminalSessionShrinkRequest({});openapi_core_2.OpenApiUtil.convert(e,a),$dara.isNull(e.encryptionOptions)||(a.encryptionOptionsShrink=openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(e.encryptionOptions,"EncryptionOptions","json"));let n={};$dara.isNull(a.clientToken)||(n.ClientToken=a.clientToken),$dara.isNull(a.commandLine)||(n.CommandLine=a.commandLine),$dara.isNull(a.connectionType)||(n.ConnectionType=a.connectionType),$dara.isNull(a.encryptionOptionsShrink)||(n.EncryptionOptions=a.encryptionOptionsShrink),$dara.isNull(a.instanceId)||(n.InstanceId=a.instanceId),$dara.isNull(a.ownerAccount)||(n.OwnerAccount=a.ownerAccount),$dara.isNull(a.ownerId)||(n.OwnerId=a.ownerId),$dara.isNull(a.passwordName)||(n.PasswordName=a.passwordName),$dara.isNull(a.portNumber)||(n.PortNumber=a.portNumber),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.regionId)||(n.RegionId=a.regionId),$dara.isNull(a.resourceOwnerAccount)||(n.ResourceOwnerAccount=a.resourceOwnerAccount),$dara.isNull(a.resourceOwnerId)||(n.ResourceOwnerId=a.resourceOwnerId),$dara.isNull(a.targetServer)||(n.TargetServer=a.targetServer),$dara.isNull(a.username)||(n.Username=a.username);let i=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(n)}),t=new openapi_core_2.$OpenApiUtil.Params({action:"StartTerminalSession",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(t,i,r),new $_model.StartTerminalSessionResponse({}))}async startTerminalSession(e){let r=new $dara.RuntimeOptions({});return await this.startTerminalSessionWithOptions(e,r)}async stopInstanceWithOptions(e,r){e.validate();let a={};$dara.isNull(e.confirmStop)||(a.ConfirmStop=e.confirmStop),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.forceStop)||(a.ForceStop=e.forceStop),$dara.isNull(e.hibernate)||(a.Hibernate=e.hibernate),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.stoppedMode)||(a.StoppedMode=e.stoppedMode);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"StopInstance",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.StopInstanceResponse({}))}async stopInstance(e){let r=new $dara.RuntimeOptions({});return await this.stopInstanceWithOptions(e,r)}async stopInstancesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.batchOptimization)||(a.BatchOptimization=e.batchOptimization),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.forceStop)||(a.ForceStop=e.forceStop),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.stoppedMode)||(a.StoppedMode=e.stoppedMode);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"StopInstances",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.StopInstancesResponse({}))}async stopInstances(e){let r=new $dara.RuntimeOptions({});return await this.stopInstancesWithOptions(e,r)}async stopInvocationWithOptions(e,r){e.validate();let a={};$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.invokeId)||(a.InvokeId=e.invokeId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"StopInvocation",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.StopInvocationResponse({}))}async stopInvocation(e){let r=new $dara.RuntimeOptions({});return await this.stopInvocationWithOptions(e,r)}async tagResourcesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tag)||(a.Tag=e.tag);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"TagResources",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.TagResourcesResponse({}))}async tagResources(e){let r=new $dara.RuntimeOptions({});return await this.tagResourcesWithOptions(e,r)}async terminatePhysicalConnectionWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.physicalConnectionId)||(a.PhysicalConnectionId=e.physicalConnectionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"TerminatePhysicalConnection",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.TerminatePhysicalConnectionResponse({}))}async terminatePhysicalConnection(e){let r=new $dara.RuntimeOptions({});return await this.terminatePhysicalConnectionWithOptions(e,r)}async terminateVirtualBorderRouterWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.userCidr)||(a.UserCidr=e.userCidr),$dara.isNull(e.vbrId)||(a.VbrId=e.vbrId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"TerminateVirtualBorderRouter",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.TerminateVirtualBorderRouterResponse({}))}async terminateVirtualBorderRouter(e){let r=new $dara.RuntimeOptions({});return await this.terminateVirtualBorderRouterWithOptions(e,r)}async unassignIpv6AddressesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ipv6Address)||(a.Ipv6Address=e.ipv6Address),$dara.isNull(e.ipv6Prefix)||(a.Ipv6Prefix=e.ipv6Prefix),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"UnassignIpv6Addresses",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.UnassignIpv6AddressesResponse({}))}async unassignIpv6Addresses(e){let r=new $dara.RuntimeOptions({});return await this.unassignIpv6AddressesWithOptions(e,r)}async unassignPrivateIpAddressesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.ipv4Prefix)||(a.Ipv4Prefix=e.ipv4Prefix),$dara.isNull(e.networkInterfaceId)||(a.NetworkInterfaceId=e.networkInterfaceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.privateIpAddress)||(a.PrivateIpAddress=e.privateIpAddress),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"UnassignPrivateIpAddresses",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.UnassignPrivateIpAddressesResponse({}))}async unassignPrivateIpAddresses(e){let r=new $dara.RuntimeOptions({});return await this.unassignPrivateIpAddressesWithOptions(e,r)}async unassociateEipAddressWithOptions(e,r){e.validate();let a={};$dara.isNull(e.allocationId)||(a.AllocationId=e.allocationId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.instanceType)||(a.InstanceType=e.instanceType),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"UnassociateEipAddress",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.UnassociateEipAddressResponse({}))}async unassociateEipAddress(e){let r=new $dara.RuntimeOptions({});return await this.unassociateEipAddressWithOptions(e,r)}async unassociateHaVipWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.force)||(a.Force=e.force),$dara.isNull(e.haVipId)||(a.HaVipId=e.haVipId),$dara.isNull(e.instanceId)||(a.InstanceId=e.instanceId),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"UnassociateHaVip",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.UnassociateHaVipResponse({}))}async unassociateHaVip(e){let r=new $dara.RuntimeOptions({});return await this.unassociateHaVipWithOptions(e,r)}async unlockSnapshotWithOptions(e,r){e.validate();let a={};$dara.isNull(e.clientToken)||(a.ClientToken=e.clientToken),$dara.isNull(e.dryRun)||(a.DryRun=e.dryRun),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.snapshotId)||(a.SnapshotId=e.snapshotId);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"UnlockSnapshot",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.UnlockSnapshotResponse({}))}async unlockSnapshot(e){let r=new $dara.RuntimeOptions({});return await this.unlockSnapshotWithOptions(e,r)}async untagResourcesWithOptions(e,r){e.validate();let a={};$dara.isNull(e.all)||(a.All=e.all),$dara.isNull(e.ownerAccount)||(a.OwnerAccount=e.ownerAccount),$dara.isNull(e.ownerId)||(a.OwnerId=e.ownerId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.regionId)||(a.RegionId=e.regionId),$dara.isNull(e.resourceId)||(a.ResourceId=e.resourceId),$dara.isNull(e.resourceOwnerAccount)||(a.ResourceOwnerAccount=e.resourceOwnerAccount),$dara.isNull(e.resourceOwnerId)||(a.ResourceOwnerId=e.resourceOwnerId),$dara.isNull(e.resourceType)||(a.ResourceType=e.resourceType),$dara.isNull(e.tagKey)||(a.TagKey=e.tagKey);let n=new openapi_core_2.$OpenApiUtil.OpenApiRequest({query:openapi_core_2.OpenApiUtil.query(a)}),i=new openapi_core_2.$OpenApiUtil.Params({action:"UntagResources",version:"2014-05-26",protocol:"HTTPS",pathname:"/",method:"POST",authType:"AK",style:"RPC",reqBodyType:"formData",bodyType:"json"});return $dara.cast(await this.callApi(i,n,r),new $_model.UntagResourcesResponse({}))}async untagResources(e){let r=new $dara.RuntimeOptions({});return await this.untagResourcesWithOptions(e,r)}}exports.default=Client;
//# sourceMappingURL=/sm/65daf570c61f1e313ef6d13986f486db89f8a168556f608f5845d281fbca2863.map