Bläddra i källkod

ECS SDK Auto Released By Alibaba Cloud,Version:1.14.2

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 år sedan
förälder
incheckning
d65bf25cbc
100 ändrade filer med 1131 tillägg och 938 borttagningar
  1. 4 0
      ChangeLog.txt
  2. 2 2
      services/ecs/activate_router_interface.go
  3. 4 4
      services/ecs/add_bandwidth_package_ips.go
  4. 4 4
      services/ecs/add_ip_range.go
  5. 8 8
      services/ecs/add_tags.go
  6. 3 3
      services/ecs/allocate_eip_address.go
  7. 3 3
      services/ecs/allocate_public_ip_address.go
  8. 2 2
      services/ecs/apply_auto_snapshot_policy.go
  9. 7 0
      services/ecs/assign_private_ip_addresses.go
  10. 3 3
      services/ecs/associate_eip_address.go
  11. 5 5
      services/ecs/associate_ha_vip.go
  12. 2 2
      services/ecs/attach_classic_link_vpc.go
  13. 3 3
      services/ecs/attach_disk.go
  14. 3 3
      services/ecs/attach_instance_ram_role.go
  15. 3 3
      services/ecs/attach_key_pair.go
  16. 6 0
      services/ecs/attach_network_interface.go
  17. 0 108
      services/ecs/attach_volume.go
  18. 18 0
      services/ecs/authorize_security_group.go
  19. 18 0
      services/ecs/authorize_security_group_egress.go
  20. 3 3
      services/ecs/bind_ip_range.go
  21. 5 0
      services/ecs/cancel_agreement.go
  22. 2 2
      services/ecs/cancel_auto_snapshot_policy.go
  23. 2 2
      services/ecs/cancel_copy_image.go
  24. 3 3
      services/ecs/cancel_physical_connection.go
  25. 2 2
      services/ecs/cancel_task.go
  26. 0 103
      services/ecs/cancel_user_event.go
  27. 7 7
      services/ecs/check_auto_snapshot_policy.go
  28. 2 2
      services/ecs/check_disk_enable_auto_snapshot_validation.go
  29. 2 2
      services/ecs/connect_router_interface.go
  30. 4 0
      services/ecs/convert_nat_public_ip_to_eip.go
  31. 11 11
      services/ecs/copy_image.go
  32. 4 4
      services/ecs/create_auto_snapshot_policy.go
  33. 10 0
      services/ecs/create_command.go
  34. 6 6
      services/ecs/create_deployment_set.go
  35. 16 16
      services/ecs/create_disk.go
  36. 4 4
      services/ecs/create_forward_entry.go
  37. 5 5
      services/ecs/create_ha_vip.go
  38. 7 0
      services/ecs/create_hpc_cluster.go
  39. 14 14
      services/ecs/create_image.go
  40. 45 45
      services/ecs/create_instance.go
  41. 13 2
      services/ecs/create_key_pair.go
  42. 170 0
      services/ecs/create_launch_template.go
  43. 171 0
      services/ecs/create_launch_template_version.go
  44. 3 3
      services/ecs/create_nat_gateway.go
  45. 10 0
      services/ecs/create_network_interface.go
  46. 7 0
      services/ecs/create_network_interface_permission.go
  47. 8 8
      services/ecs/create_physical_connection.go
  48. 5 5
      services/ecs/create_route_entry.go
  49. 18 18
      services/ecs/create_router_interface.go
  50. 12 11
      services/ecs/create_security_group.go
  51. 11 11
      services/ecs/create_snapshot.go
  52. 0 103
      services/ecs/create_user_event.go
  53. 6 6
      services/ecs/create_v_switch.go
  54. 10 10
      services/ecs/create_virtual_border_router.go
  55. 0 125
      services/ecs/create_volume.go
  56. 5 5
      services/ecs/create_vpc.go
  57. 2 2
      services/ecs/deactivate_router_interface.go
  58. 2 2
      services/ecs/delete_auto_snapshot_policy.go
  59. 3 3
      services/ecs/delete_bandwidth_package.go
  60. 5 0
      services/ecs/delete_command.go
  61. 3 3
      services/ecs/delete_deployment_set.go
  62. 3 3
      services/ecs/delete_disk.go
  63. 3 3
      services/ecs/delete_forward_entry.go
  64. 4 4
      services/ecs/delete_ha_vip.go
  65. 6 0
      services/ecs/delete_hpc_cluster.go
  66. 3 3
      services/ecs/delete_image.go
  67. 3 3
      services/ecs/delete_instance.go
  68. 2 2
      services/ecs/delete_key_pairs.go
  69. 108 0
      services/ecs/delete_launch_template.go
  70. 109 0
      services/ecs/delete_launch_template_version.go
  71. 2 2
      services/ecs/delete_nat_gateway.go
  72. 5 0
      services/ecs/delete_network_interface.go
  73. 6 0
      services/ecs/delete_network_interface_permission.go
  74. 3 3
      services/ecs/delete_physical_connection.go
  75. 3 3
      services/ecs/delete_recycle_bin.go
  76. 5 5
      services/ecs/delete_route_entry.go
  77. 3 3
      services/ecs/delete_router_interface.go
  78. 3 3
      services/ecs/delete_security_group.go
  79. 3 3
      services/ecs/delete_snapshot.go
  80. 3 3
      services/ecs/delete_v_switch.go
  81. 3 3
      services/ecs/delete_virtual_border_router.go
  82. 0 107
      services/ecs/delete_volume.go
  83. 2 2
      services/ecs/delete_vpc.go
  84. 3 3
      services/ecs/describe_access_points.go
  85. 2 2
      services/ecs/describe_auto_snapshot_policy.go
  86. 4 4
      services/ecs/describe_auto_snapshot_policy_ex.go
  87. 14 0
      services/ecs/describe_available_resource.go
  88. 9 0
      services/ecs/describe_bandwidth_limitation.go
  89. 4 4
      services/ecs/describe_bandwidth_packages.go
  90. 4 4
      services/ecs/describe_classic_link_instances.go
  91. 5 0
      services/ecs/describe_cloud_assistant_status.go
  92. 2 2
      services/ecs/describe_clusters.go
  93. 10 0
      services/ecs/describe_commands.go
  94. 6 6
      services/ecs/describe_deployment_set_topology.go
  95. 6 6
      services/ecs/describe_deployment_sets.go
  96. 5 5
      services/ecs/describe_disk_monitor_data.go
  97. 30 30
      services/ecs/describe_disks.go
  98. 13 0
      services/ecs/describe_disks_full_status.go
  99. 11 11
      services/ecs/describe_eip_addresses.go
  100. 5 5
      services/ecs/describe_eip_monitor_data.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2018-05-26 Version: 1.14.2
+1, Add new interface InstallCloudAssistant, support Cloud Assistant client installation.
+2, Add new interface DescribeCloudAssistantStatus, support Cloud Assistant client status detection.
+
 2018-05-25 Version: 1.14.1
 1, CreateAlarm,DeleteAlarm,UpdateAlarm,DisableAlarm,EnableAlarm,ListAlarm,ListAlarmHistory,ListContactGroup,PutMetricData,QueryMetricData,QueryMetricLast,QueryMetricList,QueryMetricTop remove useless parameter: callby_cms_owner. 
 2, QueryMetricList remove useless parameter: Page.

+ 2 - 2
services/ecs/activate_router_interface.go

@@ -76,9 +76,9 @@ func (client *Client) ActivateRouterInterfaceWithCallback(request *ActivateRoute
 // ActivateRouterInterfaceRequest is the request struct for api ActivateRouterInterface
 type ActivateRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
 }
 

+ 4 - 4
services/ecs/add_bandwidth_package_ips.go

