Parcourir la source

Merge branch 'master' into test

gaort il y a 7 ans
Parent
commit
dec2cdaea3
100 fichiers modifiés avec 3068 ajouts et 358 suppressions
  1. 11 0
      ChangeLog.txt
  2. 67 0
      services/aegis/client.go
  3. 100 0
      services/aegis/create_instance.go
  4. 93 0
      services/aegis/delete_strategy.go
  5. 99 0
      services/aegis/describe_login_logs.go
  6. 101 0
      services/aegis/describe_strategy_target.go
  7. 107 0
      services/aegis/describe_stratety.go
  8. 110 0
      services/aegis/describe_stratety_detail.go
  9. 97 0
      services/aegis/describe_suspicious_events.go
  10. 127 0
      services/aegis/describe_vul_details.go
  11. 116 0
      services/aegis/describe_vul_list.go
  12. 106 0
      services/aegis/describe_warning.go
  13. 97 0
      services/aegis/describe_webshell.go
  14. 99 0
      services/aegis/get_account_statistics.go
  15. 98 0
      services/aegis/get_crack_statistics.go
  16. 122 0
      services/aegis/get_entity_list.go
  17. 101 0
      services/aegis/get_statistics.go
  18. 104 0
      services/aegis/get_statistics_by_uuid.go
  19. 96 0
      services/aegis/modify_batch_ignore_vul.go
  20. 103 0
      services/aegis/modify_strategy.go
  21. 95 0
      services/aegis/modify_strategy_target.go
  22. 127 0
      services/aegis/query_crack_event.go
  23. 125 0
      services/aegis/query_login_event.go
  24. 92 0
      services/aegis/release_instance.go
  25. 97 0
      services/aegis/renew_instance.go
  26. 96 0
      services/aegis/upgrade_instance.go
  27. 2 2
      services/ecs/activate_router_interface.go
  28. 4 4
      services/ecs/add_bandwidth_package_ips.go
  29. 3 3
      services/ecs/add_ip_range.go
  30. 9 9
      services/ecs/add_tags.go
  31. 3 3
      services/ecs/allocate_eip_address.go
  32. 4 4
      services/ecs/allocate_public_ip_address.go
  33. 2 2
      services/ecs/apply_auto_snapshot_policy.go
  34. 4 4
      services/ecs/associate_eip_address.go
  35. 4 4
      services/ecs/associate_ha_vip.go
  36. 2 2
      services/ecs/attach_classic_link_vpc.go
  37. 5 5
      services/ecs/attach_disk.go
  38. 1 1
      services/ecs/attach_instance_ram_role.go
  39. 1 1
      services/ecs/attach_key_pair.go
  40. 2 2
      services/ecs/attach_network_interface.go
  41. 12 12
      services/ecs/authorize_security_group.go
  42. 11 11
      services/ecs/authorize_security_group_egress.go
  43. 3 3
      services/ecs/bind_ip_range.go
  44. 3 3
      services/ecs/cancel_agreement.go
  45. 2 2
      services/ecs/cancel_auto_snapshot_policy.go
  46. 2 2
      services/ecs/cancel_copy_image.go
  47. 4 4
      services/ecs/cancel_physical_connection.go
  48. 2 2
      services/ecs/cancel_task.go
  49. 6 6
      services/ecs/check_auto_snapshot_policy.go
  50. 2 2
      services/ecs/check_disk_enable_auto_snapshot_validation.go
  51. 2 2
      services/ecs/connect_router_interface.go
  52. 2 2
      services/ecs/convert_nat_public_ip_to_eip.go
  53. 12 12
      services/ecs/copy_image.go
  54. 3 3
      services/ecs/create_auto_snapshot_policy.go
  55. 5 5
      services/ecs/create_command.go
  56. 6 6
      services/ecs/create_deployment_set.go
  57. 15 15
      services/ecs/create_disk.go
  58. 7 7
      services/ecs/create_forward_entry.go
  59. 4 4
      services/ecs/create_ha_vip.go
  60. 4 4
      services/ecs/create_hpc_cluster.go
  61. 16 16
      services/ecs/create_image.go
  62. 43 43
      services/ecs/create_instance.go
  63. 1 1
      services/ecs/create_key_pair.go
  64. 6 6
      services/ecs/create_nat_gateway.go
  65. 6 6
      services/ecs/create_network_interface.go
  66. 10 10
      services/ecs/create_physical_connection.go
  67. 7 7
      services/ecs/create_route_entry.go
  68. 14 14
      services/ecs/create_router_interface.go
  69. 10 10
      services/ecs/create_security_group.go
  70. 10 10
      services/ecs/create_snapshot.go
  71. 6 6
      services/ecs/create_v_switch.go
  72. 9 9
      services/ecs/create_virtual_border_router.go
  73. 4 4
      services/ecs/create_vpc.go
  74. 2 2
      services/ecs/deactivate_router_interface.go
  75. 1 1
      services/ecs/delete_auto_snapshot_policy.go
  76. 2 2
      services/ecs/delete_bandwidth_package.go
  77. 2 2
      services/ecs/delete_command.go
  78. 1 1
      services/ecs/delete_deployment_set.go
  79. 2 2
      services/ecs/delete_disk.go
  80. 2 2
      services/ecs/delete_forward_entry.go
  81. 3 3
      services/ecs/delete_ha_vip.go
  82. 3 3
      services/ecs/delete_hpc_cluster.go
  83. 3 3
      services/ecs/delete_image.go
  84. 3 3
      services/ecs/delete_instance.go
  85. 1 1
      services/ecs/delete_key_pairs.go
  86. 2 2
      services/ecs/delete_nat_gateway.go
  87. 1 1
      services/ecs/delete_network_interface.go
  88. 4 4
      services/ecs/delete_physical_connection.go
  89. 1 1
      services/ecs/delete_recycle_bin.go
  90. 5 5
      services/ecs/delete_route_entry.go
  91. 4 4
      services/ecs/delete_router_interface.go
  92. 2 2
      services/ecs/delete_security_group.go
  93. 3 3
      services/ecs/delete_snapshot.go
  94. 1 1
      services/ecs/delete_v_switch.go
  95. 4 4
      services/ecs/delete_virtual_border_router.go
  96. 2 2
      services/ecs/delete_vpc.go
  97. 5 5
      services/ecs/describe_access_points.go
  98. 1 1
      services/ecs/describe_auto_snapshot_policy.go
  99. 3 3
      services/ecs/describe_auto_snapshot_policy_ex.go
  100. 124 0
      services/ecs/describe_available_resource.go

+ 11 - 0
ChangeLog.txt

@@ -1,3 +1,14 @@
+2018-02-09 Version: 0.12.0
+1, Aliyun E-HPC service SDK, initial version.
+2, Include APIs of E-HPC clusters, nodes, users, jobs, job templates etc.
+
+2018-02-07 Version: 0.11.4
+1, add the access interface of logs such as vulnerabilities, baselines, exceptions, etc.
+
+2018-02-06 Version: 0.11.3
+1, ModifyInstanceChargeType add instanceChargeType param, support prepay instance to postpay instance.
+2, ModifyPrepayInstanceSpec add operatorType param, support downgrade prepay ecs.
+
 2018-02-02 Version: 0.11.2
 1, this version is new of captcha management and nvc analyze
 

+ 67 - 0
services/aegis/client.go

@@ -0,0 +1,67 @@
+package aegis
+
+//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"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+)
+
+type Client struct {
+	sdk.Client
+}
+
+func NewClient() (client *Client, err error) {
+	client = &Client{}
+	err = client.Init()
+	return
+}
+
+func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithOptions(regionId, config, credential)
+	return
+}
+
+func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	return
+}
+
+func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	return
+}
+
+func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	return
+}
+
+func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithEcsRamRole(regionId, roleName)
+	return
+}
+
+func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	return
+}

+ 100 - 0
services/aegis/create_instance.go

