Browse Source

add api documents links for each api func

Signed-off-by: gaort <rutong.grt@alibaba-inc.com>
gaort 7 years ago
parent
commit
5412d44e42
100 changed files with 2819 additions and 134 deletions
  1. 103 0
      services/aegis/batch_delete_white_list.go
  2. 10 0
      services/aegis/create_instance.go
  3. 10 0
      services/aegis/create_suspicious_export.go
  4. 103 0
      services/aegis/create_user_setting.go
  5. 104 0
      services/aegis/create_user_white_list.go
  6. 10 0
      services/aegis/delete_strategy.go
  7. 112 0
      services/aegis/describe_export_info.go
  8. 22 10
      services/aegis/describe_login_logs.go
  9. 112 0
      services/aegis/describe_mac_config.go
  10. 111 0
      services/aegis/describe_machine_config.go
  11. 106 0
      services/aegis/describe_risk_type.go
  12. 110 0
      services/aegis/describe_risk_white_list.go
  13. 107 0
      services/aegis/describe_risks.go
  14. 13 3
      services/aegis/describe_strategy_target.go
  15. 13 3
      services/aegis/describe_stratety.go
  16. 10 0
      services/aegis/describe_stratety_detail.go
  17. 22 6
      services/aegis/describe_suspicious_events.go
  18. 10 0
      services/aegis/describe_suspicious_export_info.go
  19. 103 0
      services/aegis/describe_user_setting.go
  20. 12 34
      services/aegis/describe_vul_details.go
  21. 25 27
      services/aegis/describe_vul_list.go
  22. 17 6
      services/aegis/describe_warning.go
  23. 14 4
      services/aegis/describe_webshell.go
  24. 117 0
      services/aegis/describesummary.go
  25. 113 0
      services/aegis/export_warning.go
  26. 10 0
      services/aegis/get_account_statistics.go
  27. 10 0
      services/aegis/get_crack_statistics.go
  28. 10 0
      services/aegis/get_entity_list.go
  29. 10 0
      services/aegis/get_statistics.go
  30. 10 0
      services/aegis/get_statistics_by_uuid.go
  31. 10 0
      services/aegis/modify_batch_ignore_vul.go
  32. 108 0
      services/aegis/modify_machine_config.go
  33. 10 0
      services/aegis/modify_strategy.go
  34. 10 0
      services/aegis/modify_strategy_target.go
  35. 106 0
      services/aegis/operate_warning.go
  36. 10 0
      services/aegis/query_crack_event.go
  37. 10 0
      services/aegis/query_login_event.go
  38. 10 0
      services/aegis/release_instance.go
  39. 10 0
      services/aegis/renew_instance.go
  40. 20 0
      services/aegis/struct_classifys.go
  41. 22 0
      services/aegis/struct_classifys_item.go
  42. 30 0
      services/aegis/struct_config.go
  43. 1 1
      services/aegis/struct_config_target.go
  44. 20 0
      services/aegis/struct_config_targets_in_describe_machine_config.go
  45. 1 1
      services/aegis/struct_config_targets_in_describe_stratety.go
  46. 2 2
      services/aegis/struct_configs.go
  47. 2 2
      services/aegis/struct_cve_list.go
  48. 2 2
      services/aegis/struct_cves.go
  49. 39 0
      services/aegis/struct_cves_item.go
  50. 9 17
      services/aegis/struct_data.go
  51. 20 0
      services/aegis/struct_detail.go
  52. 22 0
      services/aegis/struct_detail_item.go
  53. 20 0
      services/aegis/struct_detail_items.go
  54. 20 0
      services/aegis/struct_detail_list.go
  55. 22 0
      services/aegis/struct_detail_list_item.go
  56. 20 0
      services/aegis/struct_details.go
  57. 30 0
      services/aegis/struct_extend_content_json.go
  58. 20 0
      services/aegis/struct_log_list_in_describe_login_logs.go
  59. 20 0
      services/aegis/struct_log_list_in_describe_suspicious_events.go
  60. 45 0
      services/aegis/struct_log_list_item.go
  61. 27 0
      services/aegis/struct_necessity.go
  62. 26 0
      services/aegis/struct_risk.go
  63. 23 0
      services/aegis/struct_risk_type.go
  64. 4 4
      services/aegis/struct_risk_type_white_list_query_result.go
  65. 20 0
      services/aegis/struct_risk_types.go
  66. 2 2
      services/aegis/struct_risks.go
  67. 20 0
      services/aegis/struct_rpm_entity_list.go
  68. 25 0
      services/aegis/struct_rpm_entity_list_item.go
  69. 27 0
      services/aegis/struct_strategie.go
  70. 1 1
      services/aegis/struct_strategies.go
  71. 22 0
      services/aegis/struct_strategy_target.go
  72. 1 1
      services/aegis/struct_strategy_targets.go
  73. 23 0
      services/aegis/struct_sub_type.go
  74. 20 0
      services/aegis/struct_sub_types_in_describe_risk_type.go
  75. 20 0
      services/aegis/struct_sub_types_in_describe_stratety_detail.go
  76. 2 2
      services/aegis/struct_target.go
  77. 20 0
      services/aegis/struct_target_list.go
  78. 1 1
      services/aegis/struct_vul_records.go
  79. 38 0
      services/aegis/struct_vul_records_item.go
  80. 31 0
      services/aegis/struct_warning.go
  81. 28 0
      services/aegis/struct_warning_summary.go
  82. 20 0
      services/aegis/struct_warning_summarys.go
  83. 1 1
      services/aegis/struct_warnings.go
  84. 20 0
      services/aegis/struct_webshell_list.go
  85. 33 0
      services/aegis/struct_webshell_list_item.go
  86. 4 4
      services/aegis/struct_white_list.go
  87. 20 0
      services/aegis/struct_white_lists.go
  88. 10 0
      services/aegis/upgrade_instance.go
  89. 10 0
      services/alidns/add_batch_domain_records.go
  90. 10 0
      services/alidns/add_domain.go
  91. 10 0
      services/alidns/add_domain_group.go
  92. 10 0
      services/alidns/add_domain_record.go
  93. 10 0
      services/alidns/apply_for_retrieval_domain_name.go
  94. 10 0
      services/alidns/change_domain_group.go
  95. 10 0
      services/alidns/change_domain_of_dns_product.go
  96. 10 0
      services/alidns/check_domain_record.go
  97. 10 0
      services/alidns/delete_batch_domain_records.go
  98. 10 0
      services/alidns/delete_batch_domains.go
  99. 10 0
      services/alidns/delete_domain.go
  100. 10 0
      services/alidns/delete_domain_group.go

+ 103 - 0
services/aegis/batch_delete_white_list.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"
+)
+
+// invoke BatchDeleteWhiteList api with *BatchDeleteWhiteListRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/batchdeletewhitelist.html
+func (client *Client) BatchDeleteWhiteList(request *BatchDeleteWhiteListRequest) (response *BatchDeleteWhiteListResponse, err error) {
+	response = CreateBatchDeleteWhiteListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke BatchDeleteWhiteList api with *BatchDeleteWhiteListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/batchdeletewhitelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchDeleteWhiteListWithChan(request *BatchDeleteWhiteListRequest) (<-chan *BatchDeleteWhiteListResponse, <-chan error) {
+	responseChan := make(chan *BatchDeleteWhiteListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.BatchDeleteWhiteList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke BatchDeleteWhiteList api with *BatchDeleteWhiteListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/batchdeletewhitelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchDeleteWhiteListWithCallback(request *BatchDeleteWhiteListRequest, callback func(response *BatchDeleteWhiteListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *BatchDeleteWhiteListResponse
+		var err error
+		defer close(result)
+		response, err = client.BatchDeleteWhiteList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type BatchDeleteWhiteListRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	RiskIdList      string           `position:"Query" name:"RiskIdList"`
+}
+
+type BatchDeleteWhiteListResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// create a request to invoke BatchDeleteWhiteList API
+func CreateBatchDeleteWhiteListRequest() (request *BatchDeleteWhiteListRequest) {
+	request = &BatchDeleteWhiteListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "BatchDeleteWhiteList", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from BatchDeleteWhiteList response
+func CreateBatchDeleteWhiteListResponse() (response *BatchDeleteWhiteListResponse) {
+	response = &BatchDeleteWhiteListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 10 - 0
services/aegis/create_instance.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke CreateInstance api with *CreateInstanceRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/createinstance.html
 func (client *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error) {
 	response = CreateCreateInstanceResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke CreateInstance api with *CreateInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/createinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) CreateInstanceWithChan(request *CreateInstanceRequest) (<-chan *CreateInstanceResponse, <-chan error) {
 	responseChan := make(chan *CreateInstanceResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) CreateInstanceWithChan(request *CreateInstanceRequest) (<-
 	return responseChan, errChan
 }
 
+// invoke CreateInstance api with *CreateInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/createinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest, callback func(response *CreateInstanceResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -84,6 +92,7 @@ type CreateInstanceResponse struct {
 	RequestId  string `json:"RequestId" xml:"RequestId"`
 }
 
+// create a request to invoke CreateInstance API
 func CreateCreateInstanceRequest() (request *CreateInstanceRequest) {
 	request = &CreateInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -92,6 +101,7 @@ func CreateCreateInstanceRequest() (request *CreateInstanceRequest) {
 	return
 }
 
+// create a response to parse from CreateInstance response
 func CreateCreateInstanceResponse() (response *CreateInstanceResponse) {
 	response = &CreateInstanceResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/create_suspicious_export.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke CreateSuspiciousExport api with *CreateSuspiciousExportRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/createsuspiciousexport.html
 func (client *Client) CreateSuspiciousExport(request *CreateSuspiciousExportRequest) (response *CreateSuspiciousExportResponse, err error) {
 	response = CreateCreateSuspiciousExportResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke CreateSuspiciousExport api with *CreateSuspiciousExportRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/createsuspiciousexport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) CreateSuspiciousExportWithChan(request *CreateSuspiciousExportRequest) (<-chan *CreateSuspiciousExportResponse, <-chan error) {
 	responseChan := make(chan *CreateSuspiciousExportResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) CreateSuspiciousExportWithChan(request *CreateSuspiciousEx
 	return responseChan, errChan
 }
 
+// invoke CreateSuspiciousExport api with *CreateSuspiciousExportRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/createsuspiciousexport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) CreateSuspiciousExportWithCallback(request *CreateSuspiciousExportRequest, callback func(response *CreateSuspiciousExportResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -87,6 +95,7 @@ type CreateSuspiciousExportResponse struct {
 	FileName  string `json:"FileName" xml:"FileName"`
 }
 
+// create a request to invoke CreateSuspiciousExport API
 func CreateCreateSuspiciousExportRequest() (request *CreateSuspiciousExportRequest) {
 	request = &CreateSuspiciousExportRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -95,6 +104,7 @@ func CreateCreateSuspiciousExportRequest() (request *CreateSuspiciousExportReque
 	return
 }
 
+// create a response to parse from CreateSuspiciousExport response
 func CreateCreateSuspiciousExportResponse() (response *CreateSuspiciousExportResponse) {
 	response = &CreateSuspiciousExportResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 103 - 0
services/aegis/create_user_setting.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"
+)
+
+// invoke CreateUserSetting api with *CreateUserSettingRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/createusersetting.html
+func (client *Client) CreateUserSetting(request *CreateUserSettingRequest) (response *CreateUserSettingResponse, err error) {
+	response = CreateCreateUserSettingResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke CreateUserSetting api with *CreateUserSettingRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/createusersetting.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUserSettingWithChan(request *CreateUserSettingRequest) (<-chan *CreateUserSettingResponse, <-chan error) {
+	responseChan := make(chan *CreateUserSettingResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateUserSetting(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke CreateUserSetting api with *CreateUserSettingRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/createusersetting.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUserSettingWithCallback(request *CreateUserSettingRequest, callback func(response *CreateUserSettingResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateUserSettingResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateUserSetting(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type CreateUserSettingRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	FrequencyByDays requests.Integer `position:"Query" name:"FrequencyByDays"`
+}
+
+type CreateUserSettingResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// create a request to invoke CreateUserSetting API
+func CreateCreateUserSettingRequest() (request *CreateUserSettingRequest) {
+	request = &CreateUserSettingRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "CreateUserSetting", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from CreateUserSetting response
+func CreateCreateUserSettingResponse() (response *CreateUserSettingResponse) {
+	response = &CreateUserSettingResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/aegis/create_user_white_list.go

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

+ 10 - 0
services/aegis/delete_strategy.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DeleteStrategy api with *DeleteStrategyRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/deletestrategy.html
 func (client *Client) DeleteStrategy(request *DeleteStrategyRequest) (response *DeleteStrategyResponse, err error) {
 	response = CreateDeleteStrategyResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DeleteStrategy api with *DeleteStrategyRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/deletestrategy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteStrategyWithChan(request *DeleteStrategyRequest) (<-chan *DeleteStrategyResponse, <-chan error) {
 	responseChan := make(chan *DeleteStrategyResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DeleteStrategyWithChan(request *DeleteStrategyRequest) (<-
 	return responseChan, errChan
 }
 
+// invoke DeleteStrategy api with *DeleteStrategyRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/deletestrategy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteStrategyWithCallback(request *DeleteStrategyRequest, callback func(response *DeleteStrategyResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -77,6 +85,7 @@ type DeleteStrategyResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
+// create a request to invoke DeleteStrategy API
 func CreateDeleteStrategyRequest() (request *DeleteStrategyRequest) {
 	request = &DeleteStrategyRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -85,6 +94,7 @@ func CreateDeleteStrategyRequest() (request *DeleteStrategyRequest) {
 	return
 }
 
+// create a response to parse from DeleteStrategy response
 func CreateDeleteStrategyResponse() (response *DeleteStrategyResponse) {
 	response = &DeleteStrategyResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 112 - 0
services/aegis/describe_export_info.go

@@ -0,0 +1,112 @@
+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"
+)
+
+// invoke DescribeExportInfo api with *DescribeExportInfoRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describeexportinfo.html
+func (client *Client) DescribeExportInfo(request *DescribeExportInfoRequest) (response *DescribeExportInfoResponse, err error) {
+	response = CreateDescribeExportInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke DescribeExportInfo api with *DescribeExportInfoRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeexportinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeExportInfoWithChan(request *DescribeExportInfoRequest) (<-chan *DescribeExportInfoResponse, <-chan error) {
+	responseChan := make(chan *DescribeExportInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeExportInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke DescribeExportInfo api with *DescribeExportInfoRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeexportinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeExportInfoWithCallback(request *DescribeExportInfoRequest, callback func(response *DescribeExportInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeExportInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeExportInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeExportInfoRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ExportId        requests.Integer `position:"Query" name:"ExportId"`
+}
+
+type DescribeExportInfoResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	FileName     string `json:"FileName" xml:"FileName"`
+	CurrentCount int    `json:"CurrentCount" xml:"CurrentCount"`
+	Link         string `json:"Link" xml:"Link"`
+	Progress     int    `json:"Progress" xml:"Progress"`
+	Id           int    `json:"Id" xml:"Id"`
+	Message      string `json:"Message" xml:"Message"`
+	TotalCount   int    `json:"TotalCount" xml:"TotalCount"`
+	GmtCreate    int    `json:"GmtCreate" xml:"GmtCreate"`
+	Status       string `json:"Status" xml:"Status"`
+}
+
+// create a request to invoke DescribeExportInfo API
+func CreateDescribeExportInfoRequest() (request *DescribeExportInfoRequest) {
+	request = &DescribeExportInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeExportInfo", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from DescribeExportInfo response
+func CreateDescribeExportInfoResponse() (response *DescribeExportInfoResponse) {
+	response = &DescribeExportInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 22 - 10
services/aegis/describe_login_logs.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeLoginLogs api with *DescribeLoginLogsRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describeloginlogs.html
 func (client *Client) DescribeLoginLogs(request *DescribeLoginLogsRequest) (response *DescribeLoginLogsResponse, err error) {
 	response = CreateDescribeLoginLogsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeLoginLogs api with *DescribeLoginLogsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeloginlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeLoginLogsWithChan(request *DescribeLoginLogsRequest) (<-chan *DescribeLoginLogsResponse, <-chan error) {
 	responseChan := make(chan *DescribeLoginLogsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeLoginLogsWithChan(request *DescribeLoginLogsReques
 	return responseChan, errChan
 }
 
+// invoke DescribeLoginLogs api with *DescribeLoginLogsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeloginlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeLoginLogsWithCallback(request *DescribeLoginLogsRequest, callback func(response *DescribeLoginLogsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -67,22 +75,25 @@ func (client *Client) DescribeLoginLogsWithCallback(request *DescribeLoginLogsRe
 
 type DescribeLoginLogsRequest struct {
 	*requests.RpcRequest
-	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"`
+	SourceIp    string           `position:"Query" name:"SourceIp"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	Statuses    string           `position:"Query" name:"Statuses"`
+	Types       string           `position:"Query" name:"Types"`
+	Tag         string           `position:"Query" name:"Tag"`
+	Remark      string           `position:"Query" name:"Remark"`
 }
 
 type DescribeLoginLogsResponse struct {
 	*responses.BaseResponse
-	RequestId      string   `json:"RequestId" xml:"RequestId"`
-	PageSize       int      `json:"PageSize" xml:"PageSize"`
-	CurrentPage    int      `json:"CurrentPage" xml:"CurrentPage"`
-	TotalCount     int      `json:"TotalCount" xml:"TotalCount"`
-	HttpStatusCode int      `json:"HttpStatusCode" xml:"HttpStatusCode"`
-	LoginLogs      []string `json:"LoginLogs" xml:"LoginLogs"`
+	RequestId   string        `json:"RequestId" xml:"RequestId"`
+	PageSize    int           `json:"PageSize" xml:"PageSize"`
+	CurrentPage int           `json:"CurrentPage" xml:"CurrentPage"`
+	TotalCount  int           `json:"TotalCount" xml:"TotalCount"`
+	LogList     []LogListItem `json:"LogList" xml:"LogList"`
 }
 
+// create a request to invoke DescribeLoginLogs API
 func CreateDescribeLoginLogsRequest() (request *DescribeLoginLogsRequest) {
 	request = &DescribeLoginLogsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -91,6 +102,7 @@ func CreateDescribeLoginLogsRequest() (request *DescribeLoginLogsRequest) {
 	return
 }
 
+// create a response to parse from DescribeLoginLogs response
 func CreateDescribeLoginLogsResponse() (response *DescribeLoginLogsResponse) {
 	response = &DescribeLoginLogsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 112 - 0
services/aegis/describe_mac_config.go

@@ -0,0 +1,112 @@
+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"
+)
+
+// invoke DescribeMacConfig api with *DescribeMacConfigRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describemacconfig.html
+func (client *Client) DescribeMacConfig(request *DescribeMacConfigRequest) (response *DescribeMacConfigResponse, err error) {
+	response = CreateDescribeMacConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke DescribeMacConfig api with *DescribeMacConfigRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describemacconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMacConfigWithChan(request *DescribeMacConfigRequest) (<-chan *DescribeMacConfigResponse, <-chan error) {
+	responseChan := make(chan *DescribeMacConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMacConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke DescribeMacConfig api with *DescribeMacConfigRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describemacconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMacConfigWithCallback(request *DescribeMacConfigRequest, callback func(response *DescribeMacConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMacConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMacConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeMacConfigRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Target          string           `position:"Query" name:"Target"`
+	Types           string           `position:"Query" name:"Types"`
+	Type            string           `position:"Query" name:"Type"`
+	Config          string           `position:"Query" name:"Config"`
+	Extern          string           `position:"Query" name:"Extern"`
+}
+
+type DescribeMacConfigResponse struct {
+	*responses.BaseResponse
+	RequestId   string   `json:"RequestId" xml:"RequestId"`
+	Count       int      `json:"Count" xml:"Count"`
+	PageSize    int      `json:"PageSize" xml:"PageSize"`
+	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
+	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
+	Configs     []Config `json:"Configs" xml:"Configs"`
+}
+
+// create a request to invoke DescribeMacConfig API
+func CreateDescribeMacConfigRequest() (request *DescribeMacConfigRequest) {
+	request = &DescribeMacConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeMacConfig", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from DescribeMacConfig response
+func CreateDescribeMacConfigResponse() (response *DescribeMacConfigResponse) {
+	response = &DescribeMacConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/aegis/describe_machine_config.go

@@ -0,0 +1,111 @@
+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"
+)
+
+// invoke DescribeMachineConfig api with *DescribeMachineConfigRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describemachineconfig.html
+func (client *Client) DescribeMachineConfig(request *DescribeMachineConfigRequest) (response *DescribeMachineConfigResponse, err error) {
+	response = CreateDescribeMachineConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke DescribeMachineConfig api with *DescribeMachineConfigRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describemachineconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMachineConfigWithChan(request *DescribeMachineConfigRequest) (<-chan *DescribeMachineConfigResponse, <-chan error) {
+	responseChan := make(chan *DescribeMachineConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMachineConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke DescribeMachineConfig api with *DescribeMachineConfigRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describemachineconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMachineConfigWithCallback(request *DescribeMachineConfigRequest, callback func(response *DescribeMachineConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMachineConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMachineConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeMachineConfigRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Target          string           `position:"Query" name:"Target"`
+	Types           string           `position:"Query" name:"Types"`
+	Type            string           `position:"Query" name:"Type"`
+	Config          string           `position:"Query" name:"Config"`
+	Lang            string           `position:"Query" name:"Lang"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+}
+
+type DescribeMachineConfigResponse struct {
+	*responses.BaseResponse
+	RequestId     string         `json:"RequestId" xml:"RequestId"`
+	Count         int            `json:"Count" xml:"Count"`
+	ConfigTargets []ConfigTarget `json:"ConfigTargets" xml:"ConfigTargets"`
+}
+
+// create a request to invoke DescribeMachineConfig API
+func CreateDescribeMachineConfigRequest() (request *DescribeMachineConfigRequest) {
+	request = &DescribeMachineConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeMachineConfig", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from DescribeMachineConfig response
+func CreateDescribeMachineConfigResponse() (response *DescribeMachineConfigResponse) {
+	response = &DescribeMachineConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/aegis/describe_risk_type.go

@@ -0,0 +1,106 @@
+package aegis
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// invoke DescribeRiskType api with *DescribeRiskTypeRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describerisktype.html
+func (client *Client) DescribeRiskType(request *DescribeRiskTypeRequest) (response *DescribeRiskTypeResponse, err error) {
+	response = CreateDescribeRiskTypeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke DescribeRiskType api with *DescribeRiskTypeRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describerisktype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRiskTypeWithChan(request *DescribeRiskTypeRequest) (<-chan *DescribeRiskTypeResponse, <-chan error) {
+	responseChan := make(chan *DescribeRiskTypeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRiskType(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke DescribeRiskType api with *DescribeRiskTypeRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describerisktype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRiskTypeWithCallback(request *DescribeRiskTypeRequest, callback func(response *DescribeRiskTypeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRiskTypeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRiskType(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeRiskTypeRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	StrategyId      requests.Integer `position:"Query" name:"StrategyId"`
+}
+
+type DescribeRiskTypeResponse struct {
+	*responses.BaseResponse
+	RequestId string     `json:"RequestId" xml:"RequestId"`
+	Count     int        `json:"Count" xml:"Count"`
+	RiskTypes []RiskType `json:"RiskTypes" xml:"RiskTypes"`
+}
+
+// create a request to invoke DescribeRiskType API
+func CreateDescribeRiskTypeRequest() (request *DescribeRiskTypeRequest) {
+	request = &DescribeRiskTypeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeRiskType", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from DescribeRiskType response
+func CreateDescribeRiskTypeResponse() (response *DescribeRiskTypeResponse) {
+	response = &DescribeRiskTypeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/aegis/describe_risk_white_list.go

@@ -0,0 +1,110 @@
+package aegis
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// invoke DescribeRiskWhiteList api with *DescribeRiskWhiteListRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describeriskwhitelist.html
+func (client *Client) DescribeRiskWhiteList(request *DescribeRiskWhiteListRequest) (response *DescribeRiskWhiteListResponse, err error) {
+	response = CreateDescribeRiskWhiteListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke DescribeRiskWhiteList api with *DescribeRiskWhiteListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeriskwhitelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRiskWhiteListWithChan(request *DescribeRiskWhiteListRequest) (<-chan *DescribeRiskWhiteListResponse, <-chan error) {
+	responseChan := make(chan *DescribeRiskWhiteListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRiskWhiteList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke DescribeRiskWhiteList api with *DescribeRiskWhiteListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeriskwhitelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRiskWhiteListWithCallback(request *DescribeRiskWhiteListRequest, callback func(response *DescribeRiskWhiteListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRiskWhiteListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRiskWhiteList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeRiskWhiteListRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	RiskName        string           `position:"Query" name:"RiskName"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+}
+
+type DescribeRiskWhiteListResponse struct {
+	*responses.BaseResponse
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	Count       int         `json:"Count" xml:"Count"`
+	PageSize    int         `json:"PageSize" xml:"PageSize"`
+	TotalCount  int         `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage int         `json:"CurrentPage" xml:"CurrentPage"`
+	WhiteLists  []WhiteList `json:"WhiteLists" xml:"WhiteLists"`
+}
+
+// create a request to invoke DescribeRiskWhiteList API
+func CreateDescribeRiskWhiteListRequest() (request *DescribeRiskWhiteListRequest) {
+	request = &DescribeRiskWhiteListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeRiskWhiteList", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from DescribeRiskWhiteList response
+func CreateDescribeRiskWhiteListResponse() (response *DescribeRiskWhiteListResponse) {
+	response = &DescribeRiskWhiteListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/aegis/describe_risks.go

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

+ 13 - 3
services/aegis/describe_strategy_target.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeStrategyTarget api with *DescribeStrategyTargetRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describestrategytarget.html
 func (client *Client) DescribeStrategyTarget(request *DescribeStrategyTargetRequest) (response *DescribeStrategyTargetResponse, err error) {
 	response = CreateDescribeStrategyTargetResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeStrategyTarget api with *DescribeStrategyTargetRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describestrategytarget.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeStrategyTargetWithChan(request *DescribeStrategyTargetRequest) (<-chan *DescribeStrategyTargetResponse, <-chan error) {
 	responseChan := make(chan *DescribeStrategyTargetResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeStrategyTargetWithChan(request *DescribeStrategyTa
 	return responseChan, errChan
 }
 
+// invoke DescribeStrategyTarget api with *DescribeStrategyTargetRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describestrategytarget.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeStrategyTargetWithCallback(request *DescribeStrategyTargetRequest, callback func(response *DescribeStrategyTargetResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -76,11 +84,12 @@ type DescribeStrategyTargetRequest struct {
 
 type DescribeStrategyTargetResponse struct {
 	*responses.BaseResponse
-	RequestId       string       `json:"RequestId" xml:"RequestId"`
-	Count           int          `json:"Count" xml:"Count"`
-	StrategyTargets []StringItem `json:"StrategyTargets" xml:"StrategyTargets"`
+	RequestId       string           `json:"RequestId" xml:"RequestId"`
+	Count           int              `json:"Count" xml:"Count"`
+	StrategyTargets []StrategyTarget `json:"StrategyTargets" xml:"StrategyTargets"`
 }
 
+// create a request to invoke DescribeStrategyTarget API
 func CreateDescribeStrategyTargetRequest() (request *DescribeStrategyTargetRequest) {
 	request = &DescribeStrategyTargetRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -89,6 +98,7 @@ func CreateDescribeStrategyTargetRequest() (request *DescribeStrategyTargetReque
 	return
 }
 
+// create a response to parse from DescribeStrategyTarget response
 func CreateDescribeStrategyTargetResponse() (response *DescribeStrategyTargetResponse) {
 	response = &DescribeStrategyTargetResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 13 - 3
services/aegis/describe_stratety.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeStratety api with *DescribeStratetyRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describestratety.html
 func (client *Client) DescribeStratety(request *DescribeStratetyRequest) (response *DescribeStratetyResponse, err error) {
 	response = CreateDescribeStratetyResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeStratety api with *DescribeStratetyRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describestratety.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeStratetyWithChan(request *DescribeStratetyRequest) (<-chan *DescribeStratetyResponse, <-chan error) {
 	responseChan := make(chan *DescribeStratetyResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeStratetyWithChan(request *DescribeStratetyRequest)
 	return responseChan, errChan
 }
 
+// invoke DescribeStratety api with *DescribeStratetyRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describestratety.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeStratetyWithCallback(request *DescribeStratetyRequest, callback func(response *DescribeStratetyResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -73,11 +81,12 @@ type DescribeStratetyRequest struct {
 
 type DescribeStratetyResponse struct {
 	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	Count      int    `json:"Count" xml:"Count"`
-	Strategies []Data `json:"Strategies" xml:"Strategies"`
+	RequestId  string      `json:"RequestId" xml:"RequestId"`
+	Count      int         `json:"Count" xml:"Count"`
+	Strategies []Strategie `json:"Strategies" xml:"Strategies"`
 }
 
+// create a request to invoke DescribeStratety API
 func CreateDescribeStratetyRequest() (request *DescribeStratetyRequest) {
 	request = &DescribeStratetyRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateDescribeStratetyRequest() (request *DescribeStratetyRequest) {
 	return
 }
 
+// create a response to parse from DescribeStratety response
 func CreateDescribeStratetyResponse() (response *DescribeStratetyResponse) {
 	response = &DescribeStratetyResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/describe_stratety_detail.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeStratetyDetail api with *DescribeStratetyDetailRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describestratetydetail.html
 func (client *Client) DescribeStratetyDetail(request *DescribeStratetyDetailRequest) (response *DescribeStratetyDetailResponse, err error) {
 	response = CreateDescribeStratetyDetailResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeStratetyDetail api with *DescribeStratetyDetailRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describestratetydetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeStratetyDetailWithChan(request *DescribeStratetyDetailRequest) (<-chan *DescribeStratetyDetailResponse, <-chan error) {
 	responseChan := make(chan *DescribeStratetyDetailResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeStratetyDetailWithChan(request *DescribeStratetyDe
 	return responseChan, errChan
 }
 
+// invoke DescribeStratetyDetail api with *DescribeStratetyDetailRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describestratetydetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeStratetyDetailWithCallback(request *DescribeStratetyDetailRequest, callback func(response *DescribeStratetyDetailResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -78,6 +86,7 @@ type DescribeStratetyDetailResponse struct {
 	Strategy  Strategy `json:"Strategy" xml:"Strategy"`
 }
 
+// create a request to invoke DescribeStratetyDetail API
 func CreateDescribeStratetyDetailRequest() (request *DescribeStratetyDetailRequest) {
 	request = &DescribeStratetyDetailRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateDescribeStratetyDetailRequest() (request *DescribeStratetyDetailReque
 	return
 }
 
+// create a response to parse from DescribeStratetyDetail response
 func CreateDescribeStratetyDetailResponse() (response *DescribeStratetyDetailResponse) {
 	response = &DescribeStratetyDetailResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 22 - 6
services/aegis/describe_suspicious_events.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeSuspiciousEvents api with *DescribeSuspiciousEventsRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describesuspiciousevents.html
 func (client *Client) DescribeSuspiciousEvents(request *DescribeSuspiciousEventsRequest) (response *DescribeSuspiciousEventsResponse, err error) {
 	response = CreateDescribeSuspiciousEventsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeSuspiciousEvents api with *DescribeSuspiciousEventsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describesuspiciousevents.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeSuspiciousEventsWithChan(request *DescribeSuspiciousEventsRequest) (<-chan *DescribeSuspiciousEventsResponse, <-chan error) {
 	responseChan := make(chan *DescribeSuspiciousEventsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeSuspiciousEventsWithChan(request *DescribeSuspicio
 	return responseChan, errChan
 }
 
+// invoke DescribeSuspiciousEvents api with *DescribeSuspiciousEventsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describesuspiciousevents.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeSuspiciousEventsWithCallback(request *DescribeSuspiciousEventsRequest, callback func(response *DescribeSuspiciousEventsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -69,18 +77,25 @@ type DescribeSuspiciousEventsRequest struct {
 	*requests.RpcRequest
 	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"`
+	Uuid            string           `position:"Query" name:"Uuid"`
+	Dealed          string           `position:"Query" name:"Dealed"`
+	Remark          string           `position:"Query" name:"Remark"`
+	Level           string           `position:"Query" name:"Level"`
+	EventType       string           `position:"Query" name:"EventType"`
 }
 
 type DescribeSuspiciousEventsResponse struct {
 	*responses.BaseResponse
-	RequestId        string   `json:"RequestId" xml:"RequestId"`
-	PageSize         int      `json:"PageSize" xml:"PageSize"`
-	TotalCount       int      `json:"TotalCount" xml:"TotalCount"`
-	CurrentPage      int      `json:"CurrentPage" xml:"CurrentPage"`
-	HttpStatusCode   int      `json:"HttpStatusCode" xml:"HttpStatusCode"`
-	SuspiciousEvents []string `json:"SuspiciousEvents" xml:"SuspiciousEvents"`
+	RequestId   string        `json:"RequestId" xml:"RequestId"`
+	PageSize    int           `json:"PageSize" xml:"PageSize"`
+	TotalCount  int           `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage int           `json:"CurrentPage" xml:"CurrentPage"`
+	LogList     []LogListItem `json:"LogList" xml:"LogList"`
 }
 
+// create a request to invoke DescribeSuspiciousEvents API
 func CreateDescribeSuspiciousEventsRequest() (request *DescribeSuspiciousEventsRequest) {
 	request = &DescribeSuspiciousEventsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -89,6 +104,7 @@ func CreateDescribeSuspiciousEventsRequest() (request *DescribeSuspiciousEventsR
 	return
 }
 
+// create a response to parse from DescribeSuspiciousEvents response
 func CreateDescribeSuspiciousEventsResponse() (response *DescribeSuspiciousEventsResponse) {
 	response = &DescribeSuspiciousEventsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/describe_suspicious_export_info.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeSuspiciousExportInfo api with *DescribeSuspiciousExportInfoRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describesuspiciousexportinfo.html
 func (client *Client) DescribeSuspiciousExportInfo(request *DescribeSuspiciousExportInfoRequest) (response *DescribeSuspiciousExportInfoResponse, err error) {
 	response = CreateDescribeSuspiciousExportInfoResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeSuspiciousExportInfo api with *DescribeSuspiciousExportInfoRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describesuspiciousexportinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeSuspiciousExportInfoWithChan(request *DescribeSuspiciousExportInfoRequest) (<-chan *DescribeSuspiciousExportInfoResponse, <-chan error) {
 	responseChan := make(chan *DescribeSuspiciousExportInfoResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeSuspiciousExportInfoWithChan(request *DescribeSusp
 	return responseChan, errChan
 }
 
+// invoke DescribeSuspiciousExportInfo api with *DescribeSuspiciousExportInfoRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describesuspiciousexportinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeSuspiciousExportInfoWithCallback(request *DescribeSuspiciousExportInfoRequest, callback func(response *DescribeSuspiciousExportInfoResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -86,6 +94,7 @@ type DescribeSuspiciousExportInfoResponse struct {
 	Link         string `json:"Link" xml:"Link"`
 }
 
+// create a request to invoke DescribeSuspiciousExportInfo API
 func CreateDescribeSuspiciousExportInfoRequest() (request *DescribeSuspiciousExportInfoRequest) {
 	request = &DescribeSuspiciousExportInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -94,6 +103,7 @@ func CreateDescribeSuspiciousExportInfoRequest() (request *DescribeSuspiciousExp
 	return
 }
 
+// create a response to parse from DescribeSuspiciousExportInfo response
 func CreateDescribeSuspiciousExportInfoResponse() (response *DescribeSuspiciousExportInfoResponse) {
 	response = &DescribeSuspiciousExportInfoResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 103 - 0
services/aegis/describe_user_setting.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"
+)
+
+// invoke DescribeUserSetting api with *DescribeUserSettingRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describeusersetting.html
+func (client *Client) DescribeUserSetting(request *DescribeUserSettingRequest) (response *DescribeUserSettingResponse, err error) {
+	response = CreateDescribeUserSettingResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke DescribeUserSetting api with *DescribeUserSettingRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeusersetting.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeUserSettingWithChan(request *DescribeUserSettingRequest) (<-chan *DescribeUserSettingResponse, <-chan error) {
+	responseChan := make(chan *DescribeUserSettingResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeUserSetting(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke DescribeUserSetting api with *DescribeUserSettingRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describeusersetting.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeUserSettingWithCallback(request *DescribeUserSettingRequest, callback func(response *DescribeUserSettingResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeUserSettingResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeUserSetting(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribeUserSettingRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+}
+
+type DescribeUserSettingResponse struct {
+	*responses.BaseResponse
+	RequestId              string `json:"RequestId" xml:"RequestId"`
+	InvalidWarningKeepDays int    `json:"InvalidWarningKeepDays" xml:"InvalidWarningKeepDays"`
+}
+
+// create a request to invoke DescribeUserSetting API
+func CreateDescribeUserSettingRequest() (request *DescribeUserSettingRequest) {
+	request = &DescribeUserSettingRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "DescribeUserSetting", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from DescribeUserSetting response
+func CreateDescribeUserSettingResponse() (response *DescribeUserSettingResponse) {
+	response = &DescribeUserSettingResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 12 - 34
services/aegis/describe_vul_details.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeVulDetails api with *DescribeVulDetailsRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describevuldetails.html
 func (client *Client) DescribeVulDetails(request *DescribeVulDetailsRequest) (response *DescribeVulDetailsResponse, err error) {
 	response = CreateDescribeVulDetailsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeVulDetails api with *DescribeVulDetailsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describevuldetails.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeVulDetailsWithChan(request *DescribeVulDetailsRequest) (<-chan *DescribeVulDetailsResponse, <-chan error) {
 	responseChan := make(chan *DescribeVulDetailsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeVulDetailsWithChan(request *DescribeVulDetailsRequ
 	return responseChan, errChan
 }
 
+// invoke DescribeVulDetails api with *DescribeVulDetailsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describevuldetails.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeVulDetailsWithCallback(request *DescribeVulDetailsRequest, callback func(response *DescribeVulDetailsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -70,47 +78,16 @@ type DescribeVulDetailsRequest struct {
 	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"`
-	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"`
-	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 }
 
 type DescribeVulDetailsResponse struct {
 	*responses.BaseResponse
-	RequestId      string   `json:"RequestId" xml:"RequestId"`
-	Name           string   `json:"Name" xml:"Name"`
-	AliasName      string   `json:"AliasName" xml:"AliasName"`
-	Level          string   `json:"Level" xml:"Level"`
-	VulPublishTs   int      `json:"VulPublishTs" xml:"VulPublishTs"`
-	Type           string   `json:"Type" xml:"Type"`
-	Product        string   `json:"Product" xml:"Product"`
-	HasPatch       bool     `json:"HasPatch" xml:"HasPatch"`
-	PatchPublishTs int      `json:"PatchPublishTs" xml:"PatchPublishTs"`
-	PatchSource    string   `json:"PatchSource" xml:"PatchSource"`
-	Cvss           string   `json:"Cvss" xml:"Cvss"`
-	CveIds         string   `json:"CveIds" xml:"CveIds"`
-	Advice         string   `json:"Advice" xml:"Advice"`
-	Description    string   `json:"Description" xml:"Description"`
-	PendingCount   int      `json:"PendingCount" xml:"PendingCount"`
-	HandledCount   int      `json:"HandledCount" xml:"HandledCount"`
-	CveLists       []string `json:"CveLists" xml:"CveLists"`
+	RequestId string     `json:"RequestId" xml:"RequestId"`
+	Cves      []CvesItem `json:"Cves" xml:"Cves"`
 }
 
+// create a request to invoke DescribeVulDetails API
 func CreateDescribeVulDetailsRequest() (request *DescribeVulDetailsRequest) {
 	request = &DescribeVulDetailsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -119,6 +96,7 @@ func CreateDescribeVulDetailsRequest() (request *DescribeVulDetailsRequest) {
 	return
 }
 
+// create a response to parse from DescribeVulDetails response
 func CreateDescribeVulDetailsResponse() (response *DescribeVulDetailsResponse) {
 	response = &DescribeVulDetailsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 25 - 27
services/aegis/describe_vul_list.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeVulList api with *DescribeVulListRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describevullist.html
 func (client *Client) DescribeVulList(request *DescribeVulListRequest) (response *DescribeVulListResponse, err error) {
 	response = CreateDescribeVulListResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeVulList api with *DescribeVulListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describevullist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeVulListWithChan(request *DescribeVulListRequest) (<-chan *DescribeVulListResponse, <-chan error) {
 	responseChan := make(chan *DescribeVulListResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeVulListWithChan(request *DescribeVulListRequest) (
 	return responseChan, errChan
 }
 
+// invoke DescribeVulList api with *DescribeVulListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describevullist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeVulListWithCallback(request *DescribeVulListRequest, callback func(response *DescribeVulListResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -67,39 +75,28 @@ 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"`
-	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"`
-	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	SourceIp    string           `position:"Query" name:"SourceIp"`
+	Type        string           `position:"Query" name:"Type"`
+	Uuids       string           `position:"Query" name:"Uuids"`
+	Name        string           `position:"Query" name:"Name"`
+	Level       string           `position:"Query" name:"Level"`
+	StatusList  string           `position:"Query" name:"StatusList"`
+	Necessity   string           `position:"Query" name:"Necessity"`
+	Dealed      string           `position:"Query" name:"Dealed"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
 }
 
 type DescribeVulListResponse struct {
 	*responses.BaseResponse
-	RequestId   string   `json:"RequestId" xml:"RequestId"`
-	Count       int      `json:"Count" xml:"Count"`
-	PageSize    int      `json:"PageSize" xml:"PageSize"`
-	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
-	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
-	VulRecords  []string `json:"VulRecords" xml:"VulRecords"`
+	RequestId   string           `json:"RequestId" xml:"RequestId"`
+	PageSize    int              `json:"PageSize" xml:"PageSize"`
+	CurrentPage int              `json:"CurrentPage" xml:"CurrentPage"`
+	TotalCount  int              `json:"TotalCount" xml:"TotalCount"`
+	VulRecords  []VulRecordsItem `json:"VulRecords" xml:"VulRecords"`
 }
 
+// create a request to invoke DescribeVulList API
 func CreateDescribeVulListRequest() (request *DescribeVulListRequest) {
 	request = &DescribeVulListRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -108,6 +105,7 @@ func CreateDescribeVulListRequest() (request *DescribeVulListRequest) {
 	return
 }
 
+// create a response to parse from DescribeVulList response
 func CreateDescribeVulListResponse() (response *DescribeVulListResponse) {
 	response = &DescribeVulListResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 17 - 6
services/aegis/describe_warning.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeWarning api with *DescribeWarningRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describewarning.html
 func (client *Client) DescribeWarning(request *DescribeWarningRequest) (response *DescribeWarningResponse, err error) {
 	response = CreateDescribeWarningResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeWarning api with *DescribeWarningRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describewarning.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeWarningWithChan(request *DescribeWarningRequest) (<-chan *DescribeWarningResponse, <-chan error) {
 	responseChan := make(chan *DescribeWarningResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeWarningWithChan(request *DescribeWarningRequest) (
 	return responseChan, errChan
 }
 
+// invoke DescribeWarning api with *DescribeWarningRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describewarning.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeWarningWithCallback(request *DescribeWarningRequest, callback func(response *DescribeWarningResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -74,6 +82,7 @@ type DescribeWarningRequest struct {
 	RiskLevels      string           `position:"Query" name:"RiskLevels"`
 	StatusList      string           `position:"Query" name:"StatusList"`
 	RiskName        string           `position:"Query" name:"RiskName"`
+	StrategyId      requests.Integer `position:"Query" name:"StrategyId"`
 	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
 	Uuids           string           `position:"Query" name:"Uuids"`
@@ -82,14 +91,15 @@ type DescribeWarningRequest struct {
 
 type DescribeWarningResponse struct {
 	*responses.BaseResponse
-	RequestId   string   `json:"RequestId" xml:"RequestId"`
-	Count       int      `json:"Count" xml:"Count"`
-	PageSize    int      `json:"PageSize" xml:"PageSize"`
-	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
-	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
-	Warnings    []string `json:"Warnings" xml:"Warnings"`
+	RequestId   string    `json:"RequestId" xml:"RequestId"`
+	Count       int       `json:"Count" xml:"Count"`
+	PageSize    int       `json:"PageSize" xml:"PageSize"`
+	TotalCount  int       `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage int       `json:"CurrentPage" xml:"CurrentPage"`
+	Warnings    []Warning `json:"Warnings" xml:"Warnings"`
 }
 
+// create a request to invoke DescribeWarning API
 func CreateDescribeWarningRequest() (request *DescribeWarningRequest) {
 	request = &DescribeWarningRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -98,6 +108,7 @@ func CreateDescribeWarningRequest() (request *DescribeWarningRequest) {
 	return
 }
 
+// create a response to parse from DescribeWarning response
 func CreateDescribeWarningResponse() (response *DescribeWarningResponse) {
 	response = &DescribeWarningResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 14 - 4
services/aegis/describe_webshell.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DescribeWebshell api with *DescribeWebshellRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describewebshell.html
 func (client *Client) DescribeWebshell(request *DescribeWebshellRequest) (response *DescribeWebshellResponse, err error) {
 	response = CreateDescribeWebshellResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DescribeWebshell api with *DescribeWebshellRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describewebshell.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeWebshellWithChan(request *DescribeWebshellRequest) (<-chan *DescribeWebshellResponse, <-chan error) {
 	responseChan := make(chan *DescribeWebshellResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DescribeWebshellWithChan(request *DescribeWebshellRequest)
 	return responseChan, errChan
 }
 
+// invoke DescribeWebshell api with *DescribeWebshellRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describewebshell.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DescribeWebshellWithCallback(request *DescribeWebshellRequest, callback func(response *DescribeWebshellResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -71,16 +79,17 @@ type DescribeWebshellRequest struct {
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	GroupId         requests.Integer `position:"Query" name:"GroupId"`
 	Remark          string           `position:"Query" name:"Remark"`
+	Tag             requests.Integer `position:"Query" name:"Tag"`
+	Dealed          string           `position:"Query" name:"Dealed"`
 }
 
 type DescribeWebshellResponse struct {
 	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	TotalCount  int    `json:"TotalCount" xml:"TotalCount"`
-	PageSize    int    `json:"PageSize" xml:"PageSize"`
-	CurrentPage int    `json:"CurrentPage" xml:"CurrentPage"`
+	RequestId    string             `json:"RequestId" xml:"RequestId"`
+	WebshellList []WebshellListItem `json:"WebshellList" xml:"WebshellList"`
 }
 
+// create a request to invoke DescribeWebshell API
 func CreateDescribeWebshellRequest() (request *DescribeWebshellRequest) {
 	request = &DescribeWebshellRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -89,6 +98,7 @@ func CreateDescribeWebshellRequest() (request *DescribeWebshellRequest) {
 	return
 }
 
+// create a response to parse from DescribeWebshell response
 func CreateDescribeWebshellResponse() (response *DescribeWebshellResponse) {
 	response = &DescribeWebshellResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 117 - 0
services/aegis/describesummary.go

@@ -0,0 +1,117 @@
+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"
+)
+
+// invoke Describesummary api with *DescribesummaryRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/describesummary.html
+func (client *Client) Describesummary(request *DescribesummaryRequest) (response *DescribesummaryResponse, err error) {
+	response = CreateDescribesummaryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke Describesummary api with *DescribesummaryRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describesummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribesummaryWithChan(request *DescribesummaryRequest) (<-chan *DescribesummaryResponse, <-chan error) {
+	responseChan := make(chan *DescribesummaryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.Describesummary(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke Describesummary api with *DescribesummaryRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/describesummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribesummaryWithCallback(request *DescribesummaryRequest, callback func(response *DescribesummaryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribesummaryResponse
+		var err error
+		defer close(result)
+		response, err = client.Describesummary(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type DescribesummaryRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	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"`
+	Dealed          string           `position:"Query" name:"Dealed"`
+	StrategyId      requests.Integer `position:"Query" name:"StrategyId"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+}
+
+type DescribesummaryResponse struct {
+	*responses.BaseResponse
+	RequestId       string           `json:"RequestId" xml:"RequestId"`
+	Count           int              `json:"Count" xml:"Count"`
+	PageSize        int              `json:"PageSize" xml:"PageSize"`
+	TotalCount      int              `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage     int              `json:"CurrentPage" xml:"CurrentPage"`
+	WarningSummarys []WarningSummary `json:"WarningSummarys" xml:"WarningSummarys"`
+}
+
+// create a request to invoke Describesummary API
+func CreateDescribesummaryRequest() (request *DescribesummaryRequest) {
+	request = &DescribesummaryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "Describesummary", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from Describesummary response
+func CreateDescribesummaryResponse() (response *DescribesummaryResponse) {
+	response = &DescribesummaryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/aegis/export_warning.go

@@ -0,0 +1,113 @@
+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"
+)
+
+// invoke ExportWarning api with *ExportWarningRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/exportwarning.html
+func (client *Client) ExportWarning(request *ExportWarningRequest) (response *ExportWarningResponse, err error) {
+	response = CreateExportWarningResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke ExportWarning api with *ExportWarningRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/exportwarning.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ExportWarningWithChan(request *ExportWarningRequest) (<-chan *ExportWarningResponse, <-chan error) {
+	responseChan := make(chan *ExportWarningResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ExportWarning(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke ExportWarning api with *ExportWarningRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/exportwarning.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ExportWarningWithCallback(request *ExportWarningRequest, callback func(response *ExportWarningResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ExportWarningResponse
+		var err error
+		defer close(result)
+		response, err = client.ExportWarning(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type ExportWarningRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Uuids           string           `position:"Query" name:"Uuids"`
+	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"`
+	Dealed          string           `position:"Query" name:"Dealed"`
+	IsSummaryExport requests.Integer `position:"Query" name:"IsSummaryExport"`
+	StrategyId      requests.Integer `position:"Query" name:"StrategyId"`
+}
+
+type ExportWarningResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Id        int    `json:"Id" xml:"Id"`
+	FileName  string `json:"FileName" xml:"FileName"`
+}
+
+// create a request to invoke ExportWarning API
+func CreateExportWarningRequest() (request *ExportWarningRequest) {
+	request = &ExportWarningRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "ExportWarning", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from ExportWarning response
+func CreateExportWarningResponse() (response *ExportWarningResponse) {
+	response = &ExportWarningResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 10 - 0
services/aegis/get_account_statistics.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke GetAccountStatistics api with *GetAccountStatisticsRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/getaccountstatistics.html
 func (client *Client) GetAccountStatistics(request *GetAccountStatisticsRequest) (response *GetAccountStatisticsResponse, err error) {
 	response = CreateGetAccountStatisticsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke GetAccountStatistics api with *GetAccountStatisticsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getaccountstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetAccountStatisticsWithChan(request *GetAccountStatisticsRequest) (<-chan *GetAccountStatisticsResponse, <-chan error) {
 	responseChan := make(chan *GetAccountStatisticsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) GetAccountStatisticsWithChan(request *GetAccountStatistics
 	return responseChan, errChan
 }
 
+// invoke GetAccountStatistics api with *GetAccountStatisticsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getaccountstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetAccountStatisticsWithCallback(request *GetAccountStatisticsRequest, callback func(response *GetAccountStatisticsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -80,6 +88,7 @@ type GetAccountStatisticsResponse struct {
 	Data      Data   `json:"Data" xml:"Data"`
 }
 
+// create a request to invoke GetAccountStatistics API
 func CreateGetAccountStatisticsRequest() (request *GetAccountStatisticsRequest) {
 	request = &GetAccountStatisticsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -88,6 +97,7 @@ func CreateGetAccountStatisticsRequest() (request *GetAccountStatisticsRequest)
 	return
 }
 
+// create a response to parse from GetAccountStatistics response
 func CreateGetAccountStatisticsResponse() (response *GetAccountStatisticsResponse) {
 	response = &GetAccountStatisticsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/get_crack_statistics.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke GetCrackStatistics api with *GetCrackStatisticsRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/getcrackstatistics.html
 func (client *Client) GetCrackStatistics(request *GetCrackStatisticsRequest) (response *GetCrackStatisticsResponse, err error) {
 	response = CreateGetCrackStatisticsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke GetCrackStatistics api with *GetCrackStatisticsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getcrackstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetCrackStatisticsWithChan(request *GetCrackStatisticsRequest) (<-chan *GetCrackStatisticsResponse, <-chan error) {
 	responseChan := make(chan *GetCrackStatisticsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) GetCrackStatisticsWithChan(request *GetCrackStatisticsRequ
 	return responseChan, errChan
 }
 
+// invoke GetCrackStatistics api with *GetCrackStatisticsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getcrackstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetCrackStatisticsWithCallback(request *GetCrackStatisticsRequest, callback func(response *GetCrackStatisticsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -80,6 +88,7 @@ type GetCrackStatisticsResponse struct {
 	Data      Data   `json:"Data" xml:"Data"`
 }
 
+// create a request to invoke GetCrackStatistics API
 func CreateGetCrackStatisticsRequest() (request *GetCrackStatisticsRequest) {
 	request = &GetCrackStatisticsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -88,6 +97,7 @@ func CreateGetCrackStatisticsRequest() (request *GetCrackStatisticsRequest) {
 	return
 }
 
+// create a response to parse from GetCrackStatistics response
 func CreateGetCrackStatisticsResponse() (response *GetCrackStatisticsResponse) {
 	response = &GetCrackStatisticsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/get_entity_list.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke GetEntityList api with *GetEntityListRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/getentitylist.html
 func (client *Client) GetEntityList(request *GetEntityListRequest) (response *GetEntityListResponse, err error) {
 	response = CreateGetEntityListResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke GetEntityList api with *GetEntityListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getentitylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetEntityListWithChan(request *GetEntityListRequest) (<-chan *GetEntityListResponse, <-chan error) {
 	responseChan := make(chan *GetEntityListResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) GetEntityListWithChan(request *GetEntityListRequest) (<-ch
 	return responseChan, errChan
 }
 
+// invoke GetEntityList api with *GetEntityListRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getentitylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetEntityListWithCallback(request *GetEntityListRequest, callback func(response *GetEntityListResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -84,6 +92,7 @@ type GetEntityListResponse struct {
 	Data      Data   `json:"Data" xml:"Data"`
 }
 
+// create a request to invoke GetEntityList API
 func CreateGetEntityListRequest() (request *GetEntityListRequest) {
 	request = &GetEntityListRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -92,6 +101,7 @@ func CreateGetEntityListRequest() (request *GetEntityListRequest) {
 	return
 }
 
+// create a response to parse from GetEntityList response
 func CreateGetEntityListResponse() (response *GetEntityListResponse) {
 	response = &GetEntityListResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/get_statistics.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke GetStatistics api with *GetStatisticsRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/getstatistics.html
 func (client *Client) GetStatistics(request *GetStatisticsRequest) (response *GetStatisticsResponse, err error) {
 	response = CreateGetStatisticsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke GetStatistics api with *GetStatisticsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetStatisticsWithChan(request *GetStatisticsRequest) (<-chan *GetStatisticsResponse, <-chan error) {
 	responseChan := make(chan *GetStatisticsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) GetStatisticsWithChan(request *GetStatisticsRequest) (<-ch
 	return responseChan, errChan
 }
 
+// invoke GetStatistics api with *GetStatisticsRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetStatisticsWithCallback(request *GetStatisticsRequest, callback func(response *GetStatisticsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -80,6 +88,7 @@ type GetStatisticsResponse struct {
 	Data      Data   `json:"Data" xml:"Data"`
 }
 
+// create a request to invoke GetStatistics API
 func CreateGetStatisticsRequest() (request *GetStatisticsRequest) {
 	request = &GetStatisticsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -88,6 +97,7 @@ func CreateGetStatisticsRequest() (request *GetStatisticsRequest) {
 	return
 }
 
+// create a response to parse from GetStatistics response
 func CreateGetStatisticsResponse() (response *GetStatisticsResponse) {
 	response = &GetStatisticsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/get_statistics_by_uuid.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke GetStatisticsByUuid api with *GetStatisticsByUuidRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/getstatisticsbyuuid.html
 func (client *Client) GetStatisticsByUuid(request *GetStatisticsByUuidRequest) (response *GetStatisticsByUuidResponse, err error) {
 	response = CreateGetStatisticsByUuidResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke GetStatisticsByUuid api with *GetStatisticsByUuidRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getstatisticsbyuuid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetStatisticsByUuidWithChan(request *GetStatisticsByUuidRequest) (<-chan *GetStatisticsByUuidResponse, <-chan error) {
 	responseChan := make(chan *GetStatisticsByUuidResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) GetStatisticsByUuidWithChan(request *GetStatisticsByUuidRe
 	return responseChan, errChan
 }
 
+// invoke GetStatisticsByUuid api with *GetStatisticsByUuidRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/getstatisticsbyuuid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) GetStatisticsByUuidWithCallback(request *GetStatisticsByUuidRequest, callback func(response *GetStatisticsByUuidResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -79,6 +87,7 @@ type GetStatisticsByUuidResponse struct {
 	Data      DataInGetStatisticsByUuid `json:"Data" xml:"Data"`
 }
 
+// create a request to invoke GetStatisticsByUuid API
 func CreateGetStatisticsByUuidRequest() (request *GetStatisticsByUuidRequest) {
 	request = &GetStatisticsByUuidRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -87,6 +96,7 @@ func CreateGetStatisticsByUuidRequest() (request *GetStatisticsByUuidRequest) {
 	return
 }
 
+// create a response to parse from GetStatisticsByUuid response
 func CreateGetStatisticsByUuidResponse() (response *GetStatisticsByUuidResponse) {
 	response = &GetStatisticsByUuidResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/modify_batch_ignore_vul.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke ModifyBatchIgnoreVul api with *ModifyBatchIgnoreVulRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/modifybatchignorevul.html
 func (client *Client) ModifyBatchIgnoreVul(request *ModifyBatchIgnoreVulRequest) (response *ModifyBatchIgnoreVulResponse, err error) {
 	response = CreateModifyBatchIgnoreVulResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke ModifyBatchIgnoreVul api with *ModifyBatchIgnoreVulRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifybatchignorevul.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ModifyBatchIgnoreVulWithChan(request *ModifyBatchIgnoreVulRequest) (<-chan *ModifyBatchIgnoreVulResponse, <-chan error) {
 	responseChan := make(chan *ModifyBatchIgnoreVulResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) ModifyBatchIgnoreVulWithChan(request *ModifyBatchIgnoreVul
 	return responseChan, errChan
 }
 
+// invoke ModifyBatchIgnoreVul api with *ModifyBatchIgnoreVulRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifybatchignorevul.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ModifyBatchIgnoreVulWithCallback(request *ModifyBatchIgnoreVulRequest, callback func(response *ModifyBatchIgnoreVulResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -80,6 +88,7 @@ type ModifyBatchIgnoreVulResponse struct {
 	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
 }
 
+// create a request to invoke ModifyBatchIgnoreVul API
 func CreateModifyBatchIgnoreVulRequest() (request *ModifyBatchIgnoreVulRequest) {
 	request = &ModifyBatchIgnoreVulRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -88,6 +97,7 @@ func CreateModifyBatchIgnoreVulRequest() (request *ModifyBatchIgnoreVulRequest)
 	return
 }
 
+// create a response to parse from ModifyBatchIgnoreVul response
 func CreateModifyBatchIgnoreVulResponse() (response *ModifyBatchIgnoreVulResponse) {
 	response = &ModifyBatchIgnoreVulResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 108 - 0
services/aegis/modify_machine_config.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// invoke ModifyMachineConfig api with *ModifyMachineConfigRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/modifymachineconfig.html
+func (client *Client) ModifyMachineConfig(request *ModifyMachineConfigRequest) (response *ModifyMachineConfigResponse, err error) {
+	response = CreateModifyMachineConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// invoke ModifyMachineConfig api with *ModifyMachineConfigRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifymachineconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyMachineConfigWithChan(request *ModifyMachineConfigRequest) (<-chan *ModifyMachineConfigResponse, <-chan error) {
+	responseChan := make(chan *ModifyMachineConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyMachineConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// invoke ModifyMachineConfig api with *ModifyMachineConfigRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifymachineconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyMachineConfigWithCallback(request *ModifyMachineConfigRequest, callback func(response *ModifyMachineConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyMachineConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyMachineConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+type ModifyMachineConfigRequest struct {
+	*requests.RpcRequest
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Config          string           `position:"Query" name:"Config"`
+	Type            string           `position:"Query" name:"Type"`
+	Target          string           `position:"Query" name:"Target"`
+	Lang            string           `position:"Query" name:"Lang"`
+	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+}
+
+type ModifyMachineConfigResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// create a request to invoke ModifyMachineConfig API
+func CreateModifyMachineConfigRequest() (request *ModifyMachineConfigRequest) {
+	request = &ModifyMachineConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("aegis", "2016-11-11", "ModifyMachineConfig", "vipaegis", "openAPI")
+	return
+}
+
+// create a response to parse from ModifyMachineConfig response
+func CreateModifyMachineConfigResponse() (response *ModifyMachineConfigResponse) {
+	response = &ModifyMachineConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 10 - 0
services/aegis/modify_strategy.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke ModifyStrategy api with *ModifyStrategyRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/modifystrategy.html
 func (client *Client) ModifyStrategy(request *ModifyStrategyRequest) (response *ModifyStrategyResponse, err error) {
 	response = CreateModifyStrategyResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke ModifyStrategy api with *ModifyStrategyRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifystrategy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ModifyStrategyWithChan(request *ModifyStrategyRequest) (<-chan *ModifyStrategyResponse, <-chan error) {
 	responseChan := make(chan *ModifyStrategyResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) ModifyStrategyWithChan(request *ModifyStrategyRequest) (<-
 	return responseChan, errChan
 }
 
+// invoke ModifyStrategy api with *ModifyStrategyRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifystrategy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ModifyStrategyWithCallback(request *ModifyStrategyRequest, callback func(response *ModifyStrategyResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -85,6 +93,7 @@ type ModifyStrategyResponse struct {
 	Result         Result `json:"Result" xml:"Result"`
 }
 
+// create a request to invoke ModifyStrategy API
 func CreateModifyStrategyRequest() (request *ModifyStrategyRequest) {
 	request = &ModifyStrategyRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -93,6 +102,7 @@ func CreateModifyStrategyRequest() (request *ModifyStrategyRequest) {
 	return
 }
 
+// create a response to parse from ModifyStrategy response
 func CreateModifyStrategyResponse() (response *ModifyStrategyResponse) {
 	response = &ModifyStrategyResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/modify_strategy_target.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke ModifyStrategyTarget api with *ModifyStrategyTargetRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/modifystrategytarget.html
 func (client *Client) ModifyStrategyTarget(request *ModifyStrategyTargetRequest) (response *ModifyStrategyTargetResponse, err error) {
 	response = CreateModifyStrategyTargetResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke ModifyStrategyTarget api with *ModifyStrategyTargetRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifystrategytarget.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ModifyStrategyTargetWithChan(request *ModifyStrategyTargetRequest) (<-chan *ModifyStrategyTargetResponse, <-chan error) {
 	responseChan := make(chan *ModifyStrategyTargetResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) ModifyStrategyTargetWithChan(request *ModifyStrategyTarget
 	return responseChan, errChan
 }
 
+// invoke ModifyStrategyTarget api with *ModifyStrategyTargetRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/modifystrategytarget.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ModifyStrategyTargetWithCallback(request *ModifyStrategyTargetRequest, callback func(response *ModifyStrategyTargetResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -79,6 +87,7 @@ type ModifyStrategyTargetResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
+// create a request to invoke ModifyStrategyTarget API
 func CreateModifyStrategyTargetRequest() (request *ModifyStrategyTargetRequest) {
 	request = &ModifyStrategyTargetRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -87,6 +96,7 @@ func CreateModifyStrategyTargetRequest() (request *ModifyStrategyTargetRequest)
 	return
 }
 
+// create a response to parse from ModifyStrategyTarget response
 func CreateModifyStrategyTargetResponse() (response *ModifyStrategyTargetResponse) {
 	response = &ModifyStrategyTargetResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 106 - 0
services/aegis/operate_warning.go

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

+ 10 - 0
services/aegis/query_crack_event.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke QueryCrackEvent api with *QueryCrackEventRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/querycrackevent.html
 func (client *Client) QueryCrackEvent(request *QueryCrackEventRequest) (response *QueryCrackEventResponse, err error) {
 	response = CreateQueryCrackEventResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke QueryCrackEvent api with *QueryCrackEventRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/querycrackevent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) QueryCrackEventWithChan(request *QueryCrackEventRequest) (<-chan *QueryCrackEventResponse, <-chan error) {
 	responseChan := make(chan *QueryCrackEventResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) QueryCrackEventWithChan(request *QueryCrackEventRequest) (
 	return responseChan, errChan
 }
 
+// invoke QueryCrackEvent api with *QueryCrackEventRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/querycrackevent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) QueryCrackEventWithCallback(request *QueryCrackEventRequest, callback func(response *QueryCrackEventResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -83,6 +91,7 @@ type QueryCrackEventResponse struct {
 	Data      Data   `json:"Data" xml:"Data"`
 }
 
+// create a request to invoke QueryCrackEvent API
 func CreateQueryCrackEventRequest() (request *QueryCrackEventRequest) {
 	request = &QueryCrackEventRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -91,6 +100,7 @@ func CreateQueryCrackEventRequest() (request *QueryCrackEventRequest) {
 	return
 }
 
+// create a response to parse from QueryCrackEvent response
 func CreateQueryCrackEventResponse() (response *QueryCrackEventResponse) {
 	response = &QueryCrackEventResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/query_login_event.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke QueryLoginEvent api with *QueryLoginEventRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/queryloginevent.html
 func (client *Client) QueryLoginEvent(request *QueryLoginEventRequest) (response *QueryLoginEventResponse, err error) {
 	response = CreateQueryLoginEventResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke QueryLoginEvent api with *QueryLoginEventRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/queryloginevent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) QueryLoginEventWithChan(request *QueryLoginEventRequest) (<-chan *QueryLoginEventResponse, <-chan error) {
 	responseChan := make(chan *QueryLoginEventResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) QueryLoginEventWithChan(request *QueryLoginEventRequest) (
 	return responseChan, errChan
 }
 
+// invoke QueryLoginEvent api with *QueryLoginEventRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/queryloginevent.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) QueryLoginEventWithCallback(request *QueryLoginEventRequest, callback func(response *QueryLoginEventResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -83,6 +91,7 @@ type QueryLoginEventResponse struct {
 	Data      Data   `json:"Data" xml:"Data"`
 }
 
+// create a request to invoke QueryLoginEvent API
 func CreateQueryLoginEventRequest() (request *QueryLoginEventRequest) {
 	request = &QueryLoginEventRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -91,6 +100,7 @@ func CreateQueryLoginEventRequest() (request *QueryLoginEventRequest) {
 	return
 }
 
+// create a response to parse from QueryLoginEvent response
 func CreateQueryLoginEventResponse() (response *QueryLoginEventResponse) {
 	response = &QueryLoginEventResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/release_instance.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke ReleaseInstance api with *ReleaseInstanceRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/releaseinstance.html
 func (client *Client) ReleaseInstance(request *ReleaseInstanceRequest) (response *ReleaseInstanceResponse, err error) {
 	response = CreateReleaseInstanceResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke ReleaseInstance api with *ReleaseInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/releaseinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ReleaseInstanceWithChan(request *ReleaseInstanceRequest) (<-chan *ReleaseInstanceResponse, <-chan error) {
 	responseChan := make(chan *ReleaseInstanceResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) ReleaseInstanceWithChan(request *ReleaseInstanceRequest) (
 	return responseChan, errChan
 }
 
+// invoke ReleaseInstance api with *ReleaseInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/releaseinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ReleaseInstanceWithCallback(request *ReleaseInstanceRequest, callback func(response *ReleaseInstanceResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -76,6 +84,7 @@ type ReleaseInstanceResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
+// create a request to invoke ReleaseInstance API
 func CreateReleaseInstanceRequest() (request *ReleaseInstanceRequest) {
 	request = &ReleaseInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -84,6 +93,7 @@ func CreateReleaseInstanceRequest() (request *ReleaseInstanceRequest) {
 	return
 }
 
+// create a response to parse from ReleaseInstance response
 func CreateReleaseInstanceResponse() (response *ReleaseInstanceResponse) {
 	response = &ReleaseInstanceResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/aegis/renew_instance.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke RenewInstance api with *RenewInstanceRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/renewinstance.html
 func (client *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error) {
 	response = CreateRenewInstanceResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke RenewInstance api with *RenewInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/renewinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) RenewInstanceWithChan(request *RenewInstanceRequest) (<-chan *RenewInstanceResponse, <-chan error) {
 	responseChan := make(chan *RenewInstanceResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) RenewInstanceWithChan(request *RenewInstanceRequest) (<-ch
 	return responseChan, errChan
 }
 
+// invoke RenewInstance api with *RenewInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/renewinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) RenewInstanceWithCallback(request *RenewInstanceRequest, callback func(response *RenewInstanceResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -81,6 +89,7 @@ type RenewInstanceResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
+// create a request to invoke RenewInstance API
 func CreateRenewInstanceRequest() (request *RenewInstanceRequest) {
 	request = &RenewInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -89,6 +98,7 @@ func CreateRenewInstanceRequest() (request *RenewInstanceRequest) {
 	return
 }
 
+// create a response to parse from RenewInstance response
 func CreateRenewInstanceResponse() (response *RenewInstanceResponse) {
 	response = &RenewInstanceResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 20 - 0
services/aegis/struct_classifys.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 Classifys struct {
+	ClassifysItem []ClassifysItem `json:"ClassifysItem" xml:"ClassifysItem"`
+}

+ 22 - 0
services/aegis/struct_classifys_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 ClassifysItem struct {
+	Classify     string `json:"Classify" xml:"Classify"`
+	Description  string `json:"Description" xml:"Description"`
+	DemoVideoUrl string `json:"DemoVideoUrl" xml:"DemoVideoUrl"`
+}

+ 30 - 0
services/aegis/struct_config.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 Config struct {
+	StartTime  string   `json:"StartTime" xml:"StartTime"`
+	EndTime    string   `json:"EndTime" xml:"EndTime"`
+	Ip         string   `json:"Ip" xml:"Ip"`
+	StrategyId int      `json:"StrategyId" xml:"StrategyId"`
+	Account    string   `json:"Account" xml:"Account"`
+	Location   string   `json:"Location" xml:"Location"`
+	Switcher   string   `json:"Switcher" xml:"Switcher"`
+	VulType    string   `json:"VulType" xml:"VulType"`
+	UuidCount  int      `json:"UuidCount" xml:"UuidCount"`
+	TotalCount int      `json:"TotalCount" xml:"TotalCount"`
+	TargetList []Target `json:"TargetList" xml:"TargetList"`
+}

+ 1 - 1
services/aegis/struct_config_target.go

@@ -17,6 +17,6 @@ package aegis
 
 type ConfigTarget struct {
 	Flag       string `json:"Flag" xml:"Flag"`
-	TargetType string `json:"TargetType" xml:"TargetType"`
 	Target     string `json:"Target" xml:"Target"`
+	TargetType string `json:"TargetType" xml:"TargetType"`
 }

+ 20 - 0
services/aegis/struct_config_targets_in_describe_machine_config.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 ConfigTargetsInDescribeMachineConfig struct {
+	ConfigTarget []ConfigTarget `json:"ConfigTarget" xml:"ConfigTarget"`
+}

+ 1 - 1
services/aegis/struct_config_targets.go → services/aegis/struct_config_targets_in_describe_stratety.go

@@ -15,6 +15,6 @@ package aegis
 // 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 {
+type ConfigTargetsInDescribeStratety struct {
 	ConfigTarget []ConfigTarget `json:"ConfigTarget" xml:"ConfigTarget"`
 }

+ 2 - 2
services/aegis/struct_sub_types.go → services/aegis/struct_configs.go

@@ -15,6 +15,6 @@ package aegis
 // 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"`
+type Configs struct {
+	Config []Config `json:"Config" xml:"Config"`
 }

+ 2 - 2
services/aegis/struct_login_logs.go → services/aegis/struct_cve_list.go

@@ -15,6 +15,6 @@ package aegis
 // 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"`
+type CveList struct {
+	CveList []string `json:"CveList" xml:"CveList"`
 }

+ 2 - 2
services/aegis/struct_suspicious_events.go → services/aegis/struct_cves.go

@@ -15,6 +15,6 @@ package aegis
 // 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"`
+type Cves struct {
+	CvesItem []CvesItem `json:"CvesItem" xml:"CvesItem"`
 }

+ 39 - 0
services/aegis/struct_cves_item.go

@@ -0,0 +1,39 @@
+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 CvesItem struct {
+	CveId             string          `json:"CveId" xml:"CveId"`
+	CnvdId            string          `json:"CnvdId" xml:"CnvdId"`
+	OtherId           string          `json:"OtherId" xml:"OtherId"`
+	Title             string          `json:"Title" xml:"Title"`
+	CvssScore         string          `json:"CvssScore" xml:"CvssScore"`
+	CvssVector        string          `json:"CvssVector" xml:"CvssVector"`
+	ReleaseTime       int             `json:"ReleaseTime" xml:"ReleaseTime"`
+	Complexity        string          `json:"Complexity" xml:"Complexity"`
+	Poc               string          `json:"Poc" xml:"Poc"`
+	PocCreateTime     int             `json:"PocCreateTime" xml:"PocCreateTime"`
+	PocDisclosureTime int             `json:"PocDisclosureTime" xml:"PocDisclosureTime"`
+	Summary           string          `json:"Summary" xml:"Summary"`
+	Solution          string          `json:"Solution" xml:"Solution"`
+	Content           string          `json:"Content" xml:"Content"`
+	Vendor            string          `json:"Vendor" xml:"Vendor"`
+	Product           string          `json:"Product" xml:"Product"`
+	VulLevel          string          `json:"VulLevel" xml:"VulLevel"`
+	Reference         string          `json:"Reference" xml:"Reference"`
+	Classify          string          `json:"Classify" xml:"Classify"`
+	Classifys         []ClassifysItem `json:"Classifys" xml:"Classifys"`
+}

+ 9 - 17
services/aegis/struct_data.go

@@ -16,21 +16,13 @@ package aegis
 // 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"`
+	Intercepted  int                   `json:"Intercepted" xml:"Intercepted"`
+	Patch        int                   `json:"Patch" xml:"Patch"`
+	RemoteLogin  int                   `json:"RemoteLogin" xml:"RemoteLogin"`
+	CrackSuccess int                   `json:"CrackSuccess" xml:"CrackSuccess"`
+	Account      int                   `json:"Account" xml:"Account"`
+	Health       int                   `json:"Health" xml:"Health"`
+	Trojan       int                   `json:"Trojan" xml:"Trojan"`
+	PageInfo     PageInfo              `json:"PageInfo" xml:"PageInfo"`
+	List         ListInQueryCrackEvent `json:"List" xml:"List"`
 }

+ 20 - 0
services/aegis/struct_detail.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 Detail struct {
+	DetailItems []DetailItem `json:"DetailItems" xml:"DetailItems"`
+}

+ 22 - 0
services/aegis/struct_detail_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 DetailItem struct {
+	Name  string `json:"name" xml:"name"`
+	Value string `json:"value" xml:"value"`
+	Type  string `json:"type" xml:"type"`
+}

+ 20 - 0
services/aegis/struct_detail_items.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 DetailItems struct {
+	DetailItem []DetailItem `json:"DetailItem" xml:"DetailItem"`
+}

+ 20 - 0
services/aegis/struct_detail_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 DetailList struct {
+	DetailListItem []DetailListItem `json:"DetailListItem" xml:"DetailListItem"`
+}

+ 22 - 0
services/aegis/struct_detail_list_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 DetailListItem struct {
+	Name  string `json:"Name" xml:"Name"`
+	Type  string `json:"Type" xml:"Type"`
+	Value string `json:"Value" xml:"Value"`
+}

+ 20 - 0
services/aegis/struct_details.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 Details struct {
+	Detail []Detail `json:"Detail" xml:"Detail"`
+}

+ 30 - 0
services/aegis/struct_extend_content_json.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 ExtendContentJson struct {
+	Os            string              `json:"Os" xml:"Os"`
+	OsRelease     string              `json:"OsRelease" xml:"OsRelease"`
+	Status        int                 `json:"Status" xml:"Status"`
+	LastTs        int                 `json:"LastTs" xml:"LastTs"`
+	AliasName     string              `json:"AliasName" xml:"AliasName"`
+	Tag           string              `json:"Tag" xml:"Tag"`
+	PrimaryId     int                 `json:"PrimaryId" xml:"PrimaryId"`
+	Level         string              `json:"Level" xml:"Level"`
+	CveList       []string            `json:"cveList" xml:"cveList"`
+	Necessity     Necessity           `json:"Necessity" xml:"Necessity"`
+	RpmEntityList []RpmEntityListItem `json:"RpmEntityList" xml:"RpmEntityList"`
+}

+ 20 - 0
services/aegis/struct_log_list_in_describe_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 LogListInDescribeLoginLogs struct {
+	LogListItem []LogListItem `json:"LogListItem" xml:"LogListItem"`
+}

+ 20 - 0
services/aegis/struct_log_list_in_describe_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 LogListInDescribeSuspiciousEvents struct {
+	LogListItem []LogListItem `json:"LogListItem" xml:"LogListItem"`
+}

+ 45 - 0
services/aegis/struct_log_list_item.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 LogListItem struct {
+	LastTime       int              `json:"LastTime" xml:"LastTime"`
+	Ip             string           `json:"Ip" xml:"Ip"`
+	FirstTime      int              `json:"FirstTime" xml:"FirstTime"`
+	InstanceName   string           `json:"InstanceName" xml:"InstanceName"`
+	AliasEventName string           `json:"AliasEventName" xml:"AliasEventName"`
+	Location       string           `json:"Location" xml:"Location"`
+	Protocol       int              `json:"Protocol" xml:"Protocol"`
+	OsVersion      string           `json:"OsVersion" xml:"OsVersion"`
+	EventType      string           `json:"EventType" xml:"EventType"`
+	ProtocolName   string           `json:"ProtocolName" xml:"ProtocolName"`
+	Status         int              `json:"Status" xml:"Status"`
+	ClientIp       string           `json:"ClientIp" xml:"ClientIp"`
+	LoginSourceIp  string           `json:"LoginSourceIp" xml:"LoginSourceIp"`
+	Region         string           `json:"Region" xml:"Region"`
+	Uuid           string           `json:"Uuid" xml:"Uuid"`
+	EventName      string           `json:"EventName" xml:"EventName"`
+	Level          string           `json:"Level" xml:"Level"`
+	Type           string           `json:"Type" xml:"Type"`
+	AliasEventType string           `json:"AliasEventType" xml:"AliasEventType"`
+	UserName       string           `json:"UserName" xml:"UserName"`
+	Id             int              `json:"id" xml:"id"`
+	LoginTime      int              `json:"LoginTime" xml:"LoginTime"`
+	InstanceId     string           `json:"InstanceId" xml:"InstanceId"`
+	GroupId        int              `json:"GroupId" xml:"GroupId"`
+	Online         string           `json:"Online" xml:"Online"`
+	DetailList     []DetailListItem `json:"DetailList" xml:"DetailList"`
+}

+ 27 - 0
services/aegis/struct_necessity.go

@@ -0,0 +1,27 @@
+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 Necessity struct {
+	CvssFactor       string `json:"Cvss_factor" xml:"Cvss_factor"`
+	GmtCreate        string `json:"Gmt_create" xml:"Gmt_create"`
+	Status           string `json:"Status" xml:"Status"`
+	EnviromentFactor string `json:"Enviroment_factor" xml:"Enviroment_factor"`
+	AssetsFactor     string `json:"Assets_factor" xml:"Assets_factor"`
+	IsCalc           string `json:"Is_calc" xml:"Is_calc"`
+	TotalScore       string `json:"Total_score" xml:"Total_score"`
+	TimeFactor       string `json:"Time_factor" xml:"Time_factor"`
+}

+ 26 - 0
services/aegis/struct_risk.go

@@ -0,0 +1,26 @@
+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 Risk struct {
+	RiskId       int    `json:"RiskId" xml:"RiskId"`
+	RiskName     string `json:"RiskName" xml:"RiskName"`
+	RiskDetail   string `json:"RiskDetail" xml:"RiskDetail"`
+	RiskType     string `json:"RiskType" xml:"RiskType"`
+	TypeAlias    string `json:"TypeAlias" xml:"TypeAlias"`
+	SubRiskType  string `json:"SubRiskType" xml:"SubRiskType"`
+	SubTypeAlias string `json:"SubTypeAlias" xml:"SubTypeAlias"`
+}

+ 23 - 0
services/aegis/struct_risk_type.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 RiskType struct {
+	TypeName  string    `json:"TypeName" xml:"TypeName"`
+	Alias     string    `json:"Alias" xml:"Alias"`
+	WarnCount string    `json:"WarnCount" xml:"WarnCount"`
+	SubTypes  []SubType `json:"SubTypes" xml:"SubTypes"`
+}

+ 4 - 4
services/aegis/struct_risk_type_white_list_query_result.go

@@ -16,8 +16,8 @@ package aegis
 // 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"`
+	TypeName string    `json:"TypeName" xml:"TypeName"`
+	Alias    string    `json:"Alias" xml:"Alias"`
+	On       bool      `json:"On" xml:"On"`
+	SubTypes []SubType `json:"SubTypes" xml:"SubTypes"`
 }

+ 20 - 0
services/aegis/struct_risk_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 RiskTypes struct {
+	RiskType []RiskType `json:"RiskType" xml:"RiskType"`
+}

+ 2 - 2
services/aegis/struct_cve_lists.go → services/aegis/struct_risks.go

@@ -15,6 +15,6 @@ package aegis
 // 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"`
+type Risks struct {
+	Risk []Risk `json:"Risk" xml:"Risk"`
 }

+ 20 - 0
services/aegis/struct_rpm_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 RpmEntityList struct {
+	RpmEntityListItem []RpmEntityListItem `json:"RpmEntityListItem" xml:"RpmEntityListItem"`
+}

+ 25 - 0
services/aegis/struct_rpm_entity_list_item.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 RpmEntityListItem struct {
+	FullVersion string `json:"FullVersion" xml:"FullVersion"`
+	MatchDetail string `json:"MatchDetail" xml:"MatchDetail"`
+	Name        string `json:"Name" xml:"Name"`
+	Path        string `json:"Path" xml:"Path"`
+	UpdateCmd   string `json:"UpdateCmd" xml:"UpdateCmd"`
+	Version     string `json:"Version" xml:"Version"`
+}

+ 27 - 0
services/aegis/struct_strategie.go

@@ -0,0 +1,27 @@
+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 Strategie 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  []ConfigTarget `json:"ConfigTargets" xml:"ConfigTargets"`
+}

+ 1 - 1
services/aegis/struct_strategies.go

@@ -16,5 +16,5 @@ package aegis
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 type Strategies struct {
-	Data []Data `json:"Data" xml:"Data"`
+	Strategie []Strategie `json:"Strategie" xml:"Strategie"`
 }

+ 22 - 0
services/aegis/struct_strategy_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 StrategyTarget struct {
+	Flag       string `json:"Flag" xml:"Flag"`
+	Target     string `json:"Target" xml:"Target"`
+	TargetType string `json:"TargetType" xml:"TargetType"`
+}

+ 1 - 1
services/aegis/struct_strategy_targets.go

@@ -16,5 +16,5 @@ package aegis
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 type StrategyTargets struct {
-	StringItem []StringItem `json:"StringItem" xml:"StringItem"`
+	StrategyTarget []StrategyTarget `json:"StrategyTarget" xml:"StrategyTarget"`
 }

+ 23 - 0
services/aegis/struct_sub_type.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 SubType struct {
+	On        bool   `json:"On" xml:"On"`
+	Alias     string `json:"Alias" xml:"Alias"`
+	TypeName  string `json:"TypeName" xml:"TypeName"`
+	WarnCount string `json:"WarnCount" xml:"WarnCount"`
+}

+ 20 - 0
services/aegis/struct_sub_types_in_describe_risk_type.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 SubTypesInDescribeRiskType struct {
+	SubType []SubType `json:"subType" xml:"subType"`
+}

+ 20 - 0
services/aegis/struct_sub_types_in_describe_stratety_detail.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 SubTypesInDescribeStratetyDetail struct {
+	SubType []SubType `json:"SubType" xml:"SubType"`
+}

+ 2 - 2
services/aegis/struct_string_item.go → services/aegis/struct_target.go

@@ -15,8 +15,8 @@ package aegis
 // 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 {
+type Target struct {
 	Flag       string `json:"Flag" xml:"Flag"`
-	Target     string `json:"Target" xml:"Target"`
 	TargetType string `json:"TargetType" xml:"TargetType"`
+	Target     string `json:"Target" xml:"Target"`
 }

+ 20 - 0
services/aegis/struct_target_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 TargetList struct {
+	Target []Target `json:"Target" xml:"Target"`
+}

+ 1 - 1
services/aegis/struct_vul_records.go

@@ -16,5 +16,5 @@ package aegis
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 type VulRecords struct {
-	VulRecord []string `json:"vulRecord" xml:"vulRecord"`
+	VulRecordsItem []VulRecordsItem `json:"VulRecordsItem" xml:"VulRecordsItem"`
 }

+ 38 - 0
services/aegis/struct_vul_records_item.go

@@ -0,0 +1,38 @@
+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 VulRecordsItem struct {
+	PrimaryId         int               `json:"PrimaryId" xml:"PrimaryId"`
+	Uuid              string            `json:"Uuid" xml:"Uuid"`
+	Name              string            `json:"Name" xml:"Name"`
+	Tag               string            `json:"Tag" xml:"Tag"`
+	AliasName         string            `json:"AliasName" xml:"AliasName"`
+	RecordId          int               `json:"RecordId" xml:"RecordId"`
+	Type              string            `json:"Type" xml:"Type"`
+	Level             string            `json:"Level" xml:"Level"`
+	Product           string            `json:"Product" xml:"Product"`
+	FirstTs           int               `json:"FirstTs" xml:"FirstTs"`
+	LastTs            int               `json:"LastTs" xml:"LastTs"`
+	RepairTs          int               `json:"RepairTs" xml:"RepairTs"`
+	Status            int               `json:"Status" xml:"Status"`
+	Related           string            `json:"Related" xml:"Related"`
+	ResultCode        string            `json:"ResultCode" xml:"ResultCode"`
+	ResultMessage     string            `json:"ResultMessage" xml:"ResultMessage"`
+	ModifyTs          int               `json:"ModifyTs" xml:"ModifyTs"`
+	Necessity         string            `json:"Necessity" xml:"Necessity"`
+	ExtendContentJson ExtendContentJson `json:"ExtendContentJson" xml:"ExtendContentJson"`
+}

+ 31 - 0
services/aegis/struct_warning.go

@@ -0,0 +1,31 @@
+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 Warning struct {
+	RiskWarningId  int      `json:"RiskWarningId" xml:"RiskWarningId"`
+	RiskName       string   `json:"RiskName" xml:"RiskName"`
+	Uuid           string   `json:"Uuid" xml:"Uuid"`
+	RirstFoundTime string   `json:"RirstFoundTime" xml:"RirstFoundTime"`
+	LastFoundTime  string   `json:"LastFoundTime" xml:"LastFoundTime"`
+	Level          string   `json:"Level" xml:"Level"`
+	TypeName       string   `json:"TypeName" xml:"TypeName"`
+	SubTypeName    string   `json:"SubTypeName" xml:"SubTypeName"`
+	TypeAlias      string   `json:"TypeAlias" xml:"TypeAlias"`
+	SubTypeAlias   string   `json:"SubTypeAlias" xml:"SubTypeAlias"`
+	Status         int      `json:"Status" xml:"Status"`
+	Details        []Detail `json:"Details" xml:"Details"`
+}

+ 28 - 0
services/aegis/struct_warning_summary.go

@@ -0,0 +1,28 @@
+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 WarningSummary struct {
+	RiskId        int    `json:"RiskId" xml:"RiskId"`
+	RiskName      string `json:"RiskName" xml:"RiskName"`
+	Level         string `json:"Level" xml:"Level"`
+	TypeAlias     string `json:"TypeAlias" xml:"TypeAlias"`
+	SubTypeAlias  string `json:"SubTypeAlias" xml:"SubTypeAlias"`
+	LastFoundTime string `json:"LastFoundTime" xml:"LastFoundTime"`
+	PendingCount  int    `json:"PendingCount" xml:"PendingCount"`
+	TotalCount    int    `json:"TotalCount" xml:"TotalCount"`
+	RiskDetail    string `json:"RiskDetail" xml:"RiskDetail"`
+}

+ 20 - 0
services/aegis/struct_warning_summarys.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 WarningSummarys struct {
+	WarningSummary []WarningSummary `json:"WarningSummary" xml:"WarningSummary"`
+}

+ 1 - 1
services/aegis/struct_warnings.go

@@ -16,5 +16,5 @@ package aegis
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 type Warnings struct {
-	Warning []string `json:"warning" xml:"warning"`
+	Warning []Warning `json:"Warning" xml:"Warning"`
 }

+ 20 - 0
services/aegis/struct_webshell_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 WebshellList struct {
+	WebshellListItem []WebshellListItem `json:"WebshellListItem" xml:"WebshellListItem"`
+}

+ 33 - 0
services/aegis/struct_webshell_list_item.go

@@ -0,0 +1,33 @@
+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 WebshellListItem struct {
+	Os             string `json:"Os" xml:"Os"`
+	InstanceName   string `json:"InstanceName" xml:"InstanceName"`
+	GroupId        int    `json:"GroupId" xml:"GroupId"`
+	Ip             string `json:"Ip" xml:"Ip"`
+	Uuid           string `json:"Uuid" xml:"Uuid"`
+	FoundTime      string `json:"FoundTime" xml:"FoundTime"`
+	InstanceId     string `json:"InstanceId" xml:"InstanceId"`
+	TrojanType     string `json:"TrojanType" xml:"TrojanType"`
+	FirstFoundTime string `json:"FirstFoundTime" xml:"FirstFoundTime"`
+	TrojanSize     int    `json:"TrojanSize" xml:"TrojanSize"`
+	Domain         string `json:"Domain" xml:"Domain"`
+	TrojanPath     string `json:"TrojanPath" xml:"TrojanPath"`
+	Region         string `json:"Region" xml:"Region"`
+	Status         int    `json:"Status" xml:"Status"`
+}

+ 4 - 4
services/aegis/struct_sub_typ.go → services/aegis/struct_white_list.go

@@ -15,8 +15,8 @@ package aegis
 // 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"`
+type WhiteList struct {
+	RiskId   int    `json:"riskId" xml:"riskId"`
+	RiskName string `json:"riskName" xml:"riskName"`
+	Reason   string `json:"reason" xml:"reason"`
 }

+ 20 - 0
services/aegis/struct_white_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 WhiteLists struct {
+	WhiteList []WhiteList `json:"WhiteList" xml:"WhiteList"`
+}

+ 10 - 0
services/aegis/upgrade_instance.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke UpgradeInstance api with *UpgradeInstanceRequest synchronously
+// api document: https://help.aliyun.com/api/aegis/upgradeinstance.html
 func (client *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error) {
 	response = CreateUpgradeInstanceResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke UpgradeInstance api with *UpgradeInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/upgradeinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) UpgradeInstanceWithChan(request *UpgradeInstanceRequest) (<-chan *UpgradeInstanceResponse, <-chan error) {
 	responseChan := make(chan *UpgradeInstanceResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) UpgradeInstanceWithChan(request *UpgradeInstanceRequest) (
 	return responseChan, errChan
 }
 
+// invoke UpgradeInstance api with *UpgradeInstanceRequest asynchronously
+// api document: https://help.aliyun.com/api/aegis/upgradeinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) UpgradeInstanceWithCallback(request *UpgradeInstanceRequest, callback func(response *UpgradeInstanceResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -80,6 +88,7 @@ type UpgradeInstanceResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
+// create a request to invoke UpgradeInstance API
 func CreateUpgradeInstanceRequest() (request *UpgradeInstanceRequest) {
 	request = &UpgradeInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -88,6 +97,7 @@ func CreateUpgradeInstanceRequest() (request *UpgradeInstanceRequest) {
 	return
 }
 
+// create a response to parse from UpgradeInstance response
 func CreateUpgradeInstanceResponse() (response *UpgradeInstanceResponse) {
 	response = &UpgradeInstanceResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/add_batch_domain_records.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke AddBatchDomainRecords api with *AddBatchDomainRecordsRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/addbatchdomainrecords.html
 func (client *Client) AddBatchDomainRecords(request *AddBatchDomainRecordsRequest) (response *AddBatchDomainRecordsResponse, err error) {
 	response = CreateAddBatchDomainRecordsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke AddBatchDomainRecords api with *AddBatchDomainRecordsRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/addbatchdomainrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddBatchDomainRecordsWithChan(request *AddBatchDomainRecordsRequest) (<-chan *AddBatchDomainRecordsResponse, <-chan error) {
 	responseChan := make(chan *AddBatchDomainRecordsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) AddBatchDomainRecordsWithChan(request *AddBatchDomainRecor
 	return responseChan, errChan
 }
 
+// invoke AddBatchDomainRecords api with *AddBatchDomainRecordsRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/addbatchdomainrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddBatchDomainRecordsWithCallback(request *AddBatchDomainRecordsRequest, callback func(response *AddBatchDomainRecordsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -78,6 +86,7 @@ type AddBatchDomainRecordsResponse struct {
 	TraceId   string `json:"TraceId" xml:"TraceId"`
 }
 
+// create a request to invoke AddBatchDomainRecords API
 func CreateAddBatchDomainRecordsRequest() (request *AddBatchDomainRecordsRequest) {
 	request = &AddBatchDomainRecordsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateAddBatchDomainRecordsRequest() (request *AddBatchDomainRecordsRequest
 	return
 }
 
+// create a response to parse from AddBatchDomainRecords response
 func CreateAddBatchDomainRecordsResponse() (response *AddBatchDomainRecordsResponse) {
 	response = &AddBatchDomainRecordsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/add_domain.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke AddDomain api with *AddDomainRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/adddomain.html
 func (client *Client) AddDomain(request *AddDomainRequest) (response *AddDomainResponse, err error) {
 	response = CreateAddDomainResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke AddDomain api with *AddDomainRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/adddomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddDomainWithChan(request *AddDomainRequest) (<-chan *AddDomainResponse, <-chan error) {
 	responseChan := make(chan *AddDomainResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) AddDomainWithChan(request *AddDomainRequest) (<-chan *AddD
 	return responseChan, errChan
 }
 
+// invoke AddDomain api with *AddDomainRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/adddomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddDomainWithCallback(request *AddDomainRequest, callback func(response *AddDomainResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -84,6 +92,7 @@ type AddDomainResponse struct {
 	DnsServers DnsServersInAddDomain `json:"DnsServers" xml:"DnsServers"`
 }
 
+// create a request to invoke AddDomain API
 func CreateAddDomainRequest() (request *AddDomainRequest) {
 	request = &AddDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -92,6 +101,7 @@ func CreateAddDomainRequest() (request *AddDomainRequest) {
 	return
 }
 
+// create a response to parse from AddDomain response
 func CreateAddDomainResponse() (response *AddDomainResponse) {
 	response = &AddDomainResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/add_domain_group.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke AddDomainGroup api with *AddDomainGroupRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/adddomaingroup.html
 func (client *Client) AddDomainGroup(request *AddDomainGroupRequest) (response *AddDomainGroupResponse, err error) {
 	response = CreateAddDomainGroupResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke AddDomainGroup api with *AddDomainGroupRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/adddomaingroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddDomainGroupWithChan(request *AddDomainGroupRequest) (<-chan *AddDomainGroupResponse, <-chan error) {
 	responseChan := make(chan *AddDomainGroupResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) AddDomainGroupWithChan(request *AddDomainGroupRequest) (<-
 	return responseChan, errChan
 }
 
+// invoke AddDomainGroup api with *AddDomainGroupRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/adddomaingroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddDomainGroupWithCallback(request *AddDomainGroupRequest, callback func(response *AddDomainGroupResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -79,6 +87,7 @@ type AddDomainGroupResponse struct {
 	GroupName string `json:"GroupName" xml:"GroupName"`
 }
 
+// create a request to invoke AddDomainGroup API
 func CreateAddDomainGroupRequest() (request *AddDomainGroupRequest) {
 	request = &AddDomainGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -87,6 +96,7 @@ func CreateAddDomainGroupRequest() (request *AddDomainGroupRequest) {
 	return
 }
 
+// create a response to parse from AddDomainGroup response
 func CreateAddDomainGroupResponse() (response *AddDomainGroupResponse) {
 	response = &AddDomainGroupResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/add_domain_record.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke AddDomainRecord api with *AddDomainRecordRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/adddomainrecord.html
 func (client *Client) AddDomainRecord(request *AddDomainRecordRequest) (response *AddDomainRecordResponse, err error) {
 	response = CreateAddDomainRecordResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke AddDomainRecord api with *AddDomainRecordRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/adddomainrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddDomainRecordWithChan(request *AddDomainRecordRequest) (<-chan *AddDomainRecordResponse, <-chan error) {
 	responseChan := make(chan *AddDomainRecordResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) AddDomainRecordWithChan(request *AddDomainRecordRequest) (
 	return responseChan, errChan
 }
 
+// invoke AddDomainRecord api with *AddDomainRecordRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/adddomainrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) AddDomainRecordWithCallback(request *AddDomainRecordRequest, callback func(response *AddDomainRecordResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -84,6 +92,7 @@ type AddDomainRecordResponse struct {
 	RecordId  string `json:"RecordId" xml:"RecordId"`
 }
 
+// create a request to invoke AddDomainRecord API
 func CreateAddDomainRecordRequest() (request *AddDomainRecordRequest) {
 	request = &AddDomainRecordRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -92,6 +101,7 @@ func CreateAddDomainRecordRequest() (request *AddDomainRecordRequest) {
 	return
 }
 
+// create a response to parse from AddDomainRecord response
 func CreateAddDomainRecordResponse() (response *AddDomainRecordResponse) {
 	response = &AddDomainRecordResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/apply_for_retrieval_domain_name.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke ApplyForRetrievalDomainName api with *ApplyForRetrievalDomainNameRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/applyforretrievaldomainname.html
 func (client *Client) ApplyForRetrievalDomainName(request *ApplyForRetrievalDomainNameRequest) (response *ApplyForRetrievalDomainNameResponse, err error) {
 	response = CreateApplyForRetrievalDomainNameResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke ApplyForRetrievalDomainName api with *ApplyForRetrievalDomainNameRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/applyforretrievaldomainname.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ApplyForRetrievalDomainNameWithChan(request *ApplyForRetrievalDomainNameRequest) (<-chan *ApplyForRetrievalDomainNameResponse, <-chan error) {
 	responseChan := make(chan *ApplyForRetrievalDomainNameResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) ApplyForRetrievalDomainNameWithChan(request *ApplyForRetri
 	return responseChan, errChan
 }
 
+// invoke ApplyForRetrievalDomainName api with *ApplyForRetrievalDomainNameRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/applyforretrievaldomainname.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ApplyForRetrievalDomainNameWithCallback(request *ApplyForRetrievalDomainNameRequest, callback func(response *ApplyForRetrievalDomainNameResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -78,6 +86,7 @@ type ApplyForRetrievalDomainNameResponse struct {
 	DomainName string `json:"DomainName" xml:"DomainName"`
 }
 
+// create a request to invoke ApplyForRetrievalDomainName API
 func CreateApplyForRetrievalDomainNameRequest() (request *ApplyForRetrievalDomainNameRequest) {
 	request = &ApplyForRetrievalDomainNameRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateApplyForRetrievalDomainNameRequest() (request *ApplyForRetrievalDomai
 	return
 }
 
+// create a response to parse from ApplyForRetrievalDomainName response
 func CreateApplyForRetrievalDomainNameResponse() (response *ApplyForRetrievalDomainNameResponse) {
 	response = &ApplyForRetrievalDomainNameResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/change_domain_group.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke ChangeDomainGroup api with *ChangeDomainGroupRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/changedomaingroup.html
 func (client *Client) ChangeDomainGroup(request *ChangeDomainGroupRequest) (response *ChangeDomainGroupResponse, err error) {
 	response = CreateChangeDomainGroupResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke ChangeDomainGroup api with *ChangeDomainGroupRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/changedomaingroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ChangeDomainGroupWithChan(request *ChangeDomainGroupRequest) (<-chan *ChangeDomainGroupResponse, <-chan error) {
 	responseChan := make(chan *ChangeDomainGroupResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) ChangeDomainGroupWithChan(request *ChangeDomainGroupReques
 	return responseChan, errChan
 }
 
+// invoke ChangeDomainGroup api with *ChangeDomainGroupRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/changedomaingroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ChangeDomainGroupWithCallback(request *ChangeDomainGroupRequest, callback func(response *ChangeDomainGroupResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -80,6 +88,7 @@ type ChangeDomainGroupResponse struct {
 	GroupName string `json:"GroupName" xml:"GroupName"`
 }
 
+// create a request to invoke ChangeDomainGroup API
 func CreateChangeDomainGroupRequest() (request *ChangeDomainGroupRequest) {
 	request = &ChangeDomainGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -88,6 +97,7 @@ func CreateChangeDomainGroupRequest() (request *ChangeDomainGroupRequest) {
 	return
 }
 
+// create a response to parse from ChangeDomainGroup response
 func CreateChangeDomainGroupResponse() (response *ChangeDomainGroupResponse) {
 	response = &ChangeDomainGroupResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/change_domain_of_dns_product.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke ChangeDomainOfDnsProduct api with *ChangeDomainOfDnsProductRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/changedomainofdnsproduct.html
 func (client *Client) ChangeDomainOfDnsProduct(request *ChangeDomainOfDnsProductRequest) (response *ChangeDomainOfDnsProductResponse, err error) {
 	response = CreateChangeDomainOfDnsProductResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke ChangeDomainOfDnsProduct api with *ChangeDomainOfDnsProductRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/changedomainofdnsproduct.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ChangeDomainOfDnsProductWithChan(request *ChangeDomainOfDnsProductRequest) (<-chan *ChangeDomainOfDnsProductResponse, <-chan error) {
 	responseChan := make(chan *ChangeDomainOfDnsProductResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) ChangeDomainOfDnsProductWithChan(request *ChangeDomainOfDn
 	return responseChan, errChan
 }
 
+// invoke ChangeDomainOfDnsProduct api with *ChangeDomainOfDnsProductRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/changedomainofdnsproduct.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) ChangeDomainOfDnsProductWithCallback(request *ChangeDomainOfDnsProductRequest, callback func(response *ChangeDomainOfDnsProductResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -80,6 +88,7 @@ type ChangeDomainOfDnsProductResponse struct {
 	OriginalDomain string `json:"OriginalDomain" xml:"OriginalDomain"`
 }
 
+// create a request to invoke ChangeDomainOfDnsProduct API
 func CreateChangeDomainOfDnsProductRequest() (request *ChangeDomainOfDnsProductRequest) {
 	request = &ChangeDomainOfDnsProductRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -88,6 +97,7 @@ func CreateChangeDomainOfDnsProductRequest() (request *ChangeDomainOfDnsProductR
 	return
 }
 
+// create a response to parse from ChangeDomainOfDnsProduct response
 func CreateChangeDomainOfDnsProductResponse() (response *ChangeDomainOfDnsProductResponse) {
 	response = &ChangeDomainOfDnsProductResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/check_domain_record.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke CheckDomainRecord api with *CheckDomainRecordRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/checkdomainrecord.html
 func (client *Client) CheckDomainRecord(request *CheckDomainRecordRequest) (response *CheckDomainRecordResponse, err error) {
 	response = CreateCheckDomainRecordResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke CheckDomainRecord api with *CheckDomainRecordRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/checkdomainrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) CheckDomainRecordWithChan(request *CheckDomainRecordRequest) (<-chan *CheckDomainRecordResponse, <-chan error) {
 	responseChan := make(chan *CheckDomainRecordResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) CheckDomainRecordWithChan(request *CheckDomainRecordReques
 	return responseChan, errChan
 }
 
+// invoke CheckDomainRecord api with *CheckDomainRecordRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/checkdomainrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) CheckDomainRecordWithCallback(request *CheckDomainRecordRequest, callback func(response *CheckDomainRecordResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -81,6 +89,7 @@ type CheckDomainRecordResponse struct {
 	IsExist   bool   `json:"IsExist" xml:"IsExist"`
 }
 
+// create a request to invoke CheckDomainRecord API
 func CreateCheckDomainRecordRequest() (request *CheckDomainRecordRequest) {
 	request = &CheckDomainRecordRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -89,6 +98,7 @@ func CreateCheckDomainRecordRequest() (request *CheckDomainRecordRequest) {
 	return
 }
 
+// create a response to parse from CheckDomainRecord response
 func CreateCheckDomainRecordResponse() (response *CheckDomainRecordResponse) {
 	response = &CheckDomainRecordResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/delete_batch_domain_records.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DeleteBatchDomainRecords api with *DeleteBatchDomainRecordsRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/deletebatchdomainrecords.html
 func (client *Client) DeleteBatchDomainRecords(request *DeleteBatchDomainRecordsRequest) (response *DeleteBatchDomainRecordsResponse, err error) {
 	response = CreateDeleteBatchDomainRecordsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DeleteBatchDomainRecords api with *DeleteBatchDomainRecordsRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletebatchdomainrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteBatchDomainRecordsWithChan(request *DeleteBatchDomainRecordsRequest) (<-chan *DeleteBatchDomainRecordsResponse, <-chan error) {
 	responseChan := make(chan *DeleteBatchDomainRecordsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DeleteBatchDomainRecordsWithChan(request *DeleteBatchDomai
 	return responseChan, errChan
 }
 
+// invoke DeleteBatchDomainRecords api with *DeleteBatchDomainRecordsRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletebatchdomainrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteBatchDomainRecordsWithCallback(request *DeleteBatchDomainRecordsRequest, callback func(response *DeleteBatchDomainRecordsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -78,6 +86,7 @@ type DeleteBatchDomainRecordsResponse struct {
 	TraceId   string `json:"TraceId" xml:"TraceId"`
 }
 
+// create a request to invoke DeleteBatchDomainRecords API
 func CreateDeleteBatchDomainRecordsRequest() (request *DeleteBatchDomainRecordsRequest) {
 	request = &DeleteBatchDomainRecordsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateDeleteBatchDomainRecordsRequest() (request *DeleteBatchDomainRecordsR
 	return
 }
 
+// create a response to parse from DeleteBatchDomainRecords response
 func CreateDeleteBatchDomainRecordsResponse() (response *DeleteBatchDomainRecordsResponse) {
 	response = &DeleteBatchDomainRecordsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/delete_batch_domains.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DeleteBatchDomains api with *DeleteBatchDomainsRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/deletebatchdomains.html
 func (client *Client) DeleteBatchDomains(request *DeleteBatchDomainsRequest) (response *DeleteBatchDomainsResponse, err error) {
 	response = CreateDeleteBatchDomainsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DeleteBatchDomains api with *DeleteBatchDomainsRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletebatchdomains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteBatchDomainsWithChan(request *DeleteBatchDomainsRequest) (<-chan *DeleteBatchDomainsResponse, <-chan error) {
 	responseChan := make(chan *DeleteBatchDomainsResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DeleteBatchDomainsWithChan(request *DeleteBatchDomainsRequ
 	return responseChan, errChan
 }
 
+// invoke DeleteBatchDomains api with *DeleteBatchDomainsRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletebatchdomains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteBatchDomainsWithCallback(request *DeleteBatchDomainsRequest, callback func(response *DeleteBatchDomainsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -78,6 +86,7 @@ type DeleteBatchDomainsResponse struct {
 	TraceId   string `json:"TraceId" xml:"TraceId"`
 }
 
+// create a request to invoke DeleteBatchDomains API
 func CreateDeleteBatchDomainsRequest() (request *DeleteBatchDomainsRequest) {
 	request = &DeleteBatchDomainsRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateDeleteBatchDomainsRequest() (request *DeleteBatchDomainsRequest) {
 	return
 }
 
+// create a response to parse from DeleteBatchDomains response
 func CreateDeleteBatchDomainsResponse() (response *DeleteBatchDomainsResponse) {
 	response = &DeleteBatchDomainsResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/delete_domain.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DeleteDomain api with *DeleteDomainRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/deletedomain.html
 func (client *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error) {
 	response = CreateDeleteDomainResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DeleteDomain api with *DeleteDomainRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletedomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteDomainWithChan(request *DeleteDomainRequest) (<-chan *DeleteDomainResponse, <-chan error) {
 	responseChan := make(chan *DeleteDomainResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DeleteDomainWithChan(request *DeleteDomainRequest) (<-chan
 	return responseChan, errChan
 }
 
+// invoke DeleteDomain api with *DeleteDomainRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletedomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteDomainWithCallback(request *DeleteDomainRequest, callback func(response *DeleteDomainResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -78,6 +86,7 @@ type DeleteDomainResponse struct {
 	DomainName string `json:"DomainName" xml:"DomainName"`
 }
 
+// create a request to invoke DeleteDomain API
 func CreateDeleteDomainRequest() (request *DeleteDomainRequest) {
 	request = &DeleteDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateDeleteDomainRequest() (request *DeleteDomainRequest) {
 	return
 }
 
+// create a response to parse from DeleteDomain response
 func CreateDeleteDomainResponse() (response *DeleteDomainResponse) {
 	response = &DeleteDomainResponse{
 		BaseResponse: &responses.BaseResponse{},

+ 10 - 0
services/alidns/delete_domain_group.go

@@ -20,12 +20,17 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
+// invoke DeleteDomainGroup api with *DeleteDomainGroupRequest synchronously
+// api document: https://help.aliyun.com/api/alidns/deletedomaingroup.html
 func (client *Client) DeleteDomainGroup(request *DeleteDomainGroupRequest) (response *DeleteDomainGroupResponse, err error) {
 	response = CreateDeleteDomainGroupResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
+// invoke DeleteDomainGroup api with *DeleteDomainGroupRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletedomaingroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteDomainGroupWithChan(request *DeleteDomainGroupRequest) (<-chan *DeleteDomainGroupResponse, <-chan error) {
 	responseChan := make(chan *DeleteDomainGroupResponse, 1)
 	errChan := make(chan error, 1)
@@ -47,6 +52,9 @@ func (client *Client) DeleteDomainGroupWithChan(request *DeleteDomainGroupReques
 	return responseChan, errChan
 }
 
+// invoke DeleteDomainGroup api with *DeleteDomainGroupRequest asynchronously
+// api document: https://help.aliyun.com/api/alidns/deletedomaingroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
 func (client *Client) DeleteDomainGroupWithCallback(request *DeleteDomainGroupRequest, callback func(response *DeleteDomainGroupResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
@@ -78,6 +86,7 @@ type DeleteDomainGroupResponse struct {
 	GroupName string `json:"GroupName" xml:"GroupName"`
 }
 
+// create a request to invoke DeleteDomainGroup API
 func CreateDeleteDomainGroupRequest() (request *DeleteDomainGroupRequest) {
 	request = &DeleteDomainGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
@@ -86,6 +95,7 @@ func CreateDeleteDomainGroupRequest() (request *DeleteDomainGroupRequest) {
 	return
 }
 
+// create a response to parse from DeleteDomainGroup response
 func CreateDeleteDomainGroupResponse() (response *DeleteDomainGroupResponse) {
 	response = &DeleteDomainGroupResponse{
 		BaseResponse: &responses.BaseResponse{},

Some files were not shown because too many files changed in this diff