Преглед изворни кода

Supported API DescribeRecordStatisticsSummary for Query Volume.

sdk-team пре 6 година
родитељ
комит
de62006faf
84 измењених фајлова са 890 додато и 178 уклоњено
  1. 6 0
      ChangeLog.txt
  2. 6 4
      services/alidns/add_domain.go
  3. 1 1
      services/alidns/add_domain_group.go
  4. 1 1
      services/alidns/add_domain_record.go
  5. 1 1
      services/alidns/add_gtm_access_strategy.go
  6. 1 1
      services/alidns/add_gtm_address_pool.go
  7. 1 1
      services/alidns/add_gtm_monitor.go
  8. 1 1
      services/alidns/change_domain_group.go
  9. 1 1
      services/alidns/change_domain_of_dns_product.go
  10. 1 1
      services/alidns/check_domain_record.go
  11. 28 5
      services/alidns/client.go
  12. 1 1
      services/alidns/create_instance.go
  13. 1 1
      services/alidns/delete_domain.go
  14. 1 1
      services/alidns/delete_domain_group.go
  15. 1 1
      services/alidns/delete_domain_record.go
  16. 1 1
      services/alidns/delete_gtm_access_strategy.go
  17. 1 1
      services/alidns/delete_gtm_address_pool.go
  18. 1 1
      services/alidns/delete_sub_domain_records.go
  19. 2 2
      services/alidns/describe_batch_result_count.go
  20. 4 4
      services/alidns/describe_batch_result_detail.go
  21. 17 17
      services/alidns/describe_dns_product_instance.go
  22. 4 4
      services/alidns/describe_dns_product_instances.go
  23. 4 4
      services/alidns/describe_dnsslb_sub_domains.go
  24. 108 0
      services/alidns/describe_domain_dns_statistics.go
  25. 4 4
      services/alidns/describe_domain_groups.go
  26. 2 2
      services/alidns/describe_domain_info.go
  27. 4 4
      services/alidns/describe_domain_logs.go
  28. 1 1
      services/alidns/describe_domain_ns.go
  29. 3 3
      services/alidns/describe_domain_record_info.go
  30. 7 4
      services/alidns/describe_domain_records.go
  31. 118 0
      services/alidns/describe_domain_statistics_summary.go
  32. 12 11
      services/alidns/describe_domains.go
  33. 1 1
      services/alidns/describe_gtm_access_strategies.go
  34. 1 1
      services/alidns/describe_gtm_access_strategy.go
  35. 1 1
      services/alidns/describe_gtm_access_strategy_available_config.go
  36. 1 1
      services/alidns/describe_gtm_available_alert_group.go
  37. 4 3
      services/alidns/describe_gtm_instance.go
  38. 3 3
      services/alidns/describe_gtm_instance_address_pool.go
  39. 1 1
      services/alidns/describe_gtm_instance_address_pools.go
  40. 1 1
      services/alidns/describe_gtm_instance_status.go
  41. 106 0
      services/alidns/describe_gtm_instance_system_cname.go
  42. 7 6
      services/alidns/describe_gtm_instances.go
  43. 1 1
      services/alidns/describe_gtm_logs.go
  44. 1 1
      services/alidns/describe_gtm_monitor_available_config.go
  45. 3 3
      services/alidns/describe_gtm_monitor_config.go
  46. 4 4
      services/alidns/describe_record_logs.go
  47. 109 0
      services/alidns/describe_record_statistics_history.go
  48. 119 0
      services/alidns/describe_record_statistics_summary.go
  49. 4 4
      services/alidns/describe_sub_domain_records.go
  50. 1 1
      services/alidns/describe_support_lines.go
  51. 2 2
      services/alidns/get_main_domain_name.go
  52. 1 1
      services/alidns/modify_hichina_domain_dns.go
  53. 5 2
      services/alidns/operate_batch_domain.go
  54. 1 1
      services/alidns/query_create_instance_price.go
  55. 2 2
      services/alidns/set_dnsslb_status.go
  56. 1 1
      services/alidns/set_domain_record_status.go
  57. 1 1
      services/alidns/set_gtm_access_mode.go
  58. 1 1
      services/alidns/set_gtm_monitor_status.go
  59. 3 3
      services/alidns/struct_addr.go
  60. 2 2
      services/alidns/struct_addr_pool.go
  61. 2 2
      services/alidns/struct_batch_result_detail.go
  62. 16 16
      services/alidns/struct_dns_product.go
  63. 1 1
      services/alidns/struct_domain.go
  64. 1 1
      services/alidns/struct_domain_group.go
  65. 2 1
      services/alidns/struct_domain_log.go
  66. 3 2
      services/alidns/struct_gtm_instance.go
  67. 2 2
      services/alidns/struct_log.go
  68. 2 2
      services/alidns/struct_record.go
  69. 1 1
      services/alidns/struct_record_log.go
  70. 1 1
      services/alidns/struct_rule.go
  71. 1 1
      services/alidns/struct_slb_sub_domain.go
  72. 24 0
      services/alidns/struct_statistic.go
  73. 21 0
      services/alidns/struct_statistics_in_describe_domain_dns_statistics.go
  74. 21 0
      services/alidns/struct_statistics_in_describe_domain_statistics_summary.go
  75. 21 0
      services/alidns/struct_statistics_in_describe_record_statistics_history.go
  76. 21 0
      services/alidns/struct_statistics_in_describe_record_statistics_summary.go
  77. 1 1
      services/alidns/struct_strategy.go
  78. 1 1
      services/alidns/update_dnsslb_weight.go
  79. 1 1
      services/alidns/update_domain_group.go
  80. 1 1
      services/alidns/update_domain_record.go
  81. 1 1
      services/alidns/update_gtm_access_strategy.go
  82. 1 1
      services/alidns/update_gtm_address_pool.go
  83. 11 9
      services/alidns/update_gtm_instance_global_config.go
  84. 1 1
      services/alidns/update_gtm_monitor.go

+ 6 - 0
ChangeLog.txt

@@ -1,3 +1,9 @@
+2019-07-03 Version: 1.60.58
+- Supported API DescribeRecordStatisticsSummary for Query Volume.
+- Supported API DescribeDomainStatisticsSummary for Query Volume.
+- Supported API DescribeRecordStatisticsHistory for Query Volume.
+- Supported API DescribeDomainDnsStatistics for Query Volume.
+
 2019-07-02 Version: 1.60.57
 - FnF public version.
 

+ 6 - 4
services/alidns/add_domain.go

@@ -76,9 +76,11 @@ func (client *Client) AddDomainWithCallback(request *AddDomainRequest, callback
 // AddDomainRequest is the request struct for api AddDomain
 type AddDomainRequest struct {
 	*requests.RpcRequest
-	GroupId    string `position:"Query" name:"GroupId"`
-	DomainName string `position:"Query" name:"DomainName"`
-	Lang       string `position:"Query" name:"Lang"`
+	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
+	GroupId         string `position:"Query" name:"GroupId"`
+	DomainName      string `position:"Query" name:"DomainName"`
+	UserClientIp    string `position:"Query" name:"UserClientIp"`
+	Lang            string `position:"Query" name:"Lang"`
 }
 
 // AddDomainResponse is the response struct for api AddDomain
@@ -98,7 +100,7 @@ func CreateAddDomainRequest() (request *AddDomainRequest) {
 	request = &AddDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "AddDomain", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "AddDomain", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/add_domain_group.go

@@ -94,7 +94,7 @@ func CreateAddDomainGroupRequest() (request *AddDomainGroupRequest) {
 	request = &AddDomainGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "AddDomainGroup", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "AddDomainGroup", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/add_domain_record.go

@@ -99,7 +99,7 @@ func CreateAddDomainRecordRequest() (request *AddDomainRecordRequest) {
 	request = &AddDomainRecordRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "AddDomainRecord", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "AddDomainRecord", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/add_gtm_access_strategy.go

@@ -97,7 +97,7 @@ func CreateAddGtmAccessStrategyRequest() (request *AddGtmAccessStrategyRequest)
 	request = &AddGtmAccessStrategyRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "AddGtmAccessStrategy", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "AddGtmAccessStrategy", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/add_gtm_address_pool.go

@@ -104,7 +104,7 @@ func CreateAddGtmAddressPoolRequest() (request *AddGtmAddressPoolRequest) {
 	request = &AddGtmAddressPoolRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "AddGtmAddressPool", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "AddGtmAddressPool", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/add_gtm_monitor.go

@@ -106,7 +106,7 @@ func CreateAddGtmMonitorRequest() (request *AddGtmMonitorRequest) {
 	request = &AddGtmMonitorRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "AddGtmMonitor", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "AddGtmMonitor", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/change_domain_group.go

@@ -95,7 +95,7 @@ func CreateChangeDomainGroupRequest() (request *ChangeDomainGroupRequest) {
 	request = &ChangeDomainGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "ChangeDomainGroup", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "ChangeDomainGroup", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/change_domain_of_dns_product.go

@@ -95,7 +95,7 @@ func CreateChangeDomainOfDnsProductRequest() (request *ChangeDomainOfDnsProductR
 	request = &ChangeDomainOfDnsProductRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "ChangeDomainOfDnsProduct", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "ChangeDomainOfDnsProduct", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/check_domain_record.go

@@ -96,7 +96,7 @@ func CreateCheckDomainRecordRequest() (request *CheckDomainRecordRequest) {
 	request = &CheckDomainRecordRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "CheckDomainRecord", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "CheckDomainRecord", "Alidns", "openAPI")
 	return
 }
 

+ 28 - 5
services/alidns/client.go

@@ -18,6 +18,7 @@ package alidns
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -32,6 +33,20 @@ func NewClient() (client *Client, err error) {
 	return
 }
 
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	return
+}
+
 // NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
 // this is the common api to create a sdk client
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
@@ -41,7 +56,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
@@ -49,7 +64,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
@@ -57,15 +72,23 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
 	return
 }
 
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	return
+}
+
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
@@ -73,7 +96,7 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)

+ 1 - 1
services/alidns/create_instance.go

@@ -98,7 +98,7 @@ func CreateCreateInstanceRequest() (request *CreateInstanceRequest) {
 	request = &CreateInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "CreateInstance", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "CreateInstance", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/delete_domain.go

@@ -93,7 +93,7 @@ func CreateDeleteDomainRequest() (request *DeleteDomainRequest) {
 	request = &DeleteDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteDomain", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteDomain", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/delete_domain_group.go

@@ -93,7 +93,7 @@ func CreateDeleteDomainGroupRequest() (request *DeleteDomainGroupRequest) {
 	request = &DeleteDomainGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteDomainGroup", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteDomainGroup", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/delete_domain_record.go

@@ -93,7 +93,7 @@ func CreateDeleteDomainRecordRequest() (request *DeleteDomainRecordRequest) {
 	request = &DeleteDomainRecordRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteDomainRecord", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteDomainRecord", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/delete_gtm_access_strategy.go

@@ -92,7 +92,7 @@ func CreateDeleteGtmAccessStrategyRequest() (request *DeleteGtmAccessStrategyReq
 	request = &DeleteGtmAccessStrategyRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteGtmAccessStrategy", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteGtmAccessStrategy", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/delete_gtm_address_pool.go

@@ -92,7 +92,7 @@ func CreateDeleteGtmAddressPoolRequest() (request *DeleteGtmAddressPoolRequest)
 	request = &DeleteGtmAddressPoolRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteGtmAddressPool", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteGtmAddressPool", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/delete_sub_domain_records.go

@@ -96,7 +96,7 @@ func CreateDeleteSubDomainRecordsRequest() (request *DeleteSubDomainRecordsReque
 	request = &DeleteSubDomainRecordsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteSubDomainRecords", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DeleteSubDomainRecords", "Alidns", "openAPI")
 	return
 }
 

+ 2 - 2
services/alidns/describe_batch_result_count.go

@@ -92,7 +92,7 @@ type DescribeBatchResultCountResponse struct {
 	FailedCount  int    `json:"FailedCount" xml:"FailedCount"`
 	Reason       string `json:"Reason" xml:"Reason"`
 	BatchType    string `json:"BatchType" xml:"BatchType"`
-	TaskId       int    `json:"TaskId" xml:"TaskId"`
+	TaskId       int64  `json:"TaskId" xml:"TaskId"`
 }
 
 // CreateDescribeBatchResultCountRequest creates a request to invoke DescribeBatchResultCount API
@@ -100,7 +100,7 @@ func CreateDescribeBatchResultCountRequest() (request *DescribeBatchResultCountR
 	request = &DescribeBatchResultCountRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeBatchResultCount", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeBatchResultCount", "Alidns", "openAPI")
 	return
 }
 

+ 4 - 4
services/alidns/describe_batch_result_detail.go

@@ -88,9 +88,9 @@ type DescribeBatchResultDetailRequest struct {
 type DescribeBatchResultDetailResponse struct {
 	*responses.BaseResponse
 	RequestId          string             `json:"RequestId" xml:"RequestId"`
-	TotalCount         int                `json:"TotalCount" xml:"TotalCount"`
-	PageNumber         int                `json:"PageNumber" xml:"PageNumber"`
-	PageSize           int                `json:"PageSize" xml:"PageSize"`
+	TotalCount         int64              `json:"TotalCount" xml:"TotalCount"`
+	PageNumber         int64              `json:"PageNumber" xml:"PageNumber"`
+	PageSize           int64              `json:"PageSize" xml:"PageSize"`
 	BatchResultDetails BatchResultDetails `json:"BatchResultDetails" xml:"BatchResultDetails"`
 }
 
@@ -99,7 +99,7 @@ func CreateDescribeBatchResultDetailRequest() (request *DescribeBatchResultDetai
 	request = &DescribeBatchResultDetailRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeBatchResultDetail", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeBatchResultDetail", "Alidns", "openAPI")
 	return
 }
 

+ 17 - 17
services/alidns/describe_dns_product_instance.go

@@ -89,32 +89,32 @@ type DescribeDnsProductInstanceResponse struct {
 	VersionCode           string                                 `json:"VersionCode" xml:"VersionCode"`
 	VersionName           string                                 `json:"VersionName" xml:"VersionName"`
 	StartTime             string                                 `json:"StartTime" xml:"StartTime"`
-	StartTimestamp        int                                    `json:"StartTimestamp" xml:"StartTimestamp"`
+	StartTimestamp        int64                                  `json:"StartTimestamp" xml:"StartTimestamp"`
 	EndTime               string                                 `json:"EndTime" xml:"EndTime"`
-	EndTimestamp          int                                    `json:"EndTimestamp" xml:"EndTimestamp"`
+	EndTimestamp          int64                                  `json:"EndTimestamp" xml:"EndTimestamp"`
 	Domain                string                                 `json:"Domain" xml:"Domain"`
-	BindCount             int                                    `json:"BindCount" xml:"BindCount"`
-	BindUsedCount         int                                    `json:"BindUsedCount" xml:"BindUsedCount"`
-	TTLMinValue           int                                    `json:"TTLMinValue" xml:"TTLMinValue"`
-	SubDomainLevel        int                                    `json:"SubDomainLevel" xml:"SubDomainLevel"`
-	DnsSLBCount           int                                    `json:"DnsSLBCount" xml:"DnsSLBCount"`
-	URLForwardCount       int                                    `json:"URLForwardCount" xml:"URLForwardCount"`
-	DDosDefendFlow        int                                    `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
-	DDosDefendQuery       int                                    `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
-	OverseaDDosDefendFlow int                                    `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
+	BindCount             int64                                  `json:"BindCount" xml:"BindCount"`
+	BindUsedCount         int64                                  `json:"BindUsedCount" xml:"BindUsedCount"`
+	TTLMinValue           int64                                  `json:"TTLMinValue" xml:"TTLMinValue"`
+	SubDomainLevel        int64                                  `json:"SubDomainLevel" xml:"SubDomainLevel"`
+	DnsSLBCount           int64                                  `json:"DnsSLBCount" xml:"DnsSLBCount"`
+	URLForwardCount       int64                                  `json:"URLForwardCount" xml:"URLForwardCount"`
+	DDosDefendFlow        int64                                  `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
+	DDosDefendQuery       int64                                  `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
+	OverseaDDosDefendFlow int64                                  `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
 	SearchEngineLines     string                                 `json:"SearchEngineLines" xml:"SearchEngineLines"`
 	ISPLines              string                                 `json:"ISPLines" xml:"ISPLines"`
 	ISPRegionLines        string                                 `json:"ISPRegionLines" xml:"ISPRegionLines"`
 	OverseaLine           string                                 `json:"OverseaLine" xml:"OverseaLine"`
-	MonitorNodeCount      int                                    `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
-	MonitorFrequency      int                                    `json:"MonitorFrequency" xml:"MonitorFrequency"`
-	MonitorTaskCount      int                                    `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
+	MonitorNodeCount      int64                                  `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
+	MonitorFrequency      int64                                  `json:"MonitorFrequency" xml:"MonitorFrequency"`
+	MonitorTaskCount      int64                                  `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
 	RegionLines           bool                                   `json:"RegionLines" xml:"RegionLines"`
 	Gslb                  bool                                   `json:"Gslb" xml:"Gslb"`
 	InClean               bool                                   `json:"InClean" xml:"InClean"`
 	InBlackHole           bool                                   `json:"InBlackHole" xml:"InBlackHole"`
-	BindDomainCount       int                                    `json:"BindDomainCount" xml:"BindDomainCount"`
-	BindDomainUsedCount   int                                    `json:"BindDomainUsedCount" xml:"BindDomainUsedCount"`
+	BindDomainCount       int64                                  `json:"BindDomainCount" xml:"BindDomainCount"`
+	BindDomainUsedCount   int64                                  `json:"BindDomainUsedCount" xml:"BindDomainUsedCount"`
 	DnsSecurity           string                                 `json:"DnsSecurity" xml:"DnsSecurity"`
 	DnsServers            DnsServersInDescribeDnsProductInstance `json:"DnsServers" xml:"DnsServers"`
 }
@@ -124,7 +124,7 @@ func CreateDescribeDnsProductInstanceRequest() (request *DescribeDnsProductInsta
 	request = &DescribeDnsProductInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDnsProductInstance", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDnsProductInstance", "Alidns", "openAPI")
 	return
 }
 

+ 4 - 4
services/alidns/describe_dns_product_instances.go

@@ -87,9 +87,9 @@ type DescribeDnsProductInstancesRequest struct {
 type DescribeDnsProductInstancesResponse struct {
 	*responses.BaseResponse
 	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	TotalCount  int         `json:"TotalCount" xml:"TotalCount"`
-	PageNumber  int         `json:"PageNumber" xml:"PageNumber"`
-	PageSize    int         `json:"PageSize" xml:"PageSize"`
+	TotalCount  int64       `json:"TotalCount" xml:"TotalCount"`
+	PageNumber  int64       `json:"PageNumber" xml:"PageNumber"`
+	PageSize    int64       `json:"PageSize" xml:"PageSize"`
 	DnsProducts DnsProducts `json:"DnsProducts" xml:"DnsProducts"`
 }
 
@@ -98,7 +98,7 @@ func CreateDescribeDnsProductInstancesRequest() (request *DescribeDnsProductInst
 	request = &DescribeDnsProductInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDnsProductInstances", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDnsProductInstances", "Alidns", "openAPI")
 	return
 }
 

+ 4 - 4
services/alidns/describe_dnsslb_sub_domains.go

@@ -87,9 +87,9 @@ type DescribeDNSSLBSubDomainsRequest struct {
 type DescribeDNSSLBSubDomainsResponse struct {
 	*responses.BaseResponse
 	RequestId     string        `json:"RequestId" xml:"RequestId"`
-	TotalCount    int           `json:"TotalCount" xml:"TotalCount"`
-	PageNumber    int           `json:"PageNumber" xml:"PageNumber"`
-	PageSize      int           `json:"PageSize" xml:"PageSize"`
+	TotalCount    int64         `json:"TotalCount" xml:"TotalCount"`
+	PageNumber    int64         `json:"PageNumber" xml:"PageNumber"`
+	PageSize      int64         `json:"PageSize" xml:"PageSize"`
 	SlbSubDomains SlbSubDomains `json:"SlbSubDomains" xml:"SlbSubDomains"`
 }
 
@@ -98,7 +98,7 @@ func CreateDescribeDNSSLBSubDomainsRequest() (request *DescribeDNSSLBSubDomainsR
 	request = &DescribeDNSSLBSubDomainsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDNSSLBSubDomains", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDNSSLBSubDomains", "Alidns", "openAPI")
 	return
 }
 

+ 108 - 0
services/alidns/describe_domain_dns_statistics.go

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

+ 4 - 4
services/alidns/describe_domain_groups.go

@@ -87,9 +87,9 @@ type DescribeDomainGroupsRequest struct {
 type DescribeDomainGroupsResponse struct {
 	*responses.BaseResponse
 	RequestId    string       `json:"RequestId" xml:"RequestId"`
-	TotalCount   int          `json:"TotalCount" xml:"TotalCount"`
-	PageNumber   int          `json:"PageNumber" xml:"PageNumber"`
-	PageSize     int          `json:"PageSize" xml:"PageSize"`
+	TotalCount   int64        `json:"TotalCount" xml:"TotalCount"`
+	PageNumber   int64        `json:"PageNumber" xml:"PageNumber"`
+	PageSize     int64        `json:"PageSize" xml:"PageSize"`
 	DomainGroups DomainGroups `json:"DomainGroups" xml:"DomainGroups"`
 }
 
@@ -98,7 +98,7 @@ func CreateDescribeDomainGroupsRequest() (request *DescribeDomainGroupsRequest)
 	request = &DescribeDomainGroupsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainGroups", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainGroups", "Alidns", "openAPI")
 	return
 }
 

+ 2 - 2
services/alidns/describe_domain_info.go

@@ -96,7 +96,7 @@ type DescribeDomainInfoResponse struct {
 	InstanceId         string                          `json:"InstanceId" xml:"InstanceId"`
 	VersionCode        string                          `json:"VersionCode" xml:"VersionCode"`
 	VersionName        string                          `json:"VersionName" xml:"VersionName"`
-	MinTtl             int                             `json:"MinTtl" xml:"MinTtl"`
+	MinTtl             int64                           `json:"MinTtl" xml:"MinTtl"`
 	RecordLineTreeJson string                          `json:"RecordLineTreeJson" xml:"RecordLineTreeJson"`
 	LineType           string                          `json:"LineType" xml:"LineType"`
 	RegionLines        bool                            `json:"RegionLines" xml:"RegionLines"`
@@ -113,7 +113,7 @@ func CreateDescribeDomainInfoRequest() (request *DescribeDomainInfoRequest) {
 	request = &DescribeDomainInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainInfo", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainInfo", "Alidns", "openAPI")
 	return
 }
 

+ 4 - 4
services/alidns/describe_domain_logs.go

@@ -91,9 +91,9 @@ type DescribeDomainLogsRequest struct {
 type DescribeDomainLogsResponse struct {
 	*responses.BaseResponse
 	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	TotalCount int        `json:"TotalCount" xml:"TotalCount"`
-	PageNumber int        `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int        `json:"PageSize" xml:"PageSize"`
+	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int64      `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int64      `json:"PageSize" xml:"PageSize"`
 	DomainLogs DomainLogs `json:"DomainLogs" xml:"DomainLogs"`
 }
 
@@ -102,7 +102,7 @@ func CreateDescribeDomainLogsRequest() (request *DescribeDomainLogsRequest) {
 	request = &DescribeDomainLogsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainLogs", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainLogs", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_domain_ns.go

@@ -96,7 +96,7 @@ func CreateDescribeDomainNsRequest() (request *DescribeDomainNsRequest) {
 	request = &DescribeDomainNsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainNs", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainNs", "Alidns", "openAPI")
 	return
 }
 

+ 3 - 3
services/alidns/describe_domain_record_info.go

@@ -94,8 +94,8 @@ type DescribeDomainRecordInfoResponse struct {
 	RR         string `json:"RR" xml:"RR"`
 	Type       string `json:"Type" xml:"Type"`
 	Value      string `json:"Value" xml:"Value"`
-	TTL        int    `json:"TTL" xml:"TTL"`
-	Priority   int    `json:"Priority" xml:"Priority"`
+	TTL        int64  `json:"TTL" xml:"TTL"`
+	Priority   int64  `json:"Priority" xml:"Priority"`
 	Line       string `json:"Line" xml:"Line"`
 	Status     string `json:"Status" xml:"Status"`
 	Locked     bool   `json:"Locked" xml:"Locked"`
@@ -106,7 +106,7 @@ func CreateDescribeDomainRecordInfoRequest() (request *DescribeDomainRecordInfoR
 	request = &DescribeDomainRecordInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainRecordInfo", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainRecordInfo", "Alidns", "openAPI")
 	return
 }
 

+ 7 - 4
services/alidns/describe_domain_records.go

@@ -77,9 +77,11 @@ func (client *Client) DescribeDomainRecordsWithCallback(request *DescribeDomainR
 type DescribeDomainRecordsRequest struct {
 	*requests.RpcRequest
 	ValueKeyWord string           `position:"Query" name:"ValueKeyWord"`
+	Line         string           `position:"Query" name:"Line"`
 	GroupId      requests.Integer `position:"Query" name:"GroupId"`
 	DomainName   string           `position:"Query" name:"DomainName"`
 	OrderBy      string           `position:"Query" name:"OrderBy"`
+	Type         string           `position:"Query" name:"Type"`
 	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
 	UserClientIp string           `position:"Query" name:"UserClientIp"`
 	PageSize     requests.Integer `position:"Query" name:"PageSize"`
@@ -89,15 +91,16 @@ type DescribeDomainRecordsRequest struct {
 	TypeKeyWord  string           `position:"Query" name:"TypeKeyWord"`
 	RRKeyWord    string           `position:"Query" name:"RRKeyWord"`
 	Direction    string           `position:"Query" name:"Direction"`
+	Status       string           `position:"Query" name:"Status"`
 }
 
 // DescribeDomainRecordsResponse is the response struct for api DescribeDomainRecords
 type DescribeDomainRecordsResponse struct {
 	*responses.BaseResponse
 	RequestId     string                               `json:"RequestId" xml:"RequestId"`
-	TotalCount    int                                  `json:"TotalCount" xml:"TotalCount"`
-	PageNumber    int                                  `json:"PageNumber" xml:"PageNumber"`
-	PageSize      int                                  `json:"PageSize" xml:"PageSize"`
+	TotalCount    int64                                `json:"TotalCount" xml:"TotalCount"`
+	PageNumber    int64                                `json:"PageNumber" xml:"PageNumber"`
+	PageSize      int64                                `json:"PageSize" xml:"PageSize"`
 	DomainRecords DomainRecordsInDescribeDomainRecords `json:"DomainRecords" xml:"DomainRecords"`
 }
 
@@ -106,7 +109,7 @@ func CreateDescribeDomainRecordsRequest() (request *DescribeDomainRecordsRequest
 	request = &DescribeDomainRecordsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainRecords", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainRecords", "Alidns", "openAPI")
 	return
 }
 

+ 118 - 0
services/alidns/describe_domain_statistics_summary.go

@@ -0,0 +1,118 @@
+package alidns
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeDomainStatisticsSummary invokes the alidns.DescribeDomainStatisticsSummary API synchronously
+// api document: https://help.aliyun.com/api/alidns/describedomainstatisticssummary.html
+func (client *Client) DescribeDomainStatisticsSummary(request *DescribeDomainStatisticsSummaryRequest) (response *DescribeDomainStatisticsSummaryResponse, err error) {
+	response = CreateDescribeDomainStatisticsSummaryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDomainStatisticsSummaryWithChan invokes the alidns.DescribeDomainStatisticsSummary API asynchronously
+// api document: https://help.aliyun.com/api/alidns/describedomainstatisticssummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainStatisticsSummaryWithChan(request *DescribeDomainStatisticsSummaryRequest) (<-chan *DescribeDomainStatisticsSummaryResponse, <-chan error) {
+	responseChan := make(chan *DescribeDomainStatisticsSummaryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDomainStatisticsSummary(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDomainStatisticsSummaryWithCallback invokes the alidns.DescribeDomainStatisticsSummary API asynchronously
+// api document: https://help.aliyun.com/api/alidns/describedomainstatisticssummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainStatisticsSummaryWithCallback(request *DescribeDomainStatisticsSummaryRequest, callback func(response *DescribeDomainStatisticsSummaryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDomainStatisticsSummaryResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDomainStatisticsSummary(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDomainStatisticsSummaryRequest is the request struct for api DescribeDomainStatisticsSummary
+type DescribeDomainStatisticsSummaryRequest struct {
+	*requests.RpcRequest
+	EndDate      string           `position:"Query" name:"EndDate"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	OrderBy      string           `position:"Query" name:"OrderBy"`
+	SearchMode   string           `position:"Query" name:"SearchMode"`
+	Threshold    requests.Integer `position:"Query" name:"Threshold"`
+	Lang         string           `position:"Query" name:"Lang"`
+	StartDate    string           `position:"Query" name:"StartDate"`
+	Keyword      string           `position:"Query" name:"Keyword"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	Direction    string           `position:"Query" name:"Direction"`
+}
+
+// DescribeDomainStatisticsSummaryResponse is the response struct for api DescribeDomainStatisticsSummary
+type DescribeDomainStatisticsSummaryResponse struct {
+	*responses.BaseResponse
+	RequestId  string                                      `json:"RequestId" xml:"RequestId"`
+	TotalItems int                                         `json:"TotalItems" xml:"TotalItems"`
+	TotalPages int                                         `json:"TotalPages" xml:"TotalPages"`
+	PageSize   int                                         `json:"PageSize" xml:"PageSize"`
+	PageNumber int                                         `json:"PageNumber" xml:"PageNumber"`
+	Statistics StatisticsInDescribeDomainStatisticsSummary `json:"Statistics" xml:"Statistics"`
+}
+
+// CreateDescribeDomainStatisticsSummaryRequest creates a request to invoke DescribeDomainStatisticsSummary API
+func CreateDescribeDomainStatisticsSummaryRequest() (request *DescribeDomainStatisticsSummaryRequest) {
+	request = &DescribeDomainStatisticsSummaryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomainStatisticsSummary", "Alidns", "openAPI")
+	return
+}
+
+// CreateDescribeDomainStatisticsSummaryResponse creates a response to parse from DescribeDomainStatisticsSummary response
+func CreateDescribeDomainStatisticsSummaryResponse() (response *DescribeDomainStatisticsSummaryResponse) {
+	response = &DescribeDomainStatisticsSummaryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 12 - 11
services/alidns/describe_domains.go

@@ -76,22 +76,23 @@ func (client *Client) DescribeDomainsWithCallback(request *DescribeDomainsReques
 // DescribeDomainsRequest is the request struct for api DescribeDomains
 type DescribeDomainsRequest struct {
 	*requests.RpcRequest
-	GroupId      string           `position:"Query" name:"GroupId"`
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	SearchMode   string           `position:"Query" name:"SearchMode"`
-	Lang         string           `position:"Query" name:"Lang"`
-	KeyWord      string           `position:"Query" name:"KeyWord"`
-	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
+	GroupId         string           `position:"Query" name:"GroupId"`
+	UserClientIp    string           `position:"Query" name:"UserClientIp"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	SearchMode      string           `position:"Query" name:"SearchMode"`
+	Lang            string           `position:"Query" name:"Lang"`
+	KeyWord         string           `position:"Query" name:"KeyWord"`
+	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeDomainsResponse is the response struct for api DescribeDomains
 type DescribeDomainsResponse struct {
 	*responses.BaseResponse
 	RequestId  string  `json:"RequestId" xml:"RequestId"`
-	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
-	PageNumber int     `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int     `json:"PageSize" xml:"PageSize"`
+	TotalCount int64   `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int64   `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int64   `json:"PageSize" xml:"PageSize"`
 	Domains    Domains `json:"Domains" xml:"Domains"`
 }
 
@@ -100,7 +101,7 @@ func CreateDescribeDomainsRequest() (request *DescribeDomainsRequest) {
 	request = &DescribeDomainsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomains", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeDomains", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_access_strategies.go

@@ -99,7 +99,7 @@ func CreateDescribeGtmAccessStrategiesRequest() (request *DescribeGtmAccessStrat
 	request = &DescribeGtmAccessStrategiesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAccessStrategies", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAccessStrategies", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_access_strategy.go

@@ -103,7 +103,7 @@ func CreateDescribeGtmAccessStrategyRequest() (request *DescribeGtmAccessStrateg
 	request = &DescribeGtmAccessStrategyRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAccessStrategy", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAccessStrategy", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_access_strategy_available_config.go

@@ -94,7 +94,7 @@ func CreateDescribeGtmAccessStrategyAvailableConfigRequest() (request *DescribeG
 	request = &DescribeGtmAccessStrategyAvailableConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAccessStrategyAvailableConfig", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAccessStrategyAvailableConfig", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_available_alert_group.go

@@ -92,7 +92,7 @@ func CreateDescribeGtmAvailableAlertGroupRequest() (request *DescribeGtmAvailabl
 	request = &DescribeGtmAvailableAlertGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAvailableAlertGroup", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmAvailableAlertGroup", "Alidns", "openAPI")
 	return
 }
 

+ 4 - 3
services/alidns/describe_gtm_instance.go

@@ -89,14 +89,15 @@ type DescribeGtmInstanceResponse struct {
 	InstanceName    string `json:"InstanceName" xml:"InstanceName"`
 	VersionCode     string `json:"VersionCode" xml:"VersionCode"`
 	ExpireTime      string `json:"ExpireTime" xml:"ExpireTime"`
-	ExpireTimestamp int    `json:"ExpireTimestamp" xml:"ExpireTimestamp"`
+	ExpireTimestamp int64  `json:"ExpireTimestamp" xml:"ExpireTimestamp"`
 	Cname           string `json:"Cname" xml:"Cname"`
 	UserDomainName  string `json:"UserDomainName" xml:"UserDomainName"`
 	Ttl             int    `json:"Ttl" xml:"Ttl"`
 	LbaStrategy     string `json:"LbaStrategy" xml:"LbaStrategy"`
 	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	CreateTimestamp int    `json:"CreateTimestamp" xml:"CreateTimestamp"`
+	CreateTimestamp int64  `json:"CreateTimestamp" xml:"CreateTimestamp"`
 	AlertGroup      string `json:"AlertGroup" xml:"AlertGroup"`
+	CnameMode       string `json:"CnameMode" xml:"CnameMode"`
 }
 
 // CreateDescribeGtmInstanceRequest creates a request to invoke DescribeGtmInstance API
@@ -104,7 +105,7 @@ func CreateDescribeGtmInstanceRequest() (request *DescribeGtmInstanceRequest) {
 	request = &DescribeGtmInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstance", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstance", "Alidns", "openAPI")
 	return
 }
 

+ 3 - 3
services/alidns/describe_gtm_instance_address_pool.go

@@ -87,9 +87,9 @@ type DescribeGtmInstanceAddressPoolResponse struct {
 	RequestId           string `json:"RequestId" xml:"RequestId"`
 	AddrPoolId          string `json:"AddrPoolId" xml:"AddrPoolId"`
 	CreateTime          string `json:"CreateTime" xml:"CreateTime"`
-	CreateTimestamp     int    `json:"CreateTimestamp" xml:"CreateTimestamp"`
+	CreateTimestamp     int64  `json:"CreateTimestamp" xml:"CreateTimestamp"`
 	UpdateTime          string `json:"UpdateTime" xml:"UpdateTime"`
-	UpdateTimestamp     int    `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
+	UpdateTimestamp     int64  `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
 	AddrCount           int    `json:"AddrCount" xml:"AddrCount"`
 	MinAvailableAddrNum int    `json:"MinAvailableAddrNum" xml:"MinAvailableAddrNum"`
 	MonitorConfigId     string `json:"MonitorConfigId" xml:"MonitorConfigId"`
@@ -105,7 +105,7 @@ func CreateDescribeGtmInstanceAddressPoolRequest() (request *DescribeGtmInstance
 	request = &DescribeGtmInstanceAddressPoolRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstanceAddressPool", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstanceAddressPool", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_instance_address_pools.go

@@ -99,7 +99,7 @@ func CreateDescribeGtmInstanceAddressPoolsRequest() (request *DescribeGtmInstanc
 	request = &DescribeGtmInstanceAddressPoolsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstanceAddressPools", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstanceAddressPools", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_instance_status.go

@@ -94,7 +94,7 @@ func CreateDescribeGtmInstanceStatusRequest() (request *DescribeGtmInstanceStatu
 	request = &DescribeGtmInstanceStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstanceStatus", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstanceStatus", "Alidns", "openAPI")
 	return
 }
 

+ 106 - 0
services/alidns/describe_gtm_instance_system_cname.go

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

+ 7 - 6
services/alidns/describe_gtm_instances.go

@@ -76,11 +76,12 @@ func (client *Client) DescribeGtmInstancesWithCallback(request *DescribeGtmInsta
 // DescribeGtmInstancesRequest is the request struct for api DescribeGtmInstances
 type DescribeGtmInstancesRequest struct {
 	*requests.RpcRequest
-	UserClientIp string           `position:"Query" name:"UserClientIp"`
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	Lang         string           `position:"Query" name:"Lang"`
-	Keyword      string           `position:"Query" name:"Keyword"`
-	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
+	UserClientIp    string           `position:"Query" name:"UserClientIp"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	Lang            string           `position:"Query" name:"Lang"`
+	Keyword         string           `position:"Query" name:"Keyword"`
+	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeGtmInstancesResponse is the response struct for api DescribeGtmInstances
@@ -99,7 +100,7 @@ func CreateDescribeGtmInstancesRequest() (request *DescribeGtmInstancesRequest)
 	request = &DescribeGtmInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstances", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmInstances", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_logs.go

@@ -102,7 +102,7 @@ func CreateDescribeGtmLogsRequest() (request *DescribeGtmLogsRequest) {
 	request = &DescribeGtmLogsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmLogs", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmLogs", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_gtm_monitor_available_config.go

@@ -92,7 +92,7 @@ func CreateDescribeGtmMonitorAvailableConfigRequest() (request *DescribeGtmMonit
 	request = &DescribeGtmMonitorAvailableConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmMonitorAvailableConfig", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmMonitorAvailableConfig", "Alidns", "openAPI")
 	return
 }
 

+ 3 - 3
services/alidns/describe_gtm_monitor_config.go

@@ -87,9 +87,9 @@ type DescribeGtmMonitorConfigResponse struct {
 	RequestId         string                                 `json:"RequestId" xml:"RequestId"`
 	MonitorConfigId   string                                 `json:"MonitorConfigId" xml:"MonitorConfigId"`
 	CreateTime        string                                 `json:"CreateTime" xml:"CreateTime"`
-	CreateTimestamp   int                                    `json:"CreateTimestamp" xml:"CreateTimestamp"`
+	CreateTimestamp   int64                                  `json:"CreateTimestamp" xml:"CreateTimestamp"`
 	UpdateTime        string                                 `json:"UpdateTime" xml:"UpdateTime"`
-	UpdateTimestamp   int                                    `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
+	UpdateTimestamp   int64                                  `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
 	Name              string                                 `json:"Name" xml:"Name"`
 	ProtocolType      string                                 `json:"ProtocolType" xml:"ProtocolType"`
 	Interval          int                                    `json:"Interval" xml:"Interval"`
@@ -104,7 +104,7 @@ func CreateDescribeGtmMonitorConfigRequest() (request *DescribeGtmMonitorConfigR
 	request = &DescribeGtmMonitorConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmMonitorConfig", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeGtmMonitorConfig", "Alidns", "openAPI")
 	return
 }
 

+ 4 - 4
services/alidns/describe_record_logs.go

@@ -90,9 +90,9 @@ type DescribeRecordLogsRequest struct {
 type DescribeRecordLogsResponse struct {
 	*responses.BaseResponse
 	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	TotalCount int        `json:"TotalCount" xml:"TotalCount"`
-	PageNumber int        `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int        `json:"PageSize" xml:"PageSize"`
+	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int64      `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int64      `json:"PageSize" xml:"PageSize"`
 	RecordLogs RecordLogs `json:"RecordLogs" xml:"RecordLogs"`
 }
 
@@ -101,7 +101,7 @@ func CreateDescribeRecordLogsRequest() (request *DescribeRecordLogsRequest) {
 	request = &DescribeRecordLogsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeRecordLogs", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeRecordLogs", "Alidns", "openAPI")
 	return
 }
 

+ 109 - 0
services/alidns/describe_record_statistics_history.go

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

+ 119 - 0
services/alidns/describe_record_statistics_summary.go

@@ -0,0 +1,119 @@
+package alidns
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeRecordStatisticsSummary invokes the alidns.DescribeRecordStatisticsSummary API synchronously
+// api document: https://help.aliyun.com/api/alidns/describerecordstatisticssummary.html
+func (client *Client) DescribeRecordStatisticsSummary(request *DescribeRecordStatisticsSummaryRequest) (response *DescribeRecordStatisticsSummaryResponse, err error) {
+	response = CreateDescribeRecordStatisticsSummaryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRecordStatisticsSummaryWithChan invokes the alidns.DescribeRecordStatisticsSummary API asynchronously
+// api document: https://help.aliyun.com/api/alidns/describerecordstatisticssummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRecordStatisticsSummaryWithChan(request *DescribeRecordStatisticsSummaryRequest) (<-chan *DescribeRecordStatisticsSummaryResponse, <-chan error) {
+	responseChan := make(chan *DescribeRecordStatisticsSummaryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRecordStatisticsSummary(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRecordStatisticsSummaryWithCallback invokes the alidns.DescribeRecordStatisticsSummary API asynchronously
+// api document: https://help.aliyun.com/api/alidns/describerecordstatisticssummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRecordStatisticsSummaryWithCallback(request *DescribeRecordStatisticsSummaryRequest, callback func(response *DescribeRecordStatisticsSummaryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRecordStatisticsSummaryResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRecordStatisticsSummary(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRecordStatisticsSummaryRequest is the request struct for api DescribeRecordStatisticsSummary
+type DescribeRecordStatisticsSummaryRequest struct {
+	*requests.RpcRequest
+	EndDate      string           `position:"Query" name:"EndDate"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	DomainName   string           `position:"Query" name:"DomainName"`
+	OrderBy      string           `position:"Query" name:"OrderBy"`
+	SearchMode   string           `position:"Query" name:"SearchMode"`
+	Threshold    requests.Integer `position:"Query" name:"Threshold"`
+	Lang         string           `position:"Query" name:"Lang"`
+	StartDate    string           `position:"Query" name:"StartDate"`
+	Keyword      string           `position:"Query" name:"Keyword"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	Direction    string           `position:"Query" name:"Direction"`
+}
+
+// DescribeRecordStatisticsSummaryResponse is the response struct for api DescribeRecordStatisticsSummary
+type DescribeRecordStatisticsSummaryResponse struct {
+	*responses.BaseResponse
+	RequestId  string                                      `json:"RequestId" xml:"RequestId"`
+	TotalItems int                                         `json:"TotalItems" xml:"TotalItems"`
+	TotalPages int                                         `json:"TotalPages" xml:"TotalPages"`
+	PageSize   int                                         `json:"PageSize" xml:"PageSize"`
+	PageNumber int                                         `json:"PageNumber" xml:"PageNumber"`
+	Statistics StatisticsInDescribeRecordStatisticsSummary `json:"Statistics" xml:"Statistics"`
+}
+
+// CreateDescribeRecordStatisticsSummaryRequest creates a request to invoke DescribeRecordStatisticsSummary API
+func CreateDescribeRecordStatisticsSummaryRequest() (request *DescribeRecordStatisticsSummaryRequest) {
+	request = &DescribeRecordStatisticsSummaryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeRecordStatisticsSummary", "Alidns", "openAPI")
+	return
+}
+
+// CreateDescribeRecordStatisticsSummaryResponse creates a response to parse from DescribeRecordStatisticsSummary response
+func CreateDescribeRecordStatisticsSummaryResponse() (response *DescribeRecordStatisticsSummaryResponse) {
+	response = &DescribeRecordStatisticsSummaryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 4 - 4
services/alidns/describe_sub_domain_records.go

@@ -89,9 +89,9 @@ type DescribeSubDomainRecordsRequest struct {
 type DescribeSubDomainRecordsResponse struct {
 	*responses.BaseResponse
 	RequestId     string                                  `json:"RequestId" xml:"RequestId"`
-	TotalCount    int                                     `json:"TotalCount" xml:"TotalCount"`
-	PageNumber    int                                     `json:"PageNumber" xml:"PageNumber"`
-	PageSize      int                                     `json:"PageSize" xml:"PageSize"`
+	TotalCount    int64                                   `json:"TotalCount" xml:"TotalCount"`
+	PageNumber    int64                                   `json:"PageNumber" xml:"PageNumber"`
+	PageSize      int64                                   `json:"PageSize" xml:"PageSize"`
 	DomainRecords DomainRecordsInDescribeSubDomainRecords `json:"DomainRecords" xml:"DomainRecords"`
 }
 
@@ -100,7 +100,7 @@ func CreateDescribeSubDomainRecordsRequest() (request *DescribeSubDomainRecordsR
 	request = &DescribeSubDomainRecordsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeSubDomainRecords", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeSubDomainRecords", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/describe_support_lines.go

@@ -93,7 +93,7 @@ func CreateDescribeSupportLinesRequest() (request *DescribeSupportLinesRequest)
 	request = &DescribeSupportLinesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeSupportLines", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "DescribeSupportLines", "Alidns", "openAPI")
 	return
 }
 

+ 2 - 2
services/alidns/get_main_domain_name.go

@@ -87,7 +87,7 @@ type GetMainDomainNameResponse struct {
 	RequestId   string `json:"RequestId" xml:"RequestId"`
 	DomainName  string `json:"DomainName" xml:"DomainName"`
 	RR          string `json:"RR" xml:"RR"`
-	DomainLevel int    `json:"DomainLevel" xml:"DomainLevel"`
+	DomainLevel int64  `json:"DomainLevel" xml:"DomainLevel"`
 }
 
 // CreateGetMainDomainNameRequest creates a request to invoke GetMainDomainName API
@@ -95,7 +95,7 @@ func CreateGetMainDomainNameRequest() (request *GetMainDomainNameRequest) {
 	request = &GetMainDomainNameRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "GetMainDomainName", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "GetMainDomainName", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/modify_hichina_domain_dns.go

@@ -94,7 +94,7 @@ func CreateModifyHichinaDomainDNSRequest() (request *ModifyHichinaDomainDNSReque
 	request = &ModifyHichinaDomainDNSRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "ModifyHichinaDomainDNS", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "ModifyHichinaDomainDNS", "Alidns", "openAPI")
 	return
 }
 

+ 5 - 2
services/alidns/operate_batch_domain.go

@@ -85,19 +85,22 @@ type OperateBatchDomainRequest struct {
 // OperateBatchDomainDomainRecordInfo is a repeated param struct in OperateBatchDomainRequest
 type OperateBatchDomainDomainRecordInfo struct {
 	Rr       string `name:"Rr"`
+	NewType  string `name:"NewType"`
+	NewValue string `name:"NewValue"`
 	Line     string `name:"Line"`
 	Domain   string `name:"Domain"`
 	Type     string `name:"Type"`
 	Priority string `name:"Priority"`
 	Value    string `name:"Value"`
 	Ttl      string `name:"Ttl"`
+	NewRr    string `name:"NewRr"`
 }
 
 // OperateBatchDomainResponse is the response struct for api OperateBatchDomain
 type OperateBatchDomainResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	TaskId    int    `json:"TaskId" xml:"TaskId"`
+	TaskId    int64  `json:"TaskId" xml:"TaskId"`
 }
 
 // CreateOperateBatchDomainRequest creates a request to invoke OperateBatchDomain API
@@ -105,7 +108,7 @@ func CreateOperateBatchDomainRequest() (request *OperateBatchDomainRequest) {
 	request = &OperateBatchDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "OperateBatchDomain", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "OperateBatchDomain", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/query_create_instance_price.go

@@ -99,7 +99,7 @@ func CreateQueryCreateInstancePriceRequest() (request *QueryCreateInstancePriceR
 	request = &QueryCreateInstancePriceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "QueryCreateInstancePrice", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "QueryCreateInstancePrice", "Alidns", "openAPI")
 	return
 }
 

+ 2 - 2
services/alidns/set_dnsslb_status.go

@@ -86,7 +86,7 @@ type SetDNSSLBStatusRequest struct {
 type SetDNSSLBStatusResponse struct {
 	*responses.BaseResponse
 	RequestId   string `json:"RequestId" xml:"RequestId"`
-	RecordCount int    `json:"RecordCount" xml:"RecordCount"`
+	RecordCount int64  `json:"RecordCount" xml:"RecordCount"`
 	Open        bool   `json:"Open" xml:"Open"`
 }
 
@@ -95,7 +95,7 @@ func CreateSetDNSSLBStatusRequest() (request *SetDNSSLBStatusRequest) {
 	request = &SetDNSSLBStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "SetDNSSLBStatus", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "SetDNSSLBStatus", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/set_domain_record_status.go

@@ -95,7 +95,7 @@ func CreateSetDomainRecordStatusRequest() (request *SetDomainRecordStatusRequest
 	request = &SetDomainRecordStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "SetDomainRecordStatus", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "SetDomainRecordStatus", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/set_gtm_access_mode.go

@@ -93,7 +93,7 @@ func CreateSetGtmAccessModeRequest() (request *SetGtmAccessModeRequest) {
 	request = &SetGtmAccessModeRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "SetGtmAccessMode", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "SetGtmAccessMode", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/set_gtm_monitor_status.go

@@ -93,7 +93,7 @@ func CreateSetGtmMonitorStatusRequest() (request *SetGtmMonitorStatusRequest) {
 	request = &SetGtmMonitorStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "SetGtmMonitorStatus", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "SetGtmMonitorStatus", "Alidns", "openAPI")
 	return
 }
 

+ 3 - 3
services/alidns/struct_addr.go

@@ -17,11 +17,11 @@ package alidns
 
 // Addr is a nested struct in alidns response
 type Addr struct {
-	AddrId          int    `json:"AddrId" xml:"AddrId"`
+	AddrId          int64  `json:"AddrId" xml:"AddrId"`
 	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	CreateTimestamp int    `json:"CreateTimestamp" xml:"CreateTimestamp"`
+	CreateTimestamp int64  `json:"CreateTimestamp" xml:"CreateTimestamp"`
 	UpdateTime      string `json:"UpdateTime" xml:"UpdateTime"`
-	UpdateTimestamp int    `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
+	UpdateTimestamp int64  `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
 	Value           string `json:"Value" xml:"Value"`
 	LbaWeight       int    `json:"LbaWeight" xml:"LbaWeight"`
 	Mode            string `json:"Mode" xml:"Mode"`

+ 2 - 2
services/alidns/struct_addr_pool.go

@@ -22,11 +22,11 @@ type AddrPool struct {
 	MinAvailableAddrNum int    `json:"MinAvailableAddrNum" xml:"MinAvailableAddrNum"`
 	UpdateTime          string `json:"UpdateTime" xml:"UpdateTime"`
 	MonitorConfigId     string `json:"MonitorConfigId" xml:"MonitorConfigId"`
-	CreateTimestamp     int    `json:"CreateTimestamp" xml:"CreateTimestamp"`
+	CreateTimestamp     int64  `json:"CreateTimestamp" xml:"CreateTimestamp"`
 	CreateTime          string `json:"CreateTime" xml:"CreateTime"`
 	AddrPoolName        string `json:"AddrPoolName" xml:"AddrPoolName"`
 	AddrPoolId          string `json:"AddrPoolId" xml:"AddrPoolId"`
-	UpdateTimestamp     int    `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
+	UpdateTimestamp     int64  `json:"UpdateTimestamp" xml:"UpdateTimestamp"`
 	Status              string `json:"Status" xml:"Status"`
 	MonitorStatus       string `json:"MonitorStatus" xml:"MonitorStatus"`
 	Type                string `json:"Type" xml:"Type"`

+ 2 - 2
services/alidns/struct_batch_result_detail.go

@@ -28,8 +28,8 @@ type BatchResultDetail struct {
 	BatchType      string `json:"BatchType" xml:"BatchType"`
 	OperateDateStr string `json:"OperateDateStr" xml:"OperateDateStr"`
 	Line           string `json:"Line" xml:"Line"`
-	Priority       int    `json:"Priority" xml:"Priority"`
-	Ttl            int    `json:"Ttl" xml:"Ttl"`
+	Priority       string `json:"Priority" xml:"Priority"`
+	Ttl            string `json:"Ttl" xml:"Ttl"`
 	RecordId       string `json:"RecordId" xml:"RecordId"`
 	Remark         string `json:"Remark" xml:"Remark"`
 	RrStatus       string `json:"RrStatus" xml:"RrStatus"`

+ 16 - 16
services/alidns/struct_dns_product.go

@@ -22,30 +22,30 @@ type DnsProduct struct {
 	VersionName           string `json:"VersionName" xml:"VersionName"`
 	StartTime             string `json:"StartTime" xml:"StartTime"`
 	EndTime               string `json:"EndTime" xml:"EndTime"`
-	StartTimestamp        int    `json:"StartTimestamp" xml:"StartTimestamp"`
-	EndTimestamp          int    `json:"EndTimestamp" xml:"EndTimestamp"`
+	StartTimestamp        int64  `json:"StartTimestamp" xml:"StartTimestamp"`
+	EndTimestamp          int64  `json:"EndTimestamp" xml:"EndTimestamp"`
 	Domain                string `json:"Domain" xml:"Domain"`
-	BindCount             int    `json:"BindCount" xml:"BindCount"`
-	BindUsedCount         int    `json:"BindUsedCount" xml:"BindUsedCount"`
-	TTLMinValue           int    `json:"TTLMinValue" xml:"TTLMinValue"`
-	SubDomainLevel        int    `json:"SubDomainLevel" xml:"SubDomainLevel"`
-	DnsSLBCount           int    `json:"DnsSLBCount" xml:"DnsSLBCount"`
-	URLForwardCount       int    `json:"URLForwardCount" xml:"URLForwardCount"`
-	DDosDefendFlow        int    `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
-	DDosDefendQuery       int    `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
-	OverseaDDosDefendFlow int    `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
+	BindCount             int64  `json:"BindCount" xml:"BindCount"`
+	BindUsedCount         int64  `json:"BindUsedCount" xml:"BindUsedCount"`
+	TTLMinValue           int64  `json:"TTLMinValue" xml:"TTLMinValue"`
+	SubDomainLevel        int64  `json:"SubDomainLevel" xml:"SubDomainLevel"`
+	DnsSLBCount           int64  `json:"DnsSLBCount" xml:"DnsSLBCount"`
+	URLForwardCount       int64  `json:"URLForwardCount" xml:"URLForwardCount"`
+	DDosDefendFlow        int64  `json:"DDosDefendFlow" xml:"DDosDefendFlow"`
+	DDosDefendQuery       int64  `json:"DDosDefendQuery" xml:"DDosDefendQuery"`
+	OverseaDDosDefendFlow int64  `json:"OverseaDDosDefendFlow" xml:"OverseaDDosDefendFlow"`
 	SearchEngineLines     string `json:"SearchEngineLines" xml:"SearchEngineLines"`
 	ISPLines              string `json:"ISPLines" xml:"ISPLines"`
 	ISPRegionLines        string `json:"ISPRegionLines" xml:"ISPRegionLines"`
 	OverseaLine           string `json:"OverseaLine" xml:"OverseaLine"`
-	MonitorNodeCount      int    `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
-	MonitorFrequency      int    `json:"MonitorFrequency" xml:"MonitorFrequency"`
-	MonitorTaskCount      int    `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
+	MonitorNodeCount      int64  `json:"MonitorNodeCount" xml:"MonitorNodeCount"`
+	MonitorFrequency      int64  `json:"MonitorFrequency" xml:"MonitorFrequency"`
+	MonitorTaskCount      int64  `json:"MonitorTaskCount" xml:"MonitorTaskCount"`
 	RegionLines           bool   `json:"RegionLines" xml:"RegionLines"`
 	Gslb                  bool   `json:"Gslb" xml:"Gslb"`
 	InClean               bool   `json:"InClean" xml:"InClean"`
 	InBlackHole           bool   `json:"InBlackHole" xml:"InBlackHole"`
-	BindDomainCount       int    `json:"BindDomainCount" xml:"BindDomainCount"`
-	BindDomainUsedCount   int    `json:"BindDomainUsedCount" xml:"BindDomainUsedCount"`
+	BindDomainCount       int64  `json:"BindDomainCount" xml:"BindDomainCount"`
+	BindDomainUsedCount   int64  `json:"BindDomainUsedCount" xml:"BindDomainUsedCount"`
 	DnsSecurity           string `json:"DnsSecurity" xml:"DnsSecurity"`
 }

+ 1 - 1
services/alidns/struct_domain.go

@@ -21,7 +21,7 @@ type Domain struct {
 	DomainName      string                      `json:"DomainName" xml:"DomainName"`
 	PunyCode        string                      `json:"PunyCode" xml:"PunyCode"`
 	AliDomain       bool                        `json:"AliDomain" xml:"AliDomain"`
-	RecordCount     int                         `json:"RecordCount" xml:"RecordCount"`
+	RecordCount     int64                       `json:"RecordCount" xml:"RecordCount"`
 	RegistrantEmail string                      `json:"RegistrantEmail" xml:"RegistrantEmail"`
 	Remark          string                      `json:"Remark" xml:"Remark"`
 	GroupId         string                      `json:"GroupId" xml:"GroupId"`

+ 1 - 1
services/alidns/struct_domain_group.go

@@ -19,5 +19,5 @@ package alidns
 type DomainGroup struct {
 	GroupId     string `json:"GroupId" xml:"GroupId"`
 	GroupName   string `json:"GroupName" xml:"GroupName"`
-	DomainCount int    `json:"DomainCount" xml:"DomainCount"`
+	DomainCount int64  `json:"DomainCount" xml:"DomainCount"`
 }

+ 2 - 1
services/alidns/struct_domain_log.go

@@ -18,9 +18,10 @@ package alidns
 // DomainLog is a nested struct in alidns response
 type DomainLog struct {
 	ActionTime      string `json:"ActionTime" xml:"ActionTime"`
-	ActionTimestamp int    `json:"ActionTimestamp" xml:"ActionTimestamp"`
+	ActionTimestamp int64  `json:"ActionTimestamp" xml:"ActionTimestamp"`
 	DomainName      string `json:"DomainName" xml:"DomainName"`
 	Action          string `json:"Action" xml:"Action"`
 	Message         string `json:"Message" xml:"Message"`
 	ClientIp        string `json:"ClientIp" xml:"ClientIp"`
+	ZoneId          string `json:"ZoneId" xml:"ZoneId"`
 }

+ 3 - 2
services/alidns/struct_gtm_instance.go

@@ -25,8 +25,9 @@ type GtmInstance struct {
 	Ttl             int    `json:"Ttl" xml:"Ttl"`
 	LbaStrategy     string `json:"LbaStrategy" xml:"LbaStrategy"`
 	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	CreateTimestamp int    `json:"CreateTimestamp" xml:"CreateTimestamp"`
+	CreateTimestamp int64  `json:"CreateTimestamp" xml:"CreateTimestamp"`
 	ExpireTime      string `json:"ExpireTime" xml:"ExpireTime"`
-	ExpireTimestamp int    `json:"ExpireTimestamp" xml:"ExpireTimestamp"`
+	ExpireTimestamp int64  `json:"ExpireTimestamp" xml:"ExpireTimestamp"`
 	AlertGroup      string `json:"AlertGroup" xml:"AlertGroup"`
+	CnameMode       string `json:"CnameMode" xml:"CnameMode"`
 }

+ 2 - 2
services/alidns/struct_log.go

@@ -23,7 +23,7 @@ type Log struct {
 	EntityId      string `json:"EntityId" xml:"EntityId"`
 	EntityName    string `json:"EntityName" xml:"EntityName"`
 	OperIp        string `json:"OperIp" xml:"OperIp"`
-	OperTimestamp int    `json:"OperTimestamp" xml:"OperTimestamp"`
-	Id            int    `json:"Id" xml:"Id"`
+	OperTimestamp int64  `json:"OperTimestamp" xml:"OperTimestamp"`
+	Id            int64  `json:"Id" xml:"Id"`
 	Content       string `json:"Content" xml:"Content"`
 }

+ 2 - 2
services/alidns/struct_record.go

@@ -18,11 +18,11 @@ package alidns
 // Record is a nested struct in alidns response
 type Record struct {
 	Value      string `json:"Value" xml:"Value"`
-	TTL        int    `json:"TTL" xml:"TTL"`
+	TTL        int64  `json:"TTL" xml:"TTL"`
 	Remark     string `json:"Remark" xml:"Remark"`
 	DomainName string `json:"DomainName" xml:"DomainName"`
 	RR         string `json:"RR" xml:"RR"`
-	Priority   int    `json:"Priority" xml:"Priority"`
+	Priority   int64  `json:"Priority" xml:"Priority"`
 	RecordId   string `json:"RecordId" xml:"RecordId"`
 	Status     string `json:"Status" xml:"Status"`
 	Locked     bool   `json:"Locked" xml:"Locked"`

+ 1 - 1
services/alidns/struct_record_log.go

@@ -18,7 +18,7 @@ package alidns
 // RecordLog is a nested struct in alidns response
 type RecordLog struct {
 	ActionTime      string `json:"ActionTime" xml:"ActionTime"`
-	ActionTimestamp int    `json:"ActionTimestamp" xml:"ActionTimestamp"`
+	ActionTimestamp int64  `json:"ActionTimestamp" xml:"ActionTimestamp"`
 	Action          string `json:"Action" xml:"Action"`
 	Message         string `json:"Message" xml:"Message"`
 	ClientIp        string `json:"ClientIp" xml:"ClientIp"`

+ 1 - 1
services/alidns/struct_rule.go

@@ -17,7 +17,7 @@ package alidns
 
 // Rule is a nested struct in alidns response
 type Rule struct {
-	RuleId int    `json:"RuleId" xml:"RuleId"`
+	RuleId int64  `json:"RuleId" xml:"RuleId"`
 	Name   string `json:"Name" xml:"Name"`
 	Title  string `json:"Title" xml:"Title"`
 }

+ 1 - 1
services/alidns/struct_slb_sub_domain.go

@@ -18,7 +18,7 @@ package alidns
 // SlbSubDomain is a nested struct in alidns response
 type SlbSubDomain struct {
 	SubDomain   string `json:"SubDomain" xml:"SubDomain"`
-	RecordCount int    `json:"RecordCount" xml:"RecordCount"`
+	RecordCount int64  `json:"RecordCount" xml:"RecordCount"`
 	Open        bool   `json:"Open" xml:"Open"`
 	Type        string `json:"Type" xml:"Type"`
 }

+ 24 - 0
services/alidns/struct_statistic.go

@@ -0,0 +1,24 @@
+package alidns
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Statistic is a nested struct in alidns response
+type Statistic struct {
+	Timestamp  int64  `json:"Timestamp" xml:"Timestamp"`
+	DomainName string `json:"DomainName" xml:"DomainName"`
+	Count      int64  `json:"Count" xml:"Count"`
+	SubDomain  string `json:"SubDomain" xml:"SubDomain"`
+}

+ 21 - 0
services/alidns/struct_statistics_in_describe_domain_dns_statistics.go

@@ -0,0 +1,21 @@
+package alidns
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// StatisticsInDescribeDomainDnsStatistics is a nested struct in alidns response
+type StatisticsInDescribeDomainDnsStatistics struct {
+	Statistic []Statistic `json:"Statistic" xml:"Statistic"`
+}

+ 21 - 0
services/alidns/struct_statistics_in_describe_domain_statistics_summary.go

@@ -0,0 +1,21 @@
+package alidns
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// StatisticsInDescribeDomainStatisticsSummary is a nested struct in alidns response
+type StatisticsInDescribeDomainStatisticsSummary struct {
+	Statistic []Statistic `json:"Statistic" xml:"Statistic"`
+}

+ 21 - 0
services/alidns/struct_statistics_in_describe_record_statistics_history.go

@@ -0,0 +1,21 @@
+package alidns
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// StatisticsInDescribeRecordStatisticsHistory is a nested struct in alidns response
+type StatisticsInDescribeRecordStatisticsHistory struct {
+	Statistic []Statistic `json:"Statistic" xml:"Statistic"`
+}

+ 21 - 0
services/alidns/struct_statistics_in_describe_record_statistics_summary.go

@@ -0,0 +1,21 @@
+package alidns
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// StatisticsInDescribeRecordStatisticsSummary is a nested struct in alidns response
+type StatisticsInDescribeRecordStatisticsSummary struct {
+	Statistic []Statistic `json:"Statistic" xml:"Statistic"`
+}

+ 1 - 1
services/alidns/struct_strategy.go

@@ -20,7 +20,7 @@ type Strategy struct {
 	StrategyId           string                             `json:"StrategyId" xml:"StrategyId"`
 	StrategyName         string                             `json:"StrategyName" xml:"StrategyName"`
 	CreateTime           string                             `json:"CreateTime" xml:"CreateTime"`
-	CreateTimestamp      int                                `json:"CreateTimestamp" xml:"CreateTimestamp"`
+	CreateTimestamp      int64                              `json:"CreateTimestamp" xml:"CreateTimestamp"`
 	DefaultAddrPoolId    string                             `json:"DefaultAddrPoolId" xml:"DefaultAddrPoolId"`
 	DefaultAddrPoolName  string                             `json:"DefaultAddrPoolName" xml:"DefaultAddrPoolName"`
 	FailoverAddrPoolId   string                             `json:"FailoverAddrPoolId" xml:"FailoverAddrPoolId"`

+ 1 - 1
services/alidns/update_dnsslb_weight.go

@@ -95,7 +95,7 @@ func CreateUpdateDNSSLBWeightRequest() (request *UpdateDNSSLBWeightRequest) {
 	request = &UpdateDNSSLBWeightRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateDNSSLBWeight", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateDNSSLBWeight", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/update_domain_group.go

@@ -95,7 +95,7 @@ func CreateUpdateDomainGroupRequest() (request *UpdateDomainGroupRequest) {
 	request = &UpdateDomainGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateDomainGroup", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateDomainGroup", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/update_domain_record.go

@@ -99,7 +99,7 @@ func CreateUpdateDomainRecordRequest() (request *UpdateDomainRecordRequest) {
 	request = &UpdateDomainRecordRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateDomainRecord", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateDomainRecord", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/update_gtm_access_strategy.go

@@ -96,7 +96,7 @@ func CreateUpdateGtmAccessStrategyRequest() (request *UpdateGtmAccessStrategyReq
 	request = &UpdateGtmAccessStrategyRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmAccessStrategy", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmAccessStrategy", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/update_gtm_address_pool.go

@@ -103,7 +103,7 @@ func CreateUpdateGtmAddressPoolRequest() (request *UpdateGtmAddressPoolRequest)
 	request = &UpdateGtmAddressPoolRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmAddressPool", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmAddressPool", "Alidns", "openAPI")
 	return
 }
 

+ 11 - 9
services/alidns/update_gtm_instance_global_config.go

@@ -76,14 +76,16 @@ func (client *Client) UpdateGtmInstanceGlobalConfigWithCallback(request *UpdateG
 // UpdateGtmInstanceGlobalConfigRequest is the request struct for api UpdateGtmInstanceGlobalConfig
 type UpdateGtmInstanceGlobalConfigRequest struct {
 	*requests.RpcRequest
-	AlertGroup     string           `position:"Query" name:"AlertGroup"`
-	InstanceId     string           `position:"Query" name:"InstanceId"`
-	InstanceName   string           `position:"Query" name:"InstanceName"`
-	UserDomainName string           `position:"Query" name:"UserDomainName"`
-	UserClientIp   string           `position:"Query" name:"UserClientIp"`
-	LbaStrategy    string           `position:"Query" name:"LbaStrategy"`
-	Lang           string           `position:"Query" name:"Lang"`
-	Ttl            requests.Integer `position:"Query" name:"Ttl"`
+	AlertGroup            string           `position:"Query" name:"AlertGroup"`
+	InstanceId            string           `position:"Query" name:"InstanceId"`
+	InstanceName          string           `position:"Query" name:"InstanceName"`
+	UserDomainName        string           `position:"Query" name:"UserDomainName"`
+	CnameMode             string           `position:"Query" name:"CnameMode"`
+	UserClientIp          string           `position:"Query" name:"UserClientIp"`
+	LbaStrategy           string           `position:"Query" name:"LbaStrategy"`
+	Lang                  string           `position:"Query" name:"Lang"`
+	Ttl                   requests.Integer `position:"Query" name:"Ttl"`
+	CnameCustomDomainName string           `position:"Query" name:"CnameCustomDomainName"`
 }
 
 // UpdateGtmInstanceGlobalConfigResponse is the response struct for api UpdateGtmInstanceGlobalConfig
@@ -97,7 +99,7 @@ func CreateUpdateGtmInstanceGlobalConfigRequest() (request *UpdateGtmInstanceGlo
 	request = &UpdateGtmInstanceGlobalConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmInstanceGlobalConfig", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmInstanceGlobalConfig", "Alidns", "openAPI")
 	return
 }
 

+ 1 - 1
services/alidns/update_gtm_monitor.go

@@ -105,7 +105,7 @@ func CreateUpdateGtmMonitorRequest() (request *UpdateGtmMonitorRequest) {
 	request = &UpdateGtmMonitorRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmMonitor", "alidns", "openAPI")
+	request.InitWithApiInfo("Alidns", "2015-01-09", "UpdateGtmMonitor", "Alidns", "openAPI")
 	return
 }