@@ -0,0 +1,100 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error) {
+	response = CreateCreateInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) CreateInstanceWithChan(request *CreateInstanceRequest) (<-chan *CreateInstanceResponse, <-chan error) {
+	responseChan := make(chan *CreateInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest, callback func(response *CreateInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type CreateInstanceRequest struct {
+	*requests.RpcRequest
+	Duration          requests.Integer `position:"Query" name:"Duration"`
+	IsAutoRenew       requests.Boolean `position:"Query" name:"IsAutoRenew"`
+	ClientToken       string           `position:"Query" name:"ClientToken"`
+	VmNumber          requests.Integer `position:"Query" name:"VmNumber"`
+	OwnerId           requests.Integer `position:"Query" name:"OwnerId"`
+	VersionCode       requests.Integer `position:"Query" name:"VersionCode"`
+	PricingCycle      string           `position:"Query" name:"PricingCycle"`
+	AutoRenewDuration requests.Integer `position:"Query" name:"AutoRenewDuration"`
+}
+
+type CreateInstanceResponse struct {
+	*responses.BaseResponse
+	OrderId    string `json:"OrderId" xml:"OrderId"`
+	InstanceId string `json:"InstanceId" xml:"InstanceId"`
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+}
+
+func CreateCreateInstanceRequest() (request *CreateInstanceRequest) {
+	request = &CreateInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "CreateInstance", "vipaegis", "openAPI")
+	return
+}
+
+func CreateCreateInstanceResponse() (response *CreateInstanceResponse) {
+	response = &CreateInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 93 - 0
services/aegis/delete_strategy.go

@@ -0,0 +1,93 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DeleteStrategy(request *DeleteStrategyRequest) (response *DeleteStrategyResponse, err error) {
+	response = CreateDeleteStrategyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DeleteStrategyWithChan(request *DeleteStrategyRequest) (<-chan *DeleteStrategyResponse, <-chan error) {
+	responseChan := make(chan *DeleteStrategyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteStrategy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DeleteStrategyWithCallback(request *DeleteStrategyRequest, callback func(response *DeleteStrategyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteStrategyResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteStrategy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DeleteStrategyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Id              string           `position:"Query" name:"Id"`
+}
+
+type DeleteStrategyResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+func CreateDeleteStrategyRequest() (request *DeleteStrategyRequest) {
+	request = &DeleteStrategyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DeleteStrategy", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDeleteStrategyResponse() (response *DeleteStrategyResponse) {
+	response = &DeleteStrategyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 99 - 0
services/aegis/describe_login_logs.go

@@ -0,0 +1,99 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeLoginLogs(request *DescribeLoginLogsRequest) (response *DescribeLoginLogsResponse, err error) {
+	response = CreateDescribeLoginLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeLoginLogsWithChan(request *DescribeLoginLogsRequest) (<-chan *DescribeLoginLogsResponse, <-chan error) {
+	responseChan := make(chan *DescribeLoginLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLoginLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeLoginLogsWithCallback(request *DescribeLoginLogsRequest, callback func(response *DescribeLoginLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLoginLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLoginLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeLoginLogsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+}
+
+type DescribeLoginLogsResponse struct {
+	*responses.BaseResponse
+	RequestId      string   `json:"RequestId" xml:"RequestId"`
+	PageSize       int      `json:"PageSize" xml:"PageSize"`
+	CurrentPage    int      `json:"CurrentPage" xml:"CurrentPage"`
+	TotalCount     int      `json:"TotalCount" xml:"TotalCount"`
+	HttpStatusCode int      `json:"HttpStatusCode" xml:"HttpStatusCode"`
+	LoginLogs      []string `json:"LoginLogs" xml:"LoginLogs"`
+}
+
+func CreateDescribeLoginLogsRequest() (request *DescribeLoginLogsRequest) {
+	request = &DescribeLoginLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeLoginLogs", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeLoginLogsResponse() (response *DescribeLoginLogsResponse) {
+	response = &DescribeLoginLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 101 - 0
services/aegis/describe_strategy_target.go

@@ -0,0 +1,101 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeStrategyTarget(request *DescribeStrategyTargetRequest) (response *DescribeStrategyTargetResponse, err error) {
+	response = CreateDescribeStrategyTargetResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeStrategyTargetWithChan(request *DescribeStrategyTargetRequest) (<-chan *DescribeStrategyTargetResponse, <-chan error) {
+	responseChan := make(chan *DescribeStrategyTargetResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeStrategyTarget(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeStrategyTargetWithCallback(request *DescribeStrategyTargetRequest, callback func(response *DescribeStrategyTargetResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeStrategyTargetResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeStrategyTarget(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeStrategyTargetRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Type            string           `position:"Query" name:"Type"`
+	Config          string           `position:"Query" name:"Config"`
+	Target          string           `position:"Query" name:"Target"`
+}
+
+type DescribeStrategyTargetResponse struct {
+	*responses.BaseResponse
+	RequestId       string `json:"RequestId" xml:"RequestId"`
+	Count           int    `json:"Count" xml:"Count"`
+	StrategyTargets []struct {
+		Flag       string `json:"Flag" xml:"Flag"`
+		Target     string `json:"Target" xml:"Target"`
+		TargetType string `json:"TargetType" xml:"TargetType"`
+	} `json:"StrategyTargets" xml:"StrategyTargets"`
+}
+
+func CreateDescribeStrategyTargetRequest() (request *DescribeStrategyTargetRequest) {
+	request = &DescribeStrategyTargetRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeStrategyTarget", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeStrategyTargetResponse() (response *DescribeStrategyTargetResponse) {
+	response = &DescribeStrategyTargetResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/aegis/describe_stratety.go

@@ -0,0 +1,107 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeStratety(request *DescribeStratetyRequest) (response *DescribeStratetyResponse, err error) {
+	response = CreateDescribeStratetyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeStratetyWithChan(request *DescribeStratetyRequest) (<-chan *DescribeStratetyResponse, <-chan error) {
+	responseChan := make(chan *DescribeStratetyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeStratety(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeStratetyWithCallback(request *DescribeStratetyRequest, callback func(response *DescribeStratetyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeStratetyResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeStratety(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeStratetyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+}
+
+type DescribeStratetyResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	Count      int    `json:"Count" xml:"Count"`
+	Strategies []struct {
+		CycleDays      int    `json:"CycleDays" xml:"CycleDays"`
+		Id             int    `json:"Id" xml:"Id"`
+		CycleStartTime int    `json:"CycleStartTime" xml:"CycleStartTime"`
+		Type           int    `json:"Type" xml:"Type"`
+		Name           string `json:"Name" xml:"Name"`
+		RiskCount      int    `json:"RiskCount" xml:"RiskCount"`
+		EcsCount       int    `json:"EcsCount" xml:"EcsCount"`
+		ConfigTargets  []struct {
+			Flag       string `json:"Flag" xml:"Flag"`
+			TargetType string `json:"TargetType" xml:"TargetType"`
+			Target     string `json:"Target" xml:"Target"`
+		} `json:"ConfigTargets" xml:"ConfigTargets"`
+	} `json:"Strategies" xml:"Strategies"`
+}
+
+func CreateDescribeStratetyRequest() (request *DescribeStratetyRequest) {
+	request = &DescribeStratetyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeStratety", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeStratetyResponse() (response *DescribeStratetyResponse) {
+	response = &DescribeStratetyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/aegis/describe_stratety_detail.go

@@ -0,0 +1,110 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeStratetyDetail(request *DescribeStratetyDetailRequest) (response *DescribeStratetyDetailResponse, err error) {
+	response = CreateDescribeStratetyDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeStratetyDetailWithChan(request *DescribeStratetyDetailRequest) (<-chan *DescribeStratetyDetailResponse, <-chan error) {
+	responseChan := make(chan *DescribeStratetyDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeStratetyDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeStratetyDetailWithCallback(request *DescribeStratetyDetailRequest, callback func(response *DescribeStratetyDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeStratetyDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeStratetyDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeStratetyDetailRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Id              string           `position:"Query" name:"Id"`
+}
+
+type DescribeStratetyDetailResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Strategy  struct {
+		CycleDays                        int    `json:"CycleDays" xml:"CycleDays"`
+		Name                             string `json:"Name" xml:"Name"`
+		Id                               int    `json:"Id" xml:"Id"`
+		CycleStartTime                   int    `json:"CycleStartTime" xml:"CycleStartTime"`
+		Type                             int    `json:"Type" xml:"Type"`
+		RiskTypeWhiteListQueryResultList []struct {
+			TypeName string `json:"TypeName" xml:"TypeName"`
+			Alias    string `json:"Alias" xml:"Alias"`
+			On       bool   `json:"On" xml:"On"`
+			SubTypes []struct {
+				TypeName string `json:"TypeName" xml:"TypeName"`
+				Alias    string `json:"Alias" xml:"Alias"`
+				On       bool   `json:"On" xml:"On"`
+			} `json:"SubTypes" xml:"SubTypes"`
+		} `json:"RiskTypeWhiteListQueryResultList" xml:"RiskTypeWhiteListQueryResultList"`
+	} `json:"Strategy" xml:"Strategy"`
+}
+
+func CreateDescribeStratetyDetailRequest() (request *DescribeStratetyDetailRequest) {
+	request = &DescribeStratetyDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeStratetyDetail", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeStratetyDetailResponse() (response *DescribeStratetyDetailResponse) {
+	response = &DescribeStratetyDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 97 - 0
services/aegis/describe_suspicious_events.go

@@ -0,0 +1,97 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeSuspiciousEvents(request *DescribeSuspiciousEventsRequest) (response *DescribeSuspiciousEventsResponse, err error) {
+	response = CreateDescribeSuspiciousEventsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeSuspiciousEventsWithChan(request *DescribeSuspiciousEventsRequest) (<-chan *DescribeSuspiciousEventsResponse, <-chan error) {
+	responseChan := make(chan *DescribeSuspiciousEventsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSuspiciousEvents(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeSuspiciousEventsWithCallback(request *DescribeSuspiciousEventsRequest, callback func(response *DescribeSuspiciousEventsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSuspiciousEventsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSuspiciousEvents(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeSuspiciousEventsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+}
+
+type DescribeSuspiciousEventsResponse struct {
+	*responses.BaseResponse
+	RequestId        string   `json:"RequestId" xml:"RequestId"`
+	PageSize         int      `json:"PageSize" xml:"PageSize"`
+	TotalCount       int      `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage      int      `json:"CurrentPage" xml:"CurrentPage"`
+	HttpStatusCode   int      `json:"HttpStatusCode" xml:"HttpStatusCode"`
+	SuspiciousEvents []string `json:"SuspiciousEvents" xml:"SuspiciousEvents"`
+}
+
+func CreateDescribeSuspiciousEventsRequest() (request *DescribeSuspiciousEventsRequest) {
+	request = &DescribeSuspiciousEventsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeSuspiciousEvents", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeSuspiciousEventsResponse() (response *DescribeSuspiciousEventsResponse) {
+	response = &DescribeSuspiciousEventsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 127 - 0
services/aegis/describe_vul_details.go

@@ -0,0 +1,127 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeVulDetails(request *DescribeVulDetailsRequest) (response *DescribeVulDetailsResponse, err error) {
+	response = CreateDescribeVulDetailsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeVulDetailsWithChan(request *DescribeVulDetailsRequest) (<-chan *DescribeVulDetailsResponse, <-chan error) {
+	responseChan := make(chan *DescribeVulDetailsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeVulDetails(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeVulDetailsWithCallback(request *DescribeVulDetailsRequest, callback func(response *DescribeVulDetailsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeVulDetailsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeVulDetails(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeVulDetailsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Product         string           `position:"Query" name:"Product"`
+	StatusList      string           `position:"Query" name:"StatusList"`
+	Level           string           `position:"Query" name:"Level"`
+	Resource        string           `position:"Query" name:"Resource"`
+	OrderBy         string           `position:"Query" name:"OrderBy"`
+	Dealed          string           `position:"Query" name:"Dealed"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+	Type            string           `position:"Query" name:"Type"`
+	LastTsEnd       requests.Integer `position:"Query" name:"LastTsEnd"`
+	BatchName       string           `position:"Query" name:"BatchName"`
+	PatchId         requests.Integer `position:"Query" name:"PatchId"`
+	AliasName       string           `position:"Query" name:"AliasName"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Name            string           `position:"Query" name:"Name"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	Lang            string           `position:"Query" name:"Lang"`
+	LastTsStart     requests.Integer `position:"Query" name:"LastTsStart"`
+	Necessity       string           `position:"Query" name:"Necessity"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	Direction       string           `position:"Query" name:"Direction"`
+}
+
+type DescribeVulDetailsResponse struct {
+	*responses.BaseResponse
+	RequestId      string   `json:"RequestId" xml:"RequestId"`
+	Name           string   `json:"Name" xml:"Name"`
+	AliasName      string   `json:"AliasName" xml:"AliasName"`
+	Level          string   `json:"Level" xml:"Level"`
+	VulPublishTs   int      `json:"VulPublishTs" xml:"VulPublishTs"`
+	Type           string   `json:"Type" xml:"Type"`
+	Product        string   `json:"Product" xml:"Product"`
+	HasPatch       bool     `json:"HasPatch" xml:"HasPatch"`
+	PatchPublishTs int      `json:"PatchPublishTs" xml:"PatchPublishTs"`
+	PatchSource    string   `json:"PatchSource" xml:"PatchSource"`
+	Cvss           string   `json:"Cvss" xml:"Cvss"`
+	CveIds         string   `json:"CveIds" xml:"CveIds"`
+	Advice         string   `json:"Advice" xml:"Advice"`
+	Description    string   `json:"Description" xml:"Description"`
+	PendingCount   int      `json:"PendingCount" xml:"PendingCount"`
+	HandledCount   int      `json:"HandledCount" xml:"HandledCount"`
+	CveLists       []string `json:"CveLists" xml:"CveLists"`
+}
+
+func CreateDescribeVulDetailsRequest() (request *DescribeVulDetailsRequest) {
+	request = &DescribeVulDetailsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeVulDetails", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeVulDetailsResponse() (response *DescribeVulDetailsResponse) {
+	response = &DescribeVulDetailsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/aegis/describe_vul_list.go

@@ -0,0 +1,116 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeVulList(request *DescribeVulListRequest) (response *DescribeVulListResponse, err error) {
+	response = CreateDescribeVulListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeVulListWithChan(request *DescribeVulListRequest) (<-chan *DescribeVulListResponse, <-chan error) {
+	responseChan := make(chan *DescribeVulListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeVulList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeVulListWithCallback(request *DescribeVulListRequest, callback func(response *DescribeVulListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeVulListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeVulList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeVulListRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Product         string           `position:"Query" name:"Product"`
+	StatusList      string           `position:"Query" name:"StatusList"`
+	Level           string           `position:"Query" name:"Level"`
+	Resource        string           `position:"Query" name:"Resource"`
+	OrderBy         string           `position:"Query" name:"OrderBy"`
+	Dealed          string           `position:"Query" name:"Dealed"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+	Type            string           `position:"Query" name:"Type"`
+	LastTsEnd       requests.Integer `position:"Query" name:"LastTsEnd"`
+	BatchName       string           `position:"Query" name:"BatchName"`
+	PatchId         requests.Integer `position:"Query" name:"PatchId"`
+	AliasName       string           `position:"Query" name:"AliasName"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Name            string           `position:"Query" name:"Name"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	Lang            string           `position:"Query" name:"Lang"`
+	LastTsStart     requests.Integer `position:"Query" name:"LastTsStart"`
+	Necessity       string           `position:"Query" name:"Necessity"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	Direction       string           `position:"Query" name:"Direction"`
+}
+
+type DescribeVulListResponse struct {
+	*responses.BaseResponse
+	RequestId   string   `json:"RequestId" xml:"RequestId"`
+	Count       int      `json:"Count" xml:"Count"`
+	PageSize    int      `json:"PageSize" xml:"PageSize"`
+	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
+	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
+	VulRecords  []string `json:"VulRecords" xml:"VulRecords"`
+}
+
+func CreateDescribeVulListRequest() (request *DescribeVulListRequest) {
+	request = &DescribeVulListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeVulList", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeVulListResponse() (response *DescribeVulListResponse) {
+	response = &DescribeVulListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/aegis/describe_warning.go

@@ -0,0 +1,106 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeWarning(request *DescribeWarningRequest) (response *DescribeWarningResponse, err error) {
+	response = CreateDescribeWarningResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeWarningWithChan(request *DescribeWarningRequest) (<-chan *DescribeWarningResponse, <-chan error) {
+	responseChan := make(chan *DescribeWarningResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeWarning(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeWarningWithCallback(request *DescribeWarningRequest, callback func(response *DescribeWarningResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeWarningResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeWarning(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeWarningRequest struct {
+	*requests.RpcRequest
+	TypeNames       string           `position:"Query" name:"TypeNames"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	RiskName        string           `position:"Query" name:"RiskName"`
+	StatusList      string           `position:"Query" name:"StatusList"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	RiskLevels      string           `position:"Query" name:"RiskLevels"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+	Dealed          string           `position:"Query" name:"Dealed"`
+	SubTypeNames    string           `position:"Query" name:"SubTypeNames"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+}
+
+type DescribeWarningResponse struct {
+	*responses.BaseResponse
+	RequestId   string   `json:"RequestId" xml:"RequestId"`
+	Count       int      `json:"Count" xml:"Count"`
+	PageSize    int      `json:"PageSize" xml:"PageSize"`
+	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
+	Warnings    []string `json:"Warnings" xml:"Warnings"`
+}
+
+func CreateDescribeWarningRequest() (request *DescribeWarningRequest) {
+	request = &DescribeWarningRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeWarning", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeWarningResponse() (response *DescribeWarningResponse) {
+	response = &DescribeWarningResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 97 - 0
services/aegis/describe_webshell.go

@@ -0,0 +1,97 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) DescribeWebshell(request *DescribeWebshellRequest) (response *DescribeWebshellResponse, err error) {
+	response = CreateDescribeWebshellResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeWebshellWithChan(request *DescribeWebshellRequest) (<-chan *DescribeWebshellResponse, <-chan error) {
+	responseChan := make(chan *DescribeWebshellResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeWebshell(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeWebshellWithCallback(request *DescribeWebshellRequest, callback func(response *DescribeWebshellResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeWebshellResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeWebshell(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeWebshellRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	GroupId         requests.Integer `position:"Query" name:"GroupId"`
+	Remark          string           `position:"Query" name:"Remark"`
+}
+
+type DescribeWebshellResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	TotalCount  int    `json:"TotalCount" xml:"TotalCount"`
+	PageSize    int    `json:"PageSize" xml:"PageSize"`
+	CurrentPage int    `json:"CurrentPage" xml:"CurrentPage"`
+}
+
+func CreateDescribeWebshellRequest() (request *DescribeWebshellRequest) {
+	request = &DescribeWebshellRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeWebshell", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeWebshellResponse() (response *DescribeWebshellResponse) {
+	response = &DescribeWebshellResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 99 - 0
services/aegis/get_account_statistics.go

@@ -0,0 +1,99 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) GetAccountStatistics(request *GetAccountStatisticsRequest) (response *GetAccountStatisticsResponse, err error) {
+	response = CreateGetAccountStatisticsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) GetAccountStatisticsWithChan(request *GetAccountStatisticsRequest) (<-chan *GetAccountStatisticsResponse, <-chan error) {
+	responseChan := make(chan *GetAccountStatisticsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetAccountStatistics(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) GetAccountStatisticsWithCallback(request *GetAccountStatisticsRequest, callback func(response *GetAccountStatisticsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetAccountStatisticsResponse
+		var err error
+		defer close(result)
+		response, err = client.GetAccountStatistics(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type GetAccountStatisticsRequest struct {
+	*requests.RpcRequest
+	EndTime   string `position:"Query" name:"EndTime"`
+	StartTime string `position:"Query" name:"StartTime"`
+}
+
+type GetAccountStatisticsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"requestId" xml:"requestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      struct {
+		RemoteLogin  int `json:"RemoteLogin" xml:"RemoteLogin"`
+		CrackSuccess int `json:"CrackSuccess" xml:"CrackSuccess"`
+	} `json:"Data" xml:"Data"`
+}
+
+func CreateGetAccountStatisticsRequest() (request *GetAccountStatisticsRequest) {
+	request = &GetAccountStatisticsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "GetAccountStatistics", "vipaegis", "openAPI")
+	return
+}
+
+func CreateGetAccountStatisticsResponse() (response *GetAccountStatisticsResponse) {
+	response = &GetAccountStatisticsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 98 - 0
services/aegis/get_crack_statistics.go

@@ -0,0 +1,98 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) GetCrackStatistics(request *GetCrackStatisticsRequest) (response *GetCrackStatisticsResponse, err error) {
+	response = CreateGetCrackStatisticsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) GetCrackStatisticsWithChan(request *GetCrackStatisticsRequest) (<-chan *GetCrackStatisticsResponse, <-chan error) {
+	responseChan := make(chan *GetCrackStatisticsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetCrackStatistics(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) GetCrackStatisticsWithCallback(request *GetCrackStatisticsRequest, callback func(response *GetCrackStatisticsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetCrackStatisticsResponse
+		var err error
+		defer close(result)
+		response, err = client.GetCrackStatistics(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type GetCrackStatisticsRequest struct {
+	*requests.RpcRequest
+	EndTime   string `position:"Query" name:"EndTime"`
+	StartTime string `position:"Query" name:"StartTime"`
+}
+
+type GetCrackStatisticsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"requestId" xml:"requestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      struct {
+		Intercepted int `json:"Intercepted" xml:"Intercepted"`
+	} `json:"Data" xml:"Data"`
+}
+
+func CreateGetCrackStatisticsRequest() (request *GetCrackStatisticsRequest) {
+	request = &GetCrackStatisticsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "GetCrackStatistics", "vipaegis", "openAPI")
+	return
+}
+
+func CreateGetCrackStatisticsResponse() (response *GetCrackStatisticsResponse) {
+	response = &GetCrackStatisticsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 122 - 0
services/aegis/get_entity_list.go

@@ -0,0 +1,122 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) GetEntityList(request *GetEntityListRequest) (response *GetEntityListResponse, err error) {
+	response = CreateGetEntityListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) GetEntityListWithChan(request *GetEntityListRequest) (<-chan *GetEntityListResponse, <-chan error) {
+	responseChan := make(chan *GetEntityListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetEntityList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) GetEntityListWithCallback(request *GetEntityListRequest, callback func(response *GetEntityListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetEntityListResponse
+		var err error
+		defer close(result)
+		response, err = client.GetEntityList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type GetEntityListRequest struct {
+	*requests.RpcRequest
+	GroupId     requests.Integer `position:"Query" name:"GroupId"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	Remark      string           `position:"Query" name:"Remark"`
+	EventType   string           `position:"Query" name:"EventType"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	RegionNo    string           `position:"Query" name:"RegionNo"`
+}
+
+type GetEntityListResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"requestId" xml:"requestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      struct {
+		PageInfo struct {
+			CurrentPage int `json:"CurrentPage" xml:"CurrentPage"`
+			PageSize    int `json:"PageSize" xml:"PageSize"`
+			TotalCount  int `json:"TotalCount" xml:"TotalCount"`
+			Count       int `json:"Count" xml:"Count"`
+		} `json:"PageInfo" xml:"PageInfo"`
+		List struct {
+			Entity []struct {
+				Uuid         string `json:"Uuid" xml:"Uuid"`
+				GroupId      int    `json:"GroupId" xml:"GroupId"`
+				Ip           string `json:"Ip" xml:"Ip"`
+				InstanceName string `json:"InstanceName" xml:"InstanceName"`
+				InstanceId   string `json:"InstanceId" xml:"InstanceId"`
+				Region       string `json:"Region" xml:"Region"`
+				Os           string `json:"Os" xml:"Os"`
+				Flag         string `json:"Flag" xml:"Flag"`
+				BuyVersion   string `json:"BuyVersion" xml:"BuyVersion"`
+				AegisOnline  bool   `json:"AegisOnline" xml:"AegisOnline"`
+				AegisVersion string `json:"aegisVersion" xml:"aegisVersion"`
+			} `json:"Entity" xml:"Entity"`
+		} `json:"List" xml:"List"`
+	} `json:"Data" xml:"Data"`
+}
+
+func CreateGetEntityListRequest() (request *GetEntityListRequest) {
+	request = &GetEntityListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "GetEntityList", "vipaegis", "openAPI")
+	return
+}
+
+func CreateGetEntityListResponse() (response *GetEntityListResponse) {
+	response = &GetEntityListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 101 - 0
services/aegis/get_statistics.go

@@ -0,0 +1,101 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) GetStatistics(request *GetStatisticsRequest) (response *GetStatisticsResponse, err error) {
+	response = CreateGetStatisticsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) GetStatisticsWithChan(request *GetStatisticsRequest) (<-chan *GetStatisticsResponse, <-chan error) {
+	responseChan := make(chan *GetStatisticsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetStatistics(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) GetStatisticsWithCallback(request *GetStatisticsRequest, callback func(response *GetStatisticsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetStatisticsResponse
+		var err error
+		defer close(result)
+		response, err = client.GetStatistics(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type GetStatisticsRequest struct {
+	*requests.RpcRequest
+	EndTime   string `position:"Query" name:"EndTime"`
+	StartTime string `position:"Query" name:"StartTime"`
+}
+
+type GetStatisticsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"requestId" xml:"requestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      struct {
+		Account int `json:"Account" xml:"Account"`
+		Health  int `json:"Health" xml:"Health"`
+		Patch   int `json:"Patch" xml:"Patch"`
+		Trojan  int `json:"Trojan" xml:"Trojan"`
+	} `json:"Data" xml:"Data"`
+}
+
+func CreateGetStatisticsRequest() (request *GetStatisticsRequest) {
+	request = &GetStatisticsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "GetStatistics", "vipaegis", "openAPI")
+	return
+}
+
+func CreateGetStatisticsResponse() (response *GetStatisticsResponse) {
+	response = &GetStatisticsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/aegis/get_statistics_by_uuid.go

@@ -0,0 +1,104 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) GetStatisticsByUuid(request *GetStatisticsByUuidRequest) (response *GetStatisticsByUuidResponse, err error) {
+	response = CreateGetStatisticsByUuidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) GetStatisticsByUuidWithChan(request *GetStatisticsByUuidRequest) (<-chan *GetStatisticsByUuidResponse, <-chan error) {
+	responseChan := make(chan *GetStatisticsByUuidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetStatisticsByUuid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) GetStatisticsByUuidWithCallback(request *GetStatisticsByUuidRequest, callback func(response *GetStatisticsByUuidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetStatisticsByUuidResponse
+		var err error
+		defer close(result)
+		response, err = client.GetStatisticsByUuid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type GetStatisticsByUuidRequest struct {
+	*requests.RpcRequest
+	Uuid string `position:"Query" name:"Uuid"`
+}
+
+type GetStatisticsByUuidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"requestId" xml:"requestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      struct {
+		Entity []struct {
+			Uuid    string `json:"Uuid" xml:"Uuid"`
+			Account int    `json:"Account" xml:"Account"`
+			Health  int    `json:"Health" xml:"Health"`
+			Patch   int    `json:"Patch" xml:"Patch"`
+			Trojan  int    `json:"Trojan" xml:"Trojan"`
+			Online  bool   `json:"Online" xml:"Online"`
+		} `json:"Entity" xml:"Entity"`
+	} `json:"Data" xml:"Data"`
+}
+
+func CreateGetStatisticsByUuidRequest() (request *GetStatisticsByUuidRequest) {
+	request = &GetStatisticsByUuidRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "GetStatisticsByUuid", "vipaegis", "openAPI")
+	return
+}
+
+func CreateGetStatisticsByUuidResponse() (response *GetStatisticsByUuidResponse) {
+	response = &GetStatisticsByUuidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 96 - 0
services/aegis/modify_batch_ignore_vul.go

@@ -0,0 +1,96 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) ModifyBatchIgnoreVul(request *ModifyBatchIgnoreVulRequest) (response *ModifyBatchIgnoreVulResponse, err error) {
+	response = CreateModifyBatchIgnoreVulResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) ModifyBatchIgnoreVulWithChan(request *ModifyBatchIgnoreVulRequest) (<-chan *ModifyBatchIgnoreVulResponse, <-chan error) {
+	responseChan := make(chan *ModifyBatchIgnoreVulResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyBatchIgnoreVul(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) ModifyBatchIgnoreVulWithCallback(request *ModifyBatchIgnoreVulRequest, callback func(response *ModifyBatchIgnoreVulResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyBatchIgnoreVulResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyBatchIgnoreVul(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type ModifyBatchIgnoreVulRequest struct {
+	*requests.RpcRequest
+	Reason          string           `position:"Query" name:"Reason"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Info            string           `position:"Query" name:"Info"`
+}
+
+type ModifyBatchIgnoreVulResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
+}
+
+func CreateModifyBatchIgnoreVulRequest() (request *ModifyBatchIgnoreVulRequest) {
+	request = &ModifyBatchIgnoreVulRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "ModifyBatchIgnoreVul", "vipaegis", "openAPI")
+	return
+}
+
+func CreateModifyBatchIgnoreVulResponse() (response *ModifyBatchIgnoreVulResponse) {
+	response = &ModifyBatchIgnoreVulResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/aegis/modify_strategy.go

@@ -0,0 +1,103 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) ModifyStrategy(request *ModifyStrategyRequest) (response *ModifyStrategyResponse, err error) {
+	response = CreateModifyStrategyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) ModifyStrategyWithChan(request *ModifyStrategyRequest) (<-chan *ModifyStrategyResponse, <-chan error) {
+	responseChan := make(chan *ModifyStrategyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyStrategy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) ModifyStrategyWithCallback(request *ModifyStrategyRequest, callback func(response *ModifyStrategyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyStrategyResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyStrategy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type ModifyStrategyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	RiskSubTypeName string           `position:"Query" name:"RiskSubTypeName"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	CycleStartTime  string           `position:"Query" name:"CycleStartTime"`
+	Name            string           `position:"Query" name:"Name"`
+	CycleDays       string           `position:"Query" name:"CycleDays"`
+	Id              string           `position:"Query" name:"Id"`
+}
+
+type ModifyStrategyResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	Success        bool   `json:"Success" xml:"Success"`
+	TotalCount     int    `json:"TotalCount" xml:"TotalCount"`
+	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
+	Result         struct {
+		StrategyId int `json:"StrategyId" xml:"StrategyId"`
+	} `json:"Result" xml:"Result"`
+}
+
+func CreateModifyStrategyRequest() (request *ModifyStrategyRequest) {
+	request = &ModifyStrategyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "ModifyStrategy", "vipaegis", "openAPI")
+	return
+}
+
+func CreateModifyStrategyResponse() (response *ModifyStrategyResponse) {
+	response = &ModifyStrategyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 95 - 0
services/aegis/modify_strategy_target.go

@@ -0,0 +1,95 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) ModifyStrategyTarget(request *ModifyStrategyTargetRequest) (response *ModifyStrategyTargetResponse, err error) {
+	response = CreateModifyStrategyTargetResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) ModifyStrategyTargetWithChan(request *ModifyStrategyTargetRequest) (<-chan *ModifyStrategyTargetResponse, <-chan error) {
+	responseChan := make(chan *ModifyStrategyTargetResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyStrategyTarget(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) ModifyStrategyTargetWithCallback(request *ModifyStrategyTargetRequest, callback func(response *ModifyStrategyTargetResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyStrategyTargetResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyStrategyTarget(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type ModifyStrategyTargetRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Type            string           `position:"Query" name:"Type"`
+	Config          string           `position:"Query" name:"Config"`
+	Target          string           `position:"Query" name:"Target"`
+}
+
+type ModifyStrategyTargetResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+func CreateModifyStrategyTargetRequest() (request *ModifyStrategyTargetRequest) {
+	request = &ModifyStrategyTargetRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "ModifyStrategyTarget", "vipaegis", "openAPI")
+	return
+}
+
+func CreateModifyStrategyTargetResponse() (response *ModifyStrategyTargetResponse) {
+	response = &ModifyStrategyTargetResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 127 - 0
services/aegis/query_crack_event.go

@@ -0,0 +1,127 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) QueryCrackEvent(request *QueryCrackEventRequest) (response *QueryCrackEventResponse, err error) {
+	response = CreateQueryCrackEventResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) QueryCrackEventWithChan(request *QueryCrackEventRequest) (<-chan *QueryCrackEventResponse, <-chan error) {
+	responseChan := make(chan *QueryCrackEventResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryCrackEvent(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) QueryCrackEventWithCallback(request *QueryCrackEventRequest, callback func(response *QueryCrackEventResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryCrackEventResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryCrackEvent(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type QueryCrackEventRequest struct {
+	*requests.RpcRequest
+	EndTime     string           `position:"Query" name:"EndTime"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	Uuid        string           `position:"Query" name:"Uuid"`
+	Status      requests.Integer `position:"Query" name:"Status"`
+}
+
+type QueryCrackEventResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"requestId" xml:"requestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      struct {
+		PageInfo struct {
+			CurrentPage int `json:"CurrentPage" xml:"CurrentPage"`
+			PageSize    int `json:"PageSize" xml:"PageSize"`
+			TotalCount  int `json:"TotalCount" xml:"TotalCount"`
+			Count       int `json:"Count" xml:"Count"`
+		} `json:"PageInfo" xml:"PageInfo"`
+		List struct {
+			Entity []struct {
+				Uuid           string `json:"Uuid" xml:"Uuid"`
+				AttackTime     string `json:"AttackTime" xml:"AttackTime"`
+				AttackType     int    `json:"AttackType" xml:"AttackType"`
+				AttackTypeName string `json:"AttackTypeName" xml:"AttackTypeName"`
+				BuyVersion     string `json:"BuyVersion" xml:"BuyVersion"`
+				CrackSourceIp  string `json:"CrackSourceIp" xml:"CrackSourceIp"`
+				CrackTimes     int    `json:"CrackTimes" xml:"CrackTimes"`
+				GroupId        int    `json:"GroupId" xml:"GroupId"`
+				InstanceName   string `json:"InstanceName" xml:"InstanceName"`
+				InstanceId     string `json:"InstanceId" xml:"InstanceId"`
+				Ip             string `json:"Ip" xml:"Ip"`
+				Region         string `json:"Region" xml:"Region"`
+				Status         int    `json:"Status" xml:"Status"`
+				StatusName     string `json:"StatusName" xml:"StatusName"`
+				Location       string `json:"Location" xml:"Location"`
+				InWhite        int    `json:"InWhite" xml:"InWhite"`
+				UserName       string `json:"UserName" xml:"UserName"`
+			} `json:"Entity" xml:"Entity"`
+		} `json:"List" xml:"List"`
+	} `json:"Data" xml:"Data"`
+}
+
+func CreateQueryCrackEventRequest() (request *QueryCrackEventRequest) {
+	request = &QueryCrackEventRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "QueryCrackEvent", "vipaegis", "openAPI")
+	return
+}
+
+func CreateQueryCrackEventResponse() (response *QueryCrackEventResponse) {
+	response = &QueryCrackEventResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 125 - 0
services/aegis/query_login_event.go

@@ -0,0 +1,125 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) QueryLoginEvent(request *QueryLoginEventRequest) (response *QueryLoginEventResponse, err error) {
+	response = CreateQueryLoginEventResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) QueryLoginEventWithChan(request *QueryLoginEventRequest) (<-chan *QueryLoginEventResponse, <-chan error) {
+	responseChan := make(chan *QueryLoginEventResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryLoginEvent(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) QueryLoginEventWithCallback(request *QueryLoginEventRequest, callback func(response *QueryLoginEventResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryLoginEventResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryLoginEvent(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type QueryLoginEventRequest struct {
+	*requests.RpcRequest
+	EndTime     string           `position:"Query" name:"EndTime"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	Uuid        string           `position:"Query" name:"Uuid"`
+	Status      requests.Integer `position:"Query" name:"Status"`
+}
+
+type QueryLoginEventResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"requestId" xml:"requestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      struct {
+		PageInfo struct {
+			CurrentPage int `json:"CurrentPage" xml:"CurrentPage"`
+			PageSize    int `json:"PageSize" xml:"PageSize"`
+			TotalCount  int `json:"TotalCount" xml:"TotalCount"`
+			Count       int `json:"Count" xml:"Count"`
+		} `json:"PageInfo" xml:"PageInfo"`
+		List struct {
+			Entity []struct {
+				Uuid          string `json:"Uuid" xml:"Uuid"`
+				LoginTime     string `json:"LoginTime" xml:"LoginTime"`
+				LoginType     int    `json:"LoginType" xml:"LoginType"`
+				LoginTypeName string `json:"LoginTypeName" xml:"LoginTypeName"`
+				BuyVersion    string `json:"BuyVersion" xml:"BuyVersion"`
+				LoginSourceIp string `json:"LoginSourceIp" xml:"LoginSourceIp"`
+				GroupId       int    `json:"GroupId" xml:"GroupId"`
+				InstanceName  string `json:"InstanceName" xml:"InstanceName"`
+				InstanceId    string `json:"InstanceId" xml:"InstanceId"`
+				Ip            string `json:"Ip" xml:"Ip"`
+				Region        string `json:"Region" xml:"Region"`
+				Status        int    `json:"Status" xml:"Status"`
+				StatusName    string `json:"StatusName" xml:"StatusName"`
+				Location      string `json:"Location" xml:"Location"`
+				UserName      string `json:"UserName" xml:"UserName"`
+			} `json:"Entity" xml:"Entity"`
+		} `json:"List" xml:"List"`
+	} `json:"Data" xml:"Data"`
+}
+
+func CreateQueryLoginEventRequest() (request *QueryLoginEventRequest) {
+	request = &QueryLoginEventRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "QueryLoginEvent", "vipaegis", "openAPI")
+	return
+}
+
+func CreateQueryLoginEventResponse() (response *QueryLoginEventResponse) {
+	response = &QueryLoginEventResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 92 - 0
services/aegis/release_instance.go

@@ -0,0 +1,92 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) ReleaseInstance(request *ReleaseInstanceRequest) (response *ReleaseInstanceResponse, err error) {
+	response = CreateReleaseInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) ReleaseInstanceWithChan(request *ReleaseInstanceRequest) (<-chan *ReleaseInstanceResponse, <-chan error) {
+	responseChan := make(chan *ReleaseInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ReleaseInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) ReleaseInstanceWithCallback(request *ReleaseInstanceRequest, callback func(response *ReleaseInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ReleaseInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.ReleaseInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type ReleaseInstanceRequest struct {
+	*requests.RpcRequest
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+type ReleaseInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+func CreateReleaseInstanceRequest() (request *ReleaseInstanceRequest) {
+	request = &ReleaseInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "ReleaseInstance", "vipaegis", "openAPI")
+	return
+}
+
+func CreateReleaseInstanceResponse() (response *ReleaseInstanceResponse) {
+	response = &ReleaseInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 97 - 0
services/aegis/renew_instance.go

@@ -0,0 +1,97 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error) {
+	response = CreateRenewInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) RenewInstanceWithChan(request *RenewInstanceRequest) (<-chan *RenewInstanceResponse, <-chan error) {
+	responseChan := make(chan *RenewInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RenewInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) RenewInstanceWithCallback(request *RenewInstanceRequest, callback func(response *RenewInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RenewInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.RenewInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type RenewInstanceRequest struct {
+	*requests.RpcRequest
+	Duration     requests.Integer `position:"Query" name:"Duration"`
+	InstanceId   string           `position:"Query" name:"InstanceId"`
+	ClientToken  string           `position:"Query" name:"ClientToken"`
+	VmNumber     string           `position:"Query" name:"VmNumber"`
+	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
+	PricingCycle string           `position:"Query" name:"PricingCycle"`
+}
+
+type RenewInstanceResponse struct {
+	*responses.BaseResponse
+	OrderId   string `json:"OrderId" xml:"OrderId"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+func CreateRenewInstanceRequest() (request *RenewInstanceRequest) {
+	request = &RenewInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "RenewInstance", "vipaegis", "openAPI")
+	return
+}
+
+func CreateRenewInstanceResponse() (response *RenewInstanceResponse) {
+	response = &RenewInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 96 - 0
services/aegis/upgrade_instance.go

@@ -0,0 +1,96 @@
+package aegis
+
+//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"
+)
+
+func (client *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error) {
+	response = CreateUpgradeInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) UpgradeInstanceWithChan(request *UpgradeInstanceRequest) (<-chan *UpgradeInstanceResponse, <-chan error) {
+	responseChan := make(chan *UpgradeInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpgradeInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) UpgradeInstanceWithCallback(request *UpgradeInstanceRequest, callback func(response *UpgradeInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpgradeInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.UpgradeInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type UpgradeInstanceRequest struct {
+	*requests.RpcRequest
+	InstanceId  string           `position:"Query" name:"InstanceId"`
+	ClientToken string           `position:"Query" name:"ClientToken"`
+	VmNumber    requests.Integer `position:"Query" name:"VmNumber"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	VersionCode requests.Integer `position:"Query" name:"VersionCode"`
+}
+
+type UpgradeInstanceResponse struct {
+	*responses.BaseResponse
+	OrderId   string `json:"OrderId" xml:"OrderId"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+func CreateUpgradeInstanceRequest() (request *UpgradeInstanceRequest) {
+	request = &UpgradeInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "UpgradeInstance", "vipaegis", "openAPI")
+	return
+}
+
+func CreateUpgradeInstanceResponse() (response *UpgradeInstanceResponse) {
+	response = &UpgradeInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/ecs/activate_router_interface.go

@@ -67,10 +67,10 @@ func (client *Client) ActivateRouterInterfaceWithCallback(request *ActivateRoute
 
 type ActivateRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
 	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"`
 }
 
 type ActivateRouterInterfaceResponse struct {

+ 4 - 4
services/ecs/add_bandwidth_package_ips.go

@@ -67,13 +67,13 @@ func (client *Client) AddBandwidthPackageIpsWithCallback(request *AddBandwidthPa
 
 type AddBandwidthPackageIpsRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	IpCount              string           `position:"Query" name:"IpCount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	BandwidthPackageId   string           `position:"Query" name:"BandwidthPackageId"`
+	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"`
-	BandwidthPackageId   string           `position:"Query" name:"BandwidthPackageId"`
+	IpCount              string           `position:"Query" name:"IpCount"`
 }
 
 type AddBandwidthPackageIpsResponse struct {

+ 3 - 3
services/ecs/add_ip_range.go

@@ -67,11 +67,11 @@ func (client *Client) AddIpRangeWithCallback(request *AddIpRangeRequest, callbac
 
 type AddIpRangeRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	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"`
-	IpAddress            string           `position:"Query" name:"IpAddress"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 9 - 9
services/ecs/add_tags.go

@@ -67,21 +67,21 @@ func (client *Client) AddTagsWithCallback(request *AddTagsRequest, callback func
 
 type AddTagsRequest struct {
 	*requests.RpcRequest
-	ResourceType         string           `position:"Query" name:"ResourceType"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceId           string           `position:"Query" name:"ResourceId"`
+	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
 	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.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"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
-	ResourceId           string           `position:"Query" name:"ResourceId"`
-	Tag3Value            string           `position:"Query" name:"Tag.3.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"`
 }
 
 type AddTagsResponse struct {

+ 3 - 3
services/ecs/allocate_eip_address.go

@@ -67,13 +67,13 @@ func (client *Client) AllocateEipAddressWithCallback(request *AllocateEipAddress
 
 type AllocateEipAddressRequest struct {
 	*requests.RpcRequest
+	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"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	Bandwidth            string           `position:"Query" name:"Bandwidth"`
 }
 
 type AllocateEipAddressResponse struct {

+ 4 - 4
services/ecs/allocate_public_ip_address.go

@@ -67,13 +67,13 @@ func (client *Client) AllocatePublicIpAddressWithCallback(request *AllocatePubli
 
 type AllocatePublicIpAddressRequest struct {
 	*requests.RpcRequest
-	VlanId               string           `position:"Query" name:"VlanId"`
-	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"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	VlanId               string           `position:"Query" name:"VlanId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	IpAddress            string           `position:"Query" name:"IpAddress"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	InstanceId           string           `position:"Query" name:"InstanceId"`
 }
 
 type AllocatePublicIpAddressResponse struct {

+ 2 - 2
services/ecs/apply_auto_snapshot_policy.go

@@ -67,10 +67,10 @@ func (client *Client) ApplyAutoSnapshotPolicyWithCallback(request *ApplyAutoSnap
 
 type ApplyAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	DiskIds              string           `position:"Query" name:"diskIds"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	AutoSnapshotPolicyId string           `position:"Query" name:"autoSnapshotPolicyId"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DiskIds              string           `position:"Query" name:"diskIds"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 4 - 4
services/ecs/associate_eip_address.go

@@ -67,13 +67,13 @@ func (client *Client) AssociateEipAddressWithCallback(request *AssociateEipAddre
 
 type AssociateEipAddressRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	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"`
 }
 
 type AssociateEipAddressResponse struct {

+ 4 - 4
services/ecs/associate_ha_vip.go

@@ -67,13 +67,13 @@ func (client *Client) AssociateHaVipWithCallback(request *AssociateHaVipRequest,
 
 type AssociateHaVipRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	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"`
-	InstanceId           string           `position:"Query" name:"InstanceId"`
-	HaVipId              string           `position:"Query" name:"HaVipId"`
 }
 
 type AssociateHaVipResponse struct {

+ 2 - 2
services/ecs/attach_classic_link_vpc.go

@@ -67,11 +67,11 @@ func (client *Client) AttachClassicLinkVpcWithCallback(request *AttachClassicLin
 
 type AttachClassicLinkVpcRequest struct {
 	*requests.RpcRequest
-	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"`
-	InstanceId           string           `position:"Query" name:"InstanceId"`
 }
 
 type AttachClassicLinkVpcResponse struct {

+ 5 - 5
services/ecs/attach_disk.go

@@ -67,14 +67,14 @@ func (client *Client) AttachDiskWithCallback(request *AttachDiskRequest, callbac
 
 type AttachDiskRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	Device               string           `position:"Query" name:"Device"`
-	DiskId               string           `position:"Query" name:"DiskId"`
-	DeleteWithInstance   requests.Boolean `position:"Query" name:"DeleteWithInstance"`
 	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"`
-	InstanceId           string           `position:"Query" name:"InstanceId"`
+	Device               string           `position:"Query" name:"Device"`
+	DeleteWithInstance   requests.Boolean `position:"Query" name:"DeleteWithInstance"`
 }
 
 type AttachDiskResponse struct {

+ 1 - 1
services/ecs/attach_instance_ram_role.go

@@ -67,10 +67,10 @@ func (client *Client) AttachInstanceRamRoleWithCallback(request *AttachInstanceR
 
 type AttachInstanceRamRoleRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	InstanceIds          string           `position:"Query" name:"InstanceIds"`
 	RamRoleName          string           `position:"Query" name:"RamRoleName"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 1 - 1
services/ecs/attach_key_pair.go

@@ -67,10 +67,10 @@ func (client *Client) AttachKeyPairWithCallback(request *AttachKeyPairRequest, c
 
 type AttachKeyPairRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	InstanceIds          string           `position:"Query" name:"InstanceIds"`
 	KeyPairName          string           `position:"Query" name:"KeyPairName"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 2 - 2
services/ecs/attach_network_interface.go

@@ -67,12 +67,12 @@ func (client *Client) AttachNetworkInterfaceWithCallback(request *AttachNetworkI
 
 type AttachNetworkInterfaceRequest struct {
 	*requests.RpcRequest
-	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"`
-	NetworkInterfaceId   string           `position:"Query" name:"NetworkInterfaceId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
+	NetworkInterfaceId   string           `position:"Query" name:"NetworkInterfaceId"`
 }
 
 type AttachNetworkInterfaceResponse struct {

+ 12 - 12
services/ecs/authorize_security_group.go

@@ -67,24 +67,24 @@ func (client *Client) AuthorizeSecurityGroupWithCallback(request *AuthorizeSecur
 
 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"`
-	DestCidrIp              string           `position:"Query" name:"DestCidrIp"`
 	ResourceOwnerAccount    string           `position:"Query" name:"ResourceOwnerAccount"`
-	Description             string           `position:"Query" name:"Description"`
-	Priority                string           `position:"Query" name:"Priority"`
-	ResourceOwnerId         requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IpProtocol              string           `position:"Query" name:"IpProtocol"`
 	OwnerAccount            string           `position:"Query" name:"OwnerAccount"`
-	SourceGroupOwnerId      requests.Integer `position:"Query" name:"SourceGroupOwnerId"`
-	ClientToken             string           `position:"Query" name:"ClientToken"`
-	SecurityGroupId         string           `position:"Query" name:"SecurityGroupId"`
-	SourcePortRange         string           `position:"Query" name:"SourcePortRange"`
+	SourceCidrIp            string           `position:"Query" name:"SourceCidrIp"`
 	OwnerId                 requests.Integer `position:"Query" name:"OwnerId"`
-	IpProtocol              string           `position:"Query" name:"IpProtocol"`
+	Priority                string           `position:"Query" name:"Priority"`
+	DestCidrIp              string           `position:"Query" name:"DestCidrIp"`
 	SourceGroupId           string           `position:"Query" name:"SourceGroupId"`
-	NicType                 string           `position:"Query" name:"NicType"`
-	Policy                  string           `position:"Query" name:"Policy"`
-	SourceCidrIp            string           `position:"Query" name:"SourceCidrIp"`
 }
 
 type AuthorizeSecurityGroupResponse struct {

+ 11 - 11
services/ecs/authorize_security_group_egress.go

@@ -67,24 +67,24 @@ func (client *Client) AuthorizeSecurityGroupEgressWithCallback(request *Authoriz
 
 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"`
-	DestCidrIp            string           `position:"Query" name:"DestCidrIp"`
 	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
-	Description           string           `position:"Query" name:"Description"`
-	Priority              string           `position:"Query" name:"Priority"`
-	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IpProtocol            string           `position:"Query" name:"IpProtocol"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	SourceCidrIp          string           `position:"Query" name:"SourceCidrIp"`
 	DestGroupId           string           `position:"Query" name:"DestGroupId"`
-	ClientToken           string           `position:"Query" name:"ClientToken"`
-	SecurityGroupId       string           `position:"Query" name:"SecurityGroupId"`
-	SourcePortRange       string           `position:"Query" name:"SourcePortRange"`
 	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	IpProtocol            string           `position:"Query" name:"IpProtocol"`
 	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"`
-	NicType               string           `position:"Query" name:"NicType"`
-	Policy                string           `position:"Query" name:"Policy"`
-	SourceCidrIp          string           `position:"Query" name:"SourceCidrIp"`
 }
 
 type AuthorizeSecurityGroupEgressResponse struct {

+ 3 - 3
services/ecs/bind_ip_range.go

@@ -67,12 +67,12 @@ func (client *Client) BindIpRangeWithCallback(request *BindIpRangeRequest, callb
 
 type BindIpRangeRequest struct {
 	*requests.RpcRequest
-	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"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	IpAddress            string           `position:"Query" name:"IpAddress"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	InstanceId           string           `position:"Query" name:"InstanceId"`
 }
 
 type BindIpRangeResponse struct {

+ 3 - 3
services/ecs/cancel_agreement.go

@@ -67,11 +67,11 @@ func (client *Client) CancelAgreementWithCallback(request *CancelAgreementReques
 
 type CancelAgreementRequest struct {
 	*requests.RpcRequest
-	AgreementType        string           `position:"Query" name:"AgreementType"`
-	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"`
+	AgreementType        string           `position:"Query" name:"AgreementType"`
 }
 
 type CancelAgreementResponse struct {

+ 2 - 2
services/ecs/cancel_auto_snapshot_policy.go

@@ -67,9 +67,9 @@ func (client *Client) CancelAutoSnapshotPolicyWithCallback(request *CancelAutoSn
 
 type CancelAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	DiskIds              string           `position:"Query" name:"diskIds"`
-	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"`
 }
 

+ 2 - 2
services/ecs/cancel_copy_image.go

@@ -67,11 +67,11 @@ func (client *Client) CancelCopyImageWithCallback(request *CancelCopyImageReques
 
 type CancelCopyImageRequest struct {
 	*requests.RpcRequest
-	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"`
-	ImageId              string           `position:"Query" name:"ImageId"`
 }
 
 type CancelCopyImageResponse struct {

+ 4 - 4
services/ecs/cancel_physical_connection.go

@@ -67,13 +67,13 @@ func (client *Client) CancelPhysicalConnectionWithCallback(request *CancelPhysic
 
 type CancelPhysicalConnectionRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	UserCidr             string           `position:"Query" name:"UserCidr"`
 	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"`
-	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
 }
 
 type CancelPhysicalConnectionResponse struct {

+ 2 - 2
services/ecs/cancel_task.go

@@ -67,10 +67,10 @@ func (client *Client) CancelTaskWithCallback(request *CancelTaskRequest, callbac
 
 type CancelTaskRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	TaskId               string           `position:"Query" name:"TaskId"`
 	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"`
 }
 
 type CancelTaskResponse struct {

+ 6 - 6
services/ecs/check_auto_snapshot_policy.go

@@ -67,18 +67,18 @@ func (client *Client) CheckAutoSnapshotPolicyWithCallback(request *CheckAutoSnap
 
 type CheckAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	DataDiskPolicyRetentionLastWeek   requests.Boolean `position:"Query" name:"DataDiskPolicyRetentionLastWeek"`
+	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"`
-	DataDiskPolicyTimePeriod          requests.Integer `position:"Query" name:"DataDiskPolicyTimePeriod"`
 	SystemDiskPolicyRetentionLastWeek requests.Boolean `position:"Query" name:"SystemDiskPolicyRetentionLastWeek"`
-	SystemDiskPolicyEnabled           requests.Boolean `position:"Query" name:"SystemDiskPolicyEnabled"`
-	SystemDiskPolicyTimePeriod        requests.Integer `position:"Query" name:"SystemDiskPolicyTimePeriod"`
-	ResourceOwnerId                   requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerAccount                      string           `position:"Query" name:"OwnerAccount"`
+	SystemDiskPolicyTimePeriod        requests.Integer `position:"Query" name:"SystemDiskPolicyTimePeriod"`
 	OwnerId                           requests.Integer `position:"Query" name:"OwnerId"`
-	DataDiskPolicyEnabled             requests.Boolean `position:"Query" name:"DataDiskPolicyEnabled"`
+	DataDiskPolicyRetentionLastWeek   requests.Boolean `position:"Query" name:"DataDiskPolicyRetentionLastWeek"`
 	SystemDiskPolicyRetentionDays     requests.Integer `position:"Query" name:"SystemDiskPolicyRetentionDays"`
+	DataDiskPolicyTimePeriod          requests.Integer `position:"Query" name:"DataDiskPolicyTimePeriod"`
+	SystemDiskPolicyEnabled           requests.Boolean `position:"Query" name:"SystemDiskPolicyEnabled"`
 }
 
 type CheckAutoSnapshotPolicyResponse struct {

+ 2 - 2
services/ecs/check_disk_enable_auto_snapshot_validation.go

@@ -67,10 +67,10 @@ func (client *Client) CheckDiskEnableAutoSnapshotValidationWithCallback(request
 
 type CheckDiskEnableAutoSnapshotValidationRequest struct {
 	*requests.RpcRequest
-	DiskIds              string           `position:"Query" name:"DiskIds"`
-	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"`
 }
 

+ 2 - 2
services/ecs/connect_router_interface.go

@@ -67,10 +67,10 @@ func (client *Client) ConnectRouterInterfaceWithCallback(request *ConnectRouterI
 
 type ConnectRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
 	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"`
 }
 
 type ConnectRouterInterfaceResponse struct {

+ 2 - 2
services/ecs/convert_nat_public_ip_to_eip.go

@@ -67,9 +67,9 @@ func (client *Client) ConvertNatPublicIpToEipWithCallback(request *ConvertNatPub
 
 type ConvertNatPublicIpToEipRequest 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"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
 }
 

+ 12 - 12
services/ecs/copy_image.go

@@ -67,25 +67,25 @@ func (client *Client) CopyImageWithCallback(request *CopyImageRequest, callback
 
 type CopyImageRequest struct {
 	*requests.RpcRequest
+	Tag4Value              string           `position:"Query" name:"Tag.4.Value"`
+	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
+	Tag3Key                string           `position:"Query" name:"Tag.3.Key"`
 	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	Tag5Key                string           `position:"Query" name:"Tag.5.Key"`
-	ImageId                string           `position:"Query" name:"ImageId"`
-	Encrypted              requests.Boolean `position:"Query" name:"Encrypted"`
 	Tag5Value              string           `position:"Query" name:"Tag.5.Value"`
-	Tag3Key                string           `position:"Query" name:"Tag.3.Key"`
-	DestinationImageName   string           `position:"Query" name:"DestinationImageName"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	Tag1Key                string           `position:"Query" name:"Tag.1.Key"`
-	Tag2Key                string           `position:"Query" name:"Tag.2.Key"`
 	Tag1Value              string           `position:"Query" name:"Tag.1.Value"`
-	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Tag4Value              string           `position:"Query" name:"Tag.4.Value"`
-	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	Tag3Value              string           `position:"Query" name:"Tag.3.Value"`
-	DestinationDescription string           `position:"Query" name:"DestinationDescription"`
+	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"`
 }
 
 type CopyImageResponse struct {

+ 3 - 3
services/ecs/create_auto_snapshot_policy.go

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

+ 5 - 5
services/ecs/create_command.go

@@ -67,16 +67,16 @@ func (client *Client) CreateCommandWithCallback(request *CreateCommandRequest, c
 
 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"`
-	Description          string           `position:"Query" name:"Description"`
-	Name                 string           `position:"Query" name:"Name"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	CommandContent       string           `position:"Query" name:"CommandContent"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	Timeout              requests.Integer `position:"Query" name:"Timeout"`
+	Name                 string           `position:"Query" name:"Name"`
 }
 
 type CreateCommandResponse struct {

+ 6 - 6
services/ecs/create_deployment_set.go

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

+ 15 - 15
services/ecs/create_disk.go

@@ -67,29 +67,29 @@ func (client *Client) CreateDiskWithCallback(request *CreateDiskRequest, callbac
 
 type CreateDiskRequest struct {
 	*requests.RpcRequest
-	ZoneId               string           `position:"Query" name:"ZoneId"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
-	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"`
+	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
 	Description          string           `position:"Query" name:"Description"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
-	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
+	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
 	DiskName             string           `position:"Query" name:"DiskName"`
+	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
 	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
 	DiskCategory         string           `position:"Query" name:"DiskCategory"`
+	Tag3Value            string           `position:"Query" name:"Tag.3.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"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
 	Size                 requests.Integer `position:"Query" name:"Size"`
 	Encrypted            requests.Boolean `position:"Query" name:"Encrypted"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
-	Tag3Value            string           `position:"Query" name:"Tag.3.Value"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
 	Tag2Value            string           `position:"Query" name:"Tag.2.Value"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.Key"`
 }
 
 type CreateDiskResponse struct {

+ 7 - 7
services/ecs/create_forward_entry.go

@@ -67,16 +67,16 @@ func (client *Client) CreateForwardEntryWithCallback(request *CreateForwardEntry
 
 type CreateForwardEntryRequest struct {
 	*requests.RpcRequest
-	IpProtocol           string           `position:"Query" name:"IpProtocol"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	InternalIp           string           `position:"Query" name:"InternalIp"`
-	ExternalIp           string           `position:"Query" name:"ExternalIp"`
-	ForwardTableId       string           `position:"Query" name:"ForwardTableId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ExternalPort         string           `position:"Query" name:"ExternalPort"`
+	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"`
-	InternalPort         string           `position:"Query" name:"InternalPort"`
+	ExternalIp           string           `position:"Query" name:"ExternalIp"`
+	ExternalPort         string           `position:"Query" name:"ExternalPort"`
+	InternalIp           string           `position:"Query" name:"InternalIp"`
 }
 
 type CreateForwardEntryResponse struct {

+ 4 - 4
services/ecs/create_ha_vip.go

@@ -68,12 +68,12 @@ func (client *Client) CreateHaVipWithCallback(request *CreateHaVipRequest, callb
 type CreateHaVipRequest struct {
 	*requests.RpcRequest
 	VSwitchId            string           `position:"Query" name:"VSwitchId"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	Description          string           `position:"Query" name:"Description"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	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"`
 }
 

+ 4 - 4
services/ecs/create_hpc_cluster.go

@@ -67,13 +67,13 @@ func (client *Client) CreateHpcClusterWithCallback(request *CreateHpcClusterRequ
 
 type CreateHpcClusterRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	Description          string           `position:"Query" name:"Description"`
-	Name                 string           `position:"Query" name:"Name"`
-	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"`
+	Name                 string           `position:"Query" name:"Name"`
 }
 
 type CreateHpcClusterResponse struct {

+ 16 - 16
services/ecs/create_image.go

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

+ 43 - 43
services/ecs/create_instance.go

@@ -67,60 +67,60 @@ func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest,
 
 type CreateInstanceRequest struct {
 	*requests.RpcRequest
-	SpotPriceLimit              requests.Float            `position:"Query" name:"SpotPriceLimit"`
-	SystemDiskCategory          string                    `position:"Query" name:"SystemDisk.Category"`
-	SpotStrategy                string                    `position:"Query" name:"SpotStrategy"`
-	ZoneId                      string                    `position:"Query" name:"ZoneId"`
-	ClusterId                   string                    `position:"Query" name:"ClusterId"`
-	InnerIpAddress              string                    `position:"Query" name:"InnerIpAddress"`
-	Password                    string                    `position:"Query" name:"Password"`
-	PeriodUnit                  string                    `position:"Query" name:"PeriodUnit"`
-	InstanceType                string                    `position:"Query" name:"InstanceType"`
+	Tag4Value                   string                    `position:"Query" name:"Tag.4.Value"`
+	ResourceOwnerId             requests.Integer          `position:"Query" name:"ResourceOwnerId"`
+	Tag2Key                     string                    `position:"Query" name:"Tag.2.Key"`
+	HpcClusterId                string                    `position:"Query" name:"HpcClusterId"`
 	Tag3Key                     string                    `position:"Query" name:"Tag.3.Key"`
-	Tag5Value                   string                    `position:"Query" name:"Tag.5.Value"`
-	Description                 string                    `position:"Query" name:"Description"`
-	Tag1Key                     string                    `position:"Query" name:"Tag.1.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"`
-	ResourceOwnerId             requests.Integer          `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount                string                    `position:"Query" name:"OwnerAccount"`
-	AutoRenewPeriod             requests.Integer          `position:"Query" name:"AutoRenewPeriod"`
-	VSwitchId                   string                    `position:"Query" name:"VSwitchId"`
-	ClientToken                 string                    `position:"Query" name:"ClientToken"`
-	InternetChargeType          string                    `position:"Query" name:"InternetChargeType"`
-	SecurityGroupId             string                    `position:"Query" name:"SecurityGroupId"`
+	ResourceGroupId             string                    `position:"Query" name:"ResourceGroupId"`
 	HostName                    string                    `position:"Query" name:"HostName"`
-	KeyPairName                 string                    `position:"Query" name:"KeyPairName"`
-	OwnerId                     requests.Integer          `position:"Query" name:"OwnerId"`
-	SystemDiskDiskName          string                    `position:"Query" name:"SystemDisk.DiskName"`
+	Password                    string                    `position:"Query" name:"Password"`
+	AutoRenewPeriod             requests.Integer          `position:"Query" name:"AutoRenewPeriod"`
+	NodeControllerId            string                    `position:"Query" name:"NodeControllerId"`
 	Period                      requests.Integer          `position:"Query" name:"Period"`
+	DryRun                      requests.Boolean          `position:"Query" name:"DryRun"`
 	Tag5Key                     string                    `position:"Query" name:"Tag.5.Key"`
-	IoOptimized                 string                    `position:"Query" name:"IoOptimized"`
-	UseAdditionalService        requests.Boolean          `position:"Query" name:"UseAdditionalService"`
+	OwnerId                     requests.Integer          `position:"Query" name:"OwnerId"`
+	VSwitchId                   string                    `position:"Query" name:"VSwitchId"`
+	PrivateIpAddress            string                    `position:"Query" name:"PrivateIpAddress"`
+	SpotStrategy                string                    `position:"Query" name:"SpotStrategy"`
+	PeriodUnit                  string                    `position:"Query" name:"PeriodUnit"`
 	InstanceName                string                    `position:"Query" name:"InstanceName"`
-	Tag2Key                     string                    `position:"Query" name:"Tag.2.Key"`
-	DryRun                      requests.Boolean          `position:"Query" name:"DryRun"`
-	Tag4Key                     string                    `position:"Query" name:"Tag.4.Key"`
-	SecurityEnhancementStrategy string                    `position:"Query" name:"SecurityEnhancementStrategy"`
-	UserData                    string                    `position:"Query" name:"UserData"`
-	ResourceOwnerAccount        string                    `position:"Query" name:"ResourceOwnerAccount"`
-	NodeControllerId            string                    `position:"Query" name:"NodeControllerId"`
 	AutoRenew                   requests.Boolean          `position:"Query" name:"AutoRenew"`
-	Tag4Value                   string                    `position:"Query" name:"Tag.4.Value"`
-	SystemDiskSize              requests.Integer          `position:"Query" name:"SystemDisk.Size"`
-	DataDisk                    *[]CreateInstanceDataDisk `position:"Query" name:"DataDisk"  type:"Repeated"`
-	InternetMaxBandwidthOut     requests.Integer          `position:"Query" name:"InternetMaxBandwidthOut"`
-	PrivateIpAddress            string                    `position:"Query" name:"PrivateIpAddress"`
-	VlanId                      string                    `position:"Query" name:"VlanId"`
-	ResourceGroupId             string                    `position:"Query" name:"ResourceGroupId"`
-	ImageId                     string                    `position:"Query" name:"ImageId"`
-	HpcClusterId                string                    `position:"Query" name:"HpcClusterId"`
-	RamRoleName                 string                    `position:"Query" name:"RamRoleName"`
+	InternetChargeType          string                    `position:"Query" name:"InternetChargeType"`
+	ZoneId                      string                    `position:"Query" name:"ZoneId"`
+	Tag4Key                     string                    `position:"Query" name:"Tag.4.Key"`
 	InternetMaxBandwidthIn      requests.Integer          `position:"Query" name:"InternetMaxBandwidthIn"`
-	DeploymentSetId             string                    `position:"Query" name:"DeploymentSetId"`
-	SystemDiskDescription       string                    `position:"Query" name:"SystemDisk.Description"`
+	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"`
+	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"`
+	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"`
 }
 
 type CreateInstanceDataDisk struct {

+ 1 - 1
services/ecs/create_key_pair.go

@@ -67,9 +67,9 @@ func (client *Client) CreateKeyPairWithCallback(request *CreateKeyPairRequest, c
 
 type CreateKeyPairRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	KeyPairName          string           `position:"Query" name:"KeyPairName"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 6 - 6
services/ecs/create_nat_gateway.go

@@ -67,15 +67,15 @@ func (client *Client) CreateNatGatewayWithCallback(request *CreateNatGatewayRequ
 
 type CreateNatGatewayRequest struct {
 	*requests.RpcRequest
-	BandwidthPackage     *[]CreateNatGatewayBandwidthPackage `position:"Query" name:"BandwidthPackage"  type:"Repeated"`
-	ClientToken          string                              `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string                              `position:"Query" name:"ResourceOwnerAccount"`
-	Description          string                              `position:"Query" name:"Description"`
-	Name                 string                              `position:"Query" name:"Name"`
 	ResourceOwnerId      requests.Integer                    `position:"Query" name:"ResourceOwnerId"`
-	VpcId                string                              `position:"Query" name:"VpcId"`
+	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"`
 	OwnerId              requests.Integer                    `position:"Query" name:"OwnerId"`
+	BandwidthPackage     *[]CreateNatGatewayBandwidthPackage `position:"Query" name:"BandwidthPackage"  type:"Repeated"`
 }
 
 type CreateNatGatewayBandwidthPackage struct {

+ 6 - 6
services/ecs/create_network_interface.go

@@ -67,16 +67,16 @@ func (client *Client) CreateNetworkInterfaceWithCallback(request *CreateNetworkI
 
 type CreateNetworkInterfaceRequest struct {
 	*requests.RpcRequest
-	NetworkInterfaceName string           `position:"Query" name:"NetworkInterfaceName"`
-	PrimaryIpAddress     string           `position:"Query" name:"PrimaryIpAddress"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	Description          string           `position:"Query" name:"Description"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	VSwitchId            string           `position:"Query" name:"VSwitchId"`
 	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"`
 }
 
 type CreateNetworkInterfaceResponse struct {

+ 10 - 10
services/ecs/create_physical_connection.go

@@ -67,22 +67,22 @@ func (client *Client) CreatePhysicalConnectionWithCallback(request *CreatePhysic
 
 type CreatePhysicalConnectionRequest struct {
 	*requests.RpcRequest
-	PeerLocation                  string           `position:"Query" name:"PeerLocation"`
-	ClientToken                   string           `position:"Query" name:"ClientToken"`
-	UserCidr                      string           `position:"Query" name:"UserCidr"`
 	AccessPointId                 string           `position:"Query" name:"AccessPointId"`
 	RedundantPhysicalConnectionId string           `position:"Query" name:"RedundantPhysicalConnectionId"`
-	OwnerId                       requests.Integer `position:"Query" name:"OwnerId"`
-	Type                          string           `position:"Query" name:"Type"`
-	Bandwidth                     requests.Integer `position:"Query" name:"bandwidth"`
-	LineOperator                  string           `position:"Query" name:"LineOperator"`
+	PeerLocation                  string           `position:"Query" name:"PeerLocation"`
+	ResourceOwnerId               requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PortType                      string           `position:"Query" name:"PortType"`
 	CircuitCode                   string           `position:"Query" name:"CircuitCode"`
+	Bandwidth                     requests.Integer `position:"Query" name:"bandwidth"`
+	ClientToken                   string           `position:"Query" name:"ClientToken"`
 	ResourceOwnerAccount          string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                  string           `position:"Query" name:"OwnerAccount"`
 	Description                   string           `position:"Query" name:"Description"`
-	PortType                      string           `position:"Query" name:"PortType"`
+	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"`
-	ResourceOwnerId               requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount                  string           `position:"Query" name:"OwnerAccount"`
+	UserCidr                      string           `position:"Query" name:"UserCidr"`
 }
 
 type CreatePhysicalConnectionResponse struct {

+ 7 - 7
services/ecs/create_route_entry.go

@@ -67,16 +67,16 @@ func (client *Client) CreateRouteEntryWithCallback(request *CreateRouteEntryRequ
 
 type CreateRouteEntryRequest struct {
 	*requests.RpcRequest
-	NextHopType          string                         `position:"Query" name:"NextHopType"`
-	ClientToken          string                         `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string                         `position:"Query" name:"ResourceOwnerAccount"`
-	NextHopList          *[]CreateRouteEntryNextHopList `position:"Query" name:"NextHopList"  type:"Repeated"`
-	NextHopId            string                         `position:"Query" name:"NextHopId"`
-	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
 	ResourceOwnerId      requests.Integer               `position:"Query" name:"ResourceOwnerId"`
+	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"`
 	OwnerId              requests.Integer               `position:"Query" name:"OwnerId"`
-	DestinationCidrBlock string                         `position:"Query" name:"DestinationCidrBlock"`
+	NextHopType          string                         `position:"Query" name:"NextHopType"`
+	NextHopList          *[]CreateRouteEntryNextHopList `position:"Query" name:"NextHopList"  type:"Repeated"`
+	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
 }
 
 type CreateRouteEntryNextHopList struct {

+ 14 - 14
services/ecs/create_router_interface.go

@@ -67,27 +67,27 @@ func (client *Client) CreateRouterInterfaceWithCallback(request *CreateRouterInt
 
 type CreateRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	Spec                     string           `position:"Query" name:"Spec"`
+	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"`
+	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
 	OppositeRegionId         string           `position:"Query" name:"OppositeRegionId"`
+	OwnerAccount             string           `position:"Query" name:"OwnerAccount"`
 	HealthCheckTargetIp      string           `position:"Query" name:"HealthCheckTargetIp"`
-	ClientToken              string           `position:"Query" name:"ClientToken"`
-	OppositeInterfaceOwnerId string           `position:"Query" name:"OppositeInterfaceOwnerId"`
-	OppositeRouterId         string           `position:"Query" name:"OppositeRouterId"`
-	UserCidr                 string           `position:"Query" name:"UserCidr"`
-	AccessPointId            string           `position:"Query" name:"AccessPointId"`
+	Description              string           `position:"Query" name:"Description"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
+	Spec                     string           `position:"Query" name:"Spec"`
+	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"`
-	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	Description              string           `position:"Query" name:"Description"`
 	Name                     string           `position:"Query" name:"Name"`
-	RouterId                 string           `position:"Query" name:"RouterId"`
+	UserCidr                 string           `position:"Query" name:"UserCidr"`
 	OppositeInterfaceId      string           `position:"Query" name:"OppositeInterfaceId"`
-	Role                     string           `position:"Query" name:"Role"`
-	RouterType               string           `position:"Query" name:"RouterType"`
-	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount             string           `position:"Query" name:"OwnerAccount"`
-	OppositeAccessPointId    string           `position:"Query" name:"OppositeAccessPointId"`
 }
 
 type CreateRouterInterfaceResponse struct {

+ 10 - 10
services/ecs/create_security_group.go

@@ -67,24 +67,24 @@ func (client *Client) CreateSecurityGroupWithCallback(request *CreateSecurityGro
 
 type CreateSecurityGroupRequest struct {
 	*requests.RpcRequest
-	SecurityGroupName    string           `position:"Query" name:"SecurityGroupName"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	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"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	Description          string           `position:"Query" name:"Description"`
+	Tag3Key              string           `position:"Query" name:"Tag.3.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"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
 	VpcId                string           `position:"Query" name:"VpcId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	Tag3Value            string           `position:"Query" name:"Tag.3.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"`
 }
 
 type CreateSecurityGroupResponse struct {

+ 10 - 10
services/ecs/create_snapshot.go

@@ -67,24 +67,24 @@ func (client *Client) CreateSnapshotWithCallback(request *CreateSnapshotRequest,
 
 type CreateSnapshotRequest struct {
 	*requests.RpcRequest
+	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"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Description          string           `position:"Query" name:"Description"`
 	SnapshotName         string           `position:"Query" name:"SnapshotName"`
+	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.Key"`
 	Tag5Value            string           `position:"Query" name:"Tag.5.Value"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.Key"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	Description          string           `position:"Query" name:"Description"`
 	Tag1Key              string           `position:"Query" name:"Tag.1.Key"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.Key"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.Value"`
-	DiskId               string           `position:"Query" name:"DiskId"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.Value"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	Tag3Value            string           `position:"Query" name:"Tag.3.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"`
 }
 
 type CreateSnapshotResponse struct {

+ 6 - 6
services/ecs/create_v_switch.go

@@ -67,15 +67,15 @@ func (client *Client) CreateVSwitchWithCallback(request *CreateVSwitchRequest, c
 
 type CreateVSwitchRequest struct {
 	*requests.RpcRequest
-	VSwitchName          string           `position:"Query" name:"VSwitchName"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
-	Description          string           `position:"Query" name:"Description"`
 	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"`
 	VpcId                string           `position:"Query" name:"VpcId"`
+	VSwitchName          string           `position:"Query" name:"VSwitchName"`
+	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"`
 }
 

+ 9 - 9
services/ecs/create_virtual_border_router.go

@@ -67,21 +67,21 @@ func (client *Client) CreateVirtualBorderRouterWithCallback(request *CreateVirtu
 
 type CreateVirtualBorderRouterRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	CircuitCode          string           `position:"Query" name:"CircuitCode"`
 	VlanId               requests.Integer `position:"Query" name:"VlanId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	UserCidr             string           `position:"Query" name:"UserCidr"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
-	VbrOwnerId           requests.Integer `position:"Query" name:"VbrOwnerId"`
-	CircuitCode          string           `position:"Query" name:"CircuitCode"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	LocalGatewayIp       string           `position:"Query" name:"LocalGatewayIp"`
+	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"`
-	Name                 string           `position:"Query" name:"Name"`
 	PeeringSubnetMask    string           `position:"Query" name:"PeeringSubnetMask"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	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"`
 }
 
 type CreateVirtualBorderRouterResponse struct {

+ 4 - 4
services/ecs/create_vpc.go

@@ -67,14 +67,14 @@ func (client *Client) CreateVpcWithCallback(request *CreateVpcRequest, callback
 
 type CreateVpcRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	Description          string           `position:"Query" name:"Description"`
 	VpcName              string           `position:"Query" name:"VpcName"`
-	UserCidr             string           `position:"Query" name:"UserCidr"`
 	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"`
 }
 

+ 2 - 2
services/ecs/deactivate_router_interface.go

@@ -67,10 +67,10 @@ func (client *Client) DeactivateRouterInterfaceWithCallback(request *DeactivateR
 
 type DeactivateRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
 	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"`
 }
 
 type DeactivateRouterInterfaceResponse struct {

+ 1 - 1
services/ecs/delete_auto_snapshot_policy.go

@@ -67,9 +67,9 @@ func (client *Client) DeleteAutoSnapshotPolicyWithCallback(request *DeleteAutoSn
 
 type DeleteAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	AutoSnapshotPolicyId string           `position:"Query" name:"autoSnapshotPolicyId"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 2 - 2
services/ecs/delete_bandwidth_package.go

@@ -67,11 +67,11 @@ func (client *Client) DeleteBandwidthPackageWithCallback(request *DeleteBandwidt
 
 type DeleteBandwidthPackageRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
-	BandwidthPackageId   string           `position:"Query" name:"BandwidthPackageId"`
 }
 
 type DeleteBandwidthPackageResponse struct {

+ 2 - 2
services/ecs/delete_command.go

@@ -67,11 +67,11 @@ func (client *Client) DeleteCommandWithCallback(request *DeleteCommandRequest, c
 
 type DeleteCommandRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	CommandId            string           `position:"Query" name:"CommandId"`
-	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"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 type DeleteCommandResponse struct {

+ 1 - 1
services/ecs/delete_deployment_set.go

@@ -67,9 +67,9 @@ func (client *Client) DeleteDeploymentSetWithCallback(request *DeleteDeploymentS
 
 type DeleteDeploymentSetRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 }

+ 2 - 2
services/ecs/delete_disk.go

@@ -67,10 +67,10 @@ func (client *Client) DeleteDiskWithCallback(request *DeleteDiskRequest, callbac
 
 type DeleteDiskRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	DiskId               string           `position:"Query" name:"DiskId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
 }
 

+ 2 - 2
services/ecs/delete_forward_entry.go

@@ -67,11 +67,11 @@ func (client *Client) DeleteForwardEntryWithCallback(request *DeleteForwardEntry
 
 type DeleteForwardEntryRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ForwardTableId       string           `position:"Query" name:"ForwardTableId"`
 	ForwardEntryId       string           `position:"Query" name:"ForwardEntryId"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	ForwardTableId       string           `position:"Query" name:"ForwardTableId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 3 - 3
services/ecs/delete_ha_vip.go

@@ -67,12 +67,12 @@ func (client *Client) DeleteHaVipWithCallback(request *DeleteHaVipRequest, callb
 
 type DeleteHaVipRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	HaVipId              string           `position:"Query" name:"HaVipId"`
 	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"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	HaVipId              string           `position:"Query" name:"HaVipId"`
 }
 
 type DeleteHaVipResponse struct {

+ 3 - 3
services/ecs/delete_hpc_cluster.go

@@ -67,12 +67,12 @@ func (client *Client) DeleteHpcClusterWithCallback(request *DeleteHpcClusterRequ
 
 type DeleteHpcClusterRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	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"`
-	HpcClusterId         string           `position:"Query" name:"HpcClusterId"`
 }
 
 type DeleteHpcClusterResponse struct {

+ 3 - 3
services/ecs/delete_image.go

@@ -67,12 +67,12 @@ func (client *Client) DeleteImageWithCallback(request *DeleteImageRequest, callb
 
 type DeleteImageRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	Force                requests.Boolean `position:"Query" name:"Force"`
 	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"`
+	Force                requests.Boolean `position:"Query" name:"Force"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ImageId              string           `position:"Query" name:"ImageId"`
 }
 
 type DeleteImageResponse struct {

+ 3 - 3
services/ecs/delete_instance.go

@@ -67,13 +67,13 @@ func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest,
 
 type DeleteInstanceRequest struct {
 	*requests.RpcRequest
+	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"`
 	TerminateSubscription requests.Boolean `position:"Query" name:"TerminateSubscription"`
 	Force                 requests.Boolean `position:"Query" name:"Force"`
-	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
 	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	InstanceId            string           `position:"Query" name:"InstanceId"`
 }
 
 type DeleteInstanceResponse struct {

+ 1 - 1
services/ecs/delete_key_pairs.go

@@ -67,9 +67,9 @@ func (client *Client) DeleteKeyPairsWithCallback(request *DeleteKeyPairsRequest,
 
 type DeleteKeyPairsRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	KeyPairNames         string           `position:"Query" name:"KeyPairNames"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 2 - 2
services/ecs/delete_nat_gateway.go

@@ -67,11 +67,11 @@ func (client *Client) DeleteNatGatewayWithCallback(request *DeleteNatGatewayRequ
 
 type DeleteNatGatewayRequest struct {
 	*requests.RpcRequest
-	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"`
 	NatGatewayId         string           `position:"Query" name:"NatGatewayId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 type DeleteNatGatewayResponse struct {

+ 1 - 1
services/ecs/delete_network_interface.go

@@ -67,8 +67,8 @@ func (client *Client) DeleteNetworkInterfaceWithCallback(request *DeleteNetworkI
 
 type DeleteNetworkInterfaceRequest struct {
 	*requests.RpcRequest
-	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"`
 	NetworkInterfaceId   string           `position:"Query" name:"NetworkInterfaceId"`

+ 4 - 4
services/ecs/delete_physical_connection.go

@@ -67,13 +67,13 @@ func (client *Client) DeletePhysicalConnectionWithCallback(request *DeletePhysic
 
 type DeletePhysicalConnectionRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	UserCidr             string           `position:"Query" name:"UserCidr"`
 	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"`
-	PhysicalConnectionId string           `position:"Query" name:"PhysicalConnectionId"`
 }
 
 type DeletePhysicalConnectionResponse struct {

+ 1 - 1
services/ecs/delete_recycle_bin.go

@@ -67,8 +67,8 @@ func (client *Client) DeleteRecycleBinWithCallback(request *DeleteRecycleBinRequ
 
 type DeleteRecycleBinRequest struct {
 	*requests.RpcRequest
-	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"`
 	ResourceIds          string           `position:"Query" name:"resourceIds"`

+ 5 - 5
services/ecs/delete_route_entry.go

@@ -67,14 +67,14 @@ func (client *Client) DeleteRouteEntryWithCallback(request *DeleteRouteEntryRequ
 
 type DeleteRouteEntryRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string                         `position:"Query" name:"ResourceOwnerAccount"`
-	NextHopList          *[]DeleteRouteEntryNextHopList `position:"Query" name:"NextHopList"  type:"Repeated"`
-	NextHopId            string                         `position:"Query" name:"NextHopId"`
-	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
 	ResourceOwnerId      requests.Integer               `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string                         `position:"Query" name:"ResourceOwnerAccount"`
+	DestinationCidrBlock string                         `position:"Query" name:"DestinationCidrBlock"`
 	OwnerAccount         string                         `position:"Query" name:"OwnerAccount"`
+	NextHopId            string                         `position:"Query" name:"NextHopId"`
 	OwnerId              requests.Integer               `position:"Query" name:"OwnerId"`
-	DestinationCidrBlock string                         `position:"Query" name:"DestinationCidrBlock"`
+	NextHopList          *[]DeleteRouteEntryNextHopList `position:"Query" name:"NextHopList"  type:"Repeated"`
+	RouteTableId         string                         `position:"Query" name:"RouteTableId"`
 }
 
 type DeleteRouteEntryNextHopList struct {

+ 4 - 4
services/ecs/delete_router_interface.go

@@ -67,12 +67,12 @@ func (client *Client) DeleteRouterInterfaceWithCallback(request *DeleteRouterInt
 
 type DeleteRouterInterfaceRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	RouterInterfaceId    string           `position:"Query" name:"RouterInterfaceId"`
-	UserCidr             string           `position:"Query" name:"UserCidr"`
 	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"`
 }
 

+ 2 - 2
services/ecs/delete_security_group.go

@@ -67,10 +67,10 @@ func (client *Client) DeleteSecurityGroupWithCallback(request *DeleteSecurityGro
 
 type DeleteSecurityGroupRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	SecurityGroupId      string           `position:"Query" name:"SecurityGroupId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
 }
 

+ 3 - 3
services/ecs/delete_snapshot.go

@@ -67,11 +67,11 @@ func (client *Client) DeleteSnapshotWithCallback(request *DeleteSnapshotRequest,
 
 type DeleteSnapshotRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	SnapshotId           string           `position:"Query" name:"SnapshotId"`
-	Force                requests.Boolean `position:"Query" name:"Force"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SnapshotId           string           `position:"Query" name:"SnapshotId"`
+	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"`
 }
 

+ 1 - 1
services/ecs/delete_v_switch.go

@@ -68,8 +68,8 @@ func (client *Client) DeleteVSwitchWithCallback(request *DeleteVSwitchRequest, c
 type DeleteVSwitchRequest struct {
 	*requests.RpcRequest
 	VSwitchId            string           `position:"Query" name:"VSwitchId"`
-	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"`
 }

+ 4 - 4
services/ecs/delete_virtual_border_router.go

@@ -67,13 +67,13 @@ func (client *Client) DeleteVirtualBorderRouterWithCallback(request *DeleteVirtu
 
 type DeleteVirtualBorderRouterRequest struct {
 	*requests.RpcRequest
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	UserCidr             string           `position:"Query" name:"UserCidr"`
 	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"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	UserCidr             string           `position:"Query" name:"UserCidr"`
 	VbrId                string           `position:"Query" name:"VbrId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 type DeleteVirtualBorderRouterResponse struct {

+ 2 - 2
services/ecs/delete_vpc.go

@@ -67,10 +67,10 @@ func (client *Client) DeleteVpcWithCallback(request *DeleteVpcRequest, callback
 
 type DeleteVpcRequest struct {
 	*requests.RpcRequest
-	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"`
 	VpcId                string           `position:"Query" name:"VpcId"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 5 - 5
services/ecs/describe_access_points.go

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

+ 1 - 1
services/ecs/describe_auto_snapshot_policy.go

@@ -67,8 +67,8 @@ func (client *Client) DescribeAutoSnapshotPolicyWithCallback(request *DescribeAu
 
 type DescribeAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	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"`
 }

+ 3 - 3
services/ecs/describe_auto_snapshot_policy_ex.go

@@ -67,13 +67,13 @@ func (client *Client) DescribeAutoSnapshotPolicyExWithCallback(request *Describe
 
 type DescribeAutoSnapshotPolicyExRequest struct {
 	*requests.RpcRequest
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 	AutoSnapshotPolicyId string           `position:"Query" name:"AutoSnapshotPolicyId"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	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"`
 }
 
 type DescribeAutoSnapshotPolicyExResponse struct {

+ 124 - 0
services/ecs/describe_available_resource.go

@@ -0,0 +1,124 @@
+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"
+)
+
+func (client *Client) DescribeAvailableResource(request *DescribeAvailableResourceRequest) (response *DescribeAvailableResourceResponse, err error) {
+	response = CreateDescribeAvailableResourceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeAvailableResourceWithChan(request *DescribeAvailableResourceRequest) (<-chan *DescribeAvailableResourceResponse, <-chan error) {
+	responseChan := make(chan *DescribeAvailableResourceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAvailableResource(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeAvailableResourceWithCallback(request *DescribeAvailableResourceRequest, callback func(response *DescribeAvailableResourceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAvailableResourceResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAvailableResource(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+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"`
+	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"`
+}
+
+type DescribeAvailableResourceResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	AvailableZones struct {
+		AvailableZone []struct {
+			RegionId           string `json:"RegionId" xml:"RegionId"`
+			ZoneId             string `json:"ZoneId" xml:"ZoneId"`
+			Status             string `json:"Status" xml:"Status"`
+			AvailableResources struct {
+				AvailableResource []struct {
+					Type               string `json:"Type" xml:"Type"`
+					SupportedResources struct {
+						SupportedResource []struct {
+							Value  string `json:"Value" xml:"Value"`
+							Status string `json:"Status" xml:"Status"`
+							Min    int    `json:"Min" xml:"Min"`
+							Max    int    `json:"Max" xml:"Max"`
+							Unit   string `json:"Unit" xml:"Unit"`
+						} `json:"SupportedResource" xml:"SupportedResource"`
+					} `json:"SupportedResources" xml:"SupportedResources"`
+				} `json:"AvailableResource" xml:"AvailableResource"`
+			} `json:"AvailableResources" xml:"AvailableResources"`
+		} `json:"AvailableZone" xml:"AvailableZone"`
+	} `json:"AvailableZones" xml:"AvailableZones"`
+}
+
+func CreateDescribeAvailableResourceRequest() (request *DescribeAvailableResourceRequest) {
+	request = &DescribeAvailableResourceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ecs", "2014-05-26", "DescribeAvailableResource", "ecs", "openAPI")
+	return
+}
+
+func CreateDescribeAvailableResourceResponse() (response *DescribeAvailableResourceResponse) {
+	response = &DescribeAvailableResourceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff