Bläddra i källkod

Merge pull request #43 from aliyun/pre-release

 Optimize the nested structs in all response
gaort 7 år sedan
förälder
incheckning
58eac8f5c9
100 ändrade filer med 1200 tillägg och 1374 borttagningar
  1. 23 0
      ChangeLog.txt
  2. 2 2
      integration/rds_test.go
  3. 1 1
      sdk/errors/signature_does_not_match_wrapper.go
  4. 18 2
      sdk/utils/utils.go
  5. 5 5
      services/aegis/create_instance.go
  6. 103 0
      services/aegis/create_suspicious_export.go
  7. 1 1
      services/aegis/delete_strategy.go
  8. 1 1
      services/aegis/describe_login_logs.go
  9. 4 8
      services/aegis/describe_strategy_target.go
  10. 2 15
      services/aegis/describe_stratety.go
  11. 3 19
      services/aegis/describe_stratety_detail.go
  12. 1 1
      services/aegis/describe_suspicious_events.go
  13. 102 0
      services/aegis/describe_suspicious_export_info.go
  14. 14 14
      services/aegis/describe_vul_details.go
  15. 14 14
      services/aegis/describe_vul_list.go
  16. 6 6
      services/aegis/describe_warning.go
  17. 1 1
      services/aegis/describe_webshell.go
  18. 2 5
      services/aegis/get_account_statistics.go
  19. 2 4
      services/aegis/get_crack_statistics.go
  20. 3 25
      services/aegis/get_entity_list.go
  21. 2 7
      services/aegis/get_statistics.go
  22. 5 14
      services/aegis/get_statistics_by_uuid.go
  23. 2 2
      services/aegis/modify_batch_ignore_vul.go
  24. 5 7
      services/aegis/modify_strategy.go
  25. 1 1
      services/aegis/modify_strategy_target.go
  26. 4 32
      services/aegis/query_crack_event.go
  27. 4 30
      services/aegis/query_login_event.go
  28. 1 1
      services/aegis/release_instance.go
  29. 3 3
      services/aegis/renew_instance.go
  30. 22 0
      services/aegis/struct_config_target.go
  31. 20 0
      services/aegis/struct_config_targets.go
  32. 20 0
      services/aegis/struct_cve_lists.go
  33. 36 0
      services/aegis/struct_data.go
  34. 20 0
      services/aegis/struct_data_in_get_statistics_by_uuid.go
  35. 45 0
      services/aegis/struct_entity.go
  36. 30 0
      services/aegis/struct_entity_in_get_entity_list.go
  37. 20 0
      services/aegis/struct_list_in_get_entity_list.go
  38. 20 0
      services/aegis/struct_list_in_query_crack_event.go
  39. 20 0
      services/aegis/struct_list_in_query_login_event.go
  40. 20 0
      services/aegis/struct_login_logs.go
  41. 23 0
      services/aegis/struct_page_info.go
  42. 20 0
      services/aegis/struct_result.go
  43. 23 0
      services/aegis/struct_risk_type_white_list_query_result.go
  44. 20 0
      services/aegis/struct_risk_type_white_list_query_result_list.go
  45. 20 0
      services/aegis/struct_strategies.go
  46. 25 0
      services/aegis/struct_strategy.go
  47. 20 0
      services/aegis/struct_strategy_targets.go
  48. 22 0
      services/aegis/struct_string_item.go
  49. 22 0
      services/aegis/struct_sub_typ.go
  50. 20 0
      services/aegis/struct_sub_types.go
  51. 20 0
      services/aegis/struct_suspicious_events.go
  52. 20 0
      services/aegis/struct_vul_records.go
  53. 20 0
      services/aegis/struct_warnings.go
  54. 3 3
      services/aegis/upgrade_instance.go
  55. 0 67
      services/afs/client.go
  56. 0 104
      services/afs/configuration_style.go
  57. 0 98
      services/afs/create_configuration.go
  58. 0 108
      services/afs/describe_captcha_day.go
  59. 0 107
      services/afs/describe_captcha_ip_city.go
  60. 0 102
      services/afs/describe_captcha_min.go
  61. 0 104
      services/afs/describe_early_warning.go
  62. 0 104
      services/afs/describe_person_machine_list.go
  63. 2 2
      services/alidns/add_batch_domain_records.go
  64. 9 11
      services/alidns/add_domain.go
  65. 2 2
      services/alidns/add_domain_group.go
  66. 6 6
      services/alidns/add_domain_record.go
  67. 2 2
      services/alidns/apply_for_retrieval_domain_name.go
  68. 2 2
      services/alidns/change_domain_group.go
  69. 3 3
      services/alidns/change_domain_of_dns_product.go
  70. 3 3
      services/alidns/check_domain_record.go
  71. 2 2
      services/alidns/delete_batch_domain_records.go
  72. 2 2
      services/alidns/delete_batch_domains.go
  73. 2 2
      services/alidns/delete_domain.go
  74. 2 2
      services/alidns/delete_domain_group.go
  75. 1 1
      services/alidns/delete_domain_record.go
  76. 2 2
      services/alidns/delete_sub_domain_records.go
  77. 7 12
      services/alidns/describe_batch_result.go
  78. 31 33
      services/alidns/describe_dns_product_instance.go
  79. 8 39
      services/alidns/describe_dns_product_instances.go
  80. 8 15
      services/alidns/describe_dnsslb_sub_domains.go
  81. 9 15
      services/alidns/describe_domain_groups.go
  82. 21 32
      services/alidns/describe_domain_info.go
  83. 10 19
      services/alidns/describe_domain_logs.go
  84. 7 11
      services/alidns/describe_domain_ns.go
  85. 1 1
      services/alidns/describe_domain_record_info.go
  86. 12 27
      services/alidns/describe_domain_records.go
  87. 10 14
      services/alidns/describe_domain_whois_info.go
  88. 9 29
      services/alidns/describe_domains.go
  89. 9 17
      services/alidns/describe_record_logs.go
  90. 9 23
      services/alidns/describe_sub_domain_records.go
  91. 3 10
      services/alidns/describe_support_lines.go
  92. 1 1
      services/alidns/get_main_domain_name.go
  93. 5 9
      services/alidns/modify_hichina_domain_dns.go
  94. 2 2
      services/alidns/retrieval_domain_name.go
  95. 3 3
      services/alidns/set_dnsslb_status.go
  96. 2 2
      services/alidns/set_domain_record_status.go
  97. 20 0
      services/alidns/struct_available_ttls.go
  98. 47 0
      services/alidns/struct_dns_product.go
  99. 20 0
      services/alidns/struct_dns_products.go
  100. 20 0
      services/alidns/struct_dns_servers_in_add_domain.go

+ 23 - 0
ChangeLog.txt

@@ -1,3 +1,26 @@
+2018-02-12 Version: 1.0.0
+1. Optimize the nested structs in all response, this will bring the following incompatibilities:
+    * Api response struct changes, conclude:
+        * ecs.DescribeNetworkInterfaces
+        * ecs.DescribeDeploymentSetTopology
+        * rds.DescribeDBInstanceIPArrayList
+        * rds.DescribeDBInstancesAsCsv
+        * slb.DescribeLoadBalancersRelatedEcs
+        * vpc.DescribeVpcAttribute
+        * vpc.DescribeVirtualBorderRouters
+        * mts.RegisterMediaDetailPerson
+        * mts.QueryEditingJobList
+        * mts.SubmitEditingJobs
+        * mts.QueryMediaListByURL
+        * mts.ListJob
+        * mts.QueryMediaList
+        * mts.QueryJobList
+        * mts.SubmitJobs
+        * ehpc.DescribeCluster
+        * aegis.GetEntityList
+        * aegis.DescribeStratety
+
+
 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.

+ 2 - 2
integration/rds_test.go