@@ -76,13 +76,13 @@ func (client *Client) AddBandwidthPackageIpsWithCallback(request *AddBandwidthPa
 // AddBandwidthPackageIpsRequest is the request struct for api AddBandwidthPackageIps
 type AddBandwidthPackageIpsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	BandwidthPackageId   string           `position:"Query" name:"BandwidthPackageId"`
-	IpCount              string           `position:"Query" name:"IpCount"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	IpCount              string           `position:"Query" name:"IpCount"`
 }
 
 // AddBandwidthPackageIpsResponse is the response struct for api AddBandwidthPackageIps

+ 4 - 4
services/ecs/add_ip_range.go

@@ -76,12 +76,12 @@ func (client *Client) AddIpRangeWithCallback(request *AddIpRangeRequest, callbac
 // AddIpRangeRequest is the request struct for api AddIpRange
 type AddIpRangeRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
 	IpAddress            string           `position:"Query" name:"IpAddress"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AddIpRangeResponse is the response struct for api AddIpRange

+ 8 - 8
services/ecs/add_tags.go

@@ -76,21 +76,21 @@ func (client *Client) AddTagsWithCallback(request *AddTagsRequest, callback func
 // AddTagsRequest is the request struct for api AddTags
 type AddTagsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceType         string           `position:"Query" name:"ResourceType"`
 	ResourceId           string           `position:"Query" name:"ResourceId"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
 	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
 	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ResourceType         string           `position:"Query" name:"ResourceType"`
+	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
 	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
 	Tag3Value            string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
 }
 
 // AddTagsResponse is the response struct for api AddTags

+ 3 - 3
services/ecs/allocate_eip_address.go

@@ -76,13 +76,13 @@ func (client *Client) AllocateEipAddressWithCallback(request *AllocateEipAddress
 // AllocateEipAddressRequest is the request struct for api AllocateEipAddress
 type AllocateEipAddressRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	Bandwidth            string           `position:"Query" name:"Bandwidth"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
 	InternetChargeType   string           `position:"Query" name:"InternetChargeType"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AllocateEipAddressResponse is the response struct for api AllocateEipAddress

+ 3 - 3
services/ecs/allocate_public_ip_address.go

@@ -76,13 +76,13 @@ func (client *Client) AllocatePublicIpAddressWithCallback(request *AllocatePubli
 // AllocatePublicIpAddressRequest is the request struct for api AllocatePublicIpAddress
 type AllocatePublicIpAddressRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	IpAddress            string           `position:"Query" name:"IpAddress"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
-	IpAddress            string           `position:"Query" name:"IpAddress"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	VlanId               string           `position:"Query" name:"VlanId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AllocatePublicIpAddressResponse is the response struct for api AllocatePublicIpAddress

+ 2 - 2
services/ecs/apply_auto_snapshot_policy.go

@@ -76,11 +76,11 @@ func (client *Client) ApplyAutoSnapshotPolicyWithCallback(request *ApplyAutoSnap
 // ApplyAutoSnapshotPolicyRequest is the request struct for api ApplyAutoSnapshotPolicy
 type ApplyAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	AutoSnapshotPolicyId string           `position:"Query" name:"autoSnapshotPolicyId"`
 	DiskIds              string           `position:"Query" name:"diskIds"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // ApplyAutoSnapshotPolicyResponse is the response struct for api ApplyAutoSnapshotPolicy

+ 7 - 0
services/ecs/assign_private_ip_addresses.go

@@ -76,6 +76,13 @@ func (client *Client) AssignPrivateIpAddressesWithCallback(request *AssignPrivat
 // AssignPrivateIpAddressesRequest is the request struct for api AssignPrivateIpAddresses
 type AssignPrivateIpAddressesRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId                requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SecondaryPrivateIpAddressCount requests.Integer `position:"Query" name:"SecondaryPrivateIpAddressCount"`
+	ResourceOwnerAccount           string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                   string           `position:"Query" name:"OwnerAccount"`
+	OwnerId                        requests.Integer `position:"Query" name:"OwnerId"`
+	PrivateIpAddress               *[]string        `position:"Query" name:"PrivateIpAddress"  type:"Repeated"`
+	NetworkInterfaceId             string           `position:"Query" name:"NetworkInterfaceId"`
 }
 
 // AssignPrivateIpAddressesResponse is the response struct for api AssignPrivateIpAddresses

+ 3 - 3
services/ecs/associate_eip_address.go

@@ -76,13 +76,13 @@ func (client *Client) AssociateEipAddressWithCallback(request *AssociateEipAddre
 // AssociateEipAddressRequest is the request struct for api AssociateEipAddress
 type AssociateEipAddressRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	AllocationId         string           `position:"Query" name:"AllocationId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	InstanceType         string           `position:"Query" name:"InstanceType"`
+	AllocationId         string           `position:"Query" name:"AllocationId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AssociateEipAddressResponse is the response struct for api AssociateEipAddress

+ 5 - 5
services/ecs/associate_ha_vip.go

@@ -76,13 +76,13 @@ func (client *Client) AssociateHaVipWithCallback(request *AssociateHaVipRequest,
 // AssociateHaVipRequest is the request struct for api AssociateHaVip
 type AssociateHaVipRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
 	HaVipId              string           `position:"Query" name:"HaVipId"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AssociateHaVipResponse is the response struct for api AssociateHaVip

+ 2 - 2
services/ecs/attach_classic_link_vpc.go

@@ -76,11 +76,11 @@ func (client *Client) AttachClassicLinkVpcWithCallback(request *AttachClassicLin
 // AttachClassicLinkVpcRequest is the request struct for api AttachClassicLinkVpc
 type AttachClassicLinkVpcRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	VpcId                string           `position:"Query" name:"VpcId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AttachClassicLinkVpcResponse is the response struct for api AttachClassicLinkVpc

+ 3 - 3
services/ecs/attach_disk.go

@@ -76,14 +76,14 @@ func (client *Client) AttachDiskWithCallback(request *AttachDiskRequest, callbac
 // AttachDiskRequest is the request struct for api AttachDisk
 type AttachDiskRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	DiskId               string           `position:"Query" name:"DiskId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Device               string           `position:"Query" name:"Device"`
 	DeleteWithInstance   requests.Boolean `position:"Query" name:"DeleteWithInstance"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 }
 
 // AttachDiskResponse is the response struct for api AttachDisk

+ 3 - 3
services/ecs/attach_instance_ram_role.go

@@ -76,11 +76,11 @@ func (client *Client) AttachInstanceRamRoleWithCallback(request *AttachInstanceR
 // AttachInstanceRamRoleRequest is the request struct for api AttachInstanceRamRole
 type AttachInstanceRamRoleRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	RamRoleName          string           `position:"Query" name:"RamRoleName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	InstanceIds          string           `position:"Query" name:"InstanceIds"`
+	RamRoleName          string           `position:"Query" name:"RamRoleName"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AttachInstanceRamRoleResponse is the response struct for api AttachInstanceRamRole

+ 3 - 3
services/ecs/attach_key_pair.go

@@ -76,11 +76,11 @@ func (client *Client) AttachKeyPairWithCallback(request *AttachKeyPairRequest, c
 // AttachKeyPairRequest is the request struct for api AttachKeyPair
 type AttachKeyPairRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	KeyPairName          string           `position:"Query" name:"KeyPairName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	InstanceIds          string           `position:"Query" name:"InstanceIds"`
+	KeyPairName          string           `position:"Query" name:"KeyPairName"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AttachKeyPairResponse is the response struct for api AttachKeyPair

+ 6 - 0
services/ecs/attach_network_interface.go

@@ -76,6 +76,12 @@ func (client *Client) AttachNetworkInterfaceWithCallback(request *AttachNetworkI
 // AttachNetworkInterfaceRequest is the request struct for api AttachNetworkInterface
 type AttachNetworkInterfaceRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	NetworkInterfaceId   string           `position:"Query" name:"NetworkInterfaceId"`
 }
 
 // AttachNetworkInterfaceResponse is the response struct for api AttachNetworkInterface

+ 0 - 108
services/ecs/attach_volume.go

@@ -1,108 +0,0 @@
-package ecs
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// AttachVolume invokes the ecs.AttachVolume API synchronously
-// api document: https://help.aliyun.com/api/ecs/attachvolume.html
-func (client *Client) AttachVolume(request *AttachVolumeRequest) (response *AttachVolumeResponse, err error) {
-	response = CreateAttachVolumeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AttachVolumeWithChan invokes the ecs.AttachVolume API asynchronously
-// api document: https://help.aliyun.com/api/ecs/attachvolume.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachVolumeWithChan(request *AttachVolumeRequest) (<-chan *AttachVolumeResponse, <-chan error) {
-	responseChan := make(chan *AttachVolumeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AttachVolume(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AttachVolumeWithCallback invokes the ecs.AttachVolume API asynchronously
-// api document: https://help.aliyun.com/api/ecs/attachvolume.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachVolumeWithCallback(request *AttachVolumeRequest, callback func(response *AttachVolumeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AttachVolumeResponse
-		var err error
-		defer close(result)
-		response, err = client.AttachVolume(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AttachVolumeRequest is the request struct for api AttachVolume
-type AttachVolumeRequest struct {
-	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	InstanceId           string           `position:"Query" name:"InstanceId"`
-	VolumeId             string           `position:"Query" name:"VolumeId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-}
-
-// AttachVolumeResponse is the response struct for api AttachVolume
-type AttachVolumeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAttachVolumeRequest creates a request to invoke AttachVolume API
-func CreateAttachVolumeRequest() (request *AttachVolumeRequest) {
-	request = &AttachVolumeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Ecs", "2014-05-26", "AttachVolume", "ecs", "openAPI")
-	return
-}
-
-// CreateAttachVolumeResponse creates a response to parse from AttachVolume response
-func CreateAttachVolumeResponse() (response *AttachVolumeResponse) {
-	response = &AttachVolumeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 18 - 0
services/ecs/authorize_security_group.go

@@ -76,6 +76,24 @@ func (client *Client) AuthorizeSecurityGroupWithCallback(request *AuthorizeSecur
 // AuthorizeSecurityGroupRequest is the request struct for api AuthorizeSecurityGroup
 type AuthorizeSecurityGroupRequest struct {
 	*requests.RpcRequest
+	NicType                 string           `position:"Query" name:"NicType"`
+	ResourceOwnerId         requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourcePortRange         string           `position:"Query" name:"SourcePortRange"`
+	ClientToken             string           `position:"Query" name:"ClientToken"`
+	SecurityGroupId         string           `position:"Query" name:"SecurityGroupId"`
+	Description             string           `position:"Query" name:"Description"`
+	SourceGroupOwnerId      requests.Integer `position:"Query" name:"SourceGroupOwnerId"`
+	SourceGroupOwnerAccount string           `position:"Query" name:"SourceGroupOwnerAccount"`
+	Policy                  string           `position:"Query" name:"Policy"`
+	PortRange               string           `position:"Query" name:"PortRange"`
+	ResourceOwnerAccount    string           `position:"Query" name:"ResourceOwnerAccount"`
+	IpProtocol              string           `position:"Query" name:"IpProtocol"`
+	OwnerAccount            string           `position:"Query" name:"OwnerAccount"`
+	SourceCidrIp            string           `position:"Query" name:"SourceCidrIp"`
+	OwnerId                 requests.Integer `position:"Query" name:"OwnerId"`
+	Priority                string           `position:"Query" name:"Priority"`
+	DestCidrIp              string           `position:"Query" name:"DestCidrIp"`
+	SourceGroupId           string           `position:"Query" name:"SourceGroupId"`
 }
 
 // AuthorizeSecurityGroupResponse is the response struct for api AuthorizeSecurityGroup

+ 18 - 0
services/ecs/authorize_security_group_egress.go

@@ -76,6 +76,24 @@ func (client *Client) AuthorizeSecurityGroupEgressWithCallback(request *Authoriz
 // AuthorizeSecurityGroupEgressRequest is the request struct for api AuthorizeSecurityGroupEgress
 type AuthorizeSecurityGroupEgressRequest struct {
 	*requests.RpcRequest
+	NicType               string           `position:"Query" name:"NicType"`
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourcePortRange       string           `position:"Query" name:"SourcePortRange"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	SecurityGroupId       string           `position:"Query" name:"SecurityGroupId"`
+	Description           string           `position:"Query" name:"Description"`
+	Policy                string           `position:"Query" name:"Policy"`
+	PortRange             string           `position:"Query" name:"PortRange"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	IpProtocol            string           `position:"Query" name:"IpProtocol"`
+	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	SourceCidrIp          string           `position:"Query" name:"SourceCidrIp"`
+	DestGroupId           string           `position:"Query" name:"DestGroupId"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	DestGroupOwnerAccount string           `position:"Query" name:"DestGroupOwnerAccount"`
+	Priority              string           `position:"Query" name:"Priority"`
+	DestCidrIp            string           `position:"Query" name:"DestCidrIp"`
+	DestGroupOwnerId      requests.Integer `position:"Query" name:"DestGroupOwnerId"`
 }
 
 // AuthorizeSecurityGroupEgressResponse is the response struct for api AuthorizeSecurityGroupEgress

+ 3 - 3
services/ecs/bind_ip_range.go

@@ -76,12 +76,12 @@ func (client *Client) BindIpRangeWithCallback(request *BindIpRangeRequest, callb
 // BindIpRangeRequest is the request struct for api BindIpRange
 type BindIpRangeRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	IpAddress            string           `position:"Query" name:"IpAddress"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
-	IpAddress            string           `position:"Query" name:"IpAddress"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // BindIpRangeResponse is the response struct for api BindIpRange

+ 5 - 0
services/ecs/cancel_agreement.go

@@ -76,6 +76,11 @@ func (client *Client) CancelAgreementWithCallback(request *CancelAgreementReques
 // CancelAgreementRequest is the request struct for api CancelAgreement
 type CancelAgreementRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AgreementType        string           `position:"Query" name:"AgreementType"`
 }
 
 // CancelAgreementResponse is the response struct for api CancelAgreement

+ 2 - 2
services/ecs/cancel_auto_snapshot_policy.go

@@ -76,10 +76,10 @@ func (client *Client) CancelAutoSnapshotPolicyWithCallback(request *CancelAutoSn
 // CancelAutoSnapshotPolicyRequest is the request struct for api CancelAutoSnapshotPolicy
 type CancelAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DiskIds              string           `position:"Query" name:"diskIds"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CancelAutoSnapshotPolicyResponse is the response struct for api CancelAutoSnapshotPolicy

+ 2 - 2
services/ecs/cancel_copy_image.go

@@ -76,11 +76,11 @@ func (client *Client) CancelCopyImageWithCallback(request *CancelCopyImageReques
 // CancelCopyImageRequest is the request struct for api CancelCopyImage
 type CancelCopyImageRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ImageId              string           `position:"Query" name:"ImageId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CancelCopyImageResponse is the response struct for api CancelCopyImage

+ 3 - 3
services/ecs/cancel_physical_connection.go

@@ -76,13 +76,13 @@ func (client *Client) CancelPhysicalConnectionWithCallback(request *CancelPhysic
 // CancelPhysicalConnectionRequest is the request struct for api CancelPhysicalConnection
 type CancelPhysicalConnectionRequest struct {
 	*requests.RpcRequest
-	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	UserCidr             string           `position:"Query" name:"UserCidr"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CancelPhysicalConnectionResponse is the response struct for api CancelPhysicalConnection

+ 2 - 2
services/ecs/cancel_task.go

@@ -76,9 +76,9 @@ func (client *Client) CancelTaskWithCallback(request *CancelTaskRequest, callbac
 // CancelTaskRequest is the request struct for api CancelTask
 type CancelTaskRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	TaskId               string           `position:"Query" name:"TaskId"`
 }
 

+ 0 - 103
services/ecs/cancel_user_event.go

@@ -1,103 +0,0 @@
-package ecs
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CancelUserEvent invokes the ecs.CancelUserEvent API synchronously
-// api document: https://help.aliyun.com/api/ecs/canceluserevent.html
-func (client *Client) CancelUserEvent(request *CancelUserEventRequest) (response *CancelUserEventResponse, err error) {
-	response = CreateCancelUserEventResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CancelUserEventWithChan invokes the ecs.CancelUserEvent API asynchronously
-// api document: https://help.aliyun.com/api/ecs/canceluserevent.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CancelUserEventWithChan(request *CancelUserEventRequest) (<-chan *CancelUserEventResponse, <-chan error) {
-	responseChan := make(chan *CancelUserEventResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CancelUserEvent(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CancelUserEventWithCallback invokes the ecs.CancelUserEvent API asynchronously
-// api document: https://help.aliyun.com/api/ecs/canceluserevent.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CancelUserEventWithCallback(request *CancelUserEventRequest, callback func(response *CancelUserEventResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CancelUserEventResponse
-		var err error
-		defer close(result)
-		response, err = client.CancelUserEvent(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CancelUserEventRequest is the request struct for api CancelUserEvent
-type CancelUserEventRequest struct {
-	*requests.RpcRequest
-}
-
-// CancelUserEventResponse is the response struct for api CancelUserEvent
-type CancelUserEventResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	EventId   string `json:"EventId" xml:"EventId"`
-}
-
-// CreateCancelUserEventRequest creates a request to invoke CancelUserEvent API
-func CreateCancelUserEventRequest() (request *CancelUserEventRequest) {
-	request = &CancelUserEventRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Ecs", "2014-05-26", "CancelUserEvent", "ecs", "openAPI")
-	return
-}
-
-// CreateCancelUserEventResponse creates a response to parse from CancelUserEvent response
-func CreateCancelUserEventResponse() (response *CancelUserEventResponse) {
-	response = &CancelUserEventResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 7 - 7
services/ecs/check_auto_snapshot_policy.go

@@ -76,18 +76,18 @@ func (client *Client) CheckAutoSnapshotPolicyWithCallback(request *CheckAutoSnap
 // CheckAutoSnapshotPolicyRequest is the request struct for api CheckAutoSnapshotPolicy
 type CheckAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId                           requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount              string           `position:"Query" name:"ResourceOwnerAccount"`
+	DataDiskPolicyEnabled             requests.Boolean `position:"Query" name:"DataDiskPolicyEnabled"`
 	ResourceOwnerId                   requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DataDiskPolicyRetentionDays       requests.Integer `position:"Query" name:"DataDiskPolicyRetentionDays"`
+	ResourceOwnerAccount              string           `position:"Query" name:"ResourceOwnerAccount"`
+	SystemDiskPolicyRetentionLastWeek requests.Boolean `position:"Query" name:"SystemDiskPolicyRetentionLastWeek"`
 	OwnerAccount                      string           `position:"Query" name:"OwnerAccount"`
-	SystemDiskPolicyEnabled           requests.Boolean `position:"Query" name:"SystemDiskPolicyEnabled"`
 	SystemDiskPolicyTimePeriod        requests.Integer `position:"Query" name:"SystemDiskPolicyTimePeriod"`
+	OwnerId                           requests.Integer `position:"Query" name:"OwnerId"`
+	DataDiskPolicyRetentionLastWeek   requests.Boolean `position:"Query" name:"DataDiskPolicyRetentionLastWeek"`
 	SystemDiskPolicyRetentionDays     requests.Integer `position:"Query" name:"SystemDiskPolicyRetentionDays"`
-	SystemDiskPolicyRetentionLastWeek requests.Boolean `position:"Query" name:"SystemDiskPolicyRetentionLastWeek"`
-	DataDiskPolicyEnabled             requests.Boolean `position:"Query" name:"DataDiskPolicyEnabled"`
 	DataDiskPolicyTimePeriod          requests.Integer `position:"Query" name:"DataDiskPolicyTimePeriod"`
-	DataDiskPolicyRetentionDays       requests.Integer `position:"Query" name:"DataDiskPolicyRetentionDays"`
-	DataDiskPolicyRetentionLastWeek   requests.Boolean `position:"Query" name:"DataDiskPolicyRetentionLastWeek"`
+	SystemDiskPolicyEnabled           requests.Boolean `position:"Query" name:"SystemDiskPolicyEnabled"`
 }
 
 // CheckAutoSnapshotPolicyResponse is the response struct for api CheckAutoSnapshotPolicy

+ 2 - 2
services/ecs/check_disk_enable_auto_snapshot_validation.go

@@ -76,11 +76,11 @@ func (client *Client) CheckDiskEnableAutoSnapshotValidationWithCallback(request
 // CheckDiskEnableAutoSnapshotValidationRequest is the request struct for api CheckDiskEnableAutoSnapshotValidation
 type CheckDiskEnableAutoSnapshotValidationRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	DiskIds              string           `position:"Query" name:"DiskIds"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CheckDiskEnableAutoSnapshotValidationResponse is the response struct for api CheckDiskEnableAutoSnapshotValidation

+ 2 - 2
services/ecs/connect_router_interface.go

@@ -76,9 +76,9 @@ func (client *Client) ConnectRouterInterfaceWithCallback(request *ConnectRouterI
 // ConnectRouterInterfaceRequest is the request struct for api ConnectRouterInterface
 type ConnectRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
 }
 

+ 4 - 0
services/ecs/convert_nat_public_ip_to_eip.go

@@ -76,6 +76,10 @@ func (client *Client) ConvertNatPublicIpToEipWithCallback(request *ConvertNatPub
 // ConvertNatPublicIpToEipRequest is the request struct for api ConvertNatPublicIpToEip
 type ConvertNatPublicIpToEipRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
 }
 
 // ConvertNatPublicIpToEipResponse is the response struct for api ConvertNatPublicIpToEip

+ 11 - 11
services/ecs/copy_image.go

@@ -76,25 +76,25 @@ func (client *Client) CopyImageWithCallback(request *CopyImageRequest, callback
 // CopyImageRequest is the request struct for api CopyImage
 type CopyImageRequest struct {
 	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value              string           `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DestinationImageName   string           `position:"Query" name:"DestinationImageName"`
-	DestinationDescription string           `position:"Query" name:"DestinationDescription"`
 	ImageId                string           `position:"Query" name:"ImageId"`
+	Tag2Key                string           `position:"Query" name:"Tag.2.Key"`
+	Tag5Key                string           `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
+	DestinationImageName   string           `position:"Query" name:"DestinationImageName"`
 	DestinationRegionId    string           `position:"Query" name:"DestinationRegionId"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	Tag1Key                string           `position:"Query" name:"Tag.1.Key"`
-	Tag2Key                string           `position:"Query" name:"Tag.2.Key"`
 	Tag3Key                string           `position:"Query" name:"Tag.3.Key"`
-	Tag4Key                string           `position:"Query" name:"Tag.4.Key"`
-	Tag5Key                string           `position:"Query" name:"Tag.5.Key"`
+	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	Tag5Value              string           `position:"Query" name:"Tag.5.Value"`
+	Tag1Key                string           `position:"Query" name:"Tag.1.Key"`
 	Tag1Value              string           `position:"Query" name:"Tag.1.Value"`
+	Encrypted              requests.Boolean `position:"Query" name:"Encrypted"`
 	Tag2Value              string           `position:"Query" name:"Tag.2.Value"`
+	Tag4Key                string           `position:"Query" name:"Tag.4.Key"`
+	DestinationDescription string           `position:"Query" name:"DestinationDescription"`
 	Tag3Value              string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Value              string           `position:"Query" name:"Tag.4.Value"`
-	Tag5Value              string           `position:"Query" name:"Tag.5.Value"`
-	Encrypted              requests.Boolean `position:"Query" name:"Encrypted"`
 }
 
 // CopyImageResponse is the response struct for api CopyImage

+ 4 - 4
services/ecs/create_auto_snapshot_policy.go

@@ -76,13 +76,13 @@ func (client *Client) CreateAutoSnapshotPolicyWithCallback(request *CreateAutoSn
 // CreateAutoSnapshotPolicyRequest is the request struct for api CreateAutoSnapshotPolicy
 type CreateAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	AutoSnapshotPolicyName string           `position:"Query" name:"autoSnapshotPolicyName"`
+	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	TimePoints             string           `position:"Query" name:"timePoints"`
-	RepeatWeekdays         string           `position:"Query" name:"repeatWeekdays"`
 	RetentionDays          requests.Integer `position:"Query" name:"retentionDays"`
+	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	RepeatWeekdays         string           `position:"Query" name:"repeatWeekdays"`
+	AutoSnapshotPolicyName string           `position:"Query" name:"autoSnapshotPolicyName"`
 }
 
 // CreateAutoSnapshotPolicyResponse is the response struct for api CreateAutoSnapshotPolicy

+ 10 - 0
services/ecs/create_command.go

@@ -76,6 +76,16 @@ func (client *Client) CreateCommandWithCallback(request *CreateCommandRequest, c
 // CreateCommandRequest is the request struct for api CreateCommand
 type CreateCommandRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	WorkingDir           string           `position:"Query" name:"WorkingDir"`
+	Description          string           `position:"Query" name:"Description"`
+	Type                 string           `position:"Query" name:"Type"`
+	CommandContent       string           `position:"Query" name:"CommandContent"`
+	Timeout              requests.Integer `position:"Query" name:"Timeout"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Name                 string           `position:"Query" name:"Name"`
 }
 
 // CreateCommandResponse is the response struct for api CreateCommand

+ 6 - 6
services/ecs/create_deployment_set.go

@@ -76,17 +76,17 @@ func (client *Client) CreateDeploymentSetWithCallback(request *CreateDeploymentS
 // CreateDeploymentSetRequest is the request struct for api CreateDeploymentSet
 type CreateDeploymentSetRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
-	Description          string           `position:"Query" name:"Description"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Description          string           `position:"Query" name:"Description"`
 	DeploymentSetName    string           `position:"Query" name:"DeploymentSetName"`
-	Domain               string           `position:"Query" name:"Domain"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Granularity          string           `position:"Query" name:"Granularity"`
+	Domain               string           `position:"Query" name:"Domain"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
 	Strategy             string           `position:"Query" name:"Strategy"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 }
 
 // CreateDeploymentSetResponse is the response struct for api CreateDeploymentSet

+ 16 - 16
services/ecs/create_disk.go

@@ -76,29 +76,29 @@ func (client *Client) CreateDiskWithCallback(request *CreateDiskRequest, callbac
 // CreateDiskRequest is the request struct for api CreateDisk
 type CreateDiskRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
 	SnapshotId           string           `position:"Query" name:"SnapshotId"`
-	DiskName             string           `position:"Query" name:"DiskName"`
-	Size                 requests.Integer `position:"Query" name:"Size"`
-	DiskCategory         string           `position:"Query" name:"DiskCategory"`
-	Description          string           `position:"Query" name:"Description"`
-	Encrypted            requests.Boolean `position:"Query" name:"Encrypted"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
 	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	Description          string           `position:"Query" name:"Description"`
 	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	DiskName             string           `position:"Query" name:"DiskName"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
-	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
+	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
+	DiskCategory         string           `position:"Query" name:"DiskCategory"`
 	Tag3Value            string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
+	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
-	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
+	Size                 requests.Integer `position:"Query" name:"Size"`
+	Encrypted            requests.Boolean `position:"Query" name:"Encrypted"`
+	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
 }
 
 // CreateDiskResponse is the response struct for api CreateDisk

+ 4 - 4
services/ecs/create_forward_entry.go

@@ -76,16 +76,16 @@ func (client *Client) CreateForwardEntryWithCallback(request *CreateForwardEntry
 // CreateForwardEntryRequest is the request struct for api CreateForwardEntry
 type CreateForwardEntryRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	IpProtocol           string           `position:"Query" name:"IpProtocol"`
+	InternalPort         string           `position:"Query" name:"InternalPort"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	ForwardTableId       string           `position:"Query" name:"ForwardTableId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	ExternalIp           string           `position:"Query" name:"ExternalIp"`
 	ExternalPort         string           `position:"Query" name:"ExternalPort"`
 	InternalIp           string           `position:"Query" name:"InternalIp"`
-	InternalPort         string           `position:"Query" name:"InternalPort"`
-	IpProtocol           string           `position:"Query" name:"IpProtocol"`
 }
 
 // CreateForwardEntryResponse is the response struct for api CreateForwardEntry

+ 5 - 5
services/ecs/create_ha_vip.go

@@ -76,14 +76,14 @@ func (client *Client) CreateHaVipWithCallback(request *CreateHaVipRequest, callb
 // CreateHaVipRequest is the request struct for api CreateHaVip
 type CreateHaVipRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
 	VSwitchId            string           `position:"Query" name:"VSwitchId"`
 	IpAddress            string           `position:"Query" name:"IpAddress"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	Description          string           `position:"Query" name:"Description"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CreateHaVipResponse is the response struct for api CreateHaVip

+ 7 - 0
services/ecs/create_hpc_cluster.go

@@ -76,6 +76,13 @@ func (client *Client) CreateHpcClusterWithCallback(request *CreateHpcClusterRequ
 // CreateHpcClusterRequest is the request struct for api CreateHpcCluster
 type CreateHpcClusterRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	Description          string           `position:"Query" name:"Description"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Name                 string           `position:"Query" name:"Name"`
 }
 
 // CreateHpcClusterResponse is the response struct for api CreateHpcCluster

+ 14 - 14
services/ecs/create_image.go

@@ -77,28 +77,28 @@ func (client *Client) CreateImageWithCallback(request *CreateImageRequest, callb
 type CreateImageRequest struct {
 	*requests.RpcRequest
 	DiskDeviceMapping    *[]CreateImageDiskDeviceMapping `position:"Query" name:"DiskDeviceMapping"  type:"Repeated"`
-	OwnerId              requests.Integer                `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string                          `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string                          `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId      requests.Integer                `position:"Query" name:"ResourceOwnerId"`
 	SnapshotId           string                          `position:"Query" name:"SnapshotId"`
-	InstanceId           string                          `position:"Query" name:"InstanceId"`
-	ImageName            string                          `position:"Query" name:"ImageName"`
-	ImageVersion         string                          `position:"Query" name:"ImageVersion"`
+	Tag2Key              string                          `position:"Query" name:"Tag.2.Key"`
+	ClientToken          string                          `position:"Query" name:"ClientToken"`
 	Description          string                          `position:"Query" name:"Description"`
+	Tag3Key              string                          `position:"Query" name:"Tag.3.Key"`
 	Platform             string                          `position:"Query" name:"Platform"`
+	Tag1Value            string                          `position:"Query" name:"Tag.1.Value"`
+	ImageName            string                          `position:"Query" name:"ImageName"`
+	Tag3Value            string                          `position:"Query" name:"Tag.3.Value"`
 	Architecture         string                          `position:"Query" name:"Architecture"`
-	ClientToken          string                          `position:"Query" name:"ClientToken"`
+	Tag5Key              string                          `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount string                          `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string                          `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer                `position:"Query" name:"OwnerId"`
+	Tag5Value            string                          `position:"Query" name:"Tag.5.Value"`
 	Tag1Key              string                          `position:"Query" name:"Tag.1.Key"`
-	Tag2Key              string                          `position:"Query" name:"Tag.2.Key"`
-	Tag3Key              string                          `position:"Query" name:"Tag.3.Key"`
-	Tag4Key              string                          `position:"Query" name:"Tag.4.Key"`
-	Tag5Key              string                          `position:"Query" name:"Tag.5.Key"`
-	Tag1Value            string                          `position:"Query" name:"Tag.1.Value"`
+	InstanceId           string                          `position:"Query" name:"InstanceId"`
 	Tag2Value            string                          `position:"Query" name:"Tag.2.Value"`
-	Tag3Value            string                          `position:"Query" name:"Tag.3.Value"`
-	Tag4Value            string                          `position:"Query" name:"Tag.4.Value"`
-	Tag5Value            string                          `position:"Query" name:"Tag.5.Value"`
+	ImageVersion         string                          `position:"Query" name:"ImageVersion"`
+	Tag4Key              string                          `position:"Query" name:"Tag.4.Key"`
 }
 
 // CreateImageDiskDeviceMapping is a repeated param struct in CreateImageRequest

+ 45 - 45
services/ecs/create_instance.go

@@ -76,62 +76,62 @@ func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest,
 // CreateInstanceRequest is the request struct for api CreateInstance
 type CreateInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId                     requests.Integer          `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount        string                    `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value                   string                    `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId             requests.Integer          `position:"Query" name:"ResourceOwnerId"`
-	ImageId                     string                    `position:"Query" name:"ImageId"`
-	InstanceType                string                    `position:"Query" name:"InstanceType"`
-	SecurityGroupId             string                    `position:"Query" name:"SecurityGroupId"`
-	InstanceName                string                    `position:"Query" name:"InstanceName"`
-	InternetChargeType          string                    `position:"Query" name:"InternetChargeType"`
-	AutoRenew                   requests.Boolean          `position:"Query" name:"AutoRenew"`
-	AutoRenewPeriod             requests.Integer          `position:"Query" name:"AutoRenewPeriod"`
-	InternetMaxBandwidthIn      requests.Integer          `position:"Query" name:"InternetMaxBandwidthIn"`
-	InternetMaxBandwidthOut     requests.Integer          `position:"Query" name:"InternetMaxBandwidthOut"`
+	Tag2Key                     string                    `position:"Query" name:"Tag.2.Key"`
+	HpcClusterId                string                    `position:"Query" name:"HpcClusterId"`
+	Tag3Key                     string                    `position:"Query" name:"Tag.3.Key"`
+	SecurityEnhancementStrategy string                    `position:"Query" name:"SecurityEnhancementStrategy"`
+	KeyPairName                 string                    `position:"Query" name:"KeyPairName"`
+	SpotPriceLimit              requests.Float            `position:"Query" name:"SpotPriceLimit"`
+	Tag1Value                   string                    `position:"Query" name:"Tag.1.Value"`
+	ResourceGroupId             string                    `position:"Query" name:"ResourceGroupId"`
 	HostName                    string                    `position:"Query" name:"HostName"`
 	Password                    string                    `position:"Query" name:"Password"`
-	DeploymentSetId             string                    `position:"Query" name:"DeploymentSetId"`
-	ZoneId                      string                    `position:"Query" name:"ZoneId"`
-	ClusterId                   string                    `position:"Query" name:"ClusterId"`
-	ClientToken                 string                    `position:"Query" name:"ClientToken"`
-	VlanId                      string                    `position:"Query" name:"VlanId"`
-	InnerIpAddress              string                    `position:"Query" name:"InnerIpAddress"`
-	SystemDiskSize              requests.Integer          `position:"Query" name:"SystemDisk.Size"`
-	SystemDiskCategory          string                    `position:"Query" name:"SystemDisk.Category"`
-	SystemDiskDiskName          string                    `position:"Query" name:"SystemDisk.DiskName"`
-	SystemDiskDescription       string                    `position:"Query" name:"SystemDisk.Description"`
-	DataDisk                    *[]CreateInstanceDataDisk `position:"Query" name:"DataDisk"  type:"Repeated"`
+	AutoRenewPeriod             requests.Integer          `position:"Query" name:"AutoRenewPeriod"`
 	NodeControllerId            string                    `position:"Query" name:"NodeControllerId"`
-	Description                 string                    `position:"Query" name:"Description"`
+	Period                      requests.Integer          `position:"Query" name:"Period"`
+	DryRun                      requests.Boolean          `position:"Query" name:"DryRun"`
+	Tag5Key                     string                    `position:"Query" name:"Tag.5.Key"`
+	OwnerId                     requests.Integer          `position:"Query" name:"OwnerId"`
 	VSwitchId                   string                    `position:"Query" name:"VSwitchId"`
 	PrivateIpAddress            string                    `position:"Query" name:"PrivateIpAddress"`
-	IoOptimized                 string                    `position:"Query" name:"IoOptimized"`
-	OwnerAccount                string                    `position:"Query" name:"OwnerAccount"`
-	UseAdditionalService        requests.Boolean          `position:"Query" name:"UseAdditionalService"`
-	InstanceChargeType          string                    `position:"Query" name:"InstanceChargeType"`
-	Period                      requests.Integer          `position:"Query" name:"Period"`
+	SpotStrategy                string                    `position:"Query" name:"SpotStrategy"`
 	PeriodUnit                  string                    `position:"Query" name:"PeriodUnit"`
-	Tag1Key                     string                    `position:"Query" name:"Tag.1.Key"`
-	Tag2Key                     string                    `position:"Query" name:"Tag.2.Key"`
-	Tag3Key                     string                    `position:"Query" name:"Tag.3.Key"`
+	InstanceName                string                    `position:"Query" name:"InstanceName"`
+	AutoRenew                   requests.Boolean          `position:"Query" name:"AutoRenew"`
+	InternetChargeType          string                    `position:"Query" name:"InternetChargeType"`
+	ZoneId                      string                    `position:"Query" name:"ZoneId"`
 	Tag4Key                     string                    `position:"Query" name:"Tag.4.Key"`
-	Tag5Key                     string                    `position:"Query" name:"Tag.5.Key"`
-	Tag1Value                   string                    `position:"Query" name:"Tag.1.Value"`
-	Tag2Value                   string                    `position:"Query" name:"Tag.2.Value"`
-	Tag3Value                   string                    `position:"Query" name:"Tag.3.Value"`
-	Tag4Value                   string                    `position:"Query" name:"Tag.4.Value"`
-	Tag5Value                   string                    `position:"Query" name:"Tag.5.Value"`
-	UserData                    string                    `position:"Query" name:"UserData"`
-	SpotStrategy                string                    `position:"Query" name:"SpotStrategy"`
-	KeyPairName                 string                    `position:"Query" name:"KeyPairName"`
-	SpotPriceLimit              requests.Float            `position:"Query" name:"SpotPriceLimit"`
+	InternetMaxBandwidthIn      requests.Integer          `position:"Query" name:"InternetMaxBandwidthIn"`
+	UseAdditionalService        requests.Boolean          `position:"Query" name:"UseAdditionalService"`
+	ImageId                     string                    `position:"Query" name:"ImageId"`
+	ClientToken                 string                    `position:"Query" name:"ClientToken"`
+	VlanId                      string                    `position:"Query" name:"VlanId"`
 	SpotInterruptionBehavior    string                    `position:"Query" name:"SpotInterruptionBehavior"`
+	IoOptimized                 string                    `position:"Query" name:"IoOptimized"`
+	SecurityGroupId             string                    `position:"Query" name:"SecurityGroupId"`
+	InternetMaxBandwidthOut     requests.Integer          `position:"Query" name:"InternetMaxBandwidthOut"`
+	Description                 string                    `position:"Query" name:"Description"`
+	SystemDiskCategory          string                    `position:"Query" name:"SystemDisk.Category"`
+	UserData                    string                    `position:"Query" name:"UserData"`
+	InstanceType                string                    `position:"Query" name:"InstanceType"`
+	InstanceChargeType          string                    `position:"Query" name:"InstanceChargeType"`
+	Tag3Value                   string                    `position:"Query" name:"Tag.3.Value"`
+	DeploymentSetId             string                    `position:"Query" name:"DeploymentSetId"`
+	InnerIpAddress              string                    `position:"Query" name:"InnerIpAddress"`
+	ResourceOwnerAccount        string                    `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                string                    `position:"Query" name:"OwnerAccount"`
+	SystemDiskDiskName          string                    `position:"Query" name:"SystemDisk.DiskName"`
 	RamRoleName                 string                    `position:"Query" name:"RamRoleName"`
-	SecurityEnhancementStrategy string                    `position:"Query" name:"SecurityEnhancementStrategy"`
-	ResourceGroupId             string                    `position:"Query" name:"ResourceGroupId"`
-	HpcClusterId                string                    `position:"Query" name:"HpcClusterId"`
-	DryRun                      requests.Boolean          `position:"Query" name:"DryRun"`
 	DedicatedHostId             string                    `position:"Query" name:"DedicatedHostId"`
+	ClusterId                   string                    `position:"Query" name:"ClusterId"`
+	DataDisk                    *[]CreateInstanceDataDisk `position:"Query" name:"DataDisk"  type:"Repeated"`
+	Tag5Value                   string                    `position:"Query" name:"Tag.5.Value"`
+	Tag1Key                     string                    `position:"Query" name:"Tag.1.Key"`
+	SystemDiskSize              requests.Integer          `position:"Query" name:"SystemDisk.Size"`
+	Tag2Value                   string                    `position:"Query" name:"Tag.2.Value"`
+	SystemDiskDescription       string                    `position:"Query" name:"SystemDisk.Description"`
 }
 
 // CreateInstanceDataDisk is a repeated param struct in CreateInstanceRequest

+ 13 - 2
services/ecs/create_key_pair.go

@@ -76,10 +76,21 @@ func (client *Client) CreateKeyPairWithCallback(request *CreateKeyPairRequest, c
 // CreateKeyPairRequest is the request struct for api CreateKeyPair
 type CreateKeyPairRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
+	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
 	KeyPairName          string           `position:"Query" name:"KeyPairName"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
+	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
+	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
+	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
+	Tag3Value            string           `position:"Query" name:"Tag.3.Value"`
 }
 
 // CreateKeyPairResponse is the response struct for api CreateKeyPair

+ 170 - 0
services/ecs/create_launch_template.go

@@ -0,0 +1,170 @@
+package ecs
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateLaunchTemplate invokes the ecs.CreateLaunchTemplate API synchronously
+// api document: https://help.aliyun.com/api/ecs/createlaunchtemplate.html
+func (client *Client) CreateLaunchTemplate(request *CreateLaunchTemplateRequest) (response *CreateLaunchTemplateResponse, err error) {
+	response = CreateCreateLaunchTemplateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateLaunchTemplateWithChan invokes the ecs.CreateLaunchTemplate API asynchronously
+// api document: https://help.aliyun.com/api/ecs/createlaunchtemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateLaunchTemplateWithChan(request *CreateLaunchTemplateRequest) (<-chan *CreateLaunchTemplateResponse, <-chan error) {
+	responseChan := make(chan *CreateLaunchTemplateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateLaunchTemplate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateLaunchTemplateWithCallback invokes the ecs.CreateLaunchTemplate API asynchronously
+// api document: https://help.aliyun.com/api/ecs/createlaunchtemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateLaunchTemplateWithCallback(request *CreateLaunchTemplateRequest, callback func(response *CreateLaunchTemplateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateLaunchTemplateResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateLaunchTemplate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateLaunchTemplateRequest is the request struct for api CreateLaunchTemplate
+type CreateLaunchTemplateRequest struct {
+	*requests.RpcRequest
+	LaunchTemplateName          string                                  `position:"Query" name:"LaunchTemplateName"`
+	ResourceOwnerId             requests.Integer                        `position:"Query" name:"ResourceOwnerId"`
+	SecurityEnhancementStrategy string                                  `position:"Query" name:"SecurityEnhancementStrategy"`
+	NetworkType                 string                                  `position:"Query" name:"NetworkType"`
+	KeyPairName                 string                                  `position:"Query" name:"KeyPairName"`
+	SpotPriceLimit              requests.Float                          `position:"Query" name:"SpotPriceLimit"`
+	ImageOwnerAlias             string                                  `position:"Query" name:"ImageOwnerAlias"`
+	ResourceGroupId             string                                  `position:"Query" name:"ResourceGroupId"`
+	HostName                    string                                  `position:"Query" name:"HostName"`
+	SystemDiskIops              requests.Integer                        `position:"Query" name:"SystemDisk.Iops"`
+	Tag                         *[]CreateLaunchTemplateTag              `position:"Query" name:"Tag"  type:"Repeated"`
+	Period                      requests.Integer                        `position:"Query" name:"Period"`
+	OwnerId                     requests.Integer                        `position:"Query" name:"OwnerId"`
+	VSwitchId                   string                                  `position:"Query" name:"VSwitchId"`
+	SpotStrategy                string                                  `position:"Query" name:"SpotStrategy"`
+	InstanceName                string                                  `position:"Query" name:"InstanceName"`
+	InternetChargeType          string                                  `position:"Query" name:"InternetChargeType"`
+	ZoneId                      string                                  `position:"Query" name:"ZoneId"`
+	InternetMaxBandwidthIn      requests.Integer                        `position:"Query" name:"InternetMaxBandwidthIn"`
+	VersionDescription          string                                  `position:"Query" name:"VersionDescription"`
+	ImageId                     string                                  `position:"Query" name:"ImageId"`
+	IoOptimized                 string                                  `position:"Query" name:"IoOptimized"`
+	SecurityGroupId             string                                  `position:"Query" name:"SecurityGroupId"`
+	InternetMaxBandwidthOut     requests.Integer                        `position:"Query" name:"InternetMaxBandwidthOut"`
+	Description                 string                                  `position:"Query" name:"Description"`
+	SystemDiskCategory          string                                  `position:"Query" name:"SystemDisk.Category"`
+	UserData                    string                                  `position:"Query" name:"UserData"`
+	InstanceType                string                                  `position:"Query" name:"InstanceType"`
+	InstanceChargeType          string                                  `position:"Query" name:"InstanceChargeType"`
+	EnableVmOsConfig            requests.Boolean                        `position:"Query" name:"EnableVmOsConfig"`
+	NetworkInterface            *[]CreateLaunchTemplateNetworkInterface `position:"Query" name:"NetworkInterface"  type:"Repeated"`
+	ResourceOwnerAccount        string                                  `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                string                                  `position:"Query" name:"OwnerAccount"`
+	SystemDiskDiskName          string                                  `position:"Query" name:"SystemDisk.DiskName"`
+	RamRoleName                 string                                  `position:"Query" name:"RamRoleName"`
+	AutoReleaseTime             string                                  `position:"Query" name:"AutoReleaseTime"`
+	SpotDuration                requests.Integer                        `position:"Query" name:"SpotDuration"`
+	DataDisk                    *[]CreateLaunchTemplateDataDisk         `position:"Query" name:"DataDisk"  type:"Repeated"`
+	SystemDiskSize              requests.Integer                        `position:"Query" name:"SystemDisk.Size"`
+	VpcId                       string                                  `position:"Query" name:"VpcId"`
+	SystemDiskDescription       string                                  `position:"Query" name:"SystemDisk.Description"`
+}
+
+// CreateLaunchTemplateTag is a repeated param struct in CreateLaunchTemplateRequest
+type CreateLaunchTemplateTag struct {
+	Key   string `name:"Key"`
+	Value string `name:"Value"`
+}
+
+// CreateLaunchTemplateNetworkInterface is a repeated param struct in CreateLaunchTemplateRequest
+type CreateLaunchTemplateNetworkInterface struct {
+	PrimaryIpAddress     string `name:"PrimaryIpAddress"`
+	VSwitchId            string `name:"VSwitchId"`
+	SecurityGroupId      string `name:"SecurityGroupId"`
+	NetworkInterfaceName string `name:"NetworkInterfaceName"`
+	Description          string `name:"Description"`
+}
+
+// CreateLaunchTemplateDataDisk is a repeated param struct in CreateLaunchTemplateRequest
+type CreateLaunchTemplateDataDisk struct {
+	Size               string `name:"Size"`
+	SnapshotId         string `name:"SnapshotId"`
+	Category           string `name:"Category"`
+	Encrypted          string `name:"Encrypted"`
+	DiskName           string `name:"DiskName"`
+	Description        string `name:"Description"`
+	DeleteWithInstance string `name:"DeleteWithInstance"`
+}
+
+// CreateLaunchTemplateResponse is the response struct for api CreateLaunchTemplate
+type CreateLaunchTemplateResponse struct {
+	*responses.BaseResponse
+	RequestId        string `json:"RequestId" xml:"RequestId"`
+	LaunchTemplateId string `json:"LaunchTemplateId" xml:"LaunchTemplateId"`
+}
+
+// CreateCreateLaunchTemplateRequest creates a request to invoke CreateLaunchTemplate API
+func CreateCreateLaunchTemplateRequest() (request *CreateLaunchTemplateRequest) {
+	request = &CreateLaunchTemplateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ecs", "2014-05-26", "CreateLaunchTemplate", "ecs", "openAPI")
+	return
+}
+
+// CreateCreateLaunchTemplateResponse creates a response to parse from CreateLaunchTemplate response
+func CreateCreateLaunchTemplateResponse() (response *CreateLaunchTemplateResponse) {
+	response = &CreateLaunchTemplateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 171 - 0
services/ecs/create_launch_template_version.go

@@ -0,0 +1,171 @@
+package ecs
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateLaunchTemplateVersion invokes the ecs.CreateLaunchTemplateVersion API synchronously
+// api document: https://help.aliyun.com/api/ecs/createlaunchtemplateversion.html
+func (client *Client) CreateLaunchTemplateVersion(request *CreateLaunchTemplateVersionRequest) (response *CreateLaunchTemplateVersionResponse, err error) {
+	response = CreateCreateLaunchTemplateVersionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateLaunchTemplateVersionWithChan invokes the ecs.CreateLaunchTemplateVersion API asynchronously
+// api document: https://help.aliyun.com/api/ecs/createlaunchtemplateversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateLaunchTemplateVersionWithChan(request *CreateLaunchTemplateVersionRequest) (<-chan *CreateLaunchTemplateVersionResponse, <-chan error) {
+	responseChan := make(chan *CreateLaunchTemplateVersionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateLaunchTemplateVersion(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateLaunchTemplateVersionWithCallback invokes the ecs.CreateLaunchTemplateVersion API asynchronously
+// api document: https://help.aliyun.com/api/ecs/createlaunchtemplateversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateLaunchTemplateVersionWithCallback(request *CreateLaunchTemplateVersionRequest, callback func(response *CreateLaunchTemplateVersionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateLaunchTemplateVersionResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateLaunchTemplateVersion(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateLaunchTemplateVersionRequest is the request struct for api CreateLaunchTemplateVersion
+type CreateLaunchTemplateVersionRequest struct {
+	*requests.RpcRequest
+	LaunchTemplateName          string                                         `position:"Query" name:"LaunchTemplateName"`
+	ResourceOwnerId             requests.Integer                               `position:"Query" name:"ResourceOwnerId"`
+	SecurityEnhancementStrategy string                                         `position:"Query" name:"SecurityEnhancementStrategy"`
+	NetworkType                 string                                         `position:"Query" name:"NetworkType"`
+	KeyPairName                 string                                         `position:"Query" name:"KeyPairName"`
+	SpotPriceLimit              requests.Float                                 `position:"Query" name:"SpotPriceLimit"`
+	ImageOwnerAlias             string                                         `position:"Query" name:"ImageOwnerAlias"`
+	ResourceGroupId             string                                         `position:"Query" name:"ResourceGroupId"`
+	HostName                    string                                         `position:"Query" name:"HostName"`
+	SystemDiskIops              requests.Integer                               `position:"Query" name:"SystemDisk.Iops"`
+	Tag                         *[]CreateLaunchTemplateVersionTag              `position:"Query" name:"Tag"  type:"Repeated"`
+	Period                      requests.Integer                               `position:"Query" name:"Period"`
+	LaunchTemplateId            string                                         `position:"Query" name:"LaunchTemplateId"`
+	OwnerId                     requests.Integer                               `position:"Query" name:"OwnerId"`
+	VSwitchId                   string                                         `position:"Query" name:"VSwitchId"`
+	SpotStrategy                string                                         `position:"Query" name:"SpotStrategy"`
+	InstanceName                string                                         `position:"Query" name:"InstanceName"`
+	InternetChargeType          string                                         `position:"Query" name:"InternetChargeType"`
+	ZoneId                      string                                         `position:"Query" name:"ZoneId"`
+	InternetMaxBandwidthIn      requests.Integer                               `position:"Query" name:"InternetMaxBandwidthIn"`
+	VersionDescription          string                                         `position:"Query" name:"VersionDescription"`
+	ImageId                     string                                         `position:"Query" name:"ImageId"`
+	IoOptimized                 string                                         `position:"Query" name:"IoOptimized"`
+	SecurityGroupId             string                                         `position:"Query" name:"SecurityGroupId"`
+	InternetMaxBandwidthOut     requests.Integer                               `position:"Query" name:"InternetMaxBandwidthOut"`
+	Description                 string                                         `position:"Query" name:"Description"`
+	SystemDiskCategory          string                                         `position:"Query" name:"SystemDisk.Category"`
+	UserData                    string                                         `position:"Query" name:"UserData"`
+	InstanceType                string                                         `position:"Query" name:"InstanceType"`
+	InstanceChargeType          string                                         `position:"Query" name:"InstanceChargeType"`
+	EnableVmOsConfig            requests.Boolean                               `position:"Query" name:"EnableVmOsConfig"`
+	NetworkInterface            *[]CreateLaunchTemplateVersionNetworkInterface `position:"Query" name:"NetworkInterface"  type:"Repeated"`
+	ResourceOwnerAccount        string                                         `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                string                                         `position:"Query" name:"OwnerAccount"`
+	SystemDiskDiskName          string                                         `position:"Query" name:"SystemDisk.DiskName"`
+	RamRoleName                 string                                         `position:"Query" name:"RamRoleName"`
+	AutoReleaseTime             string                                         `position:"Query" name:"AutoReleaseTime"`
+	SpotDuration                requests.Integer                               `position:"Query" name:"SpotDuration"`
+	DataDisk                    *[]CreateLaunchTemplateVersionDataDisk         `position:"Query" name:"DataDisk"  type:"Repeated"`
+	SystemDiskSize              requests.Integer                               `position:"Query" name:"SystemDisk.Size"`
+	VpcId                       string                                         `position:"Query" name:"VpcId"`
+	SystemDiskDescription       string                                         `position:"Query" name:"SystemDisk.Description"`
+}
+
+// CreateLaunchTemplateVersionTag is a repeated param struct in CreateLaunchTemplateVersionRequest
+type CreateLaunchTemplateVersionTag struct {
+	Key   string `name:"Key"`
+	Value string `name:"Value"`
+}
+
+// CreateLaunchTemplateVersionNetworkInterface is a repeated param struct in CreateLaunchTemplateVersionRequest
+type CreateLaunchTemplateVersionNetworkInterface struct {
+	PrimaryIpAddress     string `name:"PrimaryIpAddress"`
+	VSwitchId            string `name:"VSwitchId"`
+	SecurityGroupId      string `name:"SecurityGroupId"`
+	NetworkInterfaceName string `name:"NetworkInterfaceName"`
+	Description          string `name:"Description"`
+}
+
+// CreateLaunchTemplateVersionDataDisk is a repeated param struct in CreateLaunchTemplateVersionRequest
+type CreateLaunchTemplateVersionDataDisk struct {
+	Size               string `name:"Size"`
+	SnapshotId         string `name:"SnapshotId"`
+	Category           string `name:"Category"`
+	Encrypted          string `name:"Encrypted"`
+	DiskName           string `name:"DiskName"`
+	Description        string `name:"Description"`
+	DeleteWithInstance string `name:"DeleteWithInstance"`
+}
+
+// CreateLaunchTemplateVersionResponse is the response struct for api CreateLaunchTemplateVersion
+type CreateLaunchTemplateVersionResponse struct {
+	*responses.BaseResponse
+	RequestId                   string `json:"RequestId" xml:"RequestId"`
+	LaunchTemplateVersionNumber int    `json:"LaunchTemplateVersionNumber" xml:"LaunchTemplateVersionNumber"`
+}
+
+// CreateCreateLaunchTemplateVersionRequest creates a request to invoke CreateLaunchTemplateVersion API
+func CreateCreateLaunchTemplateVersionRequest() (request *CreateLaunchTemplateVersionRequest) {
+	request = &CreateLaunchTemplateVersionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ecs", "2014-05-26", "CreateLaunchTemplateVersion", "ecs", "openAPI")
+	return
+}
+
+// CreateCreateLaunchTemplateVersionResponse creates a response to parse from CreateLaunchTemplateVersion response
+func CreateCreateLaunchTemplateVersionResponse() (response *CreateLaunchTemplateVersionResponse) {
+	response = &CreateLaunchTemplateVersionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/ecs/create_nat_gateway.go

@@ -76,14 +76,14 @@ func (client *Client) CreateNatGatewayWithCallback(request *CreateNatGatewayRequ
 // CreateNatGatewayRequest is the request struct for api CreateNatGateway
 type CreateNatGatewayRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer                    `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string                              `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer                    `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string                              `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string                              `position:"Query" name:"ClientToken"`
 	OwnerAccount         string                              `position:"Query" name:"OwnerAccount"`
 	VpcId                string                              `position:"Query" name:"VpcId"`
 	Name                 string                              `position:"Query" name:"Name"`
 	Description          string                              `position:"Query" name:"Description"`
-	ClientToken          string                              `position:"Query" name:"ClientToken"`
+	OwnerId              requests.Integer                    `position:"Query" name:"OwnerId"`
 	BandwidthPackage     *[]CreateNatGatewayBandwidthPackage `position:"Query" name:"BandwidthPackage"  type:"Repeated"`
 }
 

+ 10 - 0
services/ecs/create_network_interface.go

@@ -76,6 +76,16 @@ func (client *Client) CreateNetworkInterfaceWithCallback(request *CreateNetworkI
 // CreateNetworkInterfaceRequest is the request struct for api CreateNetworkInterface
 type CreateNetworkInterfaceRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	SecurityGroupId      string           `position:"Query" name:"SecurityGroupId"`
+	Description          string           `position:"Query" name:"Description"`
+	NetworkInterfaceName string           `position:"Query" name:"NetworkInterfaceName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	VSwitchId            string           `position:"Query" name:"VSwitchId"`
+	PrimaryIpAddress     string           `position:"Query" name:"PrimaryIpAddress"`
 }
 
 // CreateNetworkInterfaceResponse is the response struct for api CreateNetworkInterface

+ 7 - 0
services/ecs/create_network_interface_permission.go

@@ -76,6 +76,13 @@ func (client *Client) CreateNetworkInterfacePermissionWithCallback(request *Crea
 // CreateNetworkInterfacePermissionRequest is the request struct for api CreateNetworkInterfacePermission
 type CreateNetworkInterfacePermissionRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	AccountId            requests.Integer `position:"Query" name:"AccountId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Permission           string           `position:"Query" name:"Permission"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	NetworkInterfaceId   string           `position:"Query" name:"NetworkInterfaceId"`
 }
 
 // CreateNetworkInterfacePermissionResponse is the response struct for api CreateNetworkInterfacePermission

+ 8 - 8
services/ecs/create_physical_connection.go

@@ -77,20 +77,20 @@ func (client *Client) CreatePhysicalConnectionWithCallback(request *CreatePhysic
 type CreatePhysicalConnectionRequest struct {
 	*requests.RpcRequest
 	AccessPointId                 string           `position:"Query" name:"AccessPointId"`
-	Type                          string           `position:"Query" name:"Type"`
-	LineOperator                  string           `position:"Query" name:"LineOperator"`
-	Bandwidth                     requests.Integer `position:"Query" name:"bandwidth"`
+	RedundantPhysicalConnectionId string           `position:"Query" name:"RedundantPhysicalConnectionId"`
 	PeerLocation                  string           `position:"Query" name:"PeerLocation"`
+	ResourceOwnerId               requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	PortType                      string           `position:"Query" name:"PortType"`
-	RedundantPhysicalConnectionId string           `position:"Query" name:"RedundantPhysicalConnectionId"`
-	Description                   string           `position:"Query" name:"Description"`
-	Name                          string           `position:"Query" name:"Name"`
 	CircuitCode                   string           `position:"Query" name:"CircuitCode"`
+	Bandwidth                     requests.Integer `position:"Query" name:"bandwidth"`
 	ClientToken                   string           `position:"Query" name:"ClientToken"`
-	OwnerId                       requests.Integer `position:"Query" name:"OwnerId"`
 	ResourceOwnerAccount          string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId               requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerAccount                  string           `position:"Query" name:"OwnerAccount"`
+	Description                   string           `position:"Query" name:"Description"`
+	Type                          string           `position:"Query" name:"Type"`
+	OwnerId                       requests.Integer `position:"Query" name:"OwnerId"`
+	LineOperator                  string           `position:"Query" name:"LineOperator"`
+	Name                          string           `position:"Query" name:"Name"`
 	UserCidr                      string           `position:"Query" name:"UserCidr"`
 }
 

+ 5 - 5
services/ecs/create_route_entry.go

@@ -76,16 +76,16 @@ func (client *Client) CreateRouteEntryWithCallback(request *CreateRouteEntryRequ
 // CreateRouteEntryRequest is the request struct for api CreateRouteEntry
 type CreateRouteEntryRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer               `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string                         `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer               `position:"Query" name:"ResourceOwnerId"`
-	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
+	ResourceOwnerAccount string                         `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string                         `position:"Query" name:"ClientToken"`
 	DestinationCidrBlock string                         `position:"Query" name:"DestinationCidrBlock"`
+	OwnerAccount         string                         `position:"Query" name:"OwnerAccount"`
 	NextHopId            string                         `position:"Query" name:"NextHopId"`
-	ClientToken          string                         `position:"Query" name:"ClientToken"`
+	OwnerId              requests.Integer               `position:"Query" name:"OwnerId"`
 	NextHopType          string                         `position:"Query" name:"NextHopType"`
-	OwnerAccount         string                         `position:"Query" name:"OwnerAccount"`
 	NextHopList          *[]CreateRouteEntryNextHopList `position:"Query" name:"NextHopList"  type:"Repeated"`
+	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
 }
 
 // CreateRouteEntryNextHopList is a repeated param struct in CreateRouteEntryRequest

+ 18 - 18
services/ecs/create_router_interface.go

@@ -76,31 +76,31 @@ func (client *Client) CreateRouterInterfaceWithCallback(request *CreateRouterInt
 // CreateRouterInterfaceRequest is the request struct for api CreateRouterInterface
 type CreateRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	Role                     string           `position:"Query" name:"Role"`
-	OppositeRegionId         string           `position:"Query" name:"OppositeRegionId"`
-	Spec                     string           `position:"Query" name:"Spec"`
-	RouterType               string           `position:"Query" name:"RouterType"`
-	RouterId                 string           `position:"Query" name:"RouterId"`
-	OppositeInterfaceId      string           `position:"Query" name:"OppositeInterfaceId"`
-	OppositeRouterId         string           `position:"Query" name:"OppositeRouterId"`
-	OppositeRouterType       string           `position:"Query" name:"OppositeRouterType"`
-	OppositeInterfaceOwnerId string           `position:"Query" name:"OppositeInterfaceOwnerId"`
-	HealthCheckSourceIp      string           `position:"Query" name:"HealthCheckSourceIp"`
-	HealthCheckTargetIp      string           `position:"Query" name:"HealthCheckTargetIp"`
 	AccessPointId            string           `position:"Query" name:"AccessPointId"`
+	OppositeRouterId         string           `position:"Query" name:"OppositeRouterId"`
 	OppositeAccessPointId    string           `position:"Query" name:"OppositeAccessPointId"`
+	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Role                     string           `position:"Query" name:"Role"`
+	ClientToken              string           `position:"Query" name:"ClientToken"`
+	HealthCheckTargetIp      string           `position:"Query" name:"HealthCheckTargetIp"`
 	Description              string           `position:"Query" name:"Description"`
-	Name                     string           `position:"Query" name:"Name"`
-	Period                   requests.Integer `position:"Query" name:"Period"`
+	Spec                     string           `position:"Query" name:"Spec"`
+	UserCidr                 string           `position:"Query" name:"UserCidr"`
+	OppositeInterfaceId      string           `position:"Query" name:"OppositeInterfaceId"`
 	InstanceChargeType       string           `position:"Query" name:"InstanceChargeType"`
+	Period                   requests.Integer `position:"Query" name:"Period"`
 	AutoPay                  requests.Boolean `position:"Query" name:"AutoPay"`
-	PricingCycle             string           `position:"Query" name:"PricingCycle"`
-	ClientToken              string           `position:"Query" name:"ClientToken"`
-	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	OppositeRegionId         string           `position:"Query" name:"OppositeRegionId"`
 	OwnerAccount             string           `position:"Query" name:"OwnerAccount"`
-	UserCidr                 string           `position:"Query" name:"UserCidr"`
+	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
+	OppositeInterfaceOwnerId string           `position:"Query" name:"OppositeInterfaceOwnerId"`
+	RouterType               string           `position:"Query" name:"RouterType"`
+	HealthCheckSourceIp      string           `position:"Query" name:"HealthCheckSourceIp"`
+	RouterId                 string           `position:"Query" name:"RouterId"`
+	OppositeRouterType       string           `position:"Query" name:"OppositeRouterType"`
+	Name                     string           `position:"Query" name:"Name"`
+	PricingCycle             string           `position:"Query" name:"PricingCycle"`
 }
 
 // CreateRouterInterfaceResponse is the response struct for api CreateRouterInterface

+ 12 - 11
services/ecs/create_security_group.go

@@ -76,24 +76,25 @@ func (client *Client) CreateSecurityGroupWithCallback(request *CreateSecurityGro
 // CreateSecurityGroupRequest is the request struct for api CreateSecurityGroup
 type CreateSecurityGroupRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Description          string           `position:"Query" name:"Description"`
+	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
+	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	SecurityGroupName    string           `position:"Query" name:"SecurityGroupName"`
-	VpcId                string           `position:"Query" name:"VpcId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
+	Description          string           `position:"Query" name:"Description"`
 	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityGroupName    string           `position:"Query" name:"SecurityGroupName"`
+	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
+	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
+	VpcId                string           `position:"Query" name:"VpcId"`
 	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
 	Tag3Value            string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
 }
 
 // CreateSecurityGroupResponse is the response struct for api CreateSecurityGroup

+ 11 - 11
services/ecs/create_snapshot.go

@@ -76,24 +76,24 @@ func (client *Client) CreateSnapshotWithCallback(request *CreateSnapshotRequest,
 // CreateSnapshotRequest is the request struct for api CreateSnapshot
 type CreateSnapshotRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DiskId               string           `position:"Query" name:"DiskId"`
-	SnapshotName         string           `position:"Query" name:"SnapshotName"`
-	Description          string           `position:"Query" name:"Description"`
+	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
+	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
+	Description          string           `position:"Query" name:"Description"`
+	SnapshotName         string           `position:"Query" name:"SnapshotName"`
 	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
 	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
+	DiskId               string           `position:"Query" name:"DiskId"`
 	Tag3Value            string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
 }
 
 // CreateSnapshotResponse is the response struct for api CreateSnapshot

+ 0 - 103
services/ecs/create_user_event.go

@@ -1,103 +0,0 @@
-package ecs
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CreateUserEvent invokes the ecs.CreateUserEvent API synchronously
-// api document: https://help.aliyun.com/api/ecs/createuserevent.html
-func (client *Client) CreateUserEvent(request *CreateUserEventRequest) (response *CreateUserEventResponse, err error) {
-	response = CreateCreateUserEventResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateUserEventWithChan invokes the ecs.CreateUserEvent API asynchronously
-// api document: https://help.aliyun.com/api/ecs/createuserevent.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserEventWithChan(request *CreateUserEventRequest) (<-chan *CreateUserEventResponse, <-chan error) {
-	responseChan := make(chan *CreateUserEventResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateUserEvent(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateUserEventWithCallback invokes the ecs.CreateUserEvent API asynchronously
-// api document: https://help.aliyun.com/api/ecs/createuserevent.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserEventWithCallback(request *CreateUserEventRequest, callback func(response *CreateUserEventResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateUserEventResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateUserEvent(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateUserEventRequest is the request struct for api CreateUserEvent
-type CreateUserEventRequest struct {
-	*requests.RpcRequest
-}
-
-// CreateUserEventResponse is the response struct for api CreateUserEvent
-type CreateUserEventResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	EventId   string `json:"EventId" xml:"EventId"`
-}
-
-// CreateCreateUserEventRequest creates a request to invoke CreateUserEvent API
-func CreateCreateUserEventRequest() (request *CreateUserEventRequest) {
-	request = &CreateUserEventRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Ecs", "2014-05-26", "CreateUserEvent", "ecs", "openAPI")
-	return
-}
-
-// CreateCreateUserEventResponse creates a response to parse from CreateUserEvent response
-func CreateCreateUserEventResponse() (response *CreateUserEventResponse) {
-	response = &CreateUserEventResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 6 - 6
services/ecs/create_v_switch.go

@@ -76,16 +76,16 @@ func (client *Client) CreateVSwitchWithCallback(request *CreateVSwitchRequest, c
 // CreateVSwitchRequest is the request struct for api CreateVSwitch
 type CreateVSwitchRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
-	CidrBlock            string           `position:"Query" name:"CidrBlock"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
 	VpcId                string           `position:"Query" name:"VpcId"`
 	VSwitchName          string           `position:"Query" name:"VSwitchName"`
-	Description          string           `position:"Query" name:"Description"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	CidrBlock            string           `position:"Query" name:"CidrBlock"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
+	Description          string           `position:"Query" name:"Description"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CreateVSwitchResponse is the response struct for api CreateVSwitch

+ 10 - 10
services/ecs/create_virtual_border_router.go

@@ -76,21 +76,21 @@ func (client *Client) CreateVirtualBorderRouterWithCallback(request *CreateVirtu
 // CreateVirtualBorderRouterRequest is the request struct for api CreateVirtualBorderRouter
 type CreateVirtualBorderRouterRequest struct {
 	*requests.RpcRequest
-	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
-	VbrOwnerId           requests.Integer `position:"Query" name:"VbrOwnerId"`
-	VlanId               requests.Integer `position:"Query" name:"VlanId"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	CircuitCode          string           `position:"Query" name:"CircuitCode"`
-	LocalGatewayIp       string           `position:"Query" name:"LocalGatewayIp"`
-	PeerGatewayIp        string           `position:"Query" name:"PeerGatewayIp"`
-	PeeringSubnetMask    string           `position:"Query" name:"PeeringSubnetMask"`
-	Description          string           `position:"Query" name:"Description"`
-	Name                 string           `position:"Query" name:"Name"`
+	VlanId               requests.Integer `position:"Query" name:"VlanId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Description          string           `position:"Query" name:"Description"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PeerGatewayIp        string           `position:"Query" name:"PeerGatewayIp"`
+	PeeringSubnetMask    string           `position:"Query" name:"PeeringSubnetMask"`
+	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
+	Name                 string           `position:"Query" name:"Name"`
+	LocalGatewayIp       string           `position:"Query" name:"LocalGatewayIp"`
 	UserCidr             string           `position:"Query" name:"UserCidr"`
+	VbrOwnerId           requests.Integer `position:"Query" name:"VbrOwnerId"`
 }
 
 // CreateVirtualBorderRouterResponse is the response struct for api CreateVirtualBorderRouter

+ 0 - 125
services/ecs/create_volume.go

@@ -1,125 +0,0 @@
-package ecs
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CreateVolume invokes the ecs.CreateVolume API synchronously
-// api document: https://help.aliyun.com/api/ecs/createvolume.html
-func (client *Client) CreateVolume(request *CreateVolumeRequest) (response *CreateVolumeResponse, err error) {
-	response = CreateCreateVolumeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateVolumeWithChan invokes the ecs.CreateVolume API asynchronously
-// api document: https://help.aliyun.com/api/ecs/createvolume.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateVolumeWithChan(request *CreateVolumeRequest) (<-chan *CreateVolumeResponse, <-chan error) {
-	responseChan := make(chan *CreateVolumeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateVolume(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateVolumeWithCallback invokes the ecs.CreateVolume API asynchronously
-// api document: https://help.aliyun.com/api/ecs/createvolume.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateVolumeWithCallback(request *CreateVolumeRequest, callback func(response *CreateVolumeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateVolumeResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateVolume(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateVolumeRequest is the request struct for api CreateVolume
-type CreateVolumeRequest struct {
-	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
-	SnapshotId           string           `position:"Query" name:"SnapshotId"`
-	VolumeName           string           `position:"Query" name:"VolumeName"`
-	Size                 requests.Integer `position:"Query" name:"Size"`
-	VolumeCategory       string           `position:"Query" name:"VolumeCategory"`
-	Description          string           `position:"Query" name:"Description"`
-	VolumeEncrypted      requests.Boolean `position:"Query" name:"VolumeEncrypted"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
-	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
-	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
-	Tag3Value            string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
-}
-
-// CreateVolumeResponse is the response struct for api CreateVolume
-type CreateVolumeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	VolumeId  string `json:"VolumeId" xml:"VolumeId"`
-}
-
-// CreateCreateVolumeRequest creates a request to invoke CreateVolume API
-func CreateCreateVolumeRequest() (request *CreateVolumeRequest) {
-	request = &CreateVolumeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Ecs", "2014-05-26", "CreateVolume", "ecs", "openAPI")
-	return
-}
-
-// CreateCreateVolumeResponse creates a response to parse from CreateVolume response
-func CreateCreateVolumeResponse() (response *CreateVolumeResponse) {
-	response = &CreateVolumeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 5 - 5
services/ecs/create_vpc.go

@@ -76,15 +76,15 @@ func (client *Client) CreateVpcWithCallback(request *CreateVpcRequest, callback
 // CreateVpcRequest is the request struct for api CreateVpc
 type CreateVpcRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	CidrBlock            string           `position:"Query" name:"CidrBlock"`
 	VpcName              string           `position:"Query" name:"VpcName"`
-	Description          string           `position:"Query" name:"Description"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	CidrBlock            string           `position:"Query" name:"CidrBlock"`
+	Description          string           `position:"Query" name:"Description"`
 	UserCidr             string           `position:"Query" name:"UserCidr"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CreateVpcResponse is the response struct for api CreateVpc

+ 2 - 2
services/ecs/deactivate_router_interface.go

@@ -76,9 +76,9 @@ func (client *Client) DeactivateRouterInterfaceWithCallback(request *DeactivateR
 // DeactivateRouterInterfaceRequest is the request struct for api DeactivateRouterInterface
 type DeactivateRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
 }
 

+ 2 - 2
services/ecs/delete_auto_snapshot_policy.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteAutoSnapshotPolicyWithCallback(request *DeleteAutoSn
 // DeleteAutoSnapshotPolicyRequest is the request struct for api DeleteAutoSnapshotPolicy
 type DeleteAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	AutoSnapshotPolicyId string           `position:"Query" name:"autoSnapshotPolicyId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteAutoSnapshotPolicyResponse is the response struct for api DeleteAutoSnapshotPolicy

+ 3 - 3
services/ecs/delete_bandwidth_package.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteBandwidthPackageWithCallback(request *DeleteBandwidt
 // DeleteBandwidthPackageRequest is the request struct for api DeleteBandwidthPackage
 type DeleteBandwidthPackageRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	BandwidthPackageId   string           `position:"Query" name:"BandwidthPackageId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteBandwidthPackageResponse is the response struct for api DeleteBandwidthPackage

+ 5 - 0
services/ecs/delete_command.go

@@ -76,6 +76,11 @@ func (client *Client) DeleteCommandWithCallback(request *DeleteCommandRequest, c
 // DeleteCommandRequest is the request struct for api DeleteCommand
 type DeleteCommandRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	CommandId            string           `position:"Query" name:"CommandId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteCommandResponse is the response struct for api DeleteCommand

+ 3 - 3
services/ecs/delete_deployment_set.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteDeploymentSetWithCallback(request *DeleteDeploymentS
 // DeleteDeploymentSetRequest is the request struct for api DeleteDeploymentSet
 type DeleteDeploymentSetRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DeploymentSetId      string           `position:"Query" name:"DeploymentSetId"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteDeploymentSetResponse is the response struct for api DeleteDeploymentSet

+ 3 - 3
services/ecs/delete_disk.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteDiskWithCallback(request *DeleteDiskRequest, callbac
 // DeleteDiskRequest is the request struct for api DeleteDisk
 type DeleteDiskRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DiskId               string           `position:"Query" name:"DiskId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	DiskId               string           `position:"Query" name:"DiskId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteDiskResponse is the response struct for api DeleteDisk

+ 3 - 3
services/ecs/delete_forward_entry.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteForwardEntryWithCallback(request *DeleteForwardEntry
 // DeleteForwardEntryRequest is the request struct for api DeleteForwardEntry
 type DeleteForwardEntryRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ForwardEntryId       string           `position:"Query" name:"ForwardEntryId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	ForwardTableId       string           `position:"Query" name:"ForwardTableId"`
-	ForwardEntryId       string           `position:"Query" name:"ForwardEntryId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteForwardEntryResponse is the response struct for api DeleteForwardEntry

+ 4 - 4
services/ecs/delete_ha_vip.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteHaVipWithCallback(request *DeleteHaVipRequest, callb
 // DeleteHaVipRequest is the request struct for api DeleteHaVip
 type DeleteHaVipRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	HaVipId              string           `position:"Query" name:"HaVipId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	HaVipId              string           `position:"Query" name:"HaVipId"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteHaVipResponse is the response struct for api DeleteHaVip

+ 6 - 0
services/ecs/delete_hpc_cluster.go

@@ -76,6 +76,12 @@ func (client *Client) DeleteHpcClusterWithCallback(request *DeleteHpcClusterRequ
 // DeleteHpcClusterRequest is the request struct for api DeleteHpcCluster
 type DeleteHpcClusterRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	HpcClusterId         string           `position:"Query" name:"HpcClusterId"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteHpcClusterResponse is the response struct for api DeleteHpcCluster

+ 3 - 3
services/ecs/delete_image.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteImageWithCallback(request *DeleteImageRequest, callb
 // DeleteImageRequest is the request struct for api DeleteImage
 type DeleteImageRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ImageId              string           `position:"Query" name:"ImageId"`
-	Force                requests.Boolean `position:"Query" name:"Force"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Force                requests.Boolean `position:"Query" name:"Force"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteImageResponse is the response struct for api DeleteImage

+ 3 - 3
services/ecs/delete_instance.go

@@ -76,13 +76,13 @@ func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest,
 // DeleteInstanceRequest is the request struct for api DeleteInstance
 type DeleteInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	InstanceId            string           `position:"Query" name:"InstanceId"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
-	Force                 requests.Boolean `position:"Query" name:"Force"`
 	TerminateSubscription requests.Boolean `position:"Query" name:"TerminateSubscription"`
+	Force                 requests.Boolean `position:"Query" name:"Force"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteInstanceResponse is the response struct for api DeleteInstance

+ 2 - 2
services/ecs/delete_key_pairs.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteKeyPairsWithCallback(request *DeleteKeyPairsRequest,
 // DeleteKeyPairsRequest is the request struct for api DeleteKeyPairs
 type DeleteKeyPairsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	KeyPairNames         string           `position:"Query" name:"KeyPairNames"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteKeyPairsResponse is the response struct for api DeleteKeyPairs

+ 108 - 0
services/ecs/delete_launch_template.go

@@ -0,0 +1,108 @@
+package ecs
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteLaunchTemplate invokes the ecs.DeleteLaunchTemplate API synchronously
+// api document: https://help.aliyun.com/api/ecs/deletelaunchtemplate.html
+func (client *Client) DeleteLaunchTemplate(request *DeleteLaunchTemplateRequest) (response *DeleteLaunchTemplateResponse, err error) {
+	response = CreateDeleteLaunchTemplateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteLaunchTemplateWithChan invokes the ecs.DeleteLaunchTemplate API asynchronously
+// api document: https://help.aliyun.com/api/ecs/deletelaunchtemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLaunchTemplateWithChan(request *DeleteLaunchTemplateRequest) (<-chan *DeleteLaunchTemplateResponse, <-chan error) {
+	responseChan := make(chan *DeleteLaunchTemplateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteLaunchTemplate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteLaunchTemplateWithCallback invokes the ecs.DeleteLaunchTemplate API asynchronously
+// api document: https://help.aliyun.com/api/ecs/deletelaunchtemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLaunchTemplateWithCallback(request *DeleteLaunchTemplateRequest, callback func(response *DeleteLaunchTemplateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteLaunchTemplateResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteLaunchTemplate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteLaunchTemplateRequest is the request struct for api DeleteLaunchTemplate
+type DeleteLaunchTemplateRequest struct {
+	*requests.RpcRequest
+	LaunchTemplateName   string           `position:"Query" name:"LaunchTemplateName"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	LaunchTemplateId     string           `position:"Query" name:"LaunchTemplateId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteLaunchTemplateResponse is the response struct for api DeleteLaunchTemplate
+type DeleteLaunchTemplateResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteLaunchTemplateRequest creates a request to invoke DeleteLaunchTemplate API
+func CreateDeleteLaunchTemplateRequest() (request *DeleteLaunchTemplateRequest) {
+	request = &DeleteLaunchTemplateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ecs", "2014-05-26", "DeleteLaunchTemplate", "ecs", "openAPI")
+	return
+}
+
+// CreateDeleteLaunchTemplateResponse creates a response to parse from DeleteLaunchTemplate response
+func CreateDeleteLaunchTemplateResponse() (response *DeleteLaunchTemplateResponse) {
+	response = &DeleteLaunchTemplateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/ecs/delete_launch_template_version.go

@@ -0,0 +1,109 @@
+package ecs
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteLaunchTemplateVersion invokes the ecs.DeleteLaunchTemplateVersion API synchronously
+// api document: https://help.aliyun.com/api/ecs/deletelaunchtemplateversion.html
+func (client *Client) DeleteLaunchTemplateVersion(request *DeleteLaunchTemplateVersionRequest) (response *DeleteLaunchTemplateVersionResponse, err error) {
+	response = CreateDeleteLaunchTemplateVersionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteLaunchTemplateVersionWithChan invokes the ecs.DeleteLaunchTemplateVersion API asynchronously
+// api document: https://help.aliyun.com/api/ecs/deletelaunchtemplateversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLaunchTemplateVersionWithChan(request *DeleteLaunchTemplateVersionRequest) (<-chan *DeleteLaunchTemplateVersionResponse, <-chan error) {
+	responseChan := make(chan *DeleteLaunchTemplateVersionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteLaunchTemplateVersion(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteLaunchTemplateVersionWithCallback invokes the ecs.DeleteLaunchTemplateVersion API asynchronously
+// api document: https://help.aliyun.com/api/ecs/deletelaunchtemplateversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLaunchTemplateVersionWithCallback(request *DeleteLaunchTemplateVersionRequest, callback func(response *DeleteLaunchTemplateVersionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteLaunchTemplateVersionResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteLaunchTemplateVersion(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteLaunchTemplateVersionRequest is the request struct for api DeleteLaunchTemplateVersion
+type DeleteLaunchTemplateVersionRequest struct {
+	*requests.RpcRequest
+	LaunchTemplateName   string           `position:"Query" name:"LaunchTemplateName"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DeleteVersion        *[]string        `position:"Query" name:"DeleteVersion"  type:"Repeated"`
+	LaunchTemplateId     string           `position:"Query" name:"LaunchTemplateId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteLaunchTemplateVersionResponse is the response struct for api DeleteLaunchTemplateVersion
+type DeleteLaunchTemplateVersionResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteLaunchTemplateVersionRequest creates a request to invoke DeleteLaunchTemplateVersion API
+func CreateDeleteLaunchTemplateVersionRequest() (request *DeleteLaunchTemplateVersionRequest) {
+	request = &DeleteLaunchTemplateVersionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ecs", "2014-05-26", "DeleteLaunchTemplateVersion", "ecs", "openAPI")
+	return
+}
+
+// CreateDeleteLaunchTemplateVersionResponse creates a response to parse from DeleteLaunchTemplateVersion response
+func CreateDeleteLaunchTemplateVersionResponse() (response *DeleteLaunchTemplateVersionResponse) {
+	response = &DeleteLaunchTemplateVersionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/ecs/delete_nat_gateway.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteNatGatewayWithCallback(request *DeleteNatGatewayRequ
 // DeleteNatGatewayRequest is the request struct for api DeleteNatGateway
 type DeleteNatGatewayRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	NatGatewayId         string           `position:"Query" name:"NatGatewayId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteNatGatewayResponse is the response struct for api DeleteNatGateway

+ 5 - 0
services/ecs/delete_network_interface.go

@@ -76,6 +76,11 @@ func (client *Client) DeleteNetworkInterfaceWithCallback(request *DeleteNetworkI
 // DeleteNetworkInterfaceRequest is the request struct for api DeleteNetworkInterface
 type DeleteNetworkInterfaceRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	NetworkInterfaceId   string           `position:"Query" name:"NetworkInterfaceId"`
 }
 
 // DeleteNetworkInterfaceResponse is the response struct for api DeleteNetworkInterface

+ 6 - 0
services/ecs/delete_network_interface_permission.go

@@ -76,6 +76,12 @@ func (client *Client) DeleteNetworkInterfacePermissionWithCallback(request *Dele
 // DeleteNetworkInterfacePermissionRequest is the request struct for api DeleteNetworkInterfacePermission
 type DeleteNetworkInterfacePermissionRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId              requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	NetworkInterfacePermissionId string           `position:"Query" name:"NetworkInterfacePermissionId"`
+	ResourceOwnerAccount         string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                 string           `position:"Query" name:"OwnerAccount"`
+	OwnerId                      requests.Integer `position:"Query" name:"OwnerId"`
+	Force                        requests.Boolean `position:"Query" name:"Force"`
 }
 
 // DeleteNetworkInterfacePermissionResponse is the response struct for api DeleteNetworkInterfacePermission

+ 3 - 3
services/ecs/delete_physical_connection.go

@@ -76,13 +76,13 @@ func (client *Client) DeletePhysicalConnectionWithCallback(request *DeletePhysic
 // DeletePhysicalConnectionRequest is the request struct for api DeletePhysicalConnection
 type DeletePhysicalConnectionRequest struct {
 	*requests.RpcRequest
-	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	UserCidr             string           `position:"Query" name:"UserCidr"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeletePhysicalConnectionResponse is the response struct for api DeletePhysicalConnection

+ 3 - 3
services/ecs/delete_recycle_bin.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteRecycleBinWithCallback(request *DeleteRecycleBinRequ
 // DeleteRecycleBinRequest is the request struct for api DeleteRecycleBin
 type DeleteRecycleBinRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceIds          string           `position:"Query" name:"resourceIds"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ResourceIds          string           `position:"Query" name:"resourceIds"`
 }
 
 // DeleteRecycleBinResponse is the response struct for api DeleteRecycleBin

+ 5 - 5
services/ecs/delete_route_entry.go

@@ -76,14 +76,14 @@ func (client *Client) DeleteRouteEntryWithCallback(request *DeleteRouteEntryRequ
 // DeleteRouteEntryRequest is the request struct for api DeleteRouteEntry
 type DeleteRouteEntryRequest struct {
 	*requests.RpcRequest
-	NextHopList          *[]DeleteRouteEntryNextHopList `position:"Query" name:"NextHopList"  type:"Repeated"`
-	OwnerId              requests.Integer               `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string                         `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer               `position:"Query" name:"ResourceOwnerId"`
-	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
+	ResourceOwnerAccount string                         `position:"Query" name:"ResourceOwnerAccount"`
 	DestinationCidrBlock string                         `position:"Query" name:"DestinationCidrBlock"`
-	NextHopId            string                         `position:"Query" name:"NextHopId"`
 	OwnerAccount         string                         `position:"Query" name:"OwnerAccount"`
+	NextHopId            string                         `position:"Query" name:"NextHopId"`
+	OwnerId              requests.Integer               `position:"Query" name:"OwnerId"`
+	NextHopList          *[]DeleteRouteEntryNextHopList `position:"Query" name:"NextHopList"  type:"Repeated"`
+	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
 }
 
 // DeleteRouteEntryNextHopList is a repeated param struct in DeleteRouteEntryRequest

+ 3 - 3
services/ecs/delete_router_interface.go

@@ -76,13 +76,13 @@ func (client *Client) DeleteRouterInterfaceWithCallback(request *DeleteRouterInt
 // DeleteRouterInterfaceRequest is the request struct for api DeleteRouterInterface
 type DeleteRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	UserCidr             string           `position:"Query" name:"UserCidr"`
+	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteRouterInterfaceResponse is the response struct for api DeleteRouterInterface

+ 3 - 3
services/ecs/delete_security_group.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteSecurityGroupWithCallback(request *DeleteSecurityGro
 // DeleteSecurityGroupRequest is the request struct for api DeleteSecurityGroup
 type DeleteSecurityGroupRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SecurityGroupId      string           `position:"Query" name:"SecurityGroupId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	SecurityGroupId      string           `position:"Query" name:"SecurityGroupId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteSecurityGroupResponse is the response struct for api DeleteSecurityGroup

+ 3 - 3
services/ecs/delete_snapshot.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteSnapshotWithCallback(request *DeleteSnapshotRequest,
 // DeleteSnapshotRequest is the request struct for api DeleteSnapshot
 type DeleteSnapshotRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SnapshotId           string           `position:"Query" name:"SnapshotId"`
-	Force                requests.Boolean `position:"Query" name:"Force"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Force                requests.Boolean `position:"Query" name:"Force"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteSnapshotResponse is the response struct for api DeleteSnapshot

+ 3 - 3
services/ecs/delete_v_switch.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteVSwitchWithCallback(request *DeleteVSwitchRequest, c
 // DeleteVSwitchRequest is the request struct for api DeleteVSwitch
 type DeleteVSwitchRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	VSwitchId            string           `position:"Query" name:"VSwitchId"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteVSwitchResponse is the response struct for api DeleteVSwitch

+ 3 - 3
services/ecs/delete_virtual_border_router.go

@@ -76,13 +76,13 @@ func (client *Client) DeleteVirtualBorderRouterWithCallback(request *DeleteVirtu
 // DeleteVirtualBorderRouterRequest is the request struct for api DeleteVirtualBorderRouter
 type DeleteVirtualBorderRouterRequest struct {
 	*requests.RpcRequest
-	VbrId                string           `position:"Query" name:"VbrId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	UserCidr             string           `position:"Query" name:"UserCidr"`
+	VbrId                string           `position:"Query" name:"VbrId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteVirtualBorderRouterResponse is the response struct for api DeleteVirtualBorderRouter

+ 0 - 107
services/ecs/delete_volume.go

@@ -1,107 +0,0 @@
-package ecs
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DeleteVolume invokes the ecs.DeleteVolume API synchronously
-// api document: https://help.aliyun.com/api/ecs/deletevolume.html
-func (client *Client) DeleteVolume(request *DeleteVolumeRequest) (response *DeleteVolumeResponse, err error) {
-	response = CreateDeleteVolumeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteVolumeWithChan invokes the ecs.DeleteVolume API asynchronously
-// api document: https://help.aliyun.com/api/ecs/deletevolume.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteVolumeWithChan(request *DeleteVolumeRequest) (<-chan *DeleteVolumeResponse, <-chan error) {
-	responseChan := make(chan *DeleteVolumeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteVolume(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteVolumeWithCallback invokes the ecs.DeleteVolume API asynchronously
-// api document: https://help.aliyun.com/api/ecs/deletevolume.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteVolumeWithCallback(request *DeleteVolumeRequest, callback func(response *DeleteVolumeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteVolumeResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteVolume(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteVolumeRequest is the request struct for api DeleteVolume
-type DeleteVolumeRequest struct {
-	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	VolumeId             string           `position:"Query" name:"VolumeId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-}
-
-// DeleteVolumeResponse is the response struct for api DeleteVolume
-type DeleteVolumeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteVolumeRequest creates a request to invoke DeleteVolume API
-func CreateDeleteVolumeRequest() (request *DeleteVolumeRequest) {
-	request = &DeleteVolumeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Ecs", "2014-05-26", "DeleteVolume", "ecs", "openAPI")
-	return
-}
-
-// CreateDeleteVolumeResponse creates a response to parse from DeleteVolume response
-func CreateDeleteVolumeResponse() (response *DeleteVolumeResponse) {
-	response = &DeleteVolumeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/ecs/delete_vpc.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteVpcWithCallback(request *DeleteVpcRequest, callback
 // DeleteVpcRequest is the request struct for api DeleteVpc
 type DeleteVpcRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	VpcId                string           `position:"Query" name:"VpcId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteVpcResponse is the response struct for api DeleteVpc

+ 3 - 3
services/ecs/describe_access_points.go

@@ -77,12 +77,12 @@ func (client *Client) DescribeAccessPointsWithCallback(request *DescribeAccessPo
 type DescribeAccessPointsRequest struct {
 	*requests.RpcRequest
 	Filter               *[]DescribeAccessPointsFilter `position:"Query" name:"Filter"  type:"Repeated"`
-	OwnerId              requests.Integer              `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string                        `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer              `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string                        `position:"Query" name:"ResourceOwnerAccount"`
+	PageSize             requests.Integer              `position:"Query" name:"PageSize"`
+	OwnerId              requests.Integer              `position:"Query" name:"OwnerId"`
 	Type                 string                        `position:"Query" name:"Type"`
 	PageNumber           requests.Integer              `position:"Query" name:"PageNumber"`
-	PageSize             requests.Integer              `position:"Query" name:"PageSize"`
 }
 
 // DescribeAccessPointsFilter is a repeated param struct in DescribeAccessPointsRequest

+ 2 - 2
services/ecs/describe_auto_snapshot_policy.go

@@ -76,10 +76,10 @@ func (client *Client) DescribeAutoSnapshotPolicyWithCallback(request *DescribeAu
 // DescribeAutoSnapshotPolicyRequest is the request struct for api DescribeAutoSnapshotPolicy
 type DescribeAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeAutoSnapshotPolicyResponse is the response struct for api DescribeAutoSnapshotPolicy

+ 4 - 4
services/ecs/describe_auto_snapshot_policy_ex.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeAutoSnapshotPolicyExWithCallback(request *Describe
 // DescribeAutoSnapshotPolicyExRequest is the request struct for api DescribeAutoSnapshotPolicyEx
 type DescribeAutoSnapshotPolicyExRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	AutoSnapshotPolicyId string           `position:"Query" name:"AutoSnapshotPolicyId"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeAutoSnapshotPolicyExResponse is the response struct for api DescribeAutoSnapshotPolicyEx

+ 14 - 0
services/ecs/describe_available_resource.go

@@ -76,6 +76,20 @@ func (client *Client) DescribeAvailableResourceWithCallback(request *DescribeAva
 // DescribeAvailableResourceRequest is the request struct for api DescribeAvailableResource
 type DescribeAvailableResourceRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IoOptimized          string           `position:"Query" name:"IoOptimized"`
+	DataDiskCategory     string           `position:"Query" name:"DataDiskCategory"`
+	SystemDiskCategory   string           `position:"Query" name:"SystemDiskCategory"`
+	InstanceType         string           `position:"Query" name:"InstanceType"`
+	NetworkCategory      string           `position:"Query" name:"NetworkCategory"`
+	InstanceChargeType   string           `position:"Query" name:"InstanceChargeType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	DedicatedHostId      string           `position:"Query" name:"DedicatedHostId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	SpotStrategy         string           `position:"Query" name:"SpotStrategy"`
+	DestinationResource  string           `position:"Query" name:"DestinationResource"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
 }
 
 // DescribeAvailableResourceResponse is the response struct for api DescribeAvailableResource

+ 9 - 0
services/ecs/describe_bandwidth_limitation.go

@@ -76,6 +76,15 @@ func (client *Client) DescribeBandwidthLimitationWithCallback(request *DescribeB
 // DescribeBandwidthLimitationRequest is the request struct for api DescribeBandwidthLimitation
 type DescribeBandwidthLimitationRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	InstanceType         string           `position:"Query" name:"InstanceType"`
+	InstanceChargeType   string           `position:"Query" name:"InstanceChargeType"`
+	ResourceId           string           `position:"Query" name:"ResourceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OperationType        string           `position:"Query" name:"OperationType"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	SpotStrategy         string           `position:"Query" name:"SpotStrategy"`
 }
 
 // DescribeBandwidthLimitationResponse is the response struct for api DescribeBandwidthLimitation

+ 4 - 4
services/ecs/describe_bandwidth_packages.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeBandwidthPackagesWithCallback(request *DescribeBan
 // DescribeBandwidthPackagesRequest is the request struct for api DescribeBandwidthPackages
 type DescribeBandwidthPackagesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	BandwidthPackageId   string           `position:"Query" name:"BandwidthPackageId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	NatGatewayId         string           `position:"Query" name:"NatGatewayId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeBandwidthPackagesResponse is the response struct for api DescribeBandwidthPackages

+ 4 - 4
services/ecs/describe_classic_link_instances.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeClassicLinkInstancesWithCallback(request *Describe
 // DescribeClassicLinkInstancesRequest is the request struct for api DescribeClassicLinkInstances
 type DescribeClassicLinkInstancesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	VpcId                string           `position:"Query" name:"VpcId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
-	PageNumber           string           `position:"Query" name:"PageNumber"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	VpcId                string           `position:"Query" name:"VpcId"`
 	PageSize             string           `position:"Query" name:"PageSize"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNumber           string           `position:"Query" name:"PageNumber"`
 }
 
 // DescribeClassicLinkInstancesResponse is the response struct for api DescribeClassicLinkInstances

+ 5 - 0
services/ecs/describe_cloud_assistant_status.go

@@ -76,6 +76,11 @@ func (client *Client) DescribeCloudAssistantStatusWithCallback(request *Describe
 // DescribeCloudAssistantStatusRequest is the request struct for api DescribeCloudAssistantStatus
 type DescribeCloudAssistantStatusRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	InstanceId           *[]string        `position:"Query" name:"InstanceId"  type:"Repeated"`
 }
 
 // DescribeCloudAssistantStatusResponse is the response struct for api DescribeCloudAssistantStatus

+ 2 - 2
services/ecs/describe_clusters.go

@@ -76,10 +76,10 @@ func (client *Client) DescribeClustersWithCallback(request *DescribeClustersRequ
 // DescribeClustersRequest is the request struct for api DescribeClusters
 type DescribeClustersRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeClustersResponse is the response struct for api DescribeClusters

+ 10 - 0
services/ecs/describe_commands.go

@@ -76,6 +76,16 @@ func (client *Client) DescribeCommandsWithCallback(request *DescribeCommandsRequ
 // DescribeCommandsRequest is the request struct for api DescribeCommands
 type DescribeCommandsRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Description          string           `position:"Query" name:"Description"`
+	Type                 string           `position:"Query" name:"Type"`
+	CommandId            string           `position:"Query" name:"CommandId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Name                 string           `position:"Query" name:"Name"`
 }
 
 // DescribeCommandsResponse is the response struct for api DescribeCommands

+ 6 - 6
services/ecs/describe_deployment_set_topology.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeDeploymentSetTopologyWithCallback(request *Describ
 // DescribeDeploymentSetTopologyRequest is the request struct for api DescribeDeploymentSetTopology
 type DescribeDeploymentSetTopologyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DeploymentSetId      string           `position:"Query" name:"DeploymentSetId"`
-	NetworkType          string           `position:"Query" name:"NetworkType"`
-	Strategy             string           `position:"Query" name:"Strategy"`
-	DeploymentSetName    string           `position:"Query" name:"DeploymentSetName"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	Granularity          string           `position:"Query" name:"Granularity"`
 	Domain               string           `position:"Query" name:"Domain"`
+	NetworkType          string           `position:"Query" name:"NetworkType"`
+	DeploymentSetName    string           `position:"Query" name:"DeploymentSetName"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Strategy             string           `position:"Query" name:"Strategy"`
 }
 
 // DescribeDeploymentSetTopologyResponse is the response struct for api DescribeDeploymentSetTopology

+ 6 - 6
services/ecs/describe_deployment_sets.go

@@ -76,18 +76,18 @@ func (client *Client) DescribeDeploymentSetsWithCallback(request *DescribeDeploy
 // DescribeDeploymentSetsRequest is the request struct for api DescribeDeploymentSets
 type DescribeDeploymentSetsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	DeploymentSetIds     string           `position:"Query" name:"DeploymentSetIds"`
 	NetworkType          string           `position:"Query" name:"NetworkType"`
-	Strategy             string           `position:"Query" name:"Strategy"`
 	DeploymentSetName    string           `position:"Query" name:"DeploymentSetName"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	DeploymentSetIds     string           `position:"Query" name:"DeploymentSetIds"`
 	Granularity          string           `position:"Query" name:"Granularity"`
 	Domain               string           `position:"Query" name:"Domain"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	Strategy             string           `position:"Query" name:"Strategy"`
 }
 
 // DescribeDeploymentSetsResponse is the response struct for api DescribeDeploymentSets

+ 5 - 5
services/ecs/describe_disk_monitor_data.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeDiskMonitorDataWithCallback(request *DescribeDiskM
 // DescribeDiskMonitorDataRequest is the request struct for api DescribeDiskMonitorData
 type DescribeDiskMonitorDataRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DiskId               string           `position:"Query" name:"DiskId"`
-	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
 	Period               requests.Integer `position:"Query" name:"Period"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	DiskId               string           `position:"Query" name:"DiskId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDiskMonitorDataResponse is the response struct for api DescribeDiskMonitorData

+ 30 - 30
services/ecs/describe_disks.go

@@ -76,47 +76,47 @@ func (client *Client) DescribeDisksWithCallback(request *DescribeDisksRequest, c
 // DescribeDisksRequest is the request struct for api DescribeDisks
 type DescribeDisksRequest struct {
 	*requests.RpcRequest
-	OwnerId                       requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount          string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value                     string           `position:"Query" name:"Tag.4.Value"`
 	ResourceOwnerId               requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId                        string           `position:"Query" name:"ZoneId"`
-	DiskIds                       string           `position:"Query" name:"DiskIds"`
-	InstanceId                    string           `position:"Query" name:"InstanceId"`
-	DiskType                      string           `position:"Query" name:"DiskType"`
-	Category                      string           `position:"Query" name:"Category"`
-	Status                        string           `position:"Query" name:"Status"`
 	SnapshotId                    string           `position:"Query" name:"SnapshotId"`
-	Portable                      requests.Boolean `position:"Query" name:"Portable"`
-	DeleteWithInstance            requests.Boolean `position:"Query" name:"DeleteWithInstance"`
-	DeleteAutoSnapshot            requests.Boolean `position:"Query" name:"DeleteAutoSnapshot"`
+	Tag2Key                       string           `position:"Query" name:"Tag.2.Key"`
+	Filter2Value                  string           `position:"Query" name:"Filter.2.Value"`
+	AutoSnapshotPolicyId          string           `position:"Query" name:"AutoSnapshotPolicyId"`
+	Tag3Key                       string           `position:"Query" name:"Tag.3.Key"`
 	PageNumber                    requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize                      requests.Integer `position:"Query" name:"PageSize"`
-	OwnerAccount                  string           `position:"Query" name:"OwnerAccount"`
 	DiskName                      string           `position:"Query" name:"DiskName"`
-	AutoSnapshotPolicyId          string           `position:"Query" name:"AutoSnapshotPolicyId"`
-	EnableAutoSnapshot            requests.Boolean `position:"Query" name:"EnableAutoSnapshot"`
-	EnableAutomatedSnapshotPolicy requests.Boolean `position:"Query" name:"EnableAutomatedSnapshotPolicy"`
+	Tag1Value                     string           `position:"Query" name:"Tag.1.Value"`
+	DeleteAutoSnapshot            requests.Boolean `position:"Query" name:"DeleteAutoSnapshot"`
+	ResourceGroupId               string           `position:"Query" name:"ResourceGroupId"`
 	DiskChargeType                string           `position:"Query" name:"DiskChargeType"`
 	LockReason                    string           `position:"Query" name:"LockReason"`
 	Filter1Key                    string           `position:"Query" name:"Filter.1.Key"`
-	Filter2Key                    string           `position:"Query" name:"Filter.2.Key"`
-	Filter1Value                  string           `position:"Query" name:"Filter.1.Value"`
-	Filter2Value                  string           `position:"Query" name:"Filter.2.Value"`
-	Tag1Key                       string           `position:"Query" name:"Tag.1.Key"`
-	Tag2Key                       string           `position:"Query" name:"Tag.2.Key"`
-	Tag3Key                       string           `position:"Query" name:"Tag.3.Key"`
-	Tag4Key                       string           `position:"Query" name:"Tag.4.Key"`
-	Tag5Key                       string           `position:"Query" name:"Tag.5.Key"`
-	Tag1Value                     string           `position:"Query" name:"Tag.1.Value"`
-	Tag2Value                     string           `position:"Query" name:"Tag.2.Value"`
+	PageSize                      requests.Integer `position:"Query" name:"PageSize"`
+	DiskIds                       string           `position:"Query" name:"DiskIds"`
+	DeleteWithInstance            requests.Boolean `position:"Query" name:"DeleteWithInstance"`
 	Tag3Value                     string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Value                     string           `position:"Query" name:"Tag.4.Value"`
+	EnableAutoSnapshot            requests.Boolean `position:"Query" name:"EnableAutoSnapshot"`
+	DryRun                        requests.Boolean `position:"Query" name:"DryRun"`
+	Tag5Key                       string           `position:"Query" name:"Tag.5.Key"`
+	ResourceOwnerAccount          string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                  string           `position:"Query" name:"OwnerAccount"`
+	Filter1Value                  string           `position:"Query" name:"Filter.1.Value"`
+	Portable                      requests.Boolean `position:"Query" name:"Portable"`
+	EnableAutomatedSnapshotPolicy requests.Boolean `position:"Query" name:"EnableAutomatedSnapshotPolicy"`
+	Filter2Key                    string           `position:"Query" name:"Filter.2.Key"`
+	OwnerId                       requests.Integer `position:"Query" name:"OwnerId"`
+	DiskType                      string           `position:"Query" name:"DiskType"`
 	Tag5Value                     string           `position:"Query" name:"Tag.5.Value"`
-	ResourceGroupId               string           `position:"Query" name:"ResourceGroupId"`
+	Tag1Key                       string           `position:"Query" name:"Tag.1.Key"`
+	AdditionalAttributes          *[]string        `position:"Query" name:"AdditionalAttributes"  type:"Repeated"`
 	EnableShared                  requests.Boolean `position:"Query" name:"EnableShared"`
+	InstanceId                    string           `position:"Query" name:"InstanceId"`
 	Encrypted                     requests.Boolean `position:"Query" name:"Encrypted"`
-	AdditionalAttributes          *[]string        `position:"Query" name:"AdditionalAttributes"  type:"Repeated"`
-	DryRun                        requests.Boolean `position:"Query" name:"DryRun"`
+	Tag2Value                     string           `position:"Query" name:"Tag.2.Value"`
+	ZoneId                        string           `position:"Query" name:"ZoneId"`
+	Tag4Key                       string           `position:"Query" name:"Tag.4.Key"`
+	Category                      string           `position:"Query" name:"Category"`
+	Status                        string           `position:"Query" name:"Status"`
 }
 
 // DescribeDisksResponse is the response struct for api DescribeDisks

+ 13 - 0
services/ecs/describe_disks_full_status.go

@@ -76,6 +76,19 @@ func (client *Client) DescribeDisksFullStatusWithCallback(request *DescribeDisks
 // DescribeDisksFullStatusRequest is the request struct for api DescribeDisksFullStatus
 type DescribeDisksFullStatusRequest struct {
 	*requests.RpcRequest
+	EventId              *[]string        `position:"Query" name:"EventId"  type:"Repeated"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	EventTimeStart       string           `position:"Query" name:"EventTime.Start"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DiskId               *[]string        `position:"Query" name:"DiskId"  type:"Repeated"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	EventTimeEnd         string           `position:"Query" name:"EventTime.End"`
+	HealthStatus         string           `position:"Query" name:"HealthStatus"`
+	EventType            string           `position:"Query" name:"EventType"`
+	Status               string           `position:"Query" name:"Status"`
 }
 
 // DescribeDisksFullStatusResponse is the response struct for api DescribeDisksFullStatus

+ 11 - 11
services/ecs/describe_eip_addresses.go

@@ -76,23 +76,23 @@ func (client *Client) DescribeEipAddressesWithCallback(request *DescribeEipAddre
 // DescribeEipAddressesRequest is the request struct for api DescribeEipAddresses
 type DescribeEipAddressesRequest struct {
 	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Status                 string           `position:"Query" name:"Status"`
-	EipAddress             string           `position:"Query" name:"EipAddress"`
-	AllocationId           string           `position:"Query" name:"AllocationId"`
-	PageNumber             requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize               requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
+	Filter2Value           string           `position:"Query" name:"Filter.2.Value"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	Filter1Key             string           `position:"Query" name:"Filter.1.Key"`
-	Filter2Key             string           `position:"Query" name:"Filter.2.Key"`
+	AllocationId           string           `position:"Query" name:"AllocationId"`
 	Filter1Value           string           `position:"Query" name:"Filter.1.Value"`
-	Filter2Value           string           `position:"Query" name:"Filter.2.Value"`
+	Filter2Key             string           `position:"Query" name:"Filter.2.Key"`
+	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	EipAddress             string           `position:"Query" name:"EipAddress"`
+	PageNumber             requests.Integer `position:"Query" name:"PageNumber"`
 	LockReason             string           `position:"Query" name:"LockReason"`
+	Filter1Key             string           `position:"Query" name:"Filter.1.Key"`
 	AssociatedInstanceType string           `position:"Query" name:"AssociatedInstanceType"`
-	AssociatedInstanceId   string           `position:"Query" name:"AssociatedInstanceId"`
+	PageSize               requests.Integer `position:"Query" name:"PageSize"`
 	ChargeType             string           `position:"Query" name:"ChargeType"`
+	AssociatedInstanceId   string           `position:"Query" name:"AssociatedInstanceId"`
+	Status                 string           `position:"Query" name:"Status"`
 }
 
 // DescribeEipAddressesResponse is the response struct for api DescribeEipAddresses

+ 5 - 5
services/ecs/describe_eip_monitor_data.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeEipMonitorDataWithCallback(request *DescribeEipMon
 // DescribeEipMonitorDataRequest is the request struct for api DescribeEipMonitorData
 type DescribeEipMonitorDataRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	AllocationId         string           `position:"Query" name:"AllocationId"`
-	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
 	Period               requests.Integer `position:"Query" name:"Period"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	AllocationId         string           `position:"Query" name:"AllocationId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeEipMonitorDataResponse is the response struct for api DescribeEipMonitorData

Vissa filer visades inte eftersom för många filer har ändrats