فهرست منبع

DCDN SDK Auto Released By xiaoyao,Version:1.31.3

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 سال پیش
والد
کامیت
0df85ee1bd
44فایلهای تغییر یافته به همراه907 افزوده شده و 82 حذف شده
  1. 3 0
      ChangeLog.txt
  2. 7 7
      services/dcdn/add_dcdn_domain.go
  3. 4 4
      services/dcdn/batch_delete_dcdn_domain_configs.go
  4. 4 4
      services/dcdn/delete_dcdn_domain.go
  5. 2 2
      services/dcdn/describe_dcdn_certificate_detail.go
  6. 2 2
      services/dcdn/describe_dcdn_certificate_list.go
  7. 10 1
      services/dcdn/describe_dcdn_domain_bps_data.go
  8. 105 0
      services/dcdn/describe_dcdn_domain_certificate_info.go
  9. 3 1
      services/dcdn/describe_dcdn_domain_cname.go
  10. 3 3
      services/dcdn/describe_dcdn_domain_configs.go
  11. 2 2
      services/dcdn/describe_dcdn_domain_detail.go
  12. 6 1
      services/dcdn/describe_dcdn_domain_hit_rate_data.go
  13. 8 1
      services/dcdn/describe_dcdn_domain_http_code_data.go
  14. 111 0
      services/dcdn/describe_dcdn_domain_isp_data.go
  15. 7 1
      services/dcdn/describe_dcdn_domain_log.go
  16. 8 1
      services/dcdn/describe_dcdn_domain_origin_bps_data.go
  17. 8 1
      services/dcdn/describe_dcdn_domain_origin_traffic_data.go
  18. 10 1
      services/dcdn/describe_dcdn_domain_qps_data.go
  19. 111 0
      services/dcdn/describe_dcdn_domain_region_data.go
  20. 10 1
      services/dcdn/describe_dcdn_domain_traffic_data.go
  21. 2 2
      services/dcdn/describe_dcdn_refresh_quota.go
  22. 9 9
      services/dcdn/describe_dcdn_refresh_tasks.go
  23. 12 9
      services/dcdn/describe_dcdn_service.go
  24. 111 0
      services/dcdn/describe_dcdn_top_domains_by_flow.go
  25. 6 6
      services/dcdn/describe_dcdn_user_domains.go
  26. 113 0
      services/dcdn/describe_dcdn_user_quota.go
  27. 2 2
      services/dcdn/describe_dcdn_user_resource_package.go
  28. 2 2
      services/dcdn/describe_user_dcdn_status.go
  29. 3 2
      services/dcdn/preload_dcdn_object_caches.go
  30. 2 2
      services/dcdn/refresh_dcdn_object_caches.go
  31. 6 6
      services/dcdn/set_dcdn_domain_certificate.go
  32. 2 2
      services/dcdn/start_dcdn_domain.go
  33. 2 2
      services/dcdn/stop_dcdn_domain.go
  34. 30 0
      services/dcdn/struct_cert_info.go
  35. 21 0
      services/dcdn/struct_cert_infos.go
  36. 31 0
      services/dcdn/struct_isp_proportion_data.go
  37. 31 0
      services/dcdn/struct_region_proportion_data.go
  38. 2 0
      services/dcdn/struct_resource_package_info.go
  39. 1 0
      services/dcdn/struct_source.go
  40. 27 0
      services/dcdn/struct_top_domain.go
  41. 21 0
      services/dcdn/struct_top_domains.go
  42. 21 0
      services/dcdn/struct_value_in_describe_dcdn_domain_isp_data.go
  43. 21 0
      services/dcdn/struct_value_in_describe_dcdn_domain_region_data.go
  44. 5 5
      services/dcdn/update_dcdn_domain.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-09-29 Version: 1.31.3
+1, Sync cdn api.
+
 2018-09-29 Version: 1.31.2
 1, This is an example of release-log.
 2, Please strictly follow this format to edit in English.

+ 7 - 7
services/dcdn/add_dcdn_domain.go

@@ -76,15 +76,15 @@ func (client *Client) AddDcdnDomainWithCallback(request *AddDcdnDomainRequest, c
 // AddDcdnDomainRequest is the request struct for api AddDcdnDomain
 type AddDcdnDomainRequest struct {
 	*requests.RpcRequest
-	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
-	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
-	SecurityToken   string           `position:"Query" name:"SecurityToken"`
-	DomainName      string           `position:"Query" name:"DomainName"`
+	TopLevelDomain  string           `position:"Query" name:"TopLevelDomain"`
 	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
 	Sources         string           `position:"Query" name:"Sources"`
-	CheckUrl        string           `position:"Query" name:"CheckUrl"`
+	SecurityToken   string           `position:"Query" name:"SecurityToken"`
+	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
 	Scope           string           `position:"Query" name:"Scope"`
-	TopLevelDomain  string           `position:"Query" name:"TopLevelDomain"`
+	DomainName      string           `position:"Query" name:"DomainName"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
+	CheckUrl        string           `position:"Query" name:"CheckUrl"`
 }
 
 // AddDcdnDomainResponse is the response struct for api AddDcdnDomain
@@ -98,7 +98,7 @@ func CreateAddDcdnDomainRequest() (request *AddDcdnDomainRequest) {
 	request = &AddDcdnDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "AddDcdnDomain", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "AddDcdnDomain", "", "")
 	return
 }
 

+ 4 - 4
services/dcdn/batch_delete_dcdn_domain_configs.go

@@ -76,11 +76,11 @@ func (client *Client) BatchDeleteDcdnDomainConfigsWithCallback(request *BatchDel
 // BatchDeleteDcdnDomainConfigsRequest is the request struct for api BatchDeleteDcdnDomainConfigs
 type BatchDeleteDcdnDomainConfigsRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
+	FunctionNames string           `position:"Query" name:"FunctionNames"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainNames   string           `position:"Query" name:"DomainNames"`
-	FunctionNames string           `position:"Query" name:"FunctionNames"`
+	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // BatchDeleteDcdnDomainConfigsResponse is the response struct for api BatchDeleteDcdnDomainConfigs
@@ -94,7 +94,7 @@ func CreateBatchDeleteDcdnDomainConfigsRequest() (request *BatchDeleteDcdnDomain
 	request = &BatchDeleteDcdnDomainConfigsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "BatchDeleteDcdnDomainConfigs", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "BatchDeleteDcdnDomainConfigs", "", "")
 	return
 }
 

+ 4 - 4
services/dcdn/delete_dcdn_domain.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteDcdnDomainWithCallback(request *DeleteDcdnDomainRequ
 // DeleteDcdnDomainRequest is the request struct for api DeleteDcdnDomain
 type DeleteDcdnDomainRequest struct {
 	*requests.RpcRequest
-	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
-	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
+	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
 	SecurityToken   string           `position:"Query" name:"SecurityToken"`
+	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
 	DomainName      string           `position:"Query" name:"DomainName"`
-	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteDcdnDomainResponse is the response struct for api DeleteDcdnDomain
@@ -94,7 +94,7 @@ func CreateDeleteDcdnDomainRequest() (request *DeleteDcdnDomainRequest) {
 	request = &DeleteDcdnDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DeleteDcdnDomain", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DeleteDcdnDomain", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/describe_dcdn_certificate_detail.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeDcdnCertificateDetailWithCallback(request *Describ
 // DescribeDcdnCertificateDetailRequest is the request struct for api DescribeDcdnCertificateDetail
 type DescribeDcdnCertificateDetailRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	CertName      string           `position:"Query" name:"CertName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnCertificateDetailResponse is the response struct for api DescribeDcdnCertificateDetail
@@ -96,7 +96,7 @@ func CreateDescribeDcdnCertificateDetailRequest() (request *DescribeDcdnCertific
 	request = &DescribeDcdnCertificateDetailRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnCertificateDetail", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnCertificateDetail", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/describe_dcdn_certificate_list.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeDcdnCertificateListWithCallback(request *DescribeD
 // DescribeDcdnCertificateListRequest is the request struct for api DescribeDcdnCertificateList
 type DescribeDcdnCertificateListRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnCertificateListResponse is the response struct for api DescribeDcdnCertificateList
@@ -93,7 +93,7 @@ func CreateDescribeDcdnCertificateListRequest() (request *DescribeDcdnCertificat
 	request = &DescribeDcdnCertificateListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnCertificateList", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnCertificateList", "", "")
 	return
 }
 

+ 10 - 1
services/dcdn/describe_dcdn_domain_bps_data.go

@@ -76,6 +76,15 @@ func (client *Client) DescribeDcdnDomainBpsDataWithCallback(request *DescribeDcd
 // DescribeDcdnDomainBpsDataRequest is the request struct for api DescribeDcdnDomainBpsData
 type DescribeDcdnDomainBpsDataRequest struct {
 	*requests.RpcRequest
+	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	IspNameEn      string           `position:"Query" name:"IspNameEn"`
+	FixTimeGap     string           `position:"Query" name:"FixTimeGap"`
+	TimeMerge      string           `position:"Query" name:"TimeMerge"`
+	DomainName     string           `position:"Query" name:"DomainName"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	Interval       string           `position:"Query" name:"Interval"`
 }
 
 // DescribeDcdnDomainBpsDataResponse is the response struct for api DescribeDcdnDomainBpsData
@@ -94,7 +103,7 @@ func CreateDescribeDcdnDomainBpsDataRequest() (request *DescribeDcdnDomainBpsDat
 	request = &DescribeDcdnDomainBpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainBpsData", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainBpsData", "", "")
 	return
 }
 

+ 105 - 0
services/dcdn/describe_dcdn_domain_certificate_info.go

@@ -0,0 +1,105 @@
+package dcdn
+
+//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"
+)
+
+// DescribeDcdnDomainCertificateInfo invokes the dcdn.DescribeDcdnDomainCertificateInfo API synchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomaincertificateinfo.html
+func (client *Client) DescribeDcdnDomainCertificateInfo(request *DescribeDcdnDomainCertificateInfoRequest) (response *DescribeDcdnDomainCertificateInfoResponse, err error) {
+	response = CreateDescribeDcdnDomainCertificateInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDcdnDomainCertificateInfoWithChan invokes the dcdn.DescribeDcdnDomainCertificateInfo API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomaincertificateinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnDomainCertificateInfoWithChan(request *DescribeDcdnDomainCertificateInfoRequest) (<-chan *DescribeDcdnDomainCertificateInfoResponse, <-chan error) {
+	responseChan := make(chan *DescribeDcdnDomainCertificateInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDcdnDomainCertificateInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDcdnDomainCertificateInfoWithCallback invokes the dcdn.DescribeDcdnDomainCertificateInfo API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomaincertificateinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnDomainCertificateInfoWithCallback(request *DescribeDcdnDomainCertificateInfoRequest, callback func(response *DescribeDcdnDomainCertificateInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDcdnDomainCertificateInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDcdnDomainCertificateInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDcdnDomainCertificateInfoRequest is the request struct for api DescribeDcdnDomainCertificateInfo
+type DescribeDcdnDomainCertificateInfoRequest struct {
+	*requests.RpcRequest
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeDcdnDomainCertificateInfoResponse is the response struct for api DescribeDcdnDomainCertificateInfo
+type DescribeDcdnDomainCertificateInfoResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	CertInfos CertInfos `json:"CertInfos" xml:"CertInfos"`
+}
+
+// CreateDescribeDcdnDomainCertificateInfoRequest creates a request to invoke DescribeDcdnDomainCertificateInfo API
+func CreateDescribeDcdnDomainCertificateInfoRequest() (request *DescribeDcdnDomainCertificateInfoRequest) {
+	request = &DescribeDcdnDomainCertificateInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainCertificateInfo", "", "")
+	return
+}
+
+// CreateDescribeDcdnDomainCertificateInfoResponse creates a response to parse from DescribeDcdnDomainCertificateInfo response
+func CreateDescribeDcdnDomainCertificateInfoResponse() (response *DescribeDcdnDomainCertificateInfoResponse) {
+	response = &DescribeDcdnDomainCertificateInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 1
services/dcdn/describe_dcdn_domain_cname.go

@@ -76,6 +76,8 @@ func (client *Client) DescribeDcdnDomainCnameWithCallback(request *DescribeDcdnD
 // DescribeDcdnDomainCnameRequest is the request struct for api DescribeDcdnDomainCname
 type DescribeDcdnDomainCnameRequest struct {
 	*requests.RpcRequest
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnDomainCnameResponse is the response struct for api DescribeDcdnDomainCname
@@ -90,7 +92,7 @@ func CreateDescribeDcdnDomainCnameRequest() (request *DescribeDcdnDomainCnameReq
 	request = &DescribeDcdnDomainCnameRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainCname", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainCname", "", "")
 	return
 }
 

+ 3 - 3
services/dcdn/describe_dcdn_domain_configs.go

@@ -76,10 +76,10 @@ func (client *Client) DescribeDcdnDomainConfigsWithCallback(request *DescribeDcd
 // DescribeDcdnDomainConfigsRequest is the request struct for api DescribeDcdnDomainConfigs
 type DescribeDcdnDomainConfigsRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	FunctionNames string           `position:"Query" name:"FunctionNames"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
-	FunctionNames string           `position:"Query" name:"FunctionNames"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnDomainConfigsResponse is the response struct for api DescribeDcdnDomainConfigs
@@ -94,7 +94,7 @@ func CreateDescribeDcdnDomainConfigsRequest() (request *DescribeDcdnDomainConfig
 	request = &DescribeDcdnDomainConfigsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainConfigs", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainConfigs", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/describe_dcdn_domain_detail.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeDcdnDomainDetailWithCallback(request *DescribeDcdn
 // DescribeDcdnDomainDetailRequest is the request struct for api DescribeDcdnDomainDetail
 type DescribeDcdnDomainDetailRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnDomainDetailResponse is the response struct for api DescribeDcdnDomainDetail
@@ -93,7 +93,7 @@ func CreateDescribeDcdnDomainDetailRequest() (request *DescribeDcdnDomainDetailR
 	request = &DescribeDcdnDomainDetailRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainDetail", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainDetail", "", "")
 	return
 }
 

+ 6 - 1
services/dcdn/describe_dcdn_domain_hit_rate_data.go

@@ -76,6 +76,11 @@ func (client *Client) DescribeDcdnDomainHitRateDataWithCallback(request *Describ
 // DescribeDcdnDomainHitRateDataRequest is the request struct for api DescribeDcdnDomainHitRateData
 type DescribeDcdnDomainHitRateDataRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Interval   string           `position:"Query" name:"Interval"`
 }
 
 // DescribeDcdnDomainHitRateDataResponse is the response struct for api DescribeDcdnDomainHitRateData
@@ -94,7 +99,7 @@ func CreateDescribeDcdnDomainHitRateDataRequest() (request *DescribeDcdnDomainHi
 	request = &DescribeDcdnDomainHitRateDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainHitRateData", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainHitRateData", "", "")
 	return
 }
 

+ 8 - 1
services/dcdn/describe_dcdn_domain_http_code_data.go

@@ -76,6 +76,13 @@ func (client *Client) DescribeDcdnDomainHttpCodeDataWithCallback(request *Descri
 // DescribeDcdnDomainHttpCodeDataRequest is the request struct for api DescribeDcdnDomainHttpCodeData
 type DescribeDcdnDomainHttpCodeDataRequest struct {
 	*requests.RpcRequest
+	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	IspNameEn      string           `position:"Query" name:"IspNameEn"`
+	DomainName     string           `position:"Query" name:"DomainName"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	Interval       string           `position:"Query" name:"Interval"`
 }
 
 // DescribeDcdnDomainHttpCodeDataResponse is the response struct for api DescribeDcdnDomainHttpCodeData
@@ -94,7 +101,7 @@ func CreateDescribeDcdnDomainHttpCodeDataRequest() (request *DescribeDcdnDomainH
 	request = &DescribeDcdnDomainHttpCodeDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainHttpCodeData", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainHttpCodeData", "", "")
 	return
 }
 

+ 111 - 0
services/dcdn/describe_dcdn_domain_isp_data.go

@@ -0,0 +1,111 @@
+package dcdn
+
+//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"
+)
+
+// DescribeDcdnDomainIspData invokes the dcdn.DescribeDcdnDomainIspData API synchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomainispdata.html
+func (client *Client) DescribeDcdnDomainIspData(request *DescribeDcdnDomainIspDataRequest) (response *DescribeDcdnDomainIspDataResponse, err error) {
+	response = CreateDescribeDcdnDomainIspDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDcdnDomainIspDataWithChan invokes the dcdn.DescribeDcdnDomainIspData API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomainispdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnDomainIspDataWithChan(request *DescribeDcdnDomainIspDataRequest) (<-chan *DescribeDcdnDomainIspDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeDcdnDomainIspDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDcdnDomainIspData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDcdnDomainIspDataWithCallback invokes the dcdn.DescribeDcdnDomainIspData API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomainispdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnDomainIspDataWithCallback(request *DescribeDcdnDomainIspDataRequest, callback func(response *DescribeDcdnDomainIspDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDcdnDomainIspDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDcdnDomainIspData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDcdnDomainIspDataRequest is the request struct for api DescribeDcdnDomainIspData
+type DescribeDcdnDomainIspDataRequest struct {
+	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeDcdnDomainIspDataResponse is the response struct for api DescribeDcdnDomainIspData
+type DescribeDcdnDomainIspDataResponse struct {
+	*responses.BaseResponse
+	RequestId    string                           `json:"RequestId" xml:"RequestId"`
+	DomainName   string                           `json:"DomainName" xml:"DomainName"`
+	DataInterval string                           `json:"DataInterval" xml:"DataInterval"`
+	StartTime    string                           `json:"StartTime" xml:"StartTime"`
+	EndTime      string                           `json:"EndTime" xml:"EndTime"`
+	Value        ValueInDescribeDcdnDomainIspData `json:"Value" xml:"Value"`
+}
+
+// CreateDescribeDcdnDomainIspDataRequest creates a request to invoke DescribeDcdnDomainIspData API
+func CreateDescribeDcdnDomainIspDataRequest() (request *DescribeDcdnDomainIspDataRequest) {
+	request = &DescribeDcdnDomainIspDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainIspData", "", "")
+	return
+}
+
+// CreateDescribeDcdnDomainIspDataResponse creates a response to parse from DescribeDcdnDomainIspData response
+func CreateDescribeDcdnDomainIspDataResponse() (response *DescribeDcdnDomainIspDataResponse) {
+	response = &DescribeDcdnDomainIspDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 7 - 1
services/dcdn/describe_dcdn_domain_log.go

@@ -76,6 +76,12 @@ func (client *Client) DescribeDcdnDomainLogWithCallback(request *DescribeDcdnDom
 // DescribeDcdnDomainLogRequest is the request struct for api DescribeDcdnDomainLog
 type DescribeDcdnDomainLogRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnDomainLogResponse is the response struct for api DescribeDcdnDomainLog
@@ -91,7 +97,7 @@ func CreateDescribeDcdnDomainLogRequest() (request *DescribeDcdnDomainLogRequest
 	request = &DescribeDcdnDomainLogRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainLog", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainLog", "", "")
 	return
 }
 

+ 8 - 1
services/dcdn/describe_dcdn_domain_origin_bps_data.go

@@ -76,6 +76,13 @@ func (client *Client) DescribeDcdnDomainOriginBpsDataWithCallback(request *Descr
 // DescribeDcdnDomainOriginBpsDataRequest is the request struct for api DescribeDcdnDomainOriginBpsData
 type DescribeDcdnDomainOriginBpsDataRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	FixTimeGap string           `position:"Query" name:"FixTimeGap"`
+	TimeMerge  string           `position:"Query" name:"TimeMerge"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Interval   string           `position:"Query" name:"Interval"`
 }
 
 // DescribeDcdnDomainOriginBpsDataResponse is the response struct for api DescribeDcdnDomainOriginBpsData
@@ -94,7 +101,7 @@ func CreateDescribeDcdnDomainOriginBpsDataRequest() (request *DescribeDcdnDomain
 	request = &DescribeDcdnDomainOriginBpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainOriginBpsData", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainOriginBpsData", "", "")
 	return
 }
 

+ 8 - 1
services/dcdn/describe_dcdn_domain_origin_traffic_data.go

@@ -76,6 +76,13 @@ func (client *Client) DescribeDcdnDomainOriginTrafficDataWithCallback(request *D
 // DescribeDcdnDomainOriginTrafficDataRequest is the request struct for api DescribeDcdnDomainOriginTrafficData
 type DescribeDcdnDomainOriginTrafficDataRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	FixTimeGap string           `position:"Query" name:"FixTimeGap"`
+	TimeMerge  string           `position:"Query" name:"TimeMerge"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Interval   string           `position:"Query" name:"Interval"`
 }
 
 // DescribeDcdnDomainOriginTrafficDataResponse is the response struct for api DescribeDcdnDomainOriginTrafficData
@@ -94,7 +101,7 @@ func CreateDescribeDcdnDomainOriginTrafficDataRequest() (request *DescribeDcdnDo
 	request = &DescribeDcdnDomainOriginTrafficDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainOriginTrafficData", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainOriginTrafficData", "", "")
 	return
 }
 

+ 10 - 1
services/dcdn/describe_dcdn_domain_qps_data.go

@@ -76,6 +76,15 @@ func (client *Client) DescribeDcdnDomainQpsDataWithCallback(request *DescribeDcd
 // DescribeDcdnDomainQpsDataRequest is the request struct for api DescribeDcdnDomainQpsData
 type DescribeDcdnDomainQpsDataRequest struct {
 	*requests.RpcRequest
+	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	IspNameEn      string           `position:"Query" name:"IspNameEn"`
+	FixTimeGap     string           `position:"Query" name:"FixTimeGap"`
+	TimeMerge      string           `position:"Query" name:"TimeMerge"`
+	DomainName     string           `position:"Query" name:"DomainName"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	Interval       string           `position:"Query" name:"Interval"`
 }
 
 // DescribeDcdnDomainQpsDataResponse is the response struct for api DescribeDcdnDomainQpsData
@@ -94,7 +103,7 @@ func CreateDescribeDcdnDomainQpsDataRequest() (request *DescribeDcdnDomainQpsDat
 	request = &DescribeDcdnDomainQpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainQpsData", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainQpsData", "", "")
 	return
 }
 

+ 111 - 0
services/dcdn/describe_dcdn_domain_region_data.go

@@ -0,0 +1,111 @@
+package dcdn
+
+//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"
+)
+
+// DescribeDcdnDomainRegionData invokes the dcdn.DescribeDcdnDomainRegionData API synchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomainregiondata.html
+func (client *Client) DescribeDcdnDomainRegionData(request *DescribeDcdnDomainRegionDataRequest) (response *DescribeDcdnDomainRegionDataResponse, err error) {
+	response = CreateDescribeDcdnDomainRegionDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDcdnDomainRegionDataWithChan invokes the dcdn.DescribeDcdnDomainRegionData API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomainregiondata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnDomainRegionDataWithChan(request *DescribeDcdnDomainRegionDataRequest) (<-chan *DescribeDcdnDomainRegionDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeDcdnDomainRegionDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDcdnDomainRegionData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDcdnDomainRegionDataWithCallback invokes the dcdn.DescribeDcdnDomainRegionData API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdndomainregiondata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnDomainRegionDataWithCallback(request *DescribeDcdnDomainRegionDataRequest, callback func(response *DescribeDcdnDomainRegionDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDcdnDomainRegionDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDcdnDomainRegionData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDcdnDomainRegionDataRequest is the request struct for api DescribeDcdnDomainRegionData
+type DescribeDcdnDomainRegionDataRequest struct {
+	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeDcdnDomainRegionDataResponse is the response struct for api DescribeDcdnDomainRegionData
+type DescribeDcdnDomainRegionDataResponse struct {
+	*responses.BaseResponse
+	RequestId    string                              `json:"RequestId" xml:"RequestId"`
+	DomainName   string                              `json:"DomainName" xml:"DomainName"`
+	DataInterval string                              `json:"DataInterval" xml:"DataInterval"`
+	StartTime    string                              `json:"StartTime" xml:"StartTime"`
+	EndTime      string                              `json:"EndTime" xml:"EndTime"`
+	Value        ValueInDescribeDcdnDomainRegionData `json:"Value" xml:"Value"`
+}
+
+// CreateDescribeDcdnDomainRegionDataRequest creates a request to invoke DescribeDcdnDomainRegionData API
+func CreateDescribeDcdnDomainRegionDataRequest() (request *DescribeDcdnDomainRegionDataRequest) {
+	request = &DescribeDcdnDomainRegionDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainRegionData", "", "")
+	return
+}
+
+// CreateDescribeDcdnDomainRegionDataResponse creates a response to parse from DescribeDcdnDomainRegionData response
+func CreateDescribeDcdnDomainRegionDataResponse() (response *DescribeDcdnDomainRegionDataResponse) {
+	response = &DescribeDcdnDomainRegionDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 10 - 1
services/dcdn/describe_dcdn_domain_traffic_data.go

@@ -76,6 +76,15 @@ func (client *Client) DescribeDcdnDomainTrafficDataWithCallback(request *Describ
 // DescribeDcdnDomainTrafficDataRequest is the request struct for api DescribeDcdnDomainTrafficData
 type DescribeDcdnDomainTrafficDataRequest struct {
 	*requests.RpcRequest
+	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	IspNameEn      string           `position:"Query" name:"IspNameEn"`
+	FixTimeGap     string           `position:"Query" name:"FixTimeGap"`
+	TimeMerge      string           `position:"Query" name:"TimeMerge"`
+	DomainName     string           `position:"Query" name:"DomainName"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	Interval       string           `position:"Query" name:"Interval"`
 }
 
 // DescribeDcdnDomainTrafficDataResponse is the response struct for api DescribeDcdnDomainTrafficData
@@ -94,7 +103,7 @@ func CreateDescribeDcdnDomainTrafficDataRequest() (request *DescribeDcdnDomainTr
 	request = &DescribeDcdnDomainTrafficDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainTrafficData", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnDomainTrafficData", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/describe_dcdn_refresh_quota.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeDcdnRefreshQuotaWithCallback(request *DescribeDcdn
 // DescribeDcdnRefreshQuotaRequest is the request struct for api DescribeDcdnRefreshQuota
 type DescribeDcdnRefreshQuotaRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnRefreshQuotaResponse is the response struct for api DescribeDcdnRefreshQuota
@@ -99,7 +99,7 @@ func CreateDescribeDcdnRefreshQuotaRequest() (request *DescribeDcdnRefreshQuotaR
 	request = &DescribeDcdnRefreshQuotaRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnRefreshQuota", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnRefreshQuota", "", "")
 	return
 }
 

+ 9 - 9
services/dcdn/describe_dcdn_refresh_tasks.go

@@ -76,18 +76,18 @@ func (client *Client) DescribeDcdnRefreshTasksWithCallback(request *DescribeDcdn
 // DescribeDcdnRefreshTasksRequest is the request struct for api DescribeDcdnRefreshTasks
 type DescribeDcdnRefreshTasksRequest struct {
 	*requests.RpcRequest
-	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
-	SecurityToken   string           `position:"Query" name:"SecurityToken"`
-	TaskId          string           `position:"Query" name:"TaskId"`
 	ObjectPath      string           `position:"Query" name:"ObjectPath"`
-	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
-	ObjectType      string           `position:"Query" name:"ObjectType"`
 	DomainName      string           `position:"Query" name:"DomainName"`
-	Status          string           `position:"Query" name:"Status"`
-	PageSize        requests.Integer `position:"Query" name:"PageSize"`
-	StartTime       string           `position:"Query" name:"StartTime"`
 	EndTime         string           `position:"Query" name:"EndTime"`
+	StartTime       string           `position:"Query" name:"StartTime"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
+	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
 	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
+	SecurityToken   string           `position:"Query" name:"SecurityToken"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	ObjectType      string           `position:"Query" name:"ObjectType"`
+	TaskId          string           `position:"Query" name:"TaskId"`
+	Status          string           `position:"Query" name:"Status"`
 }
 
 // DescribeDcdnRefreshTasksResponse is the response struct for api DescribeDcdnRefreshTasks
@@ -105,7 +105,7 @@ func CreateDescribeDcdnRefreshTasksRequest() (request *DescribeDcdnRefreshTasksR
 	request = &DescribeDcdnRefreshTasksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnRefreshTasks", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnRefreshTasks", "", "")
 	return
 }
 

+ 12 - 9
services/dcdn/describe_dcdn_service.go

@@ -76,20 +76,23 @@ func (client *Client) DescribeDcdnServiceWithCallback(request *DescribeDcdnServi
 // DescribeDcdnServiceRequest is the request struct for api DescribeDcdnService
 type DescribeDcdnServiceRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnServiceResponse is the response struct for api DescribeDcdnService
 type DescribeDcdnServiceResponse struct {
 	*responses.BaseResponse
-	RequestId          string         `json:"RequestId" xml:"RequestId"`
-	InstanceId         string         `json:"InstanceId" xml:"InstanceId"`
-	InternetChargeType string         `json:"InternetChargeType" xml:"InternetChargeType"`
-	OpeningTime        string         `json:"OpeningTime" xml:"OpeningTime"`
-	ChangingChargeType string         `json:"ChangingChargeType" xml:"ChangingChargeType"`
-	ChangingAffectTime string         `json:"ChangingAffectTime" xml:"ChangingAffectTime"`
-	OperationLocks     OperationLocks `json:"OperationLocks" xml:"OperationLocks"`
+	RequestId             string         `json:"RequestId" xml:"RequestId"`
+	InstanceId            string         `json:"InstanceId" xml:"InstanceId"`
+	InternetChargeType    string         `json:"InternetChargeType" xml:"InternetChargeType"`
+	OpeningTime           string         `json:"OpeningTime" xml:"OpeningTime"`
+	ChangingChargeType    string         `json:"ChangingChargeType" xml:"ChangingChargeType"`
+	ChangingAffectTime    string         `json:"ChangingAffectTime" xml:"ChangingAffectTime"`
+	WebsocketChangingType string         `json:"WebsocketChangingType" xml:"WebsocketChangingType"`
+	WebsocketType         string         `json:"WebsocketType" xml:"WebsocketType"`
+	WebsocketChangingTime string         `json:"WebsocketChangingTime" xml:"WebsocketChangingTime"`
+	OperationLocks        OperationLocks `json:"OperationLocks" xml:"OperationLocks"`
 }
 
 // CreateDescribeDcdnServiceRequest creates a request to invoke DescribeDcdnService API
@@ -97,7 +100,7 @@ func CreateDescribeDcdnServiceRequest() (request *DescribeDcdnServiceRequest) {
 	request = &DescribeDcdnServiceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnService", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnService", "", "")
 	return
 }
 

+ 111 - 0
services/dcdn/describe_dcdn_top_domains_by_flow.go

@@ -0,0 +1,111 @@
+package dcdn
+
+//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"
+)
+
+// DescribeDcdnTopDomainsByFlow invokes the dcdn.DescribeDcdnTopDomainsByFlow API synchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdntopdomainsbyflow.html
+func (client *Client) DescribeDcdnTopDomainsByFlow(request *DescribeDcdnTopDomainsByFlowRequest) (response *DescribeDcdnTopDomainsByFlowResponse, err error) {
+	response = CreateDescribeDcdnTopDomainsByFlowResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDcdnTopDomainsByFlowWithChan invokes the dcdn.DescribeDcdnTopDomainsByFlow API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdntopdomainsbyflow.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnTopDomainsByFlowWithChan(request *DescribeDcdnTopDomainsByFlowRequest) (<-chan *DescribeDcdnTopDomainsByFlowResponse, <-chan error) {
+	responseChan := make(chan *DescribeDcdnTopDomainsByFlowResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDcdnTopDomainsByFlow(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDcdnTopDomainsByFlowWithCallback invokes the dcdn.DescribeDcdnTopDomainsByFlow API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdntopdomainsbyflow.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnTopDomainsByFlowWithCallback(request *DescribeDcdnTopDomainsByFlowRequest, callback func(response *DescribeDcdnTopDomainsByFlowResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDcdnTopDomainsByFlowResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDcdnTopDomainsByFlow(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDcdnTopDomainsByFlowRequest is the request struct for api DescribeDcdnTopDomainsByFlow
+type DescribeDcdnTopDomainsByFlowRequest struct {
+	*requests.RpcRequest
+	StartTime string           `position:"Query" name:"StartTime"`
+	Limit     requests.Integer `position:"Query" name:"Limit"`
+	EndTime   string           `position:"Query" name:"EndTime"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeDcdnTopDomainsByFlowResponse is the response struct for api DescribeDcdnTopDomainsByFlow
+type DescribeDcdnTopDomainsByFlowResponse struct {
+	*responses.BaseResponse
+	RequestId         string     `json:"RequestId" xml:"RequestId"`
+	StartTime         string     `json:"StartTime" xml:"StartTime"`
+	EndTime           string     `json:"EndTime" xml:"EndTime"`
+	DomainCount       int        `json:"DomainCount" xml:"DomainCount"`
+	DomainOnlineCount int        `json:"DomainOnlineCount" xml:"DomainOnlineCount"`
+	TopDomains        TopDomains `json:"TopDomains" xml:"TopDomains"`
+}
+
+// CreateDescribeDcdnTopDomainsByFlowRequest creates a request to invoke DescribeDcdnTopDomainsByFlow API
+func CreateDescribeDcdnTopDomainsByFlowRequest() (request *DescribeDcdnTopDomainsByFlowRequest) {
+	request = &DescribeDcdnTopDomainsByFlowRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnTopDomainsByFlow", "", "")
+	return
+}
+
+// CreateDescribeDcdnTopDomainsByFlowResponse creates a response to parse from DescribeDcdnTopDomainsByFlow response
+func CreateDescribeDcdnTopDomainsByFlowResponse() (response *DescribeDcdnTopDomainsByFlowResponse) {
+	response = &DescribeDcdnTopDomainsByFlowResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 6 - 6
services/dcdn/describe_dcdn_user_domains.go

@@ -76,17 +76,17 @@ func (client *Client) DescribeDcdnUserDomainsWithCallback(request *DescribeDcdnU
 // DescribeDcdnUserDomainsRequest is the request struct for api DescribeDcdnUserDomains
 type DescribeDcdnUserDomainsRequest struct {
 	*requests.RpcRequest
+	FuncFilter       string           `position:"Query" name:"FuncFilter"`
+	DomainName       string           `position:"Query" name:"DomainName"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
-	SecurityToken    string           `position:"Query" name:"SecurityToken"`
-	PageSize         requests.Integer `position:"Query" name:"PageSize"`
+	FuncId           string           `position:"Query" name:"FuncId"`
 	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
-	DomainName       string           `position:"Query" name:"DomainName"`
 	DomainStatus     string           `position:"Query" name:"DomainStatus"`
 	DomainSearchType string           `position:"Query" name:"DomainSearchType"`
 	CheckDomainShow  requests.Boolean `position:"Query" name:"CheckDomainShow"`
 	ResourceGroupId  string           `position:"Query" name:"ResourceGroupId"`
-	FuncId           string           `position:"Query" name:"FuncId"`
-	FuncFilter       string           `position:"Query" name:"FuncFilter"`
+	SecurityToken    string           `position:"Query" name:"SecurityToken"`
+	PageSize         requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeDcdnUserDomainsResponse is the response struct for api DescribeDcdnUserDomains
@@ -105,7 +105,7 @@ func CreateDescribeDcdnUserDomainsRequest() (request *DescribeDcdnUserDomainsReq
 	request = &DescribeDcdnUserDomainsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnUserDomains", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnUserDomains", "", "")
 	return
 }
 

+ 113 - 0
services/dcdn/describe_dcdn_user_quota.go

@@ -0,0 +1,113 @@
+package dcdn
+
+//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"
+)
+
+// DescribeDcdnUserQuota invokes the dcdn.DescribeDcdnUserQuota API synchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdnuserquota.html
+func (client *Client) DescribeDcdnUserQuota(request *DescribeDcdnUserQuotaRequest) (response *DescribeDcdnUserQuotaResponse, err error) {
+	response = CreateDescribeDcdnUserQuotaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDcdnUserQuotaWithChan invokes the dcdn.DescribeDcdnUserQuota API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdnuserquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnUserQuotaWithChan(request *DescribeDcdnUserQuotaRequest) (<-chan *DescribeDcdnUserQuotaResponse, <-chan error) {
+	responseChan := make(chan *DescribeDcdnUserQuotaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDcdnUserQuota(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDcdnUserQuotaWithCallback invokes the dcdn.DescribeDcdnUserQuota API asynchronously
+// api document: https://help.aliyun.com/api/dcdn/describedcdnuserquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDcdnUserQuotaWithCallback(request *DescribeDcdnUserQuotaRequest, callback func(response *DescribeDcdnUserQuotaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDcdnUserQuotaResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDcdnUserQuota(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDcdnUserQuotaRequest is the request struct for api DescribeDcdnUserQuota
+type DescribeDcdnUserQuotaRequest struct {
+	*requests.RpcRequest
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeDcdnUserQuotaResponse is the response struct for api DescribeDcdnUserQuota
+type DescribeDcdnUserQuotaResponse struct {
+	*responses.BaseResponse
+	RequestId        string `json:"RequestId" xml:"RequestId"`
+	DomainQuota      int    `json:"DomainQuota" xml:"DomainQuota"`
+	RefreshUrlQuota  int    `json:"RefreshUrlQuota" xml:"RefreshUrlQuota"`
+	RefreshDirQuota  int    `json:"RefreshDirQuota" xml:"RefreshDirQuota"`
+	RefreshUrlRemain int    `json:"RefreshUrlRemain" xml:"RefreshUrlRemain"`
+	RefreshDirRemain int    `json:"RefreshDirRemain" xml:"RefreshDirRemain"`
+	PreloadQuota     int    `json:"PreloadQuota" xml:"PreloadQuota"`
+	PreloadRemain    int    `json:"PreloadRemain" xml:"PreloadRemain"`
+	BlockQuota       int    `json:"BlockQuota" xml:"BlockQuota"`
+	BlockRemain      int    `json:"BlockRemain" xml:"BlockRemain"`
+}
+
+// CreateDescribeDcdnUserQuotaRequest creates a request to invoke DescribeDcdnUserQuota API
+func CreateDescribeDcdnUserQuotaRequest() (request *DescribeDcdnUserQuotaRequest) {
+	request = &DescribeDcdnUserQuotaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnUserQuota", "", "")
+	return
+}
+
+// CreateDescribeDcdnUserQuotaResponse creates a response to parse from DescribeDcdnUserQuota response
+func CreateDescribeDcdnUserQuotaResponse() (response *DescribeDcdnUserQuotaResponse) {
+	response = &DescribeDcdnUserQuotaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/dcdn/describe_dcdn_user_resource_package.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeDcdnUserResourcePackageWithCallback(request *Descr
 // DescribeDcdnUserResourcePackageRequest is the request struct for api DescribeDcdnUserResourcePackage
 type DescribeDcdnUserResourcePackageRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDcdnUserResourcePackageResponse is the response struct for api DescribeDcdnUserResourcePackage
@@ -92,7 +92,7 @@ func CreateDescribeDcdnUserResourcePackageRequest() (request *DescribeDcdnUserRe
 	request = &DescribeDcdnUserResourcePackageRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnUserResourcePackage", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeDcdnUserResourcePackage", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/describe_user_dcdn_status.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeUserDcdnStatusWithCallback(request *DescribeUserDc
 // DescribeUserDcdnStatusRequest is the request struct for api DescribeUserDcdnStatus
 type DescribeUserDcdnStatusRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeUserDcdnStatusResponse is the response struct for api DescribeUserDcdnStatus
@@ -95,7 +95,7 @@ func CreateDescribeUserDcdnStatusRequest() (request *DescribeUserDcdnStatusReque
 	request = &DescribeUserDcdnStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeUserDcdnStatus", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "DescribeUserDcdnStatus", "", "")
 	return
 }
 

+ 3 - 2
services/dcdn/preload_dcdn_object_caches.go

@@ -76,9 +76,10 @@ func (client *Client) PreloadDcdnObjectCachesWithCallback(request *PreloadDcdnOb
 // PreloadDcdnObjectCachesRequest is the request struct for api PreloadDcdnObjectCaches
 type PreloadDcdnObjectCachesRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	Area          string           `position:"Query" name:"Area"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	ObjectPath    string           `position:"Query" name:"ObjectPath"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // PreloadDcdnObjectCachesResponse is the response struct for api PreloadDcdnObjectCaches
@@ -93,7 +94,7 @@ func CreatePreloadDcdnObjectCachesRequest() (request *PreloadDcdnObjectCachesReq
 	request = &PreloadDcdnObjectCachesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "PreloadDcdnObjectCaches", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "PreloadDcdnObjectCaches", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/refresh_dcdn_object_caches.go

@@ -76,9 +76,9 @@ func (client *Client) RefreshDcdnObjectCachesWithCallback(request *RefreshDcdnOb
 // RefreshDcdnObjectCachesRequest is the request struct for api RefreshDcdnObjectCaches
 type RefreshDcdnObjectCachesRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	ObjectPath    string           `position:"Query" name:"ObjectPath"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	ObjectType    string           `position:"Query" name:"ObjectType"`
 }
 
@@ -94,7 +94,7 @@ func CreateRefreshDcdnObjectCachesRequest() (request *RefreshDcdnObjectCachesReq
 	request = &RefreshDcdnObjectCachesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "RefreshDcdnObjectCaches", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "RefreshDcdnObjectCaches", "", "")
 	return
 }
 

+ 6 - 6
services/dcdn/set_dcdn_domain_certificate.go

@@ -76,15 +76,15 @@ func (client *Client) SetDcdnDomainCertificateWithCallback(request *SetDcdnDomai
 // SetDcdnDomainCertificateRequest is the request struct for api SetDcdnDomainCertificate
 type SetDcdnDomainCertificateRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	CertName      string           `position:"Query" name:"CertName"`
 	CertType      string           `position:"Query" name:"CertType"`
-	SSLProtocol   string           `position:"Query" name:"SSLProtocol"`
 	SSLPub        string           `position:"Query" name:"SSLPub"`
-	SSLPri        string           `position:"Query" name:"SSLPri"`
+	CertName      string           `position:"Query" name:"CertName"`
+	SSLProtocol   string           `position:"Query" name:"SSLProtocol"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	Region        string           `position:"Query" name:"Region"`
+	SSLPri        string           `position:"Query" name:"SSLPri"`
 }
 
 // SetDcdnDomainCertificateResponse is the response struct for api SetDcdnDomainCertificate
@@ -98,7 +98,7 @@ func CreateSetDcdnDomainCertificateRequest() (request *SetDcdnDomainCertificateR
 	request = &SetDcdnDomainCertificateRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "SetDcdnDomainCertificate", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "SetDcdnDomainCertificate", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/start_dcdn_domain.go

@@ -76,9 +76,9 @@ func (client *Client) StartDcdnDomainWithCallback(request *StartDcdnDomainReques
 // StartDcdnDomainRequest is the request struct for api StartDcdnDomain
 type StartDcdnDomainRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // StartDcdnDomainResponse is the response struct for api StartDcdnDomain
@@ -92,7 +92,7 @@ func CreateStartDcdnDomainRequest() (request *StartDcdnDomainRequest) {
 	request = &StartDcdnDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "StartDcdnDomain", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "StartDcdnDomain", "", "")
 	return
 }
 

+ 2 - 2
services/dcdn/stop_dcdn_domain.go

@@ -76,9 +76,9 @@ func (client *Client) StopDcdnDomainWithCallback(request *StopDcdnDomainRequest,
 // StopDcdnDomainRequest is the request struct for api StopDcdnDomain
 type StopDcdnDomainRequest struct {
 	*requests.RpcRequest
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // StopDcdnDomainResponse is the response struct for api StopDcdnDomain
@@ -92,7 +92,7 @@ func CreateStopDcdnDomainRequest() (request *StopDcdnDomainRequest) {
 	request = &StopDcdnDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "StopDcdnDomain", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "StopDcdnDomain", "", "")
 	return
 }
 

+ 30 - 0
services/dcdn/struct_cert_info.go

@@ -0,0 +1,30 @@
+package dcdn
+
+//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.
+
+// CertInfo is a nested struct in dcdn response
+type CertInfo struct {
+	DomainName     string `json:"DomainName" xml:"DomainName"`
+	CertName       string `json:"CertName" xml:"CertName"`
+	CertDomainName string `json:"CertDomainName" xml:"CertDomainName"`
+	CertExpireTime string `json:"CertExpireTime" xml:"CertExpireTime"`
+	CertLife       string `json:"CertLife" xml:"CertLife"`
+	CertOrg        string `json:"CertOrg" xml:"CertOrg"`
+	CertType       string `json:"CertType" xml:"CertType"`
+	SSLProtocol    string `json:"SSLProtocol" xml:"SSLProtocol"`
+	Status         string `json:"Status" xml:"Status"`
+	SSLPub         string `json:"SSLPub" xml:"SSLPub"`
+}

+ 21 - 0
services/dcdn/struct_cert_infos.go

@@ -0,0 +1,21 @@
+package dcdn
+
+//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.
+
+// CertInfos is a nested struct in dcdn response
+type CertInfos struct {
+	CertInfo []CertInfo `json:"CertInfo" xml:"CertInfo"`
+}

+ 31 - 0
services/dcdn/struct_isp_proportion_data.go

@@ -0,0 +1,31 @@
+package dcdn
+
+//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.
+
+// IspProportionData is a nested struct in dcdn response
+type IspProportionData struct {
+	Isp             string `json:"Isp" xml:"Isp"`
+	Proportion      string `json:"Proportion" xml:"Proportion"`
+	IspEname        string `json:"IspEname" xml:"IspEname"`
+	AvgObjectSize   string `json:"AvgObjectSize" xml:"AvgObjectSize"`
+	AvgResponseTime string `json:"AvgResponseTime" xml:"AvgResponseTime"`
+	Bps             string `json:"Bps" xml:"Bps"`
+	Qps             string `json:"Qps" xml:"Qps"`
+	AvgResponseRate string `json:"AvgResponseRate" xml:"AvgResponseRate"`
+	TotalBytes      string `json:"TotalBytes" xml:"TotalBytes"`
+	BytesProportion string `json:"BytesProportion" xml:"BytesProportion"`
+	TotalQuery      string `json:"TotalQuery" xml:"TotalQuery"`
+}

+ 31 - 0
services/dcdn/struct_region_proportion_data.go

@@ -0,0 +1,31 @@
+package dcdn
+
+//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.
+
+// RegionProportionData is a nested struct in dcdn response
+type RegionProportionData struct {
+	Region          string `json:"Region" xml:"Region"`
+	Proportion      string `json:"Proportion" xml:"Proportion"`
+	RegionEname     string `json:"RegionEname" xml:"RegionEname"`
+	AvgObjectSize   string `json:"AvgObjectSize" xml:"AvgObjectSize"`
+	AvgResponseTime string `json:"AvgResponseTime" xml:"AvgResponseTime"`
+	Bps             string `json:"Bps" xml:"Bps"`
+	Qps             string `json:"Qps" xml:"Qps"`
+	AvgResponseRate string `json:"AvgResponseRate" xml:"AvgResponseRate"`
+	TotalBytes      string `json:"TotalBytes" xml:"TotalBytes"`
+	BytesProportion string `json:"BytesProportion" xml:"BytesProportion"`
+	TotalQuery      string `json:"TotalQuery" xml:"TotalQuery"`
+}

+ 2 - 0
services/dcdn/struct_resource_package_info.go

@@ -23,4 +23,6 @@ type ResourcePackageInfo struct {
 	DisplayName   string `json:"DisplayName" xml:"DisplayName"`
 	InstanceId    string `json:"InstanceId" xml:"InstanceId"`
 	Status        string `json:"Status" xml:"Status"`
+	StartTime     string `json:"StartTime" xml:"StartTime"`
+	EndTime       string `json:"EndTime" xml:"EndTime"`
 }

+ 1 - 0
services/dcdn/struct_source.go

@@ -21,5 +21,6 @@ type Source struct {
 	Content  string `json:"Content" xml:"Content"`
 	Enabled  string `json:"Enabled" xml:"Enabled"`
 	Priority string `json:"Priority" xml:"Priority"`
+	Weight   string `json:"Weight" xml:"Weight"`
 	Type     string `json:"Type" xml:"Type"`
 }

+ 27 - 0
services/dcdn/struct_top_domain.go

@@ -0,0 +1,27 @@
+package dcdn
+
+//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.
+
+// TopDomain is a nested struct in dcdn response
+type TopDomain struct {
+	DomainName     string `json:"DomainName" xml:"DomainName"`
+	Rank           int    `json:"Rank" xml:"Rank"`
+	TotalTraffic   string `json:"TotalTraffic" xml:"TotalTraffic"`
+	TrafficPercent string `json:"TrafficPercent" xml:"TrafficPercent"`
+	MaxBps         int    `json:"MaxBps" xml:"MaxBps"`
+	MaxBpsTime     string `json:"MaxBpsTime" xml:"MaxBpsTime"`
+	TotalAccess    int    `json:"TotalAccess" xml:"TotalAccess"`
+}

+ 21 - 0
services/dcdn/struct_top_domains.go

@@ -0,0 +1,21 @@
+package dcdn
+
+//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.
+
+// TopDomains is a nested struct in dcdn response
+type TopDomains struct {
+	TopDomain []TopDomain `json:"TopDomain" xml:"TopDomain"`
+}

+ 21 - 0
services/dcdn/struct_value_in_describe_dcdn_domain_isp_data.go

@@ -0,0 +1,21 @@
+package dcdn
+
+//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.
+
+// ValueInDescribeDcdnDomainIspData is a nested struct in dcdn response
+type ValueInDescribeDcdnDomainIspData struct {
+	IspProportionData []IspProportionData `json:"IspProportionData" xml:"IspProportionData"`
+}

+ 21 - 0
services/dcdn/struct_value_in_describe_dcdn_domain_region_data.go

@@ -0,0 +1,21 @@
+package dcdn
+
+//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.
+
+// ValueInDescribeDcdnDomainRegionData is a nested struct in dcdn response
+type ValueInDescribeDcdnDomainRegionData struct {
+	RegionProportionData []RegionProportionData `json:"RegionProportionData" xml:"RegionProportionData"`
+}

+ 5 - 5
services/dcdn/update_dcdn_domain.go

@@ -76,12 +76,12 @@ func (client *Client) UpdateDcdnDomainWithCallback(request *UpdateDcdnDomainRequ
 // UpdateDcdnDomainRequest is the request struct for api UpdateDcdnDomain
 type UpdateDcdnDomainRequest struct {
 	*requests.RpcRequest
-	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
+	TopLevelDomain  string           `position:"Query" name:"TopLevelDomain"`
+	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
+	Sources         string           `position:"Query" name:"Sources"`
 	SecurityToken   string           `position:"Query" name:"SecurityToken"`
 	DomainName      string           `position:"Query" name:"DomainName"`
-	Sources         string           `position:"Query" name:"Sources"`
-	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
-	TopLevelDomain  string           `position:"Query" name:"TopLevelDomain"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // UpdateDcdnDomainResponse is the response struct for api UpdateDcdnDomain
@@ -95,7 +95,7 @@ func CreateUpdateDcdnDomainRequest() (request *UpdateDcdnDomainRequest) {
 	request = &UpdateDcdnDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dcdn", "2018-01-15", "UpdateDcdnDomain", "dcdn", "openAPI")
+	request.InitWithApiInfo("dcdn", "2018-01-15", "UpdateDcdnDomain", "", "")
 	return
 }