@@ -13,7 +13,7 @@ import (
 )
 
 const (
-	RdsInstanceDefaultTimeout = 120
+	RdsInstanceDefaultTimeout = 240
 	RdsDefaultWaitForInterval = 60
 
 	RdsInstanceStatusRunning = "Running"
@@ -36,7 +36,7 @@ func TestRdsInstance(t *testing.T) {
 
 	dbInstanceId := createDBInstance(t, rdsClient)
 
-	waitForRdsInstance(t, rdsClient, dbInstanceId, RdsInstanceStatusRunning, 1200)
+	waitForRdsInstance(t, rdsClient, dbInstanceId, RdsInstanceStatusRunning, 2400)
 
 	//createAccount(t, rdsClient, dbInstanceId)
 

+ 1 - 1
sdk/errors/signature_does_not_match_wrapper.go

@@ -13,7 +13,7 @@ func (*SignatureDostNotMatchWrapper) tryWrap(error *ServerError, wrapInfo map[st
 	if error.errorCode == SignatureDostNotMatchErrorCode && clientStringToSign != "" {
 		message := error.message
 		if strings.HasPrefix(message, MessagePrefix) {
-			serverStringToSign := message[len(MessagePrefix):len(message)]
+			serverStringToSign := message[len(MessagePrefix):]
 			if clientStringToSign == serverStringToSign {
 				// user secret is error
 				error.recommend = "Please check you AccessKeySecret"

+ 18 - 2
sdk/utils/utils.go

@@ -27,6 +27,10 @@ import (
 	"time"
 )
 
+// if you use go 1.10 or higher, you can hack this util by these to avoid "TimeZone.zip not found" on Windows
+var LoadLocationFromTZData func(name string, data []byte) (*time.Location, error) = nil
+var TZData []byte = nil
+
 func GetUUIDV4() (uuidHex string) {
 	uuidV4 := uuid.NewV4()
 	uuidHex = hex.EncodeToString(uuidV4.Bytes())
@@ -42,7 +46,13 @@ func GetMD5Base64(bytes []byte) (base64Value string) {
 }
 
 func GetTimeInFormatISO8601() (timeStr string) {
-	gmt, err := time.LoadLocation("GMT")
+	var gmt *time.Location
+	var err error
+	if LoadLocationFromTZData != nil && TZData != nil {
+		gmt, err = LoadLocationFromTZData("GMT", TZData)
+	} else {
+		gmt, err = time.LoadLocation("GMT")
+	}
 	if err != nil {
 		panic(err)
 	}
@@ -50,7 +60,13 @@ func GetTimeInFormatISO8601() (timeStr string) {
 }
 
 func GetTimeInFormatRFC2616() (timeStr string) {
-	gmt, err := time.LoadLocation("GMT")
+	var gmt *time.Location
+	var err error
+	if LoadLocationFromTZData != nil && TZData != nil {
+		gmt, err = LoadLocationFromTZData("GMT", TZData)
+	} else {
+		gmt, err = time.LoadLocation("GMT")
+	}
 	if err != nil {
 		panic(err)
 	}

+ 5 - 5
services/aegis/create_instance.go

@@ -67,13 +67,13 @@ func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest,
 
 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"`
+	ClientToken       string           `position:"Query" name:"ClientToken"`
+	Duration          requests.Integer `position:"Query" name:"Duration"`
 	PricingCycle      string           `position:"Query" name:"PricingCycle"`
+	VersionCode       requests.Integer `position:"Query" name:"VersionCode"`
+	VmNumber          requests.Integer `position:"Query" name:"VmNumber"`
+	IsAutoRenew       requests.Boolean `position:"Query" name:"IsAutoRenew"`
 	AutoRenewDuration requests.Integer `position:"Query" name:"AutoRenewDuration"`
 }
 

+ 103 - 0
services/aegis/create_suspicious_export.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) CreateSuspiciousExport(request *CreateSuspiciousExportRequest) (response *CreateSuspiciousExportResponse, err error) {
+	response = CreateCreateSuspiciousExportResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) CreateSuspiciousExportWithChan(request *CreateSuspiciousExportRequest) (<-chan *CreateSuspiciousExportResponse, <-chan error) {
+	responseChan := make(chan *CreateSuspiciousExportResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateSuspiciousExport(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) CreateSuspiciousExportWithCallback(request *CreateSuspiciousExportRequest, callback func(response *CreateSuspiciousExportResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateSuspiciousExportResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateSuspiciousExport(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type CreateSuspiciousExportRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EventNameRemark string           `position:"Query" name:"EventNameRemark"`
+	StatusList      string           `position:"Query" name:"StatusList"`
+	Level           string           `position:"Query" name:"Level"`
+	Dealed          string           `position:"Query" name:"Dealed"`
+	EventType       string           `position:"Query" name:"EventType"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	GroupId         string           `position:"Query" name:"GroupId"`
+	Remark          string           `position:"Query" name:"Remark"`
+	Tag             string           `position:"Query" name:"Tag"`
+}
+
+type CreateSuspiciousExportResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Id        int    `json:"Id" xml:"Id"`
+	FileName  string `json:"FileName" xml:"FileName"`
+}
+
+func CreateCreateSuspiciousExportRequest() (request *CreateSuspiciousExportRequest) {
+	request = &CreateSuspiciousExportRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "CreateSuspiciousExport", "vipaegis", "openAPI")
+	return
+}
+
+func CreateCreateSuspiciousExportResponse() (response *CreateSuspiciousExportResponse) {
+	response = &CreateSuspiciousExportResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/aegis/delete_strategy.go

@@ -67,8 +67,8 @@ func (client *Client) DeleteStrategyWithCallback(request *DeleteStrategyRequest,
 
 type DeleteStrategyRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	Id              string           `position:"Query" name:"Id"`
 }
 

+ 1 - 1
services/aegis/describe_login_logs.go

@@ -67,8 +67,8 @@ func (client *Client) DescribeLoginLogsWithCallback(request *DescribeLoginLogsRe
 
 type DescribeLoginLogsRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
 }

+ 4 - 8
services/aegis/describe_strategy_target.go

@@ -67,8 +67,8 @@ func (client *Client) DescribeStrategyTargetWithCallback(request *DescribeStrate
 
 type DescribeStrategyTargetRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	Type            string           `position:"Query" name:"Type"`
 	Config          string           `position:"Query" name:"Config"`
 	Target          string           `position:"Query" name:"Target"`
@@ -76,13 +76,9 @@ type DescribeStrategyTargetRequest struct {
 
 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"`
+	RequestId       string       `json:"RequestId" xml:"RequestId"`
+	Count           int          `json:"Count" xml:"Count"`
+	StrategyTargets []StringItem `json:"StrategyTargets" xml:"StrategyTargets"`
 }
 
 func CreateDescribeStrategyTargetRequest() (request *DescribeStrategyTargetRequest) {

+ 2 - 15
services/aegis/describe_stratety.go

@@ -67,28 +67,15 @@ func (client *Client) DescribeStratetyWithCallback(request *DescribeStratetyRequ
 
 type DescribeStratetyRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 }
 
 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"`
+	Strategies []Data `json:"Strategies" xml:"Strategies"`
 }
 
 func CreateDescribeStratetyRequest() (request *DescribeStratetyRequest) {

+ 3 - 19
services/aegis/describe_stratety_detail.go

@@ -67,31 +67,15 @@ func (client *Client) DescribeStratetyDetailWithCallback(request *DescribeStrate
 
 type DescribeStratetyDetailRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	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"`
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Strategy  Strategy `json:"Strategy" xml:"Strategy"`
 }
 
 func CreateDescribeStratetyDetailRequest() (request *DescribeStratetyDetailRequest) {

+ 1 - 1
services/aegis/describe_suspicious_events.go

@@ -67,8 +67,8 @@ func (client *Client) DescribeSuspiciousEventsWithCallback(request *DescribeSusp
 
 type DescribeSuspiciousEventsRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 }
 
 type DescribeSuspiciousEventsResponse struct {

+ 102 - 0
services/aegis/describe_suspicious_export_info.go

@@ -0,0 +1,102 @@
+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) DescribeSuspiciousExportInfo(request *DescribeSuspiciousExportInfoRequest) (response *DescribeSuspiciousExportInfoResponse, err error) {
+	response = CreateDescribeSuspiciousExportInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+func (client *Client) DescribeSuspiciousExportInfoWithChan(request *DescribeSuspiciousExportInfoRequest) (<-chan *DescribeSuspiciousExportInfoResponse, <-chan error) {
+	responseChan := make(chan *DescribeSuspiciousExportInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSuspiciousExportInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+func (client *Client) DescribeSuspiciousExportInfoWithCallback(request *DescribeSuspiciousExportInfoRequest, callback func(response *DescribeSuspiciousExportInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSuspiciousExportInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSuspiciousExportInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeSuspiciousExportInfoRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ExportId        requests.Integer `position:"Query" name:"ExportId"`
+}
+
+type DescribeSuspiciousExportInfoResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Id           int    `json:"Id" xml:"Id"`
+	GmtCreate    int    `json:"GmtCreate" xml:"GmtCreate"`
+	FileName     string `json:"FileName" xml:"FileName"`
+	CurrentCount int    `json:"CurrentCount" xml:"CurrentCount"`
+	TotalCount   int    `json:"TotalCount" xml:"TotalCount"`
+	Progress     int    `json:"Progress" xml:"Progress"`
+	Status       string `json:"Status" xml:"Status"`
+	Message      string `json:"Message" xml:"Message"`
+	Link         string `json:"Link" xml:"Link"`
+}
+
+func CreateDescribeSuspiciousExportInfoRequest() (request *DescribeSuspiciousExportInfoRequest) {
+	request = &DescribeSuspiciousExportInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeSuspiciousExportInfo", "vipaegis", "openAPI")
+	return
+}
+
+func CreateDescribeSuspiciousExportInfoResponse() (response *DescribeSuspiciousExportInfoResponse) {
+	response = &DescribeSuspiciousExportInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 14 - 14
services/aegis/describe_vul_details.go

@@ -67,27 +67,27 @@ func (client *Client) DescribeVulDetailsWithCallback(request *DescribeVulDetails
 
 type DescribeVulDetailsRequest struct {
 	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Type            string           `position:"Query" name:"Type"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	Name            string           `position:"Query" name:"Name"`
+	PatchId         requests.Integer `position:"Query" name:"PatchId"`
+	Level           string           `position:"Query" name:"Level"`
 	Product         string           `position:"Query" name:"Product"`
+	LastTsStart     requests.Integer `position:"Query" name:"LastTsStart"`
+	LastTsEnd       requests.Integer `position:"Query" name:"LastTsEnd"`
 	StatusList      string           `position:"Query" name:"StatusList"`
-	Level           string           `position:"Query" name:"Level"`
-	Resource        string           `position:"Query" name:"Resource"`
 	OrderBy         string           `position:"Query" name:"OrderBy"`
+	Direction       string           `position:"Query" name:"Direction"`
+	AliasName       string           `position:"Query" name:"AliasName"`
+	BatchName       string           `position:"Query" name:"BatchName"`
+	Resource        string           `position:"Query" name:"Resource"`
+	Necessity       string           `position:"Query" name:"Necessity"`
 	Dealed          string           `position:"Query" name:"Dealed"`
+	Lang            string           `position:"Query" name:"Lang"`
 	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 {

+ 14 - 14
services/aegis/describe_vul_list.go

@@ -67,27 +67,27 @@ func (client *Client) DescribeVulListWithCallback(request *DescribeVulListReques
 
 type DescribeVulListRequest struct {
 	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Type            string           `position:"Query" name:"Type"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	Name            string           `position:"Query" name:"Name"`
+	PatchId         requests.Integer `position:"Query" name:"PatchId"`
+	Level           string           `position:"Query" name:"Level"`
 	Product         string           `position:"Query" name:"Product"`
+	LastTsStart     requests.Integer `position:"Query" name:"LastTsStart"`
+	LastTsEnd       requests.Integer `position:"Query" name:"LastTsEnd"`
 	StatusList      string           `position:"Query" name:"StatusList"`
-	Level           string           `position:"Query" name:"Level"`
-	Resource        string           `position:"Query" name:"Resource"`
 	OrderBy         string           `position:"Query" name:"OrderBy"`
+	Direction       string           `position:"Query" name:"Direction"`
+	AliasName       string           `position:"Query" name:"AliasName"`
+	BatchName       string           `position:"Query" name:"BatchName"`
+	Resource        string           `position:"Query" name:"Resource"`
+	Necessity       string           `position:"Query" name:"Necessity"`
 	Dealed          string           `position:"Query" name:"Dealed"`
+	Lang            string           `position:"Query" name:"Lang"`
 	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 {

+ 6 - 6
services/aegis/describe_warning.go

@@ -67,17 +67,17 @@ func (client *Client) DescribeWarningWithCallback(request *DescribeWarningReques
 
 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"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	TypeNames       string           `position:"Query" name:"TypeNames"`
+	SubTypeNames    string           `position:"Query" name:"SubTypeNames"`
 	RiskLevels      string           `position:"Query" name:"RiskLevels"`
+	StatusList      string           `position:"Query" name:"StatusList"`
+	RiskName        string           `position:"Query" name:"RiskName"`
 	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"`
+	Dealed          string           `position:"Query" name:"Dealed"`
 }
 
 type DescribeWarningResponse struct {

+ 1 - 1
services/aegis/describe_webshell.go

@@ -67,8 +67,8 @@ func (client *Client) DescribeWebshellWithCallback(request *DescribeWebshellRequ
 
 type DescribeWebshellRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	GroupId         requests.Integer `position:"Query" name:"GroupId"`
 	Remark          string           `position:"Query" name:"Remark"`
 }

+ 2 - 5
services/aegis/get_account_statistics.go

@@ -67,8 +67,8 @@ func (client *Client) GetAccountStatisticsWithCallback(request *GetAccountStatis
 
 type GetAccountStatisticsRequest struct {
 	*requests.RpcRequest
-	EndTime   string `position:"Query" name:"EndTime"`
 	StartTime string `position:"Query" name:"StartTime"`
+	EndTime   string `position:"Query" name:"EndTime"`
 }
 
 type GetAccountStatisticsResponse struct {
@@ -77,10 +77,7 @@ type GetAccountStatisticsResponse struct {
 	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"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 func CreateGetAccountStatisticsRequest() (request *GetAccountStatisticsRequest) {

+ 2 - 4
services/aegis/get_crack_statistics.go

@@ -67,8 +67,8 @@ func (client *Client) GetCrackStatisticsWithCallback(request *GetCrackStatistics
 
 type GetCrackStatisticsRequest struct {
 	*requests.RpcRequest
-	EndTime   string `position:"Query" name:"EndTime"`
 	StartTime string `position:"Query" name:"StartTime"`
+	EndTime   string `position:"Query" name:"EndTime"`
 }
 
 type GetCrackStatisticsResponse struct {
@@ -77,9 +77,7 @@ type GetCrackStatisticsResponse struct {
 	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"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 func CreateGetCrackStatisticsRequest() (request *GetCrackStatisticsRequest) {

+ 3 - 25
services/aegis/get_entity_list.go

@@ -68,11 +68,11 @@ func (client *Client) GetEntityListWithCallback(request *GetEntityListRequest, c
 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"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
 }
 
 type GetEntityListResponse struct {
@@ -81,29 +81,7 @@ type GetEntityListResponse struct {
 	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"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 func CreateGetEntityListRequest() (request *GetEntityListRequest) {

+ 2 - 7
services/aegis/get_statistics.go

@@ -67,8 +67,8 @@ func (client *Client) GetStatisticsWithCallback(request *GetStatisticsRequest, c
 
 type GetStatisticsRequest struct {
 	*requests.RpcRequest
-	EndTime   string `position:"Query" name:"EndTime"`
 	StartTime string `position:"Query" name:"StartTime"`
+	EndTime   string `position:"Query" name:"EndTime"`
 }
 
 type GetStatisticsResponse struct {
@@ -77,12 +77,7 @@ type GetStatisticsResponse struct {
 	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"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 func CreateGetStatisticsRequest() (request *GetStatisticsRequest) {

+ 5 - 14
services/aegis/get_statistics_by_uuid.go

@@ -72,20 +72,11 @@ type GetStatisticsByUuidRequest struct {
 
 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"`
+	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      DataInGetStatisticsByUuid `json:"Data" xml:"Data"`
 }
 
 func CreateGetStatisticsByUuidRequest() (request *GetStatisticsByUuidRequest) {

+ 2 - 2
services/aegis/modify_batch_ignore_vul.go

@@ -67,9 +67,9 @@ func (client *Client) ModifyBatchIgnoreVulWithCallback(request *ModifyBatchIgnor
 
 type ModifyBatchIgnoreVulRequest struct {
 	*requests.RpcRequest
-	Reason          string           `position:"Query" name:"Reason"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Reason          string           `position:"Query" name:"Reason"`
 	Info            string           `position:"Query" name:"Info"`
 }
 

+ 5 - 7
services/aegis/modify_strategy.go

@@ -67,12 +67,12 @@ func (client *Client) ModifyStrategyWithCallback(request *ModifyStrategyRequest,
 
 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"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	CycleDays       string           `position:"Query" name:"CycleDays"`
+	Name            string           `position:"Query" name:"Name"`
+	CycleStartTime  string           `position:"Query" name:"CycleStartTime"`
+	RiskSubTypeName string           `position:"Query" name:"RiskSubTypeName"`
 	Id              string           `position:"Query" name:"Id"`
 }
 
@@ -82,9 +82,7 @@ type ModifyStrategyResponse struct {
 	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"`
+	Result         Result `json:"Result" xml:"Result"`
 }
 
 func CreateModifyStrategyRequest() (request *ModifyStrategyRequest) {

+ 1 - 1
services/aegis/modify_strategy_target.go

@@ -67,8 +67,8 @@ func (client *Client) ModifyStrategyTargetWithCallback(request *ModifyStrategyTa
 
 type ModifyStrategyTargetRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	Type            string           `position:"Query" name:"Type"`
 	Config          string           `position:"Query" name:"Config"`
 	Target          string           `position:"Query" name:"Target"`

+ 4 - 32
services/aegis/query_crack_event.go

@@ -67,11 +67,11 @@ func (client *Client) QueryCrackEventWithCallback(request *QueryCrackEventReques
 
 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"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
 }
 
 type QueryCrackEventResponse struct {
@@ -80,35 +80,7 @@ type QueryCrackEventResponse struct {
 	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"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 func CreateQueryCrackEventRequest() (request *QueryCrackEventRequest) {

+ 4 - 30
services/aegis/query_login_event.go

@@ -67,11 +67,11 @@ func (client *Client) QueryLoginEventWithCallback(request *QueryLoginEventReques
 
 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"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	EndTime     string           `position:"Query" name:"EndTime"`
 }
 
 type QueryLoginEventResponse struct {
@@ -80,33 +80,7 @@ type QueryLoginEventResponse struct {
 	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"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 func CreateQueryLoginEventRequest() (request *QueryLoginEventRequest) {

+ 1 - 1
services/aegis/release_instance.go

@@ -67,8 +67,8 @@ func (client *Client) ReleaseInstanceWithCallback(request *ReleaseInstanceReques
 
 type ReleaseInstanceRequest struct {
 	*requests.RpcRequest
-	InstanceId string           `position:"Query" name:"InstanceId"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
 }
 
 type ReleaseInstanceResponse struct {

+ 3 - 3
services/aegis/renew_instance.go

@@ -67,11 +67,11 @@ func (client *Client) RenewInstanceWithCallback(request *RenewInstanceRequest, c
 
 type RenewInstanceRequest struct {
 	*requests.RpcRequest
-	Duration     requests.Integer `position:"Query" name:"Duration"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
+	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
 	ClientToken  string           `position:"Query" name:"ClientToken"`
+	InstanceId   string           `position:"Query" name:"InstanceId"`
 	VmNumber     string           `position:"Query" name:"VmNumber"`
-	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
+	Duration     requests.Integer `position:"Query" name:"Duration"`
 	PricingCycle string           `position:"Query" name:"PricingCycle"`
 }
 

+ 22 - 0
services/aegis/struct_config_target.go

@@ -0,0 +1,22 @@
+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.
+
+type ConfigTarget struct {
+	Flag       string `json:"Flag" xml:"Flag"`
+	TargetType string `json:"TargetType" xml:"TargetType"`
+	Target     string `json:"Target" xml:"Target"`
+}

+ 20 - 0
services/aegis/struct_config_targets.go

@@ -0,0 +1,20 @@
+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.
+
+type ConfigTargets struct {
+	ConfigTarget []ConfigTarget `json:"ConfigTarget" xml:"ConfigTarget"`
+}

+ 20 - 0
services/aegis/struct_cve_lists.go

@@ -0,0 +1,20 @@
+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.
+
+type CveLists struct {
+	Cve []string `json:"cve" xml:"cve"`
+}

+ 36 - 0
services/aegis/struct_data.go

@@ -0,0 +1,36 @@
+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.
+
+type Data struct {
+	CrackSuccess   int                   `json:"CrackSuccess" xml:"CrackSuccess"`
+	Name           string                `json:"Name" xml:"Name"`
+	EcsCount       int                   `json:"EcsCount" xml:"EcsCount"`
+	Account        int                   `json:"Account" xml:"Account"`
+	CycleDays      int                   `json:"CycleDays" xml:"CycleDays"`
+	Health         int                   `json:"Health" xml:"Health"`
+	Intercepted    int                   `json:"Intercepted" xml:"Intercepted"`
+	Patch          int                   `json:"Patch" xml:"Patch"`
+	RiskCount      int                   `json:"RiskCount" xml:"RiskCount"`
+	RemoteLogin    int                   `json:"RemoteLogin" xml:"RemoteLogin"`
+	CycleStartTime int                   `json:"CycleStartTime" xml:"CycleStartTime"`
+	Id             int                   `json:"Id" xml:"Id"`
+	Type           int                   `json:"Type" xml:"Type"`
+	Trojan         int                   `json:"Trojan" xml:"Trojan"`
+	PageInfo       PageInfo              `json:"PageInfo" xml:"PageInfo"`
+	List           ListInQueryCrackEvent `json:"List" xml:"List"`
+	ConfigTargets  ConfigTargets         `json:"ConfigTargets" xml:"ConfigTargets"`
+}

+ 20 - 0
services/aegis/struct_data_in_get_statistics_by_uuid.go

@@ -0,0 +1,20 @@
+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.
+
+type DataInGetStatisticsByUuid struct {
+	Entity []Entity `json:"Entity" xml:"Entity"`
+}

+ 45 - 0
services/aegis/struct_entity.go

@@ -0,0 +1,45 @@
+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.
+
+type Entity struct {
+	AttackType     int    `json:"AttackType" xml:"AttackType"`
+	Ip             string `json:"Ip" xml:"Ip"`
+	LoginType      int    `json:"LoginType" xml:"LoginType"`
+	CrackTimes     int    `json:"CrackTimes" xml:"CrackTimes"`
+	Account        int    `json:"Account" xml:"Account"`
+	CrackSourceIp  string `json:"CrackSourceIp" xml:"CrackSourceIp"`
+	StatusName     string `json:"StatusName" xml:"StatusName"`
+	GroupId        int    `json:"GroupId" xml:"GroupId"`
+	InstanceName   string `json:"InstanceName" xml:"InstanceName"`
+	Location       string `json:"Location" xml:"Location"`
+	Trojan         int    `json:"Trojan" xml:"Trojan"`
+	Status         int    `json:"Status" xml:"Status"`
+	AttackTime     string `json:"AttackTime" xml:"AttackTime"`
+	LoginSourceIp  string `json:"LoginSourceIp" xml:"LoginSourceIp"`
+	BuyVersion     string `json:"BuyVersion" xml:"BuyVersion"`
+	Region         string `json:"Region" xml:"Region"`
+	AttackTypeName string `json:"AttackTypeName" xml:"AttackTypeName"`
+	Health         int    `json:"Health" xml:"Health"`
+	Uuid           string `json:"Uuid" xml:"Uuid"`
+	InWhite        int    `json:"InWhite" xml:"InWhite"`
+	Patch          int    `json:"Patch" xml:"Patch"`
+	LoginTime      string `json:"LoginTime" xml:"LoginTime"`
+	UserName       string `json:"UserName" xml:"UserName"`
+	InstanceId     string `json:"InstanceId" xml:"InstanceId"`
+	Online         bool   `json:"Online" xml:"Online"`
+	LoginTypeName  string `json:"LoginTypeName" xml:"LoginTypeName"`
+}

+ 30 - 0
services/aegis/struct_entity_in_get_entity_list.go

@@ -0,0 +1,30 @@
+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.
+
+type EntityInGetEntityList 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"`
+}

+ 20 - 0
services/aegis/struct_list_in_get_entity_list.go

@@ -0,0 +1,20 @@
+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.
+
+type ListInGetEntityList struct {
+	Entity []EntityInGetEntityList `json:"Entity" xml:"Entity"`
+}

+ 20 - 0
services/aegis/struct_list_in_query_crack_event.go

@@ -0,0 +1,20 @@
+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.
+
+type ListInQueryCrackEvent struct {
+	Entity []Entity `json:"Entity" xml:"Entity"`
+}

+ 20 - 0
services/aegis/struct_list_in_query_login_event.go

@@ -0,0 +1,20 @@
+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.
+
+type ListInQueryLoginEvent struct {
+	Entity []Entity `json:"Entity" xml:"Entity"`
+}

+ 20 - 0
services/aegis/struct_login_logs.go

@@ -0,0 +1,20 @@
+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.
+
+type LoginLogs struct {
+	StringItem []string `json:"StringItem" xml:"StringItem"`
+}

+ 23 - 0
services/aegis/struct_page_info.go

@@ -0,0 +1,23 @@
+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.
+
+type PageInfo struct {
+	PageSize    int `json:"PageSize" xml:"PageSize"`
+	Count       int `json:"Count" xml:"Count"`
+	TotalCount  int `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage int `json:"CurrentPage" xml:"CurrentPage"`
+}

+ 20 - 0
services/aegis/struct_result.go

@@ -0,0 +1,20 @@
+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.
+
+type Result struct {
+	StrategyId int `json:"StrategyId" xml:"StrategyId"`
+}

+ 23 - 0
services/aegis/struct_risk_type_white_list_query_result.go

@@ -0,0 +1,23 @@
+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.
+
+type RiskTypeWhiteListQueryResult struct {
+	TypeName string   `json:"TypeName" xml:"TypeName"`
+	Alias    string   `json:"Alias" xml:"Alias"`
+	On       bool     `json:"On" xml:"On"`
+	SubTypes []SubTyp `json:"SubTypes" xml:"SubTypes"`
+}

+ 20 - 0
services/aegis/struct_risk_type_white_list_query_result_list.go

@@ -0,0 +1,20 @@
+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.
+
+type RiskTypeWhiteListQueryResultList struct {
+	RiskTypeWhiteListQueryResult []RiskTypeWhiteListQueryResult `json:"RiskTypeWhiteListQueryResult" xml:"RiskTypeWhiteListQueryResult"`
+}

+ 20 - 0
services/aegis/struct_strategies.go

@@ -0,0 +1,20 @@
+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.
+
+type Strategies struct {
+	Data []Data `json:"Data" xml:"Data"`
+}

+ 25 - 0
services/aegis/struct_strategy.go

@@ -0,0 +1,25 @@
+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.
+
+type 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 []RiskTypeWhiteListQueryResult `json:"RiskTypeWhiteListQueryResultList" xml:"RiskTypeWhiteListQueryResultList"`
+}

+ 20 - 0
services/aegis/struct_strategy_targets.go

@@ -0,0 +1,20 @@
+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.
+
+type StrategyTargets struct {
+	StringItem []StringItem `json:"StringItem" xml:"StringItem"`
+}

+ 22 - 0
services/aegis/struct_string_item.go

@@ -0,0 +1,22 @@
+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.
+
+type StringItem struct {
+	Flag       string `json:"Flag" xml:"Flag"`
+	Target     string `json:"Target" xml:"Target"`
+	TargetType string `json:"TargetType" xml:"TargetType"`
+}

+ 22 - 0
services/aegis/struct_sub_typ.go

@@ -0,0 +1,22 @@
+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.
+
+type SubTyp struct {
+	TypeName string `json:"TypeName" xml:"TypeName"`
+	Alias    string `json:"Alias" xml:"Alias"`
+	On       bool   `json:"On" xml:"On"`
+}

+ 20 - 0
services/aegis/struct_sub_types.go

@@ -0,0 +1,20 @@
+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.
+
+type SubTypes struct {
+	SubTyp []SubTyp `json:"SubTyp" xml:"SubTyp"`
+}

+ 20 - 0
services/aegis/struct_suspicious_events.go

@@ -0,0 +1,20 @@
+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.
+
+type SuspiciousEvents struct {
+	StringItem []string `json:"StringItem" xml:"StringItem"`
+}

+ 20 - 0
services/aegis/struct_vul_records.go

@@ -0,0 +1,20 @@
+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.
+
+type VulRecords struct {
+	VulRecord []string `json:"vulRecord" xml:"vulRecord"`
+}

+ 20 - 0
services/aegis/struct_warnings.go

@@ -0,0 +1,20 @@
+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.
+
+type Warnings struct {
+	Warning []string `json:"warning" xml:"warning"`
+}

+ 3 - 3
services/aegis/upgrade_instance.go

@@ -67,11 +67,11 @@ func (client *Client) UpgradeInstanceWithCallback(request *UpgradeInstanceReques
 
 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"`
+	ClientToken string           `position:"Query" name:"ClientToken"`
+	InstanceId  string           `position:"Query" name:"InstanceId"`
 	VersionCode requests.Integer `position:"Query" name:"VersionCode"`
+	VmNumber    requests.Integer `position:"Query" name:"VmNumber"`
 }
 
 type UpgradeInstanceResponse struct {

+ 0 - 67
services/afs/client.go

@@ -1,67 +0,0 @@
-package afs
-
-//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
-}

+ 0 - 104
services/afs/configuration_style.go

@@ -1,104 +0,0 @@
-package afs
-
-//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) ConfigurationStyle(request *ConfigurationStyleRequest) (response *ConfigurationStyleResponse, err error) {
-	response = CreateConfigurationStyleResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-func (client *Client) ConfigurationStyleWithChan(request *ConfigurationStyleRequest) (<-chan *ConfigurationStyleResponse, <-chan error) {
-	responseChan := make(chan *ConfigurationStyleResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ConfigurationStyle(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-func (client *Client) ConfigurationStyleWithCallback(request *ConfigurationStyleRequest, callback func(response *ConfigurationStyleResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ConfigurationStyleResponse
-		var err error
-		defer close(result)
-		response, err = client.ConfigurationStyle(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-type ConfigurationStyleRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId     requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceIp            string           `position:"Query" name:"SourceIp"`
-	ConfigurationMethod string           `position:"Query" name:"ConfigurationMethod"`
-	ApplyType           string           `position:"Query" name:"ApplyType"`
-	Scene               string           `position:"Query" name:"Scene"`
-}
-
-type ConfigurationStyleResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	BizCode   string `json:"BizCode" xml:"BizCode"`
-	CodeData  struct {
-		Html   string `json:"Html" xml:"Html"`
-		Net    string `json:"Net" xml:"Net"`
-		Php    string `json:"Php" xml:"Php"`
-		Python string `json:"Python" xml:"Python"`
-		Java   string `json:"Java" xml:"Java"`
-		NodeJs string `json:"NodeJs" xml:"NodeJs"`
-	} `json:"CodeData" xml:"CodeData"`
-}
-
-func CreateConfigurationStyleRequest() (request *ConfigurationStyleRequest) {
-	request = &ConfigurationStyleRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("afs", "2018-01-12", "ConfigurationStyle", "", "")
-	return
-}
-
-func CreateConfigurationStyleResponse() (response *ConfigurationStyleResponse) {
-	response = &ConfigurationStyleResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 98
services/afs/create_configuration.go

@@ -1,98 +0,0 @@
-package afs
-
-//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) CreateConfiguration(request *CreateConfigurationRequest) (response *CreateConfigurationResponse, err error) {
-	response = CreateCreateConfigurationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-func (client *Client) CreateConfigurationWithChan(request *CreateConfigurationRequest) (<-chan *CreateConfigurationResponse, <-chan error) {
-	responseChan := make(chan *CreateConfigurationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateConfiguration(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-func (client *Client) CreateConfigurationWithCallback(request *CreateConfigurationRequest, callback func(response *CreateConfigurationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateConfigurationResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateConfiguration(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-type CreateConfigurationRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId     requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceIp            string           `position:"Query" name:"SourceIp"`
-	ConfigurationName   string           `position:"Query" name:"ConfigurationName"`
-	MaxPV               string           `position:"Query" name:"MaxPV"`
-	ConfigurationMethod string           `position:"Query" name:"ConfigurationMethod"`
-	ApplyType           string           `position:"Query" name:"ApplyType"`
-	Scene               string           `position:"Query" name:"Scene"`
-}
-
-type CreateConfigurationResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	BizCode   string `json:"BizCode" xml:"BizCode"`
-}
-
-func CreateCreateConfigurationRequest() (request *CreateConfigurationRequest) {
-	request = &CreateConfigurationRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("afs", "2018-01-12", "CreateConfiguration", "", "")
-	return
-}
-
-func CreateCreateConfigurationResponse() (response *CreateConfigurationResponse) {
-	response = &CreateConfigurationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/afs/describe_captcha_day.go

@@ -1,108 +0,0 @@
-package afs
-
-//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) DescribeCaptchaDay(request *DescribeCaptchaDayRequest) (response *DescribeCaptchaDayResponse, err error) {
-	response = CreateDescribeCaptchaDayResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-func (client *Client) DescribeCaptchaDayWithChan(request *DescribeCaptchaDayRequest) (<-chan *DescribeCaptchaDayResponse, <-chan error) {
-	responseChan := make(chan *DescribeCaptchaDayResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCaptchaDay(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-func (client *Client) DescribeCaptchaDayWithCallback(request *DescribeCaptchaDayRequest, callback func(response *DescribeCaptchaDayResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCaptchaDayResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCaptchaDay(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-type DescribeCaptchaDayRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-	ConfigName      string           `position:"Query" name:"ConfigName"`
-	Time            string           `position:"Query" name:"Time"`
-	Type            string           `position:"Query" name:"Type"`
-}
-
-type DescribeCaptchaDayResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	BizCode    string `json:"BizCode" xml:"BizCode"`
-	HasData    bool   `json:"HasData" xml:"HasData"`
-	CaptchaDay struct {
-		Init                        int `json:"Init" xml:"Init"`
-		AskForVerify                int `json:"AskForVerify" xml:"AskForVerify"`
-		DirecetStrategyInterception int `json:"DirecetStrategyInterception" xml:"DirecetStrategyInterception"`
-		TwiceVerify                 int `json:"TwiceVerify" xml:"TwiceVerify"`
-		Pass                        int `json:"Pass" xml:"Pass"`
-		CheckTested                 int `json:"CheckTested" xml:"CheckTested"`
-		UncheckTested               int `json:"UncheckTested" xml:"UncheckTested"`
-		LegalSign                   int `json:"LegalSign" xml:"LegalSign"`
-		MaliciousFlow               int `json:"MaliciousFlow" xml:"MaliciousFlow"`
-	} `json:"CaptchaDay" xml:"CaptchaDay"`
-}
-
-func CreateDescribeCaptchaDayRequest() (request *DescribeCaptchaDayRequest) {
-	request = &DescribeCaptchaDayRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("afs", "2018-01-12", "DescribeCaptchaDay", "", "")
-	return
-}
-
-func CreateDescribeCaptchaDayResponse() (response *DescribeCaptchaDayResponse) {
-	response = &DescribeCaptchaDayResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/afs/describe_captcha_ip_city.go

@@ -1,107 +0,0 @@
-package afs
-
-//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) DescribeCaptchaIpCity(request *DescribeCaptchaIpCityRequest) (response *DescribeCaptchaIpCityResponse, err error) {
-	response = CreateDescribeCaptchaIpCityResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-func (client *Client) DescribeCaptchaIpCityWithChan(request *DescribeCaptchaIpCityRequest) (<-chan *DescribeCaptchaIpCityResponse, <-chan error) {
-	responseChan := make(chan *DescribeCaptchaIpCityResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCaptchaIpCity(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-func (client *Client) DescribeCaptchaIpCityWithCallback(request *DescribeCaptchaIpCityRequest, callback func(response *DescribeCaptchaIpCityResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCaptchaIpCityResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCaptchaIpCity(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-type DescribeCaptchaIpCityRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-	ConfigName      string           `position:"Query" name:"ConfigName"`
-	Time            string           `position:"Query" name:"Time"`
-	Type            string           `position:"Query" name:"Type"`
-}
-
-type DescribeCaptchaIpCityResponse struct {
-	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	BizCode       string `json:"BizCode" xml:"BizCode"`
-	HasData       bool   `json:"HasData" xml:"HasData"`
-	CaptchaCities []struct {
-		Location string `json:"Location" xml:"Location"`
-		Lat      string `json:"Lat" xml:"Lat"`
-		Lng      string `json:"Lng" xml:"Lng"`
-		Pv       int    `json:"Pv" xml:"Pv"`
-	} `json:"CaptchaCities" xml:"CaptchaCities"`
-	CaptchaIps []struct {
-		Ip    string `json:"Ip" xml:"Ip"`
-		Value int    `json:"Value" xml:"Value"`
-	} `json:"CaptchaIps" xml:"CaptchaIps"`
-}
-
-func CreateDescribeCaptchaIpCityRequest() (request *DescribeCaptchaIpCityRequest) {
-	request = &DescribeCaptchaIpCityRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("afs", "2018-01-12", "DescribeCaptchaIpCity", "", "")
-	return
-}
-
-func CreateDescribeCaptchaIpCityResponse() (response *DescribeCaptchaIpCityResponse) {
-	response = &DescribeCaptchaIpCityResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 102
services/afs/describe_captcha_min.go

@@ -1,102 +0,0 @@
-package afs
-
-//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) DescribeCaptchaMin(request *DescribeCaptchaMinRequest) (response *DescribeCaptchaMinResponse, err error) {
-	response = CreateDescribeCaptchaMinResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-func (client *Client) DescribeCaptchaMinWithChan(request *DescribeCaptchaMinRequest) (<-chan *DescribeCaptchaMinResponse, <-chan error) {
-	responseChan := make(chan *DescribeCaptchaMinResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCaptchaMin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-func (client *Client) DescribeCaptchaMinWithCallback(request *DescribeCaptchaMinRequest, callback func(response *DescribeCaptchaMinResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCaptchaMinResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCaptchaMin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-type DescribeCaptchaMinRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-	ConfigName      string           `position:"Query" name:"ConfigName"`
-	Time            string           `position:"Query" name:"Time"`
-	Type            string           `position:"Query" name:"Type"`
-}
-
-type DescribeCaptchaMinResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	BizCode     string `json:"BizCode" xml:"BizCode"`
-	HasData     bool   `json:"HasData" xml:"HasData"`
-	CaptchaMins []struct {
-		Time         string `json:"Time" xml:"Time"`
-		Pass         string `json:"Pass" xml:"Pass"`
-		Interception string `json:"Interception" xml:"Interception"`
-	} `json:"CaptchaMins" xml:"CaptchaMins"`
-}
-
-func CreateDescribeCaptchaMinRequest() (request *DescribeCaptchaMinRequest) {
-	request = &DescribeCaptchaMinRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("afs", "2018-01-12", "DescribeCaptchaMin", "", "")
-	return
-}
-
-func CreateDescribeCaptchaMinResponse() (response *DescribeCaptchaMinResponse) {
-	response = &DescribeCaptchaMinResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/afs/describe_early_warning.go

@@ -1,104 +0,0 @@
-package afs
-
-//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) DescribeEarlyWarning(request *DescribeEarlyWarningRequest) (response *DescribeEarlyWarningResponse, err error) {
-	response = CreateDescribeEarlyWarningResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-func (client *Client) DescribeEarlyWarningWithChan(request *DescribeEarlyWarningRequest) (<-chan *DescribeEarlyWarningResponse, <-chan error) {
-	responseChan := make(chan *DescribeEarlyWarningResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeEarlyWarning(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-func (client *Client) DescribeEarlyWarningWithCallback(request *DescribeEarlyWarningRequest, callback func(response *DescribeEarlyWarningResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeEarlyWarningResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeEarlyWarning(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-type DescribeEarlyWarningRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-}
-
-type DescribeEarlyWarningResponse struct {
-	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	HasWarning    bool   `json:"HasWarning" xml:"HasWarning"`
-	BizCode       string `json:"BizCode" xml:"BizCode"`
-	EarlyWarnings []struct {
-		WarnOpen  bool   `json:"WarnOpen" xml:"WarnOpen"`
-		Title     string `json:"Title" xml:"Title"`
-		Content   string `json:"Content" xml:"Content"`
-		Frequency string `json:"Frequency" xml:"Frequency"`
-		TimeOpen  bool   `json:"TimeOpen" xml:"TimeOpen"`
-		TimeBegin string `json:"TimeBegin" xml:"TimeBegin"`
-		TimeEnd   string `json:"TimeEnd" xml:"TimeEnd"`
-		Channel   string `json:"Channel" xml:"Channel"`
-	} `json:"EarlyWarnings" xml:"EarlyWarnings"`
-}
-
-func CreateDescribeEarlyWarningRequest() (request *DescribeEarlyWarningRequest) {
-	request = &DescribeEarlyWarningRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("afs", "2018-01-12", "DescribeEarlyWarning", "", "")
-	return
-}
-
-func CreateDescribeEarlyWarningResponse() (response *DescribeEarlyWarningResponse) {
-	response = &DescribeEarlyWarningResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/afs/describe_person_machine_list.go

@@ -1,104 +0,0 @@
-package afs
-
-//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) DescribePersonMachineList(request *DescribePersonMachineListRequest) (response *DescribePersonMachineListResponse, err error) {
-	response = CreateDescribePersonMachineListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-func (client *Client) DescribePersonMachineListWithChan(request *DescribePersonMachineListRequest) (<-chan *DescribePersonMachineListResponse, <-chan error) {
-	responseChan := make(chan *DescribePersonMachineListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribePersonMachineList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-func (client *Client) DescribePersonMachineListWithCallback(request *DescribePersonMachineListRequest, callback func(response *DescribePersonMachineListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribePersonMachineListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribePersonMachineList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-type DescribePersonMachineListRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceIp        string           `position:"Query" name:"SourceIp"`
-}
-
-type DescribePersonMachineListResponse struct {
-	*responses.BaseResponse
-	RequestId        string `json:"RequestId" xml:"RequestId"`
-	BizCode          string `json:"BizCode" xml:"BizCode"`
-	PersonMachineRes struct {
-		HasConfiguration string `json:"HasConfiguration" xml:"HasConfiguration"`
-		PersonMachines   []struct {
-			ConfigurationName   string `json:"ConfigurationName" xml:"ConfigurationName"`
-			Appkey              string `json:"Appkey" xml:"Appkey"`
-			ConfigurationMethod string `json:"ConfigurationMethod" xml:"ConfigurationMethod"`
-			ApplyType           string `json:"ApplyType" xml:"ApplyType"`
-			Scene               string `json:"Scene" xml:"Scene"`
-			LastUpdate          string `json:"LastUpdate" xml:"LastUpdate"`
-		} `json:"PersonMachines" xml:"PersonMachines"`
-	} `json:"PersonMachineRes" xml:"PersonMachineRes"`
-}
-
-func CreateDescribePersonMachineListRequest() (request *DescribePersonMachineListRequest) {
-	request = &DescribePersonMachineListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("afs", "2018-01-12", "DescribePersonMachineList", "", "")
-	return
-}
-
-func CreateDescribePersonMachineListResponse() (response *DescribePersonMachineListResponse) {
-	response = &DescribePersonMachineListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/alidns/add_batch_domain_records.go

@@ -67,9 +67,9 @@ func (client *Client) AddBatchDomainRecordsWithCallback(request *AddBatchDomainR
 
 type AddBatchDomainRecordsRequest struct {
 	*requests.RpcRequest
-	Records      string `position:"Query" name:"Records"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	Records      string `position:"Query" name:"Records"`
 }
 
 type AddBatchDomainRecordsResponse struct {

+ 9 - 11
services/alidns/add_domain.go

@@ -67,23 +67,21 @@ func (client *Client) AddDomainWithCallback(request *AddDomainRequest, callback
 
 type AddDomainRequest struct {
 	*requests.RpcRequest
+	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	DomainName   string `position:"Query" name:"DomainName"`
 	GroupId      string `position:"Query" name:"GroupId"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
-	Lang         string `position:"Query" name:"Lang"`
 }
 
 type AddDomainResponse struct {
 	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	DomainId   string `json:"DomainId" xml:"DomainId"`
-	DomainName string `json:"DomainName" xml:"DomainName"`
-	PunyCode   string `json:"PunyCode" xml:"PunyCode"`
-	GroupId    string `json:"GroupId" xml:"GroupId"`
-	GroupName  string `json:"GroupName" xml:"GroupName"`
-	DnsServers struct {
-		DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-	} `json:"DnsServers" xml:"DnsServers"`
+	RequestId  string                `json:"RequestId" xml:"RequestId"`
+	DomainId   string                `json:"DomainId" xml:"DomainId"`
+	DomainName string                `json:"DomainName" xml:"DomainName"`
+	PunyCode   string                `json:"PunyCode" xml:"PunyCode"`
+	GroupId    string                `json:"GroupId" xml:"GroupId"`
+	GroupName  string                `json:"GroupName" xml:"GroupName"`
+	DnsServers DnsServersInAddDomain `json:"DnsServers" xml:"DnsServers"`
 }
 
 func CreateAddDomainRequest() (request *AddDomainRequest) {

+ 2 - 2
services/alidns/add_domain_group.go

@@ -67,9 +67,9 @@ func (client *Client) AddDomainGroupWithCallback(request *AddDomainGroupRequest,
 
 type AddDomainGroupRequest struct {
 	*requests.RpcRequest
-	GroupName    string `position:"Query" name:"GroupName"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	GroupName    string `position:"Query" name:"GroupName"`
 }
 
 type AddDomainGroupResponse struct {

+ 6 - 6
services/alidns/add_domain_record.go

@@ -67,15 +67,15 @@ func (client *Client) AddDomainRecordWithCallback(request *AddDomainRecordReques
 
 type AddDomainRecordRequest struct {
 	*requests.RpcRequest
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	DomainName   string           `position:"Query" name:"DomainName"`
-	Priority     requests.Integer `position:"Query" name:"Priority"`
-	Value        string           `position:"Query" name:"Value"`
 	RR           string           `position:"Query" name:"RR"`
-	Line         string           `position:"Query" name:"Line"`
-	TTL          requests.Integer `position:"Query" name:"TTL"`
 	Type         string           `position:"Query" name:"Type"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
+	Value        string           `position:"Query" name:"Value"`
+	TTL          requests.Integer `position:"Query" name:"TTL"`
+	Priority     requests.Integer `position:"Query" name:"Priority"`
+	Line         string           `position:"Query" name:"Line"`
 }
 
 type AddDomainRecordResponse struct {

+ 2 - 2
services/alidns/apply_for_retrieval_domain_name.go

@@ -67,9 +67,9 @@ func (client *Client) ApplyForRetrievalDomainNameWithCallback(request *ApplyForR
 
 type ApplyForRetrievalDomainNameRequest struct {
 	*requests.RpcRequest
-	DomainName   string `position:"Query" name:"DomainName"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	DomainName   string `position:"Query" name:"DomainName"`
 }
 
 type ApplyForRetrievalDomainNameResponse struct {

+ 2 - 2
services/alidns/change_domain_group.go

@@ -67,10 +67,10 @@ func (client *Client) ChangeDomainGroupWithCallback(request *ChangeDomainGroupRe
 
 type ChangeDomainGroupRequest struct {
 	*requests.RpcRequest
+	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	DomainName   string `position:"Query" name:"DomainName"`
 	GroupId      string `position:"Query" name:"GroupId"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
-	Lang         string `position:"Query" name:"Lang"`
 }
 
 type ChangeDomainGroupResponse struct {

+ 3 - 3
services/alidns/change_domain_of_dns_product.go

@@ -67,11 +67,11 @@ func (client *Client) ChangeDomainOfDnsProductWithCallback(request *ChangeDomain
 
 type ChangeDomainOfDnsProductRequest struct {
 	*requests.RpcRequest
-	NewDomain    string           `position:"Query" name:"NewDomain"`
-	Force        requests.Boolean `position:"Query" name:"Force"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	InstanceId   string           `position:"Query" name:"InstanceId"`
+	NewDomain    string           `position:"Query" name:"NewDomain"`
+	Force        requests.Boolean `position:"Query" name:"Force"`
 }
 
 type ChangeDomainOfDnsProductResponse struct {

+ 3 - 3
services/alidns/check_domain_record.go

@@ -67,12 +67,12 @@ func (client *Client) CheckDomainRecordWithCallback(request *CheckDomainRecordRe
 
 type CheckDomainRecordRequest struct {
 	*requests.RpcRequest
+	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	DomainName   string `position:"Query" name:"DomainName"`
-	Value        string `position:"Query" name:"Value"`
 	RR           string `position:"Query" name:"RR"`
 	Type         string `position:"Query" name:"Type"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
-	Lang         string `position:"Query" name:"Lang"`
+	Value        string `position:"Query" name:"Value"`
 }
 
 type CheckDomainRecordResponse struct {

+ 2 - 2
services/alidns/delete_batch_domain_records.go

@@ -67,9 +67,9 @@ func (client *Client) DeleteBatchDomainRecordsWithCallback(request *DeleteBatchD
 
 type DeleteBatchDomainRecordsRequest struct {
 	*requests.RpcRequest
-	Records      string `position:"Query" name:"Records"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	Records      string `position:"Query" name:"Records"`
 }
 
 type DeleteBatchDomainRecordsResponse struct {

+ 2 - 2
services/alidns/delete_batch_domains.go

@@ -67,9 +67,9 @@ func (client *Client) DeleteBatchDomainsWithCallback(request *DeleteBatchDomains
 
 type DeleteBatchDomainsRequest struct {
 	*requests.RpcRequest
-	Domains      string `position:"Query" name:"Domains"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	Domains      string `position:"Query" name:"Domains"`
 }
 
 type DeleteBatchDomainsResponse struct {

+ 2 - 2
services/alidns/delete_domain.go

@@ -67,9 +67,9 @@ func (client *Client) DeleteDomainWithCallback(request *DeleteDomainRequest, cal
 
 type DeleteDomainRequest struct {
 	*requests.RpcRequest
-	DomainName   string `position:"Query" name:"DomainName"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	DomainName   string `position:"Query" name:"DomainName"`
 }
 
 type DeleteDomainResponse struct {

+ 2 - 2
services/alidns/delete_domain_group.go

@@ -67,9 +67,9 @@ func (client *Client) DeleteDomainGroupWithCallback(request *DeleteDomainGroupRe
 
 type DeleteDomainGroupRequest struct {
 	*requests.RpcRequest
-	GroupId      string `position:"Query" name:"GroupId"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	GroupId      string `position:"Query" name:"GroupId"`
 }
 
 type DeleteDomainGroupResponse struct {

+ 1 - 1
services/alidns/delete_domain_record.go

@@ -67,8 +67,8 @@ func (client *Client) DeleteDomainRecordWithCallback(request *DeleteDomainRecord
 
 type DeleteDomainRecordRequest struct {
 	*requests.RpcRequest
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	RecordId     string `position:"Query" name:"RecordId"`
 }
 

+ 2 - 2
services/alidns/delete_sub_domain_records.go

@@ -67,11 +67,11 @@ func (client *Client) DeleteSubDomainRecordsWithCallback(request *DeleteSubDomai
 
 type DeleteSubDomainRecordsRequest struct {
 	*requests.RpcRequest
+	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	DomainName   string `position:"Query" name:"DomainName"`
 	RR           string `position:"Query" name:"RR"`
 	Type         string `position:"Query" name:"Type"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
-	Lang         string `position:"Query" name:"Lang"`
 }
 
 type DeleteSubDomainRecordsResponse struct {

+ 7 - 12
services/alidns/describe_batch_result.go

@@ -67,24 +67,19 @@ func (client *Client) DescribeBatchResultWithCallback(request *DescribeBatchResu
 
 type DescribeBatchResultRequest struct {
 	*requests.RpcRequest
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	TraceId      string `position:"Query" name:"TraceId"`
 }
 
 type DescribeBatchResultResponse struct {
 	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	TraceId       string `json:"TraceId" xml:"TraceId"`
-	Status        int    `json:"Status" xml:"Status"`
-	BatchCount    int    `json:"BatchCount" xml:"BatchCount"`
-	SuccessNumber int    `json:"SuccessNumber" xml:"SuccessNumber"`
-	FailResults   struct {
-		FailResult []struct {
-			BatchIndex string `json:"BatchIndex" xml:"BatchIndex"`
-			ErrorCode  string `json:"ErrorCode" xml:"ErrorCode"`
-		} `json:"FailResult" xml:"FailResult"`
-	} `json:"FailResults" xml:"FailResults"`
+	RequestId     string      `json:"RequestId" xml:"RequestId"`
+	TraceId       string      `json:"TraceId" xml:"TraceId"`
+	Status        int         `json:"Status" xml:"Status"`
+	BatchCount    int         `json:"BatchCount" xml:"BatchCount"`
+	SuccessNumber int         `json:"SuccessNumber" xml:"SuccessNumber"`
+	FailResults   FailResults `json:"FailResults" xml:"FailResults"`
 }
 
 func CreateDescribeBatchResultRequest() (request *DescribeBatchResultRequest) {

+ 31 - 33
services/alidns/describe_dns_product_instance.go

@@ -67,45 +67,43 @@ func (client *Client) DescribeDnsProductInstanceWithCallback(request *DescribeDn
 
 type DescribeDnsProductInstanceRequest struct {
 	*requests.RpcRequest
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	InstanceId   string `position:"Query" name:"InstanceId"`
 }
 
 type DescribeDnsProductInstanceResponse struct {
 	*responses.BaseResponse
-	RequestId             string `json:"RequestId" xml:"RequestId"`
-	InstanceId            string `json:"InstanceId" xml:"InstanceId"`
-	VersionCode           string `json:"VersionCode" xml:"VersionCode"`
-	VersionName           string `json:"VersionName" xml:"VersionName"`
-	StartTime             string `json:"StartTime" xml:"StartTime"`
-	StartTimestamp        int    `json:"StartTimestamp" xml:"StartTimestamp"`
-	EndTime               string `json:"EndTime" xml:"EndTime"`
-	EndTimestamp          int    `json:"EndTimestamp" xml:"EndTimestamp"`
-	Domain                string `json:"Domain" xml:"Domain"`
-	BindCount             int    `json:"BindCount" xml:"BindCount"`
-	BindUsedCount         int    `json:"BindUsedCount" xml:"BindUsedCount"`
-	TTLMinValue           int    `json:"TTLMinValue" xml:"TTLMinValue"`
-	SubDomainLevel        int    `json:"SubDomainLevel" xml:"SubDomainLevel"`
-	DnsSLBCount           int    `json:"DnsSLBCount" xml:"DnsSLBCount"`
-	URLForwardCount       int    `json:"URLForwardCount" xml:"URLForwardCount"`
-	DDosDefendFlow        int    `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
-	DDosDefendQuery       int    `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
-	OverseaDDosDefendFlow int    `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
-	SearchEngineLines     string `json:"SearchEngineLines" xml:"SearchEngineLines"`
-	ISPLines              string `json:"ISPLines" xml:"ISPLines"`
-	ISPRegionLines        string `json:"ISPRegionLines" xml:"ISPRegionLines"`
-	OverseaLine           string `json:"OverseaLine" xml:"OverseaLine"`
-	MonitorNodeCount      int    `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
-	MonitorFrequency      int    `json:"MonitorFrequency" xml:"MonitorFrequency"`
-	MonitorTaskCount      int    `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
-	RegionLines           bool   `json:"RegionLines" xml:"RegionLines"`
-	Gslb                  bool   `json:"Gslb" xml:"Gslb"`
-	InClean               bool   `json:"InClean" xml:"InClean"`
-	InBlackHole           bool   `json:"InBlackHole" xml:"InBlackHole"`
-	DnsServers            struct {
-		DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-	} `json:"DnsServers" xml:"DnsServers"`
+	RequestId             string                                 `json:"RequestId" xml:"RequestId"`
+	InstanceId            string                                 `json:"InstanceId" xml:"InstanceId"`
+	VersionCode           string                                 `json:"VersionCode" xml:"VersionCode"`
+	VersionName           string                                 `json:"VersionName" xml:"VersionName"`
+	StartTime             string                                 `json:"StartTime" xml:"StartTime"`
+	StartTimestamp        int                                    `json:"StartTimestamp" xml:"StartTimestamp"`
+	EndTime               string                                 `json:"EndTime" xml:"EndTime"`
+	EndTimestamp          int                                    `json:"EndTimestamp" xml:"EndTimestamp"`
+	Domain                string                                 `json:"Domain" xml:"Domain"`
+	BindCount             int                                    `json:"BindCount" xml:"BindCount"`
+	BindUsedCount         int                                    `json:"BindUsedCount" xml:"BindUsedCount"`
+	TTLMinValue           int                                    `json:"TTLMinValue" xml:"TTLMinValue"`
+	SubDomainLevel        int                                    `json:"SubDomainLevel" xml:"SubDomainLevel"`
+	DnsSLBCount           int                                    `json:"DnsSLBCount" xml:"DnsSLBCount"`
+	URLForwardCount       int                                    `json:"URLForwardCount" xml:"URLForwardCount"`
+	DDosDefendFlow        int                                    `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
+	DDosDefendQuery       int                                    `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
+	OverseaDDosDefendFlow int                                    `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
+	SearchEngineLines     string                                 `json:"SearchEngineLines" xml:"SearchEngineLines"`
+	ISPLines              string                                 `json:"ISPLines" xml:"ISPLines"`
+	ISPRegionLines        string                                 `json:"ISPRegionLines" xml:"ISPRegionLines"`
+	OverseaLine           string                                 `json:"OverseaLine" xml:"OverseaLine"`
+	MonitorNodeCount      int                                    `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
+	MonitorFrequency      int                                    `json:"MonitorFrequency" xml:"MonitorFrequency"`
+	MonitorTaskCount      int                                    `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
+	RegionLines           bool                                   `json:"RegionLines" xml:"RegionLines"`
+	Gslb                  bool                                   `json:"Gslb" xml:"Gslb"`
+	InClean               bool                                   `json:"InClean" xml:"InClean"`
+	InBlackHole           bool                                   `json:"InBlackHole" xml:"InBlackHole"`
+	DnsServers            DnsServersInDescribeDnsProductInstance `json:"DnsServers" xml:"DnsServers"`
 }
 
 func CreateDescribeDnsProductInstanceRequest() (request *DescribeDnsProductInstanceRequest) {

+ 8 - 39
services/alidns/describe_dns_product_instances.go

@@ -67,51 +67,20 @@ func (client *Client) DescribeDnsProductInstancesWithCallback(request *DescribeD
 
 type DescribeDnsProductInstancesRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 	VersionCode  string           `position:"Query" name:"VersionCode"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
 }
 
 type DescribeDnsProductInstancesResponse struct {
 	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	TotalCount  int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber  int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize    int    `json:"PageSize" xml:"PageSize"`
-	DnsProducts struct {
-		DnsProduct []struct {
-			InstanceId            string `json:"InstanceId" xml:"InstanceId"`
-			VersionCode           string `json:"VersionCode" xml:"VersionCode"`
-			VersionName           string `json:"VersionName" xml:"VersionName"`
-			StartTime             string `json:"StartTime" xml:"StartTime"`
-			EndTime               string `json:"EndTime" xml:"EndTime"`
-			StartTimestamp        int    `json:"StartTimestamp" xml:"StartTimestamp"`
-			EndTimestamp          int    `json:"EndTimestamp" xml:"EndTimestamp"`
-			Domain                string `json:"Domain" xml:"Domain"`
-			BindCount             int    `json:"BindCount" xml:"BindCount"`
-			BindUsedCount         int    `json:"BindUsedCount" xml:"BindUsedCount"`
-			TTLMinValue           int    `json:"TTLMinValue" xml:"TTLMinValue"`
-			SubDomainLevel        int    `json:"SubDomainLevel" xml:"SubDomainLevel"`
-			DnsSLBCount           int    `json:"DnsSLBCount" xml:"DnsSLBCount"`
-			URLForwardCount       int    `json:"URLForwardCount" xml:"URLForwardCount"`
-			DDosDefendFlow        int    `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
-			DDosDefendQuery       int    `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
-			OverseaDDosDefendFlow int    `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
-			SearchEngineLines     string `json:"SearchEngineLines" xml:"SearchEngineLines"`
-			ISPLines              string `json:"ISPLines" xml:"ISPLines"`
-			ISPRegionLines        string `json:"ISPRegionLines" xml:"ISPRegionLines"`
-			OverseaLine           string `json:"OverseaLine" xml:"OverseaLine"`
-			MonitorNodeCount      int    `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
-			MonitorFrequency      int    `json:"MonitorFrequency" xml:"MonitorFrequency"`
-			MonitorTaskCount      int    `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
-			RegionLines           bool   `json:"RegionLines" xml:"RegionLines"`
-			Gslb                  bool   `json:"Gslb" xml:"Gslb"`
-			InClean               bool   `json:"InClean" xml:"InClean"`
-			InBlackHole           bool   `json:"InBlackHole" xml:"InBlackHole"`
-		} `json:"DnsProduct" xml:"DnsProduct"`
-	} `json:"DnsProducts" xml:"DnsProducts"`
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	TotalCount  int         `json:"TotalCount" xml:"TotalCount"`
+	PageNumber  int         `json:"PageNumber" xml:"PageNumber"`
+	PageSize    int         `json:"PageSize" xml:"PageSize"`
+	DnsProducts DnsProducts `json:"DnsProducts" xml:"DnsProducts"`
 }
 
 func CreateDescribeDnsProductInstancesRequest() (request *DescribeDnsProductInstancesRequest) {

+ 8 - 15
services/alidns/describe_dnsslb_sub_domains.go

@@ -67,27 +67,20 @@ func (client *Client) DescribeDNSSLBSubDomainsWithCallback(request *DescribeDNSS
 
 type DescribeDNSSLBSubDomainsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	DomainName   string           `position:"Query" name:"DomainName"`
 	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 }
 
 type DescribeDNSSLBSubDomainsResponse struct {
 	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	TotalCount    int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber    int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize      int    `json:"PageSize" xml:"PageSize"`
-	SlbSubDomains struct {
-		SlbSubDomain []struct {
-			SubDomain   string `json:"SubDomain" xml:"SubDomain"`
-			RecordCount int    `json:"RecordCount" xml:"RecordCount"`
-			Open        bool   `json:"Open" xml:"Open"`
-			Type        string `json:"Type" xml:"Type"`
-		} `json:"SlbSubDomain" xml:"SlbSubDomain"`
-	} `json:"SlbSubDomains" xml:"SlbSubDomains"`
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	TotalCount    int           `json:"TotalCount" xml:"TotalCount"`
+	PageNumber    int           `json:"PageNumber" xml:"PageNumber"`
+	PageSize      int           `json:"PageSize" xml:"PageSize"`
+	SlbSubDomains SlbSubDomains `json:"SlbSubDomains" xml:"SlbSubDomains"`
 }
 
 func CreateDescribeDNSSLBSubDomainsRequest() (request *DescribeDNSSLBSubDomainsRequest) {

+ 9 - 15
services/alidns/describe_domain_groups.go

@@ -67,26 +67,20 @@ func (client *Client) DescribeDomainGroupsWithCallback(request *DescribeDomainGr
 
 type DescribeDomainGroupsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
-	KeyWord      string           `position:"Query" name:"KeyWord"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
+	KeyWord      string           `position:"Query" name:"KeyWord"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 }
 
 type DescribeDomainGroupsResponse struct {
 	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	TotalCount   int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber   int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize     int    `json:"PageSize" xml:"PageSize"`
-	DomainGroups struct {
-		DomainGroup []struct {
-			GroupId     string `json:"GroupId" xml:"GroupId"`
-			GroupName   string `json:"GroupName" xml:"GroupName"`
-			DomainCount int    `json:"DomainCount" xml:"DomainCount"`
-		} `json:"DomainGroup" xml:"DomainGroup"`
-	} `json:"DomainGroups" xml:"DomainGroups"`
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	TotalCount   int          `json:"TotalCount" xml:"TotalCount"`
+	PageNumber   int          `json:"PageNumber" xml:"PageNumber"`
+	PageSize     int          `json:"PageSize" xml:"PageSize"`
+	DomainGroups DomainGroups `json:"DomainGroups" xml:"DomainGroups"`
 }
 
 func CreateDescribeDomainGroupsRequest() (request *DescribeDomainGroupsRequest) {

+ 21 - 32
services/alidns/describe_domain_info.go

@@ -67,43 +67,32 @@ func (client *Client) DescribeDomainInfoWithCallback(request *DescribeDomainInfo
 
 type DescribeDomainInfoRequest struct {
 	*requests.RpcRequest
-	NeedDetailAttributes requests.Boolean `position:"Query" name:"NeedDetailAttributes"`
-	DomainName           string           `position:"Query" name:"DomainName"`
-	UserClientIp         string           `position:"Query" name:"UserClientIp"`
 	Lang                 string           `position:"Query" name:"Lang"`
+	UserClientIp         string           `position:"Query" name:"UserClientIp"`
+	DomainName           string           `position:"Query" name:"DomainName"`
+	NeedDetailAttributes requests.Boolean `position:"Query" name:"NeedDetailAttributes"`
 }
 
 type DescribeDomainInfoResponse struct {
 	*responses.BaseResponse
-	RequestId          string `json:"RequestId" xml:"RequestId"`
-	DomainId           string `json:"DomainId" xml:"DomainId"`
-	DomainName         string `json:"DomainName" xml:"DomainName"`
-	PunyCode           string `json:"PunyCode" xml:"PunyCode"`
-	AliDomain          bool   `json:"AliDomain" xml:"AliDomain"`
-	Remark             string `json:"Remark" xml:"Remark"`
-	GroupId            string `json:"GroupId" xml:"GroupId"`
-	GroupName          string `json:"GroupName" xml:"GroupName"`
-	InstanceId         string `json:"InstanceId" xml:"InstanceId"`
-	VersionCode        string `json:"VersionCode" xml:"VersionCode"`
-	VersionName        string `json:"VersionName" xml:"VersionName"`
-	MinTtl             int    `json:"MinTtl" xml:"MinTtl"`
-	RecordLineTreeJson string `json:"RecordLineTreeJson" xml:"RecordLineTreeJson"`
-	LineType           string `json:"LineType" xml:"LineType"`
-	RegionLines        bool   `json:"RegionLines" xml:"RegionLines"`
-	DnsServers         struct {
-		DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-	} `json:"DnsServers" xml:"DnsServers"`
-	AvailableTtls struct {
-		AvailableTtl []string `json:"AvailableTtl" xml:"AvailableTtl"`
-	} `json:"AvailableTtls" xml:"AvailableTtls"`
-	RecordLines struct {
-		RecordLine []struct {
-			LineCode        string `json:"LineCode" xml:"LineCode"`
-			FatherCode      string `json:"FatherCode" xml:"FatherCode"`
-			LineName        string `json:"LineName" xml:"LineName"`
-			LineDisplayName string `json:"LineDisplayName" xml:"LineDisplayName"`
-		} `json:"RecordLine" xml:"RecordLine"`
-	} `json:"RecordLines" xml:"RecordLines"`
+	RequestId          string                          `json:"RequestId" xml:"RequestId"`
+	DomainId           string                          `json:"DomainId" xml:"DomainId"`
+	DomainName         string                          `json:"DomainName" xml:"DomainName"`
+	PunyCode           string                          `json:"PunyCode" xml:"PunyCode"`
+	AliDomain          bool                            `json:"AliDomain" xml:"AliDomain"`
+	Remark             string                          `json:"Remark" xml:"Remark"`
+	GroupId            string                          `json:"GroupId" xml:"GroupId"`
+	GroupName          string                          `json:"GroupName" xml:"GroupName"`
+	InstanceId         string                          `json:"InstanceId" xml:"InstanceId"`
+	VersionCode        string                          `json:"VersionCode" xml:"VersionCode"`
+	VersionName        string                          `json:"VersionName" xml:"VersionName"`
+	MinTtl             int                             `json:"MinTtl" xml:"MinTtl"`
+	RecordLineTreeJson string                          `json:"RecordLineTreeJson" xml:"RecordLineTreeJson"`
+	LineType           string                          `json:"LineType" xml:"LineType"`
+	RegionLines        bool                            `json:"RegionLines" xml:"RegionLines"`
+	DnsServers         DnsServersInDescribeDomainInfo  `json:"DnsServers" xml:"DnsServers"`
+	AvailableTtls      AvailableTtls                   `json:"AvailableTtls" xml:"AvailableTtls"`
+	RecordLines        RecordLinesInDescribeDomainInfo `json:"RecordLines" xml:"RecordLines"`
 }
 
 func CreateDescribeDomainInfoRequest() (request *DescribeDomainInfoRequest) {

+ 10 - 19
services/alidns/describe_domain_logs.go

@@ -67,32 +67,23 @@ func (client *Client) DescribeDomainLogsWithCallback(request *DescribeDomainLogs
 
 type DescribeDomainLogsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	StartDate    string           `position:"Query" name:"StartDate"`
-	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	KeyWord      string           `position:"Query" name:"KeyWord"`
 	GroupId      string           `position:"Query" name:"GroupId"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	StartDate    string           `position:"Query" name:"StartDate"`
 	EndDate      string           `position:"Query" name:"endDate"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
 }
 
 type DescribeDomainLogsResponse struct {
 	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int    `json:"PageSize" xml:"PageSize"`
-	DomainLogs struct {
-		DomainLog []struct {
-			ActionTime      string `json:"ActionTime" xml:"ActionTime"`
-			ActionTimestamp int    `json:"ActionTimestamp" xml:"ActionTimestamp"`
-			DomainName      string `json:"DomainName" xml:"DomainName"`
-			Action          string `json:"Action" xml:"Action"`
-			Message         string `json:"Message" xml:"Message"`
-			ClientIp        string `json:"ClientIp" xml:"ClientIp"`
-		} `json:"DomainLog" xml:"DomainLog"`
-	} `json:"DomainLogs" xml:"DomainLogs"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	TotalCount int        `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int        `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int        `json:"PageSize" xml:"PageSize"`
+	DomainLogs DomainLogs `json:"DomainLogs" xml:"DomainLogs"`
 }
 
 func CreateDescribeDomainLogsRequest() (request *DescribeDomainLogsRequest) {

+ 7 - 11
services/alidns/describe_domain_ns.go

@@ -67,22 +67,18 @@ func (client *Client) DescribeDomainNsWithCallback(request *DescribeDomainNsRequ
 
 type DescribeDomainNsRequest struct {
 	*requests.RpcRequest
-	DomainName   string `position:"Query" name:"DomainName"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	DomainName   string `position:"Query" name:"DomainName"`
 }
 
 type DescribeDomainNsResponse struct {
 	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	AllAliDns     bool   `json:"AllAliDns" xml:"AllAliDns"`
-	IncludeAliDns bool   `json:"IncludeAliDns" xml:"IncludeAliDns"`
-	DnsServers    struct {
-		DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-	} `json:"DnsServers" xml:"DnsServers"`
-	ExpectDnsServers struct {
-		ExpectDnsServer []string `json:"ExpectDnsServer" xml:"ExpectDnsServer"`
-	} `json:"ExpectDnsServers" xml:"ExpectDnsServers"`
+	RequestId        string                       `json:"RequestId" xml:"RequestId"`
+	AllAliDns        bool                         `json:"AllAliDns" xml:"AllAliDns"`
+	IncludeAliDns    bool                         `json:"IncludeAliDns" xml:"IncludeAliDns"`
+	DnsServers       DnsServersInDescribeDomainNs `json:"DnsServers" xml:"DnsServers"`
+	ExpectDnsServers ExpectDnsServers             `json:"ExpectDnsServers" xml:"ExpectDnsServers"`
 }
 
 func CreateDescribeDomainNsRequest() (request *DescribeDomainNsRequest) {

+ 1 - 1
services/alidns/describe_domain_record_info.go

@@ -67,8 +67,8 @@ func (client *Client) DescribeDomainRecordInfoWithCallback(request *DescribeDoma
 
 type DescribeDomainRecordInfoRequest struct {
 	*requests.RpcRequest
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	RecordId     string `position:"Query" name:"RecordId"`
 }
 

+ 12 - 27
services/alidns/describe_domain_records.go

@@ -67,41 +67,26 @@ func (client *Client) DescribeDomainRecordsWithCallback(request *DescribeDomainR
 
 type DescribeDomainRecordsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	DomainName   string           `position:"Query" name:"DomainName"`
-	ValueKeyWord string           `position:"Query" name:"ValueKeyWord"`
 	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
-	Direction    string           `position:"Query" name:"Direction"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 	KeyWord      string           `position:"Query" name:"KeyWord"`
-	OrderBy      string           `position:"Query" name:"OrderBy"`
-	TypeKeyWord  string           `position:"Query" name:"TypeKeyWord"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
 	RRKeyWord    string           `position:"Query" name:"RRKeyWord"`
+	TypeKeyWord  string           `position:"Query" name:"TypeKeyWord"`
+	ValueKeyWord string           `position:"Query" name:"ValueKeyWord"`
+	OrderBy      string           `position:"Query" name:"OrderBy"`
+	Direction    string           `position:"Query" name:"Direction"`
 }
 
 type DescribeDomainRecordsResponse struct {
 	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	TotalCount    int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber    int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize      int    `json:"PageSize" xml:"PageSize"`
-	DomainRecords struct {
-		Record []struct {
-			DomainName string `json:"DomainName" xml:"DomainName"`
-			RecordId   string `json:"RecordId" xml:"RecordId"`
-			RR         string `json:"RR" xml:"RR"`
-			Type       string `json:"Type" xml:"Type"`
-			Value      string `json:"Value" xml:"Value"`
-			TTL        int    `json:"TTL" xml:"TTL"`
-			Priority   int    `json:"Priority" xml:"Priority"`
-			Line       string `json:"Line" xml:"Line"`
-			Status     string `json:"Status" xml:"Status"`
-			Locked     bool   `json:"Locked" xml:"Locked"`
-			Weight     int    `json:"Weight" xml:"Weight"`
-			Remark     string `json:"Remark" xml:"Remark"`
-		} `json:"Record" xml:"Record"`
-	} `json:"DomainRecords" xml:"DomainRecords"`
+	RequestId     string                               `json:"RequestId" xml:"RequestId"`
+	TotalCount    int                                  `json:"TotalCount" xml:"TotalCount"`
+	PageNumber    int                                  `json:"PageNumber" xml:"PageNumber"`
+	PageSize      int                                  `json:"PageSize" xml:"PageSize"`
+	DomainRecords DomainRecordsInDescribeDomainRecords `json:"DomainRecords" xml:"DomainRecords"`
 }
 
 func CreateDescribeDomainRecordsRequest() (request *DescribeDomainRecordsRequest) {

+ 10 - 14
services/alidns/describe_domain_whois_info.go

@@ -67,26 +67,22 @@ func (client *Client) DescribeDomainWhoisInfoWithCallback(request *DescribeDomai
 
 type DescribeDomainWhoisInfoRequest struct {
 	*requests.RpcRequest
+	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	DomainName   string `position:"Query" name:"DomainName"`
 	GroupId      string `position:"Query" name:"GroupId"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
-	Lang         string `position:"Query" name:"Lang"`
 }
 
 type DescribeDomainWhoisInfoResponse struct {
 	*responses.BaseResponse
-	RequestId        string `json:"RequestId" xml:"RequestId"`
-	RegistrantName   string `json:"RegistrantName" xml:"RegistrantName"`
-	RegistrantEmail  string `json:"RegistrantEmail" xml:"RegistrantEmail"`
-	Registrar        string `json:"Registrar" xml:"Registrar"`
-	RegistrationDate string `json:"RegistrationDate" xml:"RegistrationDate"`
-	ExpirationDate   string `json:"ExpirationDate" xml:"ExpirationDate"`
-	StatusList       struct {
-		Status []string `json:"Status" xml:"Status"`
-	} `json:"StatusList" xml:"StatusList"`
-	DnsServers struct {
-		DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-	} `json:"DnsServers" xml:"DnsServers"`
+	RequestId        string                              `json:"RequestId" xml:"RequestId"`
+	RegistrantName   string                              `json:"RegistrantName" xml:"RegistrantName"`
+	RegistrantEmail  string                              `json:"RegistrantEmail" xml:"RegistrantEmail"`
+	Registrar        string                              `json:"Registrar" xml:"Registrar"`
+	RegistrationDate string                              `json:"RegistrationDate" xml:"RegistrationDate"`
+	ExpirationDate   string                              `json:"ExpirationDate" xml:"ExpirationDate"`
+	StatusList       StatusList                          `json:"StatusList" xml:"StatusList"`
+	DnsServers       DnsServersInDescribeDomainWhoisInfo `json:"DnsServers" xml:"DnsServers"`
 }
 
 func CreateDescribeDomainWhoisInfoRequest() (request *DescribeDomainWhoisInfoRequest) {

+ 9 - 29
services/alidns/describe_domains.go

@@ -67,41 +67,21 @@ func (client *Client) DescribeDomainsWithCallback(request *DescribeDomainsReques
 
 type DescribeDomainsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	KeyWord      string           `position:"Query" name:"KeyWord"`
 	GroupId      string           `position:"Query" name:"GroupId"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 }
 
 type DescribeDomainsResponse struct {
 	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int    `json:"PageSize" xml:"PageSize"`
-	Domains    struct {
-		Domain []struct {
-			DomainId        string `json:"DomainId" xml:"DomainId"`
-			DomainName      string `json:"DomainName" xml:"DomainName"`
-			PunyCode        string `json:"PunyCode" xml:"PunyCode"`
-			AliDomain       bool   `json:"AliDomain" xml:"AliDomain"`
-			RecordCount     int    `json:"RecordCount" xml:"RecordCount"`
-			RegistrantEmail string `json:"RegistrantEmail" xml:"RegistrantEmail"`
-			Remark          string `json:"Remark" xml:"Remark"`
-			GroupId         string `json:"GroupId" xml:"GroupId"`
-			GroupName       string `json:"GroupName" xml:"GroupName"`
-			InstanceId      string `json:"InstanceId" xml:"InstanceId"`
-			VersionCode     string `json:"VersionCode" xml:"VersionCode"`
-			VersionName     string `json:"VersionName" xml:"VersionName"`
-			InstanceEndTime string `json:"InstanceEndTime" xml:"InstanceEndTime"`
-			InstanceExpired bool   `json:"InstanceExpired" xml:"InstanceExpired"`
-			DnsServers      struct {
-				DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-			} `json:"DnsServers" xml:"DnsServers"`
-		} `json:"Domain" xml:"Domain"`
-	} `json:"Domains" xml:"Domains"`
+	RequestId  string  `json:"RequestId" xml:"RequestId"`
+	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int     `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int     `json:"PageSize" xml:"PageSize"`
+	Domains    Domains `json:"Domains" xml:"Domains"`
 }
 
 func CreateDescribeDomainsRequest() (request *DescribeDomainsRequest) {

+ 9 - 17
services/alidns/describe_record_logs.go

@@ -67,31 +67,23 @@ func (client *Client) DescribeRecordLogsWithCallback(request *DescribeRecordLogs
 
 type DescribeRecordLogsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	StartDate    string           `position:"Query" name:"StartDate"`
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	DomainName   string           `position:"Query" name:"DomainName"`
 	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 	KeyWord      string           `position:"Query" name:"KeyWord"`
+	StartDate    string           `position:"Query" name:"StartDate"`
 	EndDate      string           `position:"Query" name:"endDate"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
 }
 
 type DescribeRecordLogsResponse struct {
 	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int    `json:"PageSize" xml:"PageSize"`
-	RecordLogs struct {
-		RecordLog []struct {
-			ActionTime      string `json:"ActionTime" xml:"ActionTime"`
-			ActionTimestamp int    `json:"ActionTimestamp" xml:"ActionTimestamp"`
-			Action          string `json:"Action" xml:"Action"`
-			Message         string `json:"Message" xml:"Message"`
-			ClientIp        string `json:"ClientIp" xml:"ClientIp"`
-		} `json:"RecordLog" xml:"RecordLog"`
-	} `json:"RecordLogs" xml:"RecordLogs"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	TotalCount int        `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int        `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int        `json:"PageSize" xml:"PageSize"`
+	RecordLogs RecordLogs `json:"RecordLogs" xml:"RecordLogs"`
 }
 
 func CreateDescribeRecordLogsRequest() (request *DescribeRecordLogsRequest) {

+ 9 - 23
services/alidns/describe_sub_domain_records.go

@@ -67,35 +67,21 @@ func (client *Client) DescribeSubDomainRecordsWithCallback(request *DescribeSubD
 
 type DescribeSubDomainRecordsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	SubDomain    string           `position:"Query" name:"SubDomain"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 	Type         string           `position:"Query" name:"Type"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	Lang         string           `position:"Query" name:"Lang"`
 }
 
 type DescribeSubDomainRecordsResponse struct {
 	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	TotalCount    int    `json:"TotalCount" xml:"TotalCount"`
-	PageNumber    int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize      int    `json:"PageSize" xml:"PageSize"`
-	DomainRecords struct {
-		Record []struct {
-			DomainName string `json:"DomainName" xml:"DomainName"`
-			RecordId   string `json:"RecordId" xml:"RecordId"`
-			RR         string `json:"RR" xml:"RR"`
-			Type       string `json:"Type" xml:"Type"`
-			Value      string `json:"Value" xml:"Value"`
-			TTL        int    `json:"TTL" xml:"TTL"`
-			Priority   int    `json:"Priority" xml:"Priority"`
-			Line       string `json:"Line" xml:"Line"`
-			Status     string `json:"Status" xml:"Status"`
-			Locked     bool   `json:"Locked" xml:"Locked"`
-			Weight     int    `json:"Weight" xml:"Weight"`
-		} `json:"Record" xml:"Record"`
-	} `json:"DomainRecords" xml:"DomainRecords"`
+	RequestId     string                                  `json:"RequestId" xml:"RequestId"`
+	TotalCount    int                                     `json:"TotalCount" xml:"TotalCount"`
+	PageNumber    int                                     `json:"PageNumber" xml:"PageNumber"`
+	PageSize      int                                     `json:"PageSize" xml:"PageSize"`
+	DomainRecords DomainRecordsInDescribeSubDomainRecords `json:"DomainRecords" xml:"DomainRecords"`
 }
 
 func CreateDescribeSubDomainRecordsRequest() (request *DescribeSubDomainRecordsRequest) {

+ 3 - 10
services/alidns/describe_support_lines.go

@@ -67,21 +67,14 @@ func (client *Client) DescribeSupportLinesWithCallback(request *DescribeSupportL
 
 type DescribeSupportLinesRequest struct {
 	*requests.RpcRequest
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 }
 
 type DescribeSupportLinesResponse struct {
 	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	RecordLines struct {
-		RecordLine []struct {
-			LineCode        string `json:"LineCode" xml:"LineCode"`
-			FatherCode      string `json:"FatherCode" xml:"FatherCode"`
-			LineName        string `json:"LineName" xml:"LineName"`
-			LineDisplayName string `json:"LineDisplayName" xml:"LineDisplayName"`
-		} `json:"RecordLine" xml:"RecordLine"`
-	} `json:"RecordLines" xml:"RecordLines"`
+	RequestId   string                            `json:"RequestId" xml:"RequestId"`
+	RecordLines RecordLinesInDescribeSupportLines `json:"RecordLines" xml:"RecordLines"`
 }
 
 func CreateDescribeSupportLinesRequest() (request *DescribeSupportLinesRequest) {

+ 1 - 1
services/alidns/get_main_domain_name.go

@@ -67,9 +67,9 @@ func (client *Client) GetMainDomainNameWithCallback(request *GetMainDomainNameRe
 
 type GetMainDomainNameRequest struct {
 	*requests.RpcRequest
+	Lang         string `position:"Query" name:"Lang"`
 	UserClientIp string `position:"Query" name:"UserClientIp"`
 	InputString  string `position:"Query" name:"InputString"`
-	Lang         string `position:"Query" name:"Lang"`
 }
 
 type GetMainDomainNameResponse struct {

+ 5 - 9
services/alidns/modify_hichina_domain_dns.go

@@ -67,20 +67,16 @@ func (client *Client) ModifyHichinaDomainDNSWithCallback(request *ModifyHichinaD
 
 type ModifyHichinaDomainDNSRequest struct {
 	*requests.RpcRequest
-	DomainName   string `position:"Query" name:"DomainName"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	DomainName   string `position:"Query" name:"DomainName"`
 }
 
 type ModifyHichinaDomainDNSResponse struct {
 	*responses.BaseResponse
-	RequestId          string `json:"RequestId" xml:"RequestId"`
-	OriginalDnsServers struct {
-		DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-	} `json:"OriginalDnsServers" xml:"OriginalDnsServers"`
-	NewDnsServers struct {
-		DnsServer []string `json:"DnsServer" xml:"DnsServer"`
-	} `json:"NewDnsServers" xml:"NewDnsServers"`
+	RequestId          string             `json:"RequestId" xml:"RequestId"`
+	OriginalDnsServers OriginalDnsServers `json:"OriginalDnsServers" xml:"OriginalDnsServers"`
+	NewDnsServers      NewDnsServers      `json:"NewDnsServers" xml:"NewDnsServers"`
 }
 
 func CreateModifyHichinaDomainDNSRequest() (request *ModifyHichinaDomainDNSRequest) {

+ 2 - 2
services/alidns/retrieval_domain_name.go

@@ -67,9 +67,9 @@ func (client *Client) RetrievalDomainNameWithCallback(request *RetrievalDomainNa
 
 type RetrievalDomainNameRequest struct {
 	*requests.RpcRequest
-	DomainName   string `position:"Query" name:"DomainName"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	DomainName   string `position:"Query" name:"DomainName"`
 }
 
 type RetrievalDomainNameResponse struct {

+ 3 - 3
services/alidns/set_dnsslb_status.go

@@ -67,10 +67,10 @@ func (client *Client) SetDNSSLBStatusWithCallback(request *SetDNSSLBStatusReques
 
 type SetDNSSLBStatusRequest struct {
 	*requests.RpcRequest
-	Open         requests.Boolean `position:"Query" name:"Open"`
-	SubDomain    string           `position:"Query" name:"SubDomain"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	Lang         string           `position:"Query" name:"Lang"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
+	SubDomain    string           `position:"Query" name:"SubDomain"`
+	Open         requests.Boolean `position:"Query" name:"Open"`
 }
 
 type SetDNSSLBStatusResponse struct {

+ 2 - 2
services/alidns/set_domain_record_status.go

@@ -67,10 +67,10 @@ func (client *Client) SetDomainRecordStatusWithCallback(request *SetDomainRecord
 
 type SetDomainRecordStatusRequest struct {
 	*requests.RpcRequest
-	Status       string `position:"Query" name:"Status"`
-	UserClientIp string `position:"Query" name:"UserClientIp"`
 	Lang         string `position:"Query" name:"Lang"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
 	RecordId     string `position:"Query" name:"RecordId"`
+	Status       string `position:"Query" name:"Status"`
 }
 
 type SetDomainRecordStatusResponse struct {

+ 20 - 0
services/alidns/struct_available_ttls.go

@@ -0,0 +1,20 @@
+package alidns
+
+//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.
+
+type AvailableTtls struct {
+	AvailableTtl []string `json:"AvailableTtl" xml:"AvailableTtl"`
+}

+ 47 - 0
services/alidns/struct_dns_product.go

@@ -0,0 +1,47 @@
+package alidns
+
+//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.
+
+type DnsProduct struct {
+	InstanceId            string `json:"InstanceId" xml:"InstanceId"`
+	VersionCode           string `json:"VersionCode" xml:"VersionCode"`
+	VersionName           string `json:"VersionName" xml:"VersionName"`
+	StartTime             string `json:"StartTime" xml:"StartTime"`
+	EndTime               string `json:"EndTime" xml:"EndTime"`
+	StartTimestamp        int    `json:"StartTimestamp" xml:"StartTimestamp"`
+	EndTimestamp          int    `json:"EndTimestamp" xml:"EndTimestamp"`
+	Domain                string `json:"Domain" xml:"Domain"`
+	BindCount             int    `json:"BindCount" xml:"BindCount"`
+	BindUsedCount         int    `json:"BindUsedCount" xml:"BindUsedCount"`
+	TTLMinValue           int    `json:"TTLMinValue" xml:"TTLMinValue"`
+	SubDomainLevel        int    `json:"SubDomainLevel" xml:"SubDomainLevel"`
+	DnsSLBCount           int    `json:"DnsSLBCount" xml:"DnsSLBCount"`
+	URLForwardCount       int    `json:"URLForwardCount" xml:"URLForwardCount"`
+	DDosDefendFlow        int    `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
+	DDosDefendQuery       int    `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
+	OverseaDDosDefendFlow int    `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
+	SearchEngineLines     string `json:"SearchEngineLines" xml:"SearchEngineLines"`
+	ISPLines              string `json:"ISPLines" xml:"ISPLines"`
+	ISPRegionLines        string `json:"ISPRegionLines" xml:"ISPRegionLines"`
+	OverseaLine           string `json:"OverseaLine" xml:"OverseaLine"`
+	MonitorNodeCount      int    `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
+	MonitorFrequency      int    `json:"MonitorFrequency" xml:"MonitorFrequency"`
+	MonitorTaskCount      int    `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
+	RegionLines           bool   `json:"RegionLines" xml:"RegionLines"`
+	Gslb                  bool   `json:"Gslb" xml:"Gslb"`
+	InClean               bool   `json:"InClean" xml:"InClean"`
+	InBlackHole           bool   `json:"InBlackHole" xml:"InBlackHole"`
+}

+ 20 - 0
services/alidns/struct_dns_products.go

@@ -0,0 +1,20 @@
+package alidns
+
+//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.
+
+type DnsProducts struct {
+	DnsProduct []DnsProduct `json:"DnsProduct" xml:"DnsProduct"`
+}

+ 20 - 0
services/alidns/struct_dns_servers_in_add_domain.go

@@ -0,0 +1,20 @@
+package alidns
+
+//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.
+
+type DnsServersInAddDomain struct {
+	DnsServer []string `json:"DnsServer" xml:"DnsServer"`
+}

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