Browse Source

CDN SDK Auto Released By xiaoyao,Version:1.31.4

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 years ago
parent
commit
9669db6328
100 changed files with 1440 additions and 4081 deletions
  1. 5 0
      ChangeLog.txt
  2. 5 9
      services/cdn/add_cdn_domain.go
  3. 1 1
      services/cdn/add_fc_trigger.go
  4. 0 109
      services/cdn/add_live_app_record_config.go
  5. 0 111
      services/cdn/add_live_app_snapshot_config.go
  6. 0 106
      services/cdn/add_live_domain_mapping.go
  7. 0 110
      services/cdn/add_live_stream_transcode.go
  8. 112 0
      services/cdn/batch_add_cdn_domain.go
  9. 107 0
      services/cdn/batch_delete_cdn_domain_config.go
  10. 108 0
      services/cdn/batch_update_cdn_domain.go
  11. 0 113
      services/cdn/create_live_stream_record_index_files.go
  12. 112 0
      services/cdn/create_usage_detail_data_export_task.go
  13. 110 0
      services/cdn/create_user_usage_data_export_task.go
  14. 0 107
      services/cdn/delete_cache_expired_config.go
  15. 2 1
      services/cdn/delete_cdn_domain.go
  16. 1 1
      services/cdn/delete_fc_trigger.go
  17. 0 106
      services/cdn/delete_http_header_config.go
  18. 0 106
      services/cdn/delete_live_app_record_config.go
  19. 0 106
      services/cdn/delete_live_app_snapshot_config.go
  20. 0 106
      services/cdn/delete_live_domain_mapping.go
  21. 0 108
      services/cdn/delete_live_stream_transcode.go
  22. 109 0
      services/cdn/describe_cdn_certificate_detail.go
  23. 106 0
      services/cdn/describe_cdn_certificate_list.go
  24. 3 3
      services/cdn/describe_cdn_domain_configs.go
  25. 1 1
      services/cdn/describe_cdn_domain_detail.go
  26. 9 14
      services/cdn/describe_cdn_domain_logs.go
  27. 0 113
      services/cdn/describe_cdn_monitor_data.go
  28. 1 1
      services/cdn/describe_cdn_region_and_isp.go
  29. 1 1
      services/cdn/describe_cdn_service.go
  30. 1 1
      services/cdn/describe_cdn_user_quota.go
  31. 105 0
      services/cdn/describe_cdn_user_resource_package.go
  32. 1 1
      services/cdn/describe_custom_log_config.go
  33. 1 1
      services/cdn/describe_domain_average_response_time.go
  34. 4 11
      services/cdn/describe_domain_bps_data.go
  35. 1 1
      services/cdn/describe_domain_bps_data_by_time_stamp.go
  36. 0 112
      services/cdn/describe_domain_cc_data.go
  37. 1 1
      services/cdn/describe_domain_certificate_info.go
  38. 1 1
      services/cdn/describe_domain_cname.go
  39. 0 107
      services/cdn/describe_domain_configs.go
  40. 1 1
      services/cdn/describe_domain_custom_log_config.go
  41. 0 108
      services/cdn/describe_domain_downstream_bps_of_edge.go
  42. 1 1
      services/cdn/describe_domain_file_size_proportion_data.go
  43. 0 118
      services/cdn/describe_domain_flow_data.go
  44. 5 7
      services/cdn/describe_domain_hit_rate_data.go
  45. 12 16
      services/cdn/describe_domain_http_code_data.go
  46. 1 1
      services/cdn/describe_domain_isp_data.go
  47. 5 6
      services/cdn/describe_domain_max95_bps_data.go
  48. 1 2
      services/cdn/describe_domain_path_data.go
  49. 1 1
      services/cdn/describe_domain_pv_data.go
  50. 4 8
      services/cdn/describe_domain_qps_data.go
  51. 1 1
      services/cdn/describe_domain_real_time_bps_data.go
  52. 1 1
      services/cdn/describe_domain_real_time_byte_hit_rate_data.go
  53. 1 1
      services/cdn/describe_domain_real_time_http_code_data.go
  54. 1 1
      services/cdn/describe_domain_real_time_qps_data.go
  55. 1 1
      services/cdn/describe_domain_real_time_req_hit_rate_data.go
  56. 1 1
      services/cdn/describe_domain_real_time_src_bps_data.go
  57. 1 1
      services/cdn/describe_domain_real_time_src_traffic_data.go
  58. 5 6
      services/cdn/describe_domain_region_data.go
  59. 6 7
      services/cdn/describe_domain_req_hit_rate_data.go
  60. 1 1
      services/cdn/describe_domain_slow_ratio.go
  61. 1 3
      services/cdn/describe_domain_src_bps_data.go
  62. 0 114
      services/cdn/describe_domain_src_flow_data.go
  63. 112 0
      services/cdn/describe_domain_src_http_code_data.go
  64. 112 0
      services/cdn/describe_domain_src_traffic_data.go
  65. 1 1
      services/cdn/describe_domain_top_refer_visit.go
  66. 1 1
      services/cdn/describe_domain_top_url_visit.go
  67. 114 0
      services/cdn/describe_domain_traffic_data.go
  68. 117 0
      services/cdn/describe_domain_usage_data.go
  69. 1 1
      services/cdn/describe_domain_uv_data.go
  70. 1 1
      services/cdn/describe_domains_by_source.go
  71. 5 6
      services/cdn/describe_domains_usage_by_day.go
  72. 1 1
      services/cdn/describe_fc_trigger.go
  73. 1 1
      services/cdn/describe_ip_info.go
  74. 4 4
      services/cdn/describe_l2_vips_by_domain.go
  75. 0 106
      services/cdn/describe_l2_vips_by_dynamic_domain.go
  76. 0 106
      services/cdn/describe_live_pull_stream_config.go
  77. 0 106
      services/cdn/describe_live_record_config.go
  78. 0 116
      services/cdn/describe_live_snapshot_config.go
  79. 0 110
      services/cdn/describe_live_stream_bit_rate_data.go
  80. 0 106
      services/cdn/describe_live_stream_domain_app_info.go
  81. 0 112
      services/cdn/describe_live_stream_online_user_num.go
  82. 0 110
      services/cdn/describe_live_stream_record_content.go
  83. 0 109
      services/cdn/describe_live_stream_record_index_file.go
  84. 0 110
      services/cdn/describe_live_stream_record_index_files.go
  85. 0 112
      services/cdn/describe_live_stream_snapshot_info.go
  86. 0 106
      services/cdn/describe_live_stream_transcode_info.go
  87. 0 107
      services/cdn/describe_live_streams_block_list.go
  88. 0 109
      services/cdn/describe_live_streams_control_history.go
  89. 0 110
      services/cdn/describe_live_streams_frame_rate_and_bit_rate_data.go
  90. 0 114
      services/cdn/describe_live_streams_online_list.go
  91. 0 112
      services/cdn/describe_live_streams_publish_list.go
  92. 0 109
      services/cdn/describe_one_minute_data.go
  93. 1 1
      services/cdn/describe_range_data_by_locate_and_isp_service.go
  94. 1 1
      services/cdn/describe_refresh_quota.go
  95. 1 1
      services/cdn/describe_refresh_tasks.go
  96. 5 6
      services/cdn/describe_top_domains_by_flow.go
  97. 1 1
      services/cdn/describe_user_configs.go
  98. 1 1
      services/cdn/describe_user_custom_log_config.go
  99. 0 106
      services/cdn/describe_user_customer_labels.go
  100. 1 2
      services/cdn/describe_user_domains.go

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2018-09-30 Version: 1.31.4
+1, This is an example of release-log.
+2, Please strictly follow this format to edit in English.
+3, Format:Number + , + Space + Description
+
 2018-09-29 Version: 1.31.3
 1, Sync cdn api.
 

+ 5 - 9
services/cdn/add_cdn_domain.go

@@ -77,19 +77,15 @@ func (client *Client) AddCdnDomainWithCallback(request *AddCdnDomainRequest, cal
 type AddCdnDomainRequest struct {
 	*requests.RpcRequest
 	TopLevelDomain  string           `position:"Query" name:"TopLevelDomain"`
-	Sources         string           `position:"Query" name:"Sources"`
-	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
-	DomainName      string           `position:"Query" name:"DomainName"`
-	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
 	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
-	SourcePort      requests.Integer `position:"Query" name:"SourcePort"`
-	Priorities      string           `position:"Query" name:"Priorities"`
+	Sources         string           `position:"Query" name:"Sources"`
 	SecurityToken   string           `position:"Query" name:"SecurityToken"`
 	CdnType         string           `position:"Query" name:"CdnType"`
+	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
 	Scope           string           `position:"Query" name:"Scope"`
-	SourceType      string           `position:"Query" name:"SourceType"`
+	DomainName      string           `position:"Query" name:"DomainName"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
 	CheckUrl        string           `position:"Query" name:"CheckUrl"`
-	Region          string           `position:"Query" name:"Region"`
 }
 
 // AddCdnDomainResponse is the response struct for api AddCdnDomain
@@ -103,7 +99,7 @@ func CreateAddCdnDomainRequest() (request *AddCdnDomainRequest) {
 	request = &AddCdnDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "AddCdnDomain", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "AddCdnDomain", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/add_fc_trigger.go

@@ -96,7 +96,7 @@ func CreateAddFCTriggerRequest() (request *AddFCTriggerRequest) {
 	request = &AddFCTriggerRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "AddFCTrigger", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "AddFCTrigger", "", "")
 	return
 }
 

+ 0 - 109
services/cdn/add_live_app_record_config.go

@@ -1,109 +0,0 @@
-package cdn
-
-//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"
-)
-
-// AddLiveAppRecordConfig invokes the cdn.AddLiveAppRecordConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/addliveapprecordconfig.html
-func (client *Client) AddLiveAppRecordConfig(request *AddLiveAppRecordConfigRequest) (response *AddLiveAppRecordConfigResponse, err error) {
-	response = CreateAddLiveAppRecordConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddLiveAppRecordConfigWithChan invokes the cdn.AddLiveAppRecordConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addliveapprecordconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveAppRecordConfigWithChan(request *AddLiveAppRecordConfigRequest) (<-chan *AddLiveAppRecordConfigResponse, <-chan error) {
-	responseChan := make(chan *AddLiveAppRecordConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddLiveAppRecordConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddLiveAppRecordConfigWithCallback invokes the cdn.AddLiveAppRecordConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addliveapprecordconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveAppRecordConfigWithCallback(request *AddLiveAppRecordConfigRequest, callback func(response *AddLiveAppRecordConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddLiveAppRecordConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.AddLiveAppRecordConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddLiveAppRecordConfigRequest is the request struct for api AddLiveAppRecordConfig
-type AddLiveAppRecordConfigRequest struct {
-	*requests.RpcRequest
-	OssBucket       string           `position:"Query" name:"OssBucket"`
-	AppName         string           `position:"Query" name:"AppName"`
-	SecurityToken   string           `position:"Query" name:"SecurityToken"`
-	DomainName      string           `position:"Query" name:"DomainName"`
-	OssEndpoint     string           `position:"Query" name:"OssEndpoint"`
-	OssObjectPrefix string           `position:"Query" name:"OssObjectPrefix"`
-	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// AddLiveAppRecordConfigResponse is the response struct for api AddLiveAppRecordConfig
-type AddLiveAppRecordConfigResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAddLiveAppRecordConfigRequest creates a request to invoke AddLiveAppRecordConfig API
-func CreateAddLiveAppRecordConfigRequest() (request *AddLiveAppRecordConfigRequest) {
-	request = &AddLiveAppRecordConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "AddLiveAppRecordConfig", "", "")
-	return
-}
-
-// CreateAddLiveAppRecordConfigResponse creates a response to parse from AddLiveAppRecordConfig response
-func CreateAddLiveAppRecordConfigResponse() (response *AddLiveAppRecordConfigResponse) {
-	response = &AddLiveAppRecordConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/cdn/add_live_app_snapshot_config.go

@@ -1,111 +0,0 @@
-package cdn
-
-//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"
-)
-
-// AddLiveAppSnapshotConfig invokes the cdn.AddLiveAppSnapshotConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/addliveappsnapshotconfig.html
-func (client *Client) AddLiveAppSnapshotConfig(request *AddLiveAppSnapshotConfigRequest) (response *AddLiveAppSnapshotConfigResponse, err error) {
-	response = CreateAddLiveAppSnapshotConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddLiveAppSnapshotConfigWithChan invokes the cdn.AddLiveAppSnapshotConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addliveappsnapshotconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveAppSnapshotConfigWithChan(request *AddLiveAppSnapshotConfigRequest) (<-chan *AddLiveAppSnapshotConfigResponse, <-chan error) {
-	responseChan := make(chan *AddLiveAppSnapshotConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddLiveAppSnapshotConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddLiveAppSnapshotConfigWithCallback invokes the cdn.AddLiveAppSnapshotConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addliveappsnapshotconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveAppSnapshotConfigWithCallback(request *AddLiveAppSnapshotConfigRequest, callback func(response *AddLiveAppSnapshotConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddLiveAppSnapshotConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.AddLiveAppSnapshotConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddLiveAppSnapshotConfigRequest is the request struct for api AddLiveAppSnapshotConfig
-type AddLiveAppSnapshotConfigRequest struct {
-	*requests.RpcRequest
-	TimeInterval       requests.Integer `position:"Query" name:"TimeInterval"`
-	OssBucket          string           `position:"Query" name:"OssBucket"`
-	AppName            string           `position:"Query" name:"AppName"`
-	SecurityToken      string           `position:"Query" name:"SecurityToken"`
-	DomainName         string           `position:"Query" name:"DomainName"`
-	OssEndpoint        string           `position:"Query" name:"OssEndpoint"`
-	SequenceOssObject  string           `position:"Query" name:"SequenceOssObject"`
-	OverwriteOssObject string           `position:"Query" name:"OverwriteOssObject"`
-	OwnerId            requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// AddLiveAppSnapshotConfigResponse is the response struct for api AddLiveAppSnapshotConfig
-type AddLiveAppSnapshotConfigResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAddLiveAppSnapshotConfigRequest creates a request to invoke AddLiveAppSnapshotConfig API
-func CreateAddLiveAppSnapshotConfigRequest() (request *AddLiveAppSnapshotConfigRequest) {
-	request = &AddLiveAppSnapshotConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "AddLiveAppSnapshotConfig", "", "")
-	return
-}
-
-// CreateAddLiveAppSnapshotConfigResponse creates a response to parse from AddLiveAppSnapshotConfig response
-func CreateAddLiveAppSnapshotConfigResponse() (response *AddLiveAppSnapshotConfigResponse) {
-	response = &AddLiveAppSnapshotConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/add_live_domain_mapping.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// AddLiveDomainMapping invokes the cdn.AddLiveDomainMapping API synchronously
-// api document: https://help.aliyun.com/api/cdn/addlivedomainmapping.html
-func (client *Client) AddLiveDomainMapping(request *AddLiveDomainMappingRequest) (response *AddLiveDomainMappingResponse, err error) {
-	response = CreateAddLiveDomainMappingResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddLiveDomainMappingWithChan invokes the cdn.AddLiveDomainMapping API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addlivedomainmapping.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveDomainMappingWithChan(request *AddLiveDomainMappingRequest) (<-chan *AddLiveDomainMappingResponse, <-chan error) {
-	responseChan := make(chan *AddLiveDomainMappingResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddLiveDomainMapping(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddLiveDomainMappingWithCallback invokes the cdn.AddLiveDomainMapping API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addlivedomainmapping.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveDomainMappingWithCallback(request *AddLiveDomainMappingRequest, callback func(response *AddLiveDomainMappingResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddLiveDomainMappingResponse
-		var err error
-		defer close(result)
-		response, err = client.AddLiveDomainMapping(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddLiveDomainMappingRequest is the request struct for api AddLiveDomainMapping
-type AddLiveDomainMappingRequest struct {
-	*requests.RpcRequest
-	PullDomain    string           `position:"Query" name:"PullDomain"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	PushDomain    string           `position:"Query" name:"PushDomain"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// AddLiveDomainMappingResponse is the response struct for api AddLiveDomainMapping
-type AddLiveDomainMappingResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAddLiveDomainMappingRequest creates a request to invoke AddLiveDomainMapping API
-func CreateAddLiveDomainMappingRequest() (request *AddLiveDomainMappingRequest) {
-	request = &AddLiveDomainMappingRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "AddLiveDomainMapping", "", "")
-	return
-}
-
-// CreateAddLiveDomainMappingResponse creates a response to parse from AddLiveDomainMapping response
-func CreateAddLiveDomainMappingResponse() (response *AddLiveDomainMappingResponse) {
-	response = &AddLiveDomainMappingResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/cdn/add_live_stream_transcode.go

@@ -1,110 +0,0 @@
-package cdn
-
-//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"
-)
-
-// AddLiveStreamTranscode invokes the cdn.AddLiveStreamTranscode API synchronously
-// api document: https://help.aliyun.com/api/cdn/addlivestreamtranscode.html
-func (client *Client) AddLiveStreamTranscode(request *AddLiveStreamTranscodeRequest) (response *AddLiveStreamTranscodeResponse, err error) {
-	response = CreateAddLiveStreamTranscodeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddLiveStreamTranscodeWithChan invokes the cdn.AddLiveStreamTranscode API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addlivestreamtranscode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveStreamTranscodeWithChan(request *AddLiveStreamTranscodeRequest) (<-chan *AddLiveStreamTranscodeResponse, <-chan error) {
-	responseChan := make(chan *AddLiveStreamTranscodeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddLiveStreamTranscode(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddLiveStreamTranscodeWithCallback invokes the cdn.AddLiveStreamTranscode API asynchronously
-// api document: https://help.aliyun.com/api/cdn/addlivestreamtranscode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddLiveStreamTranscodeWithCallback(request *AddLiveStreamTranscodeRequest, callback func(response *AddLiveStreamTranscodeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddLiveStreamTranscodeResponse
-		var err error
-		defer close(result)
-		response, err = client.AddLiveStreamTranscode(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddLiveStreamTranscodeRequest is the request struct for api AddLiveStreamTranscode
-type AddLiveStreamTranscodeRequest struct {
-	*requests.RpcRequest
-	Template      string           `position:"Query" name:"Template"`
-	App           string           `position:"Query" name:"App"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
-	Domain        string           `position:"Query" name:"Domain"`
-	Record        string           `position:"Query" name:"Record"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	Snapshot      string           `position:"Query" name:"Snapshot"`
-}
-
-// AddLiveStreamTranscodeResponse is the response struct for api AddLiveStreamTranscode
-type AddLiveStreamTranscodeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAddLiveStreamTranscodeRequest creates a request to invoke AddLiveStreamTranscode API
-func CreateAddLiveStreamTranscodeRequest() (request *AddLiveStreamTranscodeRequest) {
-	request = &AddLiveStreamTranscodeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "AddLiveStreamTranscode", "", "")
-	return
-}
-
-// CreateAddLiveStreamTranscodeResponse creates a response to parse from AddLiveStreamTranscode response
-func CreateAddLiveStreamTranscodeResponse() (response *AddLiveStreamTranscodeResponse) {
-	response = &AddLiveStreamTranscodeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 112 - 0
services/cdn/batch_add_cdn_domain.go

@@ -0,0 +1,112 @@
+package cdn
+
+//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"
+)
+
+// BatchAddCdnDomain invokes the cdn.BatchAddCdnDomain API synchronously
+// api document: https://help.aliyun.com/api/cdn/batchaddcdndomain.html
+func (client *Client) BatchAddCdnDomain(request *BatchAddCdnDomainRequest) (response *BatchAddCdnDomainResponse, err error) {
+	response = CreateBatchAddCdnDomainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// BatchAddCdnDomainWithChan invokes the cdn.BatchAddCdnDomain API asynchronously
+// api document: https://help.aliyun.com/api/cdn/batchaddcdndomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchAddCdnDomainWithChan(request *BatchAddCdnDomainRequest) (<-chan *BatchAddCdnDomainResponse, <-chan error) {
+	responseChan := make(chan *BatchAddCdnDomainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.BatchAddCdnDomain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// BatchAddCdnDomainWithCallback invokes the cdn.BatchAddCdnDomain API asynchronously
+// api document: https://help.aliyun.com/api/cdn/batchaddcdndomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchAddCdnDomainWithCallback(request *BatchAddCdnDomainRequest, callback func(response *BatchAddCdnDomainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *BatchAddCdnDomainResponse
+		var err error
+		defer close(result)
+		response, err = client.BatchAddCdnDomain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// BatchAddCdnDomainRequest is the request struct for api BatchAddCdnDomain
+type BatchAddCdnDomainRequest struct {
+	*requests.RpcRequest
+	TopLevelDomain  string           `position:"Query" name:"TopLevelDomain"`
+	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
+	Sources         string           `position:"Query" name:"Sources"`
+	SecurityToken   string           `position:"Query" name:"SecurityToken"`
+	CdnType         string           `position:"Query" name:"CdnType"`
+	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
+	Scope           string           `position:"Query" name:"Scope"`
+	DomainName      string           `position:"Query" name:"DomainName"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
+	CheckUrl        string           `position:"Query" name:"CheckUrl"`
+}
+
+// BatchAddCdnDomainResponse is the response struct for api BatchAddCdnDomain
+type BatchAddCdnDomainResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateBatchAddCdnDomainRequest creates a request to invoke BatchAddCdnDomain API
+func CreateBatchAddCdnDomainRequest() (request *BatchAddCdnDomainRequest) {
+	request = &BatchAddCdnDomainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "BatchAddCdnDomain", "", "")
+	return
+}
+
+// CreateBatchAddCdnDomainResponse creates a response to parse from BatchAddCdnDomain response
+func CreateBatchAddCdnDomainResponse() (response *BatchAddCdnDomainResponse) {
+	response = &BatchAddCdnDomainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cdn/batch_delete_cdn_domain_config.go

@@ -0,0 +1,107 @@
+package cdn
+
+//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"
+)
+
+// BatchDeleteCdnDomainConfig invokes the cdn.BatchDeleteCdnDomainConfig API synchronously
+// api document: https://help.aliyun.com/api/cdn/batchdeletecdndomainconfig.html
+func (client *Client) BatchDeleteCdnDomainConfig(request *BatchDeleteCdnDomainConfigRequest) (response *BatchDeleteCdnDomainConfigResponse, err error) {
+	response = CreateBatchDeleteCdnDomainConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// BatchDeleteCdnDomainConfigWithChan invokes the cdn.BatchDeleteCdnDomainConfig API asynchronously
+// api document: https://help.aliyun.com/api/cdn/batchdeletecdndomainconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchDeleteCdnDomainConfigWithChan(request *BatchDeleteCdnDomainConfigRequest) (<-chan *BatchDeleteCdnDomainConfigResponse, <-chan error) {
+	responseChan := make(chan *BatchDeleteCdnDomainConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.BatchDeleteCdnDomainConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// BatchDeleteCdnDomainConfigWithCallback invokes the cdn.BatchDeleteCdnDomainConfig API asynchronously
+// api document: https://help.aliyun.com/api/cdn/batchdeletecdndomainconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchDeleteCdnDomainConfigWithCallback(request *BatchDeleteCdnDomainConfigRequest, callback func(response *BatchDeleteCdnDomainConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *BatchDeleteCdnDomainConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.BatchDeleteCdnDomainConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// BatchDeleteCdnDomainConfigRequest is the request struct for api BatchDeleteCdnDomainConfig
+type BatchDeleteCdnDomainConfigRequest struct {
+	*requests.RpcRequest
+	FunctionNames string           `position:"Query" name:"FunctionNames"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	DomainNames   string           `position:"Query" name:"DomainNames"`
+	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// BatchDeleteCdnDomainConfigResponse is the response struct for api BatchDeleteCdnDomainConfig
+type BatchDeleteCdnDomainConfigResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateBatchDeleteCdnDomainConfigRequest creates a request to invoke BatchDeleteCdnDomainConfig API
+func CreateBatchDeleteCdnDomainConfigRequest() (request *BatchDeleteCdnDomainConfigRequest) {
+	request = &BatchDeleteCdnDomainConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "BatchDeleteCdnDomainConfig", "", "")
+	return
+}
+
+// CreateBatchDeleteCdnDomainConfigResponse creates a response to parse from BatchDeleteCdnDomainConfig response
+func CreateBatchDeleteCdnDomainConfigResponse() (response *BatchDeleteCdnDomainConfigResponse) {
+	response = &BatchDeleteCdnDomainConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/cdn/batch_update_cdn_domain.go

@@ -0,0 +1,108 @@
+package cdn
+
+//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"
+)
+
+// BatchUpdateCdnDomain invokes the cdn.BatchUpdateCdnDomain API synchronously
+// api document: https://help.aliyun.com/api/cdn/batchupdatecdndomain.html
+func (client *Client) BatchUpdateCdnDomain(request *BatchUpdateCdnDomainRequest) (response *BatchUpdateCdnDomainResponse, err error) {
+	response = CreateBatchUpdateCdnDomainResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// BatchUpdateCdnDomainWithChan invokes the cdn.BatchUpdateCdnDomain API asynchronously
+// api document: https://help.aliyun.com/api/cdn/batchupdatecdndomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchUpdateCdnDomainWithChan(request *BatchUpdateCdnDomainRequest) (<-chan *BatchUpdateCdnDomainResponse, <-chan error) {
+	responseChan := make(chan *BatchUpdateCdnDomainResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.BatchUpdateCdnDomain(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// BatchUpdateCdnDomainWithCallback invokes the cdn.BatchUpdateCdnDomain API asynchronously
+// api document: https://help.aliyun.com/api/cdn/batchupdatecdndomain.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchUpdateCdnDomainWithCallback(request *BatchUpdateCdnDomainRequest, callback func(response *BatchUpdateCdnDomainResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *BatchUpdateCdnDomainResponse
+		var err error
+		defer close(result)
+		response, err = client.BatchUpdateCdnDomain(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// BatchUpdateCdnDomainRequest is the request struct for api BatchUpdateCdnDomain
+type BatchUpdateCdnDomainRequest struct {
+	*requests.RpcRequest
+	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"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// BatchUpdateCdnDomainResponse is the response struct for api BatchUpdateCdnDomain
+type BatchUpdateCdnDomainResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateBatchUpdateCdnDomainRequest creates a request to invoke BatchUpdateCdnDomain API
+func CreateBatchUpdateCdnDomainRequest() (request *BatchUpdateCdnDomainRequest) {
+	request = &BatchUpdateCdnDomainRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "BatchUpdateCdnDomain", "", "")
+	return
+}
+
+// CreateBatchUpdateCdnDomainResponse creates a response to parse from BatchUpdateCdnDomain response
+func CreateBatchUpdateCdnDomainResponse() (response *BatchUpdateCdnDomainResponse) {
+	response = &BatchUpdateCdnDomainResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 113
services/cdn/create_live_stream_record_index_files.go

@@ -1,113 +0,0 @@
-package cdn
-
-//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"
-)
-
-// CreateLiveStreamRecordIndexFiles invokes the cdn.CreateLiveStreamRecordIndexFiles API synchronously
-// api document: https://help.aliyun.com/api/cdn/createlivestreamrecordindexfiles.html
-func (client *Client) CreateLiveStreamRecordIndexFiles(request *CreateLiveStreamRecordIndexFilesRequest) (response *CreateLiveStreamRecordIndexFilesResponse, err error) {
-	response = CreateCreateLiveStreamRecordIndexFilesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateLiveStreamRecordIndexFilesWithChan invokes the cdn.CreateLiveStreamRecordIndexFiles API asynchronously
-// api document: https://help.aliyun.com/api/cdn/createlivestreamrecordindexfiles.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateLiveStreamRecordIndexFilesWithChan(request *CreateLiveStreamRecordIndexFilesRequest) (<-chan *CreateLiveStreamRecordIndexFilesResponse, <-chan error) {
-	responseChan := make(chan *CreateLiveStreamRecordIndexFilesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateLiveStreamRecordIndexFiles(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateLiveStreamRecordIndexFilesWithCallback invokes the cdn.CreateLiveStreamRecordIndexFiles API asynchronously
-// api document: https://help.aliyun.com/api/cdn/createlivestreamrecordindexfiles.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateLiveStreamRecordIndexFilesWithCallback(request *CreateLiveStreamRecordIndexFilesRequest, callback func(response *CreateLiveStreamRecordIndexFilesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateLiveStreamRecordIndexFilesResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateLiveStreamRecordIndexFiles(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateLiveStreamRecordIndexFilesRequest is the request struct for api CreateLiveStreamRecordIndexFiles
-type CreateLiveStreamRecordIndexFilesRequest struct {
-	*requests.RpcRequest
-	OssBucket     string           `position:"Query" name:"OssBucket"`
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OssEndpoint   string           `position:"Query" name:"OssEndpoint"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-	OssObject     string           `position:"Query" name:"OssObject"`
-}
-
-// CreateLiveStreamRecordIndexFilesResponse is the response struct for api CreateLiveStreamRecordIndexFiles
-type CreateLiveStreamRecordIndexFilesResponse struct {
-	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	RecordInfo RecordInfo `json:"RecordInfo" xml:"RecordInfo"`
-}
-
-// CreateCreateLiveStreamRecordIndexFilesRequest creates a request to invoke CreateLiveStreamRecordIndexFiles API
-func CreateCreateLiveStreamRecordIndexFilesRequest() (request *CreateLiveStreamRecordIndexFilesRequest) {
-	request = &CreateLiveStreamRecordIndexFilesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "CreateLiveStreamRecordIndexFiles", "", "")
-	return
-}
-
-// CreateCreateLiveStreamRecordIndexFilesResponse creates a response to parse from CreateLiveStreamRecordIndexFiles response
-func CreateCreateLiveStreamRecordIndexFilesResponse() (response *CreateLiveStreamRecordIndexFilesResponse) {
-	response = &CreateLiveStreamRecordIndexFilesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 112 - 0
services/cdn/create_usage_detail_data_export_task.go

@@ -0,0 +1,112 @@
+package cdn
+
+//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"
+)
+
+// CreateUsageDetailDataExportTask invokes the cdn.CreateUsageDetailDataExportTask API synchronously
+// api document: https://help.aliyun.com/api/cdn/createusagedetaildataexporttask.html
+func (client *Client) CreateUsageDetailDataExportTask(request *CreateUsageDetailDataExportTaskRequest) (response *CreateUsageDetailDataExportTaskResponse, err error) {
+	response = CreateCreateUsageDetailDataExportTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateUsageDetailDataExportTaskWithChan invokes the cdn.CreateUsageDetailDataExportTask API asynchronously
+// api document: https://help.aliyun.com/api/cdn/createusagedetaildataexporttask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUsageDetailDataExportTaskWithChan(request *CreateUsageDetailDataExportTaskRequest) (<-chan *CreateUsageDetailDataExportTaskResponse, <-chan error) {
+	responseChan := make(chan *CreateUsageDetailDataExportTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateUsageDetailDataExportTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateUsageDetailDataExportTaskWithCallback invokes the cdn.CreateUsageDetailDataExportTask API asynchronously
+// api document: https://help.aliyun.com/api/cdn/createusagedetaildataexporttask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUsageDetailDataExportTaskWithCallback(request *CreateUsageDetailDataExportTaskRequest, callback func(response *CreateUsageDetailDataExportTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateUsageDetailDataExportTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateUsageDetailDataExportTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateUsageDetailDataExportTaskRequest is the request struct for api CreateUsageDetailDataExportTask
+type CreateUsageDetailDataExportTaskRequest struct {
+	*requests.RpcRequest
+	DomainNames string           `position:"Query" name:"DomainNames"`
+	TaskName    string           `position:"Query" name:"TaskName"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	Type        string           `position:"Query" name:"Type"`
+	Group       string           `position:"Query" name:"Group"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// CreateUsageDetailDataExportTaskResponse is the response struct for api CreateUsageDetailDataExportTask
+type CreateUsageDetailDataExportTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	StartTime string `json:"StartTime" xml:"StartTime"`
+	EndTime   string `json:"EndTime" xml:"EndTime"`
+	TaskId    string `json:"TaskId" xml:"TaskId"`
+}
+
+// CreateCreateUsageDetailDataExportTaskRequest creates a request to invoke CreateUsageDetailDataExportTask API
+func CreateCreateUsageDetailDataExportTaskRequest() (request *CreateUsageDetailDataExportTaskRequest) {
+	request = &CreateUsageDetailDataExportTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "CreateUsageDetailDataExportTask", "", "")
+	return
+}
+
+// CreateCreateUsageDetailDataExportTaskResponse creates a response to parse from CreateUsageDetailDataExportTask response
+func CreateCreateUsageDetailDataExportTaskResponse() (response *CreateUsageDetailDataExportTaskResponse) {
+	response = &CreateUsageDetailDataExportTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/cdn/create_user_usage_data_export_task.go

@@ -0,0 +1,110 @@
+package cdn
+
+//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"
+)
+
+// CreateUserUsageDataExportTask invokes the cdn.CreateUserUsageDataExportTask API synchronously
+// api document: https://help.aliyun.com/api/cdn/createuserusagedataexporttask.html
+func (client *Client) CreateUserUsageDataExportTask(request *CreateUserUsageDataExportTaskRequest) (response *CreateUserUsageDataExportTaskResponse, err error) {
+	response = CreateCreateUserUsageDataExportTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateUserUsageDataExportTaskWithChan invokes the cdn.CreateUserUsageDataExportTask API asynchronously
+// api document: https://help.aliyun.com/api/cdn/createuserusagedataexporttask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUserUsageDataExportTaskWithChan(request *CreateUserUsageDataExportTaskRequest) (<-chan *CreateUserUsageDataExportTaskResponse, <-chan error) {
+	responseChan := make(chan *CreateUserUsageDataExportTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateUserUsageDataExportTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateUserUsageDataExportTaskWithCallback invokes the cdn.CreateUserUsageDataExportTask API asynchronously
+// api document: https://help.aliyun.com/api/cdn/createuserusagedataexporttask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUserUsageDataExportTaskWithCallback(request *CreateUserUsageDataExportTaskRequest, callback func(response *CreateUserUsageDataExportTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateUserUsageDataExportTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateUserUsageDataExportTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateUserUsageDataExportTaskRequest is the request struct for api CreateUserUsageDataExportTask
+type CreateUserUsageDataExportTaskRequest struct {
+	*requests.RpcRequest
+	TaskName  string           `position:"Query" name:"TaskName"`
+	Language  string           `position:"Query" name:"Language"`
+	StartTime string           `position:"Query" name:"StartTime"`
+	EndTime   string           `position:"Query" name:"EndTime"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// CreateUserUsageDataExportTaskResponse is the response struct for api CreateUserUsageDataExportTask
+type CreateUserUsageDataExportTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	StartTime string `json:"StartTime" xml:"StartTime"`
+	EndTime   string `json:"EndTime" xml:"EndTime"`
+	TaskId    string `json:"TaskId" xml:"TaskId"`
+}
+
+// CreateCreateUserUsageDataExportTaskRequest creates a request to invoke CreateUserUsageDataExportTask API
+func CreateCreateUserUsageDataExportTaskRequest() (request *CreateUserUsageDataExportTaskRequest) {
+	request = &CreateUserUsageDataExportTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "CreateUserUsageDataExportTask", "", "")
+	return
+}
+
+// CreateCreateUserUsageDataExportTaskResponse creates a response to parse from CreateUserUsageDataExportTask response
+func CreateCreateUserUsageDataExportTaskResponse() (response *CreateUserUsageDataExportTaskResponse) {
+	response = &CreateUserUsageDataExportTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/cdn/delete_cache_expired_config.go

@@ -1,107 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DeleteCacheExpiredConfig invokes the cdn.DeleteCacheExpiredConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/deletecacheexpiredconfig.html
-func (client *Client) DeleteCacheExpiredConfig(request *DeleteCacheExpiredConfigRequest) (response *DeleteCacheExpiredConfigResponse, err error) {
-	response = CreateDeleteCacheExpiredConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteCacheExpiredConfigWithChan invokes the cdn.DeleteCacheExpiredConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletecacheexpiredconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteCacheExpiredConfigWithChan(request *DeleteCacheExpiredConfigRequest) (<-chan *DeleteCacheExpiredConfigResponse, <-chan error) {
-	responseChan := make(chan *DeleteCacheExpiredConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteCacheExpiredConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteCacheExpiredConfigWithCallback invokes the cdn.DeleteCacheExpiredConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletecacheexpiredconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteCacheExpiredConfigWithCallback(request *DeleteCacheExpiredConfigRequest, callback func(response *DeleteCacheExpiredConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteCacheExpiredConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteCacheExpiredConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteCacheExpiredConfigRequest is the request struct for api DeleteCacheExpiredConfig
-type DeleteCacheExpiredConfigRequest struct {
-	*requests.RpcRequest
-	CacheType     string           `position:"Query" name:"CacheType"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	ConfigID      string           `position:"Query" name:"ConfigID"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteCacheExpiredConfigResponse is the response struct for api DeleteCacheExpiredConfig
-type DeleteCacheExpiredConfigResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteCacheExpiredConfigRequest creates a request to invoke DeleteCacheExpiredConfig API
-func CreateDeleteCacheExpiredConfigRequest() (request *DeleteCacheExpiredConfigRequest) {
-	request = &DeleteCacheExpiredConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteCacheExpiredConfig", "", "")
-	return
-}
-
-// CreateDeleteCacheExpiredConfigResponse creates a response to parse from DeleteCacheExpiredConfig response
-func CreateDeleteCacheExpiredConfigResponse() (response *DeleteCacheExpiredConfigResponse) {
-	response = &DeleteCacheExpiredConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 1
services/cdn/delete_cdn_domain.go

@@ -78,6 +78,7 @@ type DeleteCdnDomainRequest struct {
 	*requests.RpcRequest
 	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
 	SecurityToken   string           `position:"Query" name:"SecurityToken"`
+	OwnerAccount    string           `position:"Query" name:"OwnerAccount"`
 	DomainName      string           `position:"Query" name:"DomainName"`
 	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
 }
@@ -93,7 +94,7 @@ func CreateDeleteCdnDomainRequest() (request *DeleteCdnDomainRequest) {
 	request = &DeleteCdnDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteCdnDomain", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DeleteCdnDomain", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/delete_fc_trigger.go

@@ -91,7 +91,7 @@ func CreateDeleteFCTriggerRequest() (request *DeleteFCTriggerRequest) {
 	request = &DeleteFCTriggerRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteFCTrigger", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DeleteFCTrigger", "", "")
 	return
 }
 

+ 0 - 106
services/cdn/delete_http_header_config.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DeleteHttpHeaderConfig invokes the cdn.DeleteHttpHeaderConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/deletehttpheaderconfig.html
-func (client *Client) DeleteHttpHeaderConfig(request *DeleteHttpHeaderConfigRequest) (response *DeleteHttpHeaderConfigResponse, err error) {
-	response = CreateDeleteHttpHeaderConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteHttpHeaderConfigWithChan invokes the cdn.DeleteHttpHeaderConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletehttpheaderconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteHttpHeaderConfigWithChan(request *DeleteHttpHeaderConfigRequest) (<-chan *DeleteHttpHeaderConfigResponse, <-chan error) {
-	responseChan := make(chan *DeleteHttpHeaderConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteHttpHeaderConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteHttpHeaderConfigWithCallback invokes the cdn.DeleteHttpHeaderConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletehttpheaderconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteHttpHeaderConfigWithCallback(request *DeleteHttpHeaderConfigRequest, callback func(response *DeleteHttpHeaderConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteHttpHeaderConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteHttpHeaderConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteHttpHeaderConfigRequest is the request struct for api DeleteHttpHeaderConfig
-type DeleteHttpHeaderConfigRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	ConfigID      string           `position:"Query" name:"ConfigID"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteHttpHeaderConfigResponse is the response struct for api DeleteHttpHeaderConfig
-type DeleteHttpHeaderConfigResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteHttpHeaderConfigRequest creates a request to invoke DeleteHttpHeaderConfig API
-func CreateDeleteHttpHeaderConfigRequest() (request *DeleteHttpHeaderConfigRequest) {
-	request = &DeleteHttpHeaderConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteHttpHeaderConfig", "", "")
-	return
-}
-
-// CreateDeleteHttpHeaderConfigResponse creates a response to parse from DeleteHttpHeaderConfig response
-func CreateDeleteHttpHeaderConfigResponse() (response *DeleteHttpHeaderConfigResponse) {
-	response = &DeleteHttpHeaderConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/delete_live_app_record_config.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DeleteLiveAppRecordConfig invokes the cdn.DeleteLiveAppRecordConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/deleteliveapprecordconfig.html
-func (client *Client) DeleteLiveAppRecordConfig(request *DeleteLiveAppRecordConfigRequest) (response *DeleteLiveAppRecordConfigResponse, err error) {
-	response = CreateDeleteLiveAppRecordConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteLiveAppRecordConfigWithChan invokes the cdn.DeleteLiveAppRecordConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deleteliveapprecordconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveAppRecordConfigWithChan(request *DeleteLiveAppRecordConfigRequest) (<-chan *DeleteLiveAppRecordConfigResponse, <-chan error) {
-	responseChan := make(chan *DeleteLiveAppRecordConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteLiveAppRecordConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteLiveAppRecordConfigWithCallback invokes the cdn.DeleteLiveAppRecordConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deleteliveapprecordconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveAppRecordConfigWithCallback(request *DeleteLiveAppRecordConfigRequest, callback func(response *DeleteLiveAppRecordConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteLiveAppRecordConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteLiveAppRecordConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteLiveAppRecordConfigRequest is the request struct for api DeleteLiveAppRecordConfig
-type DeleteLiveAppRecordConfigRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteLiveAppRecordConfigResponse is the response struct for api DeleteLiveAppRecordConfig
-type DeleteLiveAppRecordConfigResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteLiveAppRecordConfigRequest creates a request to invoke DeleteLiveAppRecordConfig API
-func CreateDeleteLiveAppRecordConfigRequest() (request *DeleteLiveAppRecordConfigRequest) {
-	request = &DeleteLiveAppRecordConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteLiveAppRecordConfig", "", "")
-	return
-}
-
-// CreateDeleteLiveAppRecordConfigResponse creates a response to parse from DeleteLiveAppRecordConfig response
-func CreateDeleteLiveAppRecordConfigResponse() (response *DeleteLiveAppRecordConfigResponse) {
-	response = &DeleteLiveAppRecordConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/delete_live_app_snapshot_config.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DeleteLiveAppSnapshotConfig invokes the cdn.DeleteLiveAppSnapshotConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/deleteliveappsnapshotconfig.html
-func (client *Client) DeleteLiveAppSnapshotConfig(request *DeleteLiveAppSnapshotConfigRequest) (response *DeleteLiveAppSnapshotConfigResponse, err error) {
-	response = CreateDeleteLiveAppSnapshotConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteLiveAppSnapshotConfigWithChan invokes the cdn.DeleteLiveAppSnapshotConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deleteliveappsnapshotconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveAppSnapshotConfigWithChan(request *DeleteLiveAppSnapshotConfigRequest) (<-chan *DeleteLiveAppSnapshotConfigResponse, <-chan error) {
-	responseChan := make(chan *DeleteLiveAppSnapshotConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteLiveAppSnapshotConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteLiveAppSnapshotConfigWithCallback invokes the cdn.DeleteLiveAppSnapshotConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deleteliveappsnapshotconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveAppSnapshotConfigWithCallback(request *DeleteLiveAppSnapshotConfigRequest, callback func(response *DeleteLiveAppSnapshotConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteLiveAppSnapshotConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteLiveAppSnapshotConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteLiveAppSnapshotConfigRequest is the request struct for api DeleteLiveAppSnapshotConfig
-type DeleteLiveAppSnapshotConfigRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteLiveAppSnapshotConfigResponse is the response struct for api DeleteLiveAppSnapshotConfig
-type DeleteLiveAppSnapshotConfigResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteLiveAppSnapshotConfigRequest creates a request to invoke DeleteLiveAppSnapshotConfig API
-func CreateDeleteLiveAppSnapshotConfigRequest() (request *DeleteLiveAppSnapshotConfigRequest) {
-	request = &DeleteLiveAppSnapshotConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteLiveAppSnapshotConfig", "", "")
-	return
-}
-
-// CreateDeleteLiveAppSnapshotConfigResponse creates a response to parse from DeleteLiveAppSnapshotConfig response
-func CreateDeleteLiveAppSnapshotConfigResponse() (response *DeleteLiveAppSnapshotConfigResponse) {
-	response = &DeleteLiveAppSnapshotConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/delete_live_domain_mapping.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DeleteLiveDomainMapping invokes the cdn.DeleteLiveDomainMapping API synchronously
-// api document: https://help.aliyun.com/api/cdn/deletelivedomainmapping.html
-func (client *Client) DeleteLiveDomainMapping(request *DeleteLiveDomainMappingRequest) (response *DeleteLiveDomainMappingResponse, err error) {
-	response = CreateDeleteLiveDomainMappingResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteLiveDomainMappingWithChan invokes the cdn.DeleteLiveDomainMapping API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletelivedomainmapping.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveDomainMappingWithChan(request *DeleteLiveDomainMappingRequest) (<-chan *DeleteLiveDomainMappingResponse, <-chan error) {
-	responseChan := make(chan *DeleteLiveDomainMappingResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteLiveDomainMapping(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteLiveDomainMappingWithCallback invokes the cdn.DeleteLiveDomainMapping API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletelivedomainmapping.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveDomainMappingWithCallback(request *DeleteLiveDomainMappingRequest, callback func(response *DeleteLiveDomainMappingResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteLiveDomainMappingResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteLiveDomainMapping(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteLiveDomainMappingRequest is the request struct for api DeleteLiveDomainMapping
-type DeleteLiveDomainMappingRequest struct {
-	*requests.RpcRequest
-	PullDomain    string           `position:"Query" name:"PullDomain"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	PushDomain    string           `position:"Query" name:"PushDomain"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteLiveDomainMappingResponse is the response struct for api DeleteLiveDomainMapping
-type DeleteLiveDomainMappingResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteLiveDomainMappingRequest creates a request to invoke DeleteLiveDomainMapping API
-func CreateDeleteLiveDomainMappingRequest() (request *DeleteLiveDomainMappingRequest) {
-	request = &DeleteLiveDomainMappingRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteLiveDomainMapping", "", "")
-	return
-}
-
-// CreateDeleteLiveDomainMappingResponse creates a response to parse from DeleteLiveDomainMapping response
-func CreateDeleteLiveDomainMappingResponse() (response *DeleteLiveDomainMappingResponse) {
-	response = &DeleteLiveDomainMappingResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cdn/delete_live_stream_transcode.go

@@ -1,108 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DeleteLiveStreamTranscode invokes the cdn.DeleteLiveStreamTranscode API synchronously
-// api document: https://help.aliyun.com/api/cdn/deletelivestreamtranscode.html
-func (client *Client) DeleteLiveStreamTranscode(request *DeleteLiveStreamTranscodeRequest) (response *DeleteLiveStreamTranscodeResponse, err error) {
-	response = CreateDeleteLiveStreamTranscodeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteLiveStreamTranscodeWithChan invokes the cdn.DeleteLiveStreamTranscode API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletelivestreamtranscode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveStreamTranscodeWithChan(request *DeleteLiveStreamTranscodeRequest) (<-chan *DeleteLiveStreamTranscodeResponse, <-chan error) {
-	responseChan := make(chan *DeleteLiveStreamTranscodeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteLiveStreamTranscode(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteLiveStreamTranscodeWithCallback invokes the cdn.DeleteLiveStreamTranscode API asynchronously
-// api document: https://help.aliyun.com/api/cdn/deletelivestreamtranscode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteLiveStreamTranscodeWithCallback(request *DeleteLiveStreamTranscodeRequest, callback func(response *DeleteLiveStreamTranscodeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteLiveStreamTranscodeResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteLiveStreamTranscode(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteLiveStreamTranscodeRequest is the request struct for api DeleteLiveStreamTranscode
-type DeleteLiveStreamTranscodeRequest struct {
-	*requests.RpcRequest
-	Template      string           `position:"Query" name:"Template"`
-	App           string           `position:"Query" name:"App"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
-	Domain        string           `position:"Query" name:"Domain"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteLiveStreamTranscodeResponse is the response struct for api DeleteLiveStreamTranscode
-type DeleteLiveStreamTranscodeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteLiveStreamTranscodeRequest creates a request to invoke DeleteLiveStreamTranscode API
-func CreateDeleteLiveStreamTranscodeRequest() (request *DeleteLiveStreamTranscodeRequest) {
-	request = &DeleteLiveStreamTranscodeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DeleteLiveStreamTranscode", "", "")
-	return
-}
-
-// CreateDeleteLiveStreamTranscodeResponse creates a response to parse from DeleteLiveStreamTranscode response
-func CreateDeleteLiveStreamTranscodeResponse() (response *DeleteLiveStreamTranscodeResponse) {
-	response = &DeleteLiveStreamTranscodeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 109 - 0
services/cdn/describe_cdn_certificate_detail.go

@@ -0,0 +1,109 @@
+package cdn
+
+//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"
+)
+
+// DescribeCdnCertificateDetail invokes the cdn.DescribeCdnCertificateDetail API synchronously
+// api document: https://help.aliyun.com/api/cdn/describecdncertificatedetail.html
+func (client *Client) DescribeCdnCertificateDetail(request *DescribeCdnCertificateDetailRequest) (response *DescribeCdnCertificateDetailResponse, err error) {
+	response = CreateDescribeCdnCertificateDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCdnCertificateDetailWithChan invokes the cdn.DescribeCdnCertificateDetail API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describecdncertificatedetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCdnCertificateDetailWithChan(request *DescribeCdnCertificateDetailRequest) (<-chan *DescribeCdnCertificateDetailResponse, <-chan error) {
+	responseChan := make(chan *DescribeCdnCertificateDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCdnCertificateDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCdnCertificateDetailWithCallback invokes the cdn.DescribeCdnCertificateDetail API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describecdncertificatedetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCdnCertificateDetailWithCallback(request *DescribeCdnCertificateDetailRequest, callback func(response *DescribeCdnCertificateDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCdnCertificateDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCdnCertificateDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCdnCertificateDetailRequest is the request struct for api DescribeCdnCertificateDetail
+type DescribeCdnCertificateDetailRequest struct {
+	*requests.RpcRequest
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	CertName      string           `position:"Query" name:"CertName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeCdnCertificateDetailResponse is the response struct for api DescribeCdnCertificateDetail
+type DescribeCdnCertificateDetailResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Cert      string `json:"Cert" xml:"Cert"`
+	Key       string `json:"Key" xml:"Key"`
+	CertId    int    `json:"CertId" xml:"CertId"`
+	CertName  string `json:"CertName" xml:"CertName"`
+}
+
+// CreateDescribeCdnCertificateDetailRequest creates a request to invoke DescribeCdnCertificateDetail API
+func CreateDescribeCdnCertificateDetailRequest() (request *DescribeCdnCertificateDetailRequest) {
+	request = &DescribeCdnCertificateDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnCertificateDetail", "", "")
+	return
+}
+
+// CreateDescribeCdnCertificateDetailResponse creates a response to parse from DescribeCdnCertificateDetail response
+func CreateDescribeCdnCertificateDetailResponse() (response *DescribeCdnCertificateDetailResponse) {
+	response = &DescribeCdnCertificateDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/cdn/describe_cdn_certificate_list.go

@@ -0,0 +1,106 @@
+package cdn
+
+//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"
+)
+
+// DescribeCdnCertificateList invokes the cdn.DescribeCdnCertificateList API synchronously
+// api document: https://help.aliyun.com/api/cdn/describecdncertificatelist.html
+func (client *Client) DescribeCdnCertificateList(request *DescribeCdnCertificateListRequest) (response *DescribeCdnCertificateListResponse, err error) {
+	response = CreateDescribeCdnCertificateListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCdnCertificateListWithChan invokes the cdn.DescribeCdnCertificateList API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describecdncertificatelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCdnCertificateListWithChan(request *DescribeCdnCertificateListRequest) (<-chan *DescribeCdnCertificateListResponse, <-chan error) {
+	responseChan := make(chan *DescribeCdnCertificateListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCdnCertificateList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCdnCertificateListWithCallback invokes the cdn.DescribeCdnCertificateList API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describecdncertificatelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCdnCertificateListWithCallback(request *DescribeCdnCertificateListRequest, callback func(response *DescribeCdnCertificateListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCdnCertificateListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCdnCertificateList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCdnCertificateListRequest is the request struct for api DescribeCdnCertificateList
+type DescribeCdnCertificateListRequest struct {
+	*requests.RpcRequest
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeCdnCertificateListResponse is the response struct for api DescribeCdnCertificateList
+type DescribeCdnCertificateListResponse struct {
+	*responses.BaseResponse
+	RequestId            string               `json:"RequestId" xml:"RequestId"`
+	CertificateListModel CertificateListModel `json:"CertificateListModel" xml:"CertificateListModel"`
+}
+
+// CreateDescribeCdnCertificateListRequest creates a request to invoke DescribeCdnCertificateList API
+func CreateDescribeCdnCertificateListRequest() (request *DescribeCdnCertificateListRequest) {
+	request = &DescribeCdnCertificateListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnCertificateList", "", "")
+	return
+}
+
+// CreateDescribeCdnCertificateListResponse creates a response to parse from DescribeCdnCertificateList response
+func CreateDescribeCdnCertificateListResponse() (response *DescribeCdnCertificateListResponse) {
+	response = &DescribeCdnCertificateListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/cdn/describe_cdn_domain_configs.go

@@ -85,8 +85,8 @@ type DescribeCdnDomainConfigsRequest struct {
 // DescribeCdnDomainConfigsResponse is the response struct for api DescribeCdnDomainConfigs
 type DescribeCdnDomainConfigsResponse struct {
 	*responses.BaseResponse
-	RequestId     string                                  `json:"RequestId" xml:"RequestId"`
-	DomainConfigs DomainConfigsInDescribeCdnDomainConfigs `json:"DomainConfigs" xml:"DomainConfigs"`
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	DomainConfigs DomainConfigs `json:"DomainConfigs" xml:"DomainConfigs"`
 }
 
 // CreateDescribeCdnDomainConfigsRequest creates a request to invoke DescribeCdnDomainConfigs API
@@ -94,7 +94,7 @@ func CreateDescribeCdnDomainConfigsRequest() (request *DescribeCdnDomainConfigsR
 	request = &DescribeCdnDomainConfigsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCdnDomainConfigs", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnDomainConfigs", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_cdn_domain_detail.go

@@ -93,7 +93,7 @@ func CreateDescribeCdnDomainDetailRequest() (request *DescribeCdnDomainDetailReq
 	request = &DescribeCdnDomainDetailRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCdnDomainDetail", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnDomainDetail", "", "")
 	return
 }
 

+ 9 - 14
services/cdn/describe_cdn_domain_logs.go

@@ -76,24 +76,19 @@ func (client *Client) DescribeCdnDomainLogsWithCallback(request *DescribeCdnDoma
 // DescribeCdnDomainLogsRequest is the request struct for api DescribeCdnDomainLogs
 type DescribeCdnDomainLogsRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	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"`
-	LogDay        string           `position:"Query" name:"LogDay"`
+	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"`
 }
 
 // DescribeCdnDomainLogsResponse is the response struct for api DescribeCdnDomainLogs
 type DescribeCdnDomainLogsResponse struct {
 	*responses.BaseResponse
-	RequestId      string         `json:"RequestId" xml:"RequestId"`
-	PageNumber     int            `json:"PageNumber" xml:"PageNumber"`
-	PageSize       int            `json:"PageSize" xml:"PageSize"`
-	TotalCount     int            `json:"TotalCount" xml:"TotalCount"`
-	DomainLogModel DomainLogModel `json:"DomainLogModel" xml:"DomainLogModel"`
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	DomainLogDetails DomainLogDetails `json:"DomainLogDetails" xml:"DomainLogDetails"`
 }
 
 // CreateDescribeCdnDomainLogsRequest creates a request to invoke DescribeCdnDomainLogs API
@@ -101,7 +96,7 @@ func CreateDescribeCdnDomainLogsRequest() (request *DescribeCdnDomainLogsRequest
 	request = &DescribeCdnDomainLogsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCdnDomainLogs", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnDomainLogs", "", "")
 	return
 }
 

+ 0 - 113
services/cdn/describe_cdn_monitor_data.go

@@ -1,113 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeCdnMonitorData invokes the cdn.DescribeCdnMonitorData API synchronously
-// api document: https://help.aliyun.com/api/cdn/describecdnmonitordata.html
-func (client *Client) DescribeCdnMonitorData(request *DescribeCdnMonitorDataRequest) (response *DescribeCdnMonitorDataResponse, err error) {
-	response = CreateDescribeCdnMonitorDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCdnMonitorDataWithChan invokes the cdn.DescribeCdnMonitorData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describecdnmonitordata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCdnMonitorDataWithChan(request *DescribeCdnMonitorDataRequest) (<-chan *DescribeCdnMonitorDataResponse, <-chan error) {
-	responseChan := make(chan *DescribeCdnMonitorDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCdnMonitorData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCdnMonitorDataWithCallback invokes the cdn.DescribeCdnMonitorData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describecdnmonitordata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCdnMonitorDataWithCallback(request *DescribeCdnMonitorDataRequest, callback func(response *DescribeCdnMonitorDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCdnMonitorDataResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCdnMonitorData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCdnMonitorDataRequest is the request struct for api DescribeCdnMonitorData
-type DescribeCdnMonitorDataRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	Interval      string           `position:"Query" name:"Interval"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeCdnMonitorDataResponse is the response struct for api DescribeCdnMonitorData
-type DescribeCdnMonitorDataResponse struct {
-	*responses.BaseResponse
-	RequestId       string       `json:"RequestId" xml:"RequestId"`
-	DomainName      string       `json:"DomainName" xml:"DomainName"`
-	MonitorInterval int          `json:"MonitorInterval" xml:"MonitorInterval"`
-	StartTime       string       `json:"StartTime" xml:"StartTime"`
-	EndTime         string       `json:"EndTime" xml:"EndTime"`
-	MonitorDatas    MonitorDatas `json:"MonitorDatas" xml:"MonitorDatas"`
-}
-
-// CreateDescribeCdnMonitorDataRequest creates a request to invoke DescribeCdnMonitorData API
-func CreateDescribeCdnMonitorDataRequest() (request *DescribeCdnMonitorDataRequest) {
-	request = &DescribeCdnMonitorDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCdnMonitorData", "", "")
-	return
-}
-
-// CreateDescribeCdnMonitorDataResponse creates a response to parse from DescribeCdnMonitorData response
-func CreateDescribeCdnMonitorDataResponse() (response *DescribeCdnMonitorDataResponse) {
-	response = &DescribeCdnMonitorDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/cdn/describe_cdn_region_and_isp.go

@@ -93,7 +93,7 @@ func CreateDescribeCdnRegionAndIspRequest() (request *DescribeCdnRegionAndIspReq
 	request = &DescribeCdnRegionAndIspRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCdnRegionAndIsp", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnRegionAndIsp", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_cdn_service.go

@@ -97,7 +97,7 @@ func CreateDescribeCdnServiceRequest() (request *DescribeCdnServiceRequest) {
 	request = &DescribeCdnServiceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCdnService", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnService", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_cdn_user_quota.go

@@ -100,7 +100,7 @@ func CreateDescribeCdnUserQuotaRequest() (request *DescribeCdnUserQuotaRequest)
 	request = &DescribeCdnUserQuotaRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCdnUserQuota", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnUserQuota", "", "")
 	return
 }
 

+ 105 - 0
services/cdn/describe_cdn_user_resource_package.go

@@ -0,0 +1,105 @@
+package cdn
+
+//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"
+)
+
+// DescribeCdnUserResourcePackage invokes the cdn.DescribeCdnUserResourcePackage API synchronously
+// api document: https://help.aliyun.com/api/cdn/describecdnuserresourcepackage.html
+func (client *Client) DescribeCdnUserResourcePackage(request *DescribeCdnUserResourcePackageRequest) (response *DescribeCdnUserResourcePackageResponse, err error) {
+	response = CreateDescribeCdnUserResourcePackageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCdnUserResourcePackageWithChan invokes the cdn.DescribeCdnUserResourcePackage API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describecdnuserresourcepackage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCdnUserResourcePackageWithChan(request *DescribeCdnUserResourcePackageRequest) (<-chan *DescribeCdnUserResourcePackageResponse, <-chan error) {
+	responseChan := make(chan *DescribeCdnUserResourcePackageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCdnUserResourcePackage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCdnUserResourcePackageWithCallback invokes the cdn.DescribeCdnUserResourcePackage API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describecdnuserresourcepackage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCdnUserResourcePackageWithCallback(request *DescribeCdnUserResourcePackageRequest, callback func(response *DescribeCdnUserResourcePackageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCdnUserResourcePackageResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCdnUserResourcePackage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCdnUserResourcePackageRequest is the request struct for api DescribeCdnUserResourcePackage
+type DescribeCdnUserResourcePackageRequest struct {
+	*requests.RpcRequest
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeCdnUserResourcePackageResponse is the response struct for api DescribeCdnUserResourcePackage
+type DescribeCdnUserResourcePackageResponse struct {
+	*responses.BaseResponse
+	RequestId            string               `json:"RequestId" xml:"RequestId"`
+	ResourcePackageInfos ResourcePackageInfos `json:"ResourcePackageInfos" xml:"ResourcePackageInfos"`
+}
+
+// CreateDescribeCdnUserResourcePackageRequest creates a request to invoke DescribeCdnUserResourcePackage API
+func CreateDescribeCdnUserResourcePackageRequest() (request *DescribeCdnUserResourcePackageRequest) {
+	request = &DescribeCdnUserResourcePackageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCdnUserResourcePackage", "", "")
+	return
+}
+
+// CreateDescribeCdnUserResourcePackageResponse creates a response to parse from DescribeCdnUserResourcePackage response
+func CreateDescribeCdnUserResourcePackageResponse() (response *DescribeCdnUserResourcePackageResponse) {
+	response = &DescribeCdnUserResourcePackageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/cdn/describe_custom_log_config.go

@@ -94,7 +94,7 @@ func CreateDescribeCustomLogConfigRequest() (request *DescribeCustomLogConfigReq
 	request = &DescribeCustomLogConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeCustomLogConfig", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeCustomLogConfig", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_average_response_time.go

@@ -101,7 +101,7 @@ func CreateDescribeDomainAverageResponseTimeRequest() (request *DescribeDomainAv
 	request = &DescribeDomainAverageResponseTimeRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainAverageResponseTime", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainAverageResponseTime", "", "")
 	return
 }
 

+ 4 - 11
services/cdn/describe_domain_bps_data.go

@@ -76,16 +76,12 @@ func (client *Client) DescribeDomainBpsDataWithCallback(request *DescribeDomainB
 // DescribeDomainBpsDataRequest is the request struct for api DescribeDomainBpsData
 type DescribeDomainBpsDataRequest struct {
 	*requests.RpcRequest
-	FixTimeGap     string           `position:"Query" name:"FixTimeGap"`
-	TimeMerge      string           `position:"Query" name:"TimeMerge"`
-	DomainName     string           `position:"Query" name:"DomainName"`
-	EndTime        string           `position:"Query" name:"EndTime"`
 	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"`
-	DomainType     string           `position:"Query" name:"DomainType"`
-	SecurityToken  string           `position:"Query" name:"SecurityToken"`
 	Interval       string           `position:"Query" name:"Interval"`
 }
 
@@ -94,15 +90,12 @@ type DescribeDomainBpsDataResponse 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"`
 	LocationNameEn     string             `json:"LocationNameEn" xml:"LocationNameEn"`
 	IspNameEn          string             `json:"IspNameEn" xml:"IspNameEn"`
-	LocationName       string             `json:"LocationName" xml:"LocationName"`
-	IspName            string             `json:"IspName" xml:"IspName"`
+	DataInterval       string             `json:"DataInterval" xml:"DataInterval"`
 	BpsDataPerInterval BpsDataPerInterval `json:"BpsDataPerInterval" xml:"BpsDataPerInterval"`
-	SupplyBpsDatas     SupplyBpsDatas     `json:"SupplyBpsDatas" xml:"SupplyBpsDatas"`
 }
 
 // CreateDescribeDomainBpsDataRequest creates a request to invoke DescribeDomainBpsData API
@@ -110,7 +103,7 @@ func CreateDescribeDomainBpsDataRequest() (request *DescribeDomainBpsDataRequest
 	request = &DescribeDomainBpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainBpsData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainBpsData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_bps_data_by_time_stamp.go

@@ -98,7 +98,7 @@ func CreateDescribeDomainBpsDataByTimeStampRequest() (request *DescribeDomainBps
 	request = &DescribeDomainBpsDataByTimeStampRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainBpsDataByTimeStamp", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainBpsDataByTimeStamp", "", "")
 	return
 }
 

+ 0 - 112
services/cdn/describe_domain_cc_data.go

@@ -1,112 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeDomainCCData invokes the cdn.DescribeDomainCCData API synchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainccdata.html
-func (client *Client) DescribeDomainCCData(request *DescribeDomainCCDataRequest) (response *DescribeDomainCCDataResponse, err error) {
-	response = CreateDescribeDomainCCDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDomainCCDataWithChan invokes the cdn.DescribeDomainCCData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainccdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainCCDataWithChan(request *DescribeDomainCCDataRequest) (<-chan *DescribeDomainCCDataResponse, <-chan error) {
-	responseChan := make(chan *DescribeDomainCCDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDomainCCData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDomainCCDataWithCallback invokes the cdn.DescribeDomainCCData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainccdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainCCDataWithCallback(request *DescribeDomainCCDataRequest, callback func(response *DescribeDomainCCDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDomainCCDataResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDomainCCData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDomainCCDataRequest is the request struct for api DescribeDomainCCData
-type DescribeDomainCCDataRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeDomainCCDataResponse is the response struct for api DescribeDomainCCData
-type DescribeDomainCCDataResponse 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"`
-	CCDataList   CCDataList `json:"CCDataList" xml:"CCDataList"`
-}
-
-// CreateDescribeDomainCCDataRequest creates a request to invoke DescribeDomainCCData API
-func CreateDescribeDomainCCDataRequest() (request *DescribeDomainCCDataRequest) {
-	request = &DescribeDomainCCDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainCCData", "", "")
-	return
-}
-
-// CreateDescribeDomainCCDataResponse creates a response to parse from DescribeDomainCCData response
-func CreateDescribeDomainCCDataResponse() (response *DescribeDomainCCDataResponse) {
-	response = &DescribeDomainCCDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/cdn/describe_domain_certificate_info.go

@@ -92,7 +92,7 @@ func CreateDescribeDomainCertificateInfoRequest() (request *DescribeDomainCertif
 	request = &DescribeDomainCertificateInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainCertificateInfo", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainCertificateInfo", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_cname.go

@@ -92,7 +92,7 @@ func CreateDescribeDomainCnameRequest() (request *DescribeDomainCnameRequest) {
 	request = &DescribeDomainCnameRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainCname", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainCname", "", "")
 	return
 }
 

+ 0 - 107
services/cdn/describe_domain_configs.go

@@ -1,107 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeDomainConfigs invokes the cdn.DescribeDomainConfigs API synchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainconfigs.html
-func (client *Client) DescribeDomainConfigs(request *DescribeDomainConfigsRequest) (response *DescribeDomainConfigsResponse, err error) {
-	response = CreateDescribeDomainConfigsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDomainConfigsWithChan invokes the cdn.DescribeDomainConfigs API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainconfigs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainConfigsWithChan(request *DescribeDomainConfigsRequest) (<-chan *DescribeDomainConfigsResponse, <-chan error) {
-	responseChan := make(chan *DescribeDomainConfigsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDomainConfigs(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDomainConfigsWithCallback invokes the cdn.DescribeDomainConfigs API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainconfigs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainConfigsWithCallback(request *DescribeDomainConfigsRequest, callback func(response *DescribeDomainConfigsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDomainConfigsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDomainConfigs(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDomainConfigsRequest is the request struct for api DescribeDomainConfigs
-type DescribeDomainConfigsRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	ConfigList    string           `position:"Query" name:"ConfigList"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeDomainConfigsResponse is the response struct for api DescribeDomainConfigs
-type DescribeDomainConfigsResponse struct {
-	*responses.BaseResponse
-	RequestId     string        `json:"RequestId" xml:"RequestId"`
-	DomainConfigs DomainConfigs `json:"DomainConfigs" xml:"DomainConfigs"`
-}
-
-// CreateDescribeDomainConfigsRequest creates a request to invoke DescribeDomainConfigs API
-func CreateDescribeDomainConfigsRequest() (request *DescribeDomainConfigsRequest) {
-	request = &DescribeDomainConfigsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainConfigs", "", "")
-	return
-}
-
-// CreateDescribeDomainConfigsResponse creates a response to parse from DescribeDomainConfigs response
-func CreateDescribeDomainConfigsResponse() (response *DescribeDomainConfigsResponse) {
-	response = &DescribeDomainConfigsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/cdn/describe_domain_custom_log_config.go

@@ -95,7 +95,7 @@ func CreateDescribeDomainCustomLogConfigRequest() (request *DescribeDomainCustom
 	request = &DescribeDomainCustomLogConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainCustomLogConfig", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainCustomLogConfig", "", "")
 	return
 }
 

+ 0 - 108
services/cdn/describe_domain_downstream_bps_of_edge.go

@@ -1,108 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeDomainDownstreamBpsOfEdge invokes the cdn.DescribeDomainDownstreamBpsOfEdge API synchronously
-// api document: https://help.aliyun.com/api/cdn/describedomaindownstreambpsofedge.html
-func (client *Client) DescribeDomainDownstreamBpsOfEdge(request *DescribeDomainDownstreamBpsOfEdgeRequest) (response *DescribeDomainDownstreamBpsOfEdgeResponse, err error) {
-	response = CreateDescribeDomainDownstreamBpsOfEdgeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDomainDownstreamBpsOfEdgeWithChan invokes the cdn.DescribeDomainDownstreamBpsOfEdge API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomaindownstreambpsofedge.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainDownstreamBpsOfEdgeWithChan(request *DescribeDomainDownstreamBpsOfEdgeRequest) (<-chan *DescribeDomainDownstreamBpsOfEdgeResponse, <-chan error) {
-	responseChan := make(chan *DescribeDomainDownstreamBpsOfEdgeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDomainDownstreamBpsOfEdge(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDomainDownstreamBpsOfEdgeWithCallback invokes the cdn.DescribeDomainDownstreamBpsOfEdge API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomaindownstreambpsofedge.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainDownstreamBpsOfEdgeWithCallback(request *DescribeDomainDownstreamBpsOfEdgeRequest, callback func(response *DescribeDomainDownstreamBpsOfEdgeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDomainDownstreamBpsOfEdgeResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDomainDownstreamBpsOfEdge(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDomainDownstreamBpsOfEdgeRequest is the request struct for api DescribeDomainDownstreamBpsOfEdge
-type DescribeDomainDownstreamBpsOfEdgeRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeDomainDownstreamBpsOfEdgeResponse is the response struct for api DescribeDomainDownstreamBpsOfEdge
-type DescribeDomainDownstreamBpsOfEdgeResponse struct {
-	*responses.BaseResponse
-	RequestId string   `json:"RequestId" xml:"RequestId"`
-	BpsDatas  BpsDatas `json:"BpsDatas" xml:"BpsDatas"`
-}
-
-// CreateDescribeDomainDownstreamBpsOfEdgeRequest creates a request to invoke DescribeDomainDownstreamBpsOfEdge API
-func CreateDescribeDomainDownstreamBpsOfEdgeRequest() (request *DescribeDomainDownstreamBpsOfEdgeRequest) {
-	request = &DescribeDomainDownstreamBpsOfEdgeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainDownstreamBpsOfEdge", "", "")
-	return
-}
-
-// CreateDescribeDomainDownstreamBpsOfEdgeResponse creates a response to parse from DescribeDomainDownstreamBpsOfEdge response
-func CreateDescribeDomainDownstreamBpsOfEdgeResponse() (response *DescribeDomainDownstreamBpsOfEdgeResponse) {
-	response = &DescribeDomainDownstreamBpsOfEdgeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/cdn/describe_domain_file_size_proportion_data.go

@@ -99,7 +99,7 @@ func CreateDescribeDomainFileSizeProportionDataRequest() (request *DescribeDomai
 	request = &DescribeDomainFileSizeProportionDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainFileSizeProportionData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainFileSizeProportionData", "", "")
 	return
 }
 

+ 0 - 118
services/cdn/describe_domain_flow_data.go

@@ -1,118 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeDomainFlowData invokes the cdn.DescribeDomainFlowData API synchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainflowdata.html
-func (client *Client) DescribeDomainFlowData(request *DescribeDomainFlowDataRequest) (response *DescribeDomainFlowDataResponse, err error) {
-	response = CreateDescribeDomainFlowDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDomainFlowDataWithChan invokes the cdn.DescribeDomainFlowData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainflowdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainFlowDataWithChan(request *DescribeDomainFlowDataRequest) (<-chan *DescribeDomainFlowDataResponse, <-chan error) {
-	responseChan := make(chan *DescribeDomainFlowDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDomainFlowData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDomainFlowDataWithCallback invokes the cdn.DescribeDomainFlowData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainflowdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainFlowDataWithCallback(request *DescribeDomainFlowDataRequest, callback func(response *DescribeDomainFlowDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDomainFlowDataResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDomainFlowData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDomainFlowDataRequest is the request struct for api DescribeDomainFlowData
-type DescribeDomainFlowDataRequest struct {
-	*requests.RpcRequest
-	FixTimeGap     string           `position:"Query" name:"FixTimeGap"`
-	TimeMerge      string           `position:"Query" name:"TimeMerge"`
-	DomainName     string           `position:"Query" name:"DomainName"`
-	EndTime        string           `position:"Query" name:"EndTime"`
-	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
-	StartTime      string           `position:"Query" name:"StartTime"`
-	IspNameEn      string           `position:"Query" name:"IspNameEn"`
-	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
-	DomainType     string           `position:"Query" name:"DomainType"`
-	SecurityToken  string           `position:"Query" name:"SecurityToken"`
-	Interval       string           `position:"Query" name:"Interval"`
-}
-
-// DescribeDomainFlowDataResponse is the response struct for api DescribeDomainFlowData
-type DescribeDomainFlowDataResponse 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"`
-	FlowDataPerInterval FlowDataPerInterval `json:"FlowDataPerInterval" xml:"FlowDataPerInterval"`
-}
-
-// CreateDescribeDomainFlowDataRequest creates a request to invoke DescribeDomainFlowData API
-func CreateDescribeDomainFlowDataRequest() (request *DescribeDomainFlowDataRequest) {
-	request = &DescribeDomainFlowDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainFlowData", "", "")
-	return
-}
-
-// CreateDescribeDomainFlowDataResponse creates a response to parse from DescribeDomainFlowData response
-func CreateDescribeDomainFlowDataResponse() (response *DescribeDomainFlowDataResponse) {
-	response = &DescribeDomainFlowDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 5 - 7
services/cdn/describe_domain_hit_rate_data.go

@@ -76,15 +76,13 @@ func (client *Client) DescribeDomainHitRateDataWithCallback(request *DescribeDom
 // DescribeDomainHitRateDataRequest is the request struct for api DescribeDomainHitRateData
 type DescribeDomainHitRateDataRequest struct {
 	*requests.RpcRequest
-	SecurityToken  string           `position:"Query" name:"SecurityToken"`
-	TimeMerge      string           `position:"Query" name:"TimeMerge"`
-	DomainName     string           `position:"Query" name:"DomainName"`
-	EndTime        string           `position:"Query" name:"EndTime"`
 	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
-	Interval       string           `position:"Query" name:"Interval"`
 	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"`
 }
 
 // DescribeDomainHitRateDataResponse is the response struct for api DescribeDomainHitRateData
@@ -92,9 +90,9 @@ type DescribeDomainHitRateDataResponse 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"`
+	DataInterval    string          `json:"DataInterval" xml:"DataInterval"`
 	HitRateInterval HitRateInterval `json:"HitRateInterval" xml:"HitRateInterval"`
 }
 
@@ -103,7 +101,7 @@ func CreateDescribeDomainHitRateDataRequest() (request *DescribeDomainHitRateDat
 	request = &DescribeDomainHitRateDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainHitRateData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainHitRateData", "", "")
 	return
 }
 

+ 12 - 16
services/cdn/describe_domain_http_code_data.go

@@ -76,26 +76,22 @@ func (client *Client) DescribeDomainHttpCodeDataWithCallback(request *DescribeDo
 // DescribeDomainHttpCodeDataRequest is the request struct for api DescribeDomainHttpCodeData
 type DescribeDomainHttpCodeDataRequest struct {
 	*requests.RpcRequest
-	SecurityToken  string           `position:"Query" name:"SecurityToken"`
-	TimeMerge      string           `position:"Query" name:"TimeMerge"`
-	DomainName     string           `position:"Query" name:"DomainName"`
-	EndTime        string           `position:"Query" name:"EndTime"`
-	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
-	Interval       string           `position:"Query" name:"Interval"`
-	StartTime      string           `position:"Query" name:"StartTime"`
-	IspNameEn      string           `position:"Query" name:"IspNameEn"`
-	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	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"`
 }
 
 // DescribeDomainHttpCodeDataResponse is the response struct for api DescribeDomainHttpCodeData
 type DescribeDomainHttpCodeDataResponse 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"`
-	HttpCodeData HttpCodeData `json:"HttpCodeData" xml:"HttpCodeData"`
+	RequestId    string                                   `json:"RequestId" xml:"RequestId"`
+	DomainName   string                                   `json:"DomainName" xml:"DomainName"`
+	StartTime    string                                   `json:"StartTime" xml:"StartTime"`
+	EndTime      string                                   `json:"EndTime" xml:"EndTime"`
+	DataInterval string                                   `json:"DataInterval" xml:"DataInterval"`
+	HttpCodeData HttpCodeDataInDescribeDomainHttpCodeData `json:"HttpCodeData" xml:"HttpCodeData"`
 }
 
 // CreateDescribeDomainHttpCodeDataRequest creates a request to invoke DescribeDomainHttpCodeData API
@@ -103,7 +99,7 @@ func CreateDescribeDomainHttpCodeDataRequest() (request *DescribeDomainHttpCodeD
 	request = &DescribeDomainHttpCodeDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainHttpCodeData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainHttpCodeData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_isp_data.go

@@ -99,7 +99,7 @@ func CreateDescribeDomainISPDataRequest() (request *DescribeDomainISPDataRequest
 	request = &DescribeDomainISPDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainISPData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainISPData", "", "")
 	return
 }
 

+ 5 - 6
services/cdn/describe_domain_max95_bps_data.go

@@ -76,11 +76,10 @@ func (client *Client) DescribeDomainMax95BpsDataWithCallback(request *DescribeDo
 // DescribeDomainMax95BpsDataRequest is the request struct for api DescribeDomainMax95BpsData
 type DescribeDomainMax95BpsDataRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	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"`
 }
 
 // DescribeDomainMax95BpsDataResponse is the response struct for api DescribeDomainMax95BpsData
@@ -100,7 +99,7 @@ func CreateDescribeDomainMax95BpsDataRequest() (request *DescribeDomainMax95BpsD
 	request = &DescribeDomainMax95BpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainMax95BpsData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainMax95BpsData", "", "")
 	return
 }
 

+ 1 - 2
services/cdn/describe_domain_path_data.go

@@ -88,7 +88,6 @@ type DescribeDomainPathDataRequest struct {
 // DescribeDomainPathDataResponse is the response struct for api DescribeDomainPathData
 type DescribeDomainPathDataResponse struct {
 	*responses.BaseResponse
-	RequestId           string              `json:"RequestId" xml:"RequestId"`
 	DomainName          string              `json:"DomainName" xml:"DomainName"`
 	StartTime           string              `json:"StartTime" xml:"StartTime"`
 	EndTime             string              `json:"EndTime" xml:"EndTime"`
@@ -104,7 +103,7 @@ func CreateDescribeDomainPathDataRequest() (request *DescribeDomainPathDataReque
 	request = &DescribeDomainPathDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainPathData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainPathData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_pv_data.go

@@ -99,7 +99,7 @@ func CreateDescribeDomainPvDataRequest() (request *DescribeDomainPvDataRequest)
 	request = &DescribeDomainPvDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainPvData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainPvData", "", "")
 	return
 }
 

+ 4 - 8
services/cdn/describe_domain_qps_data.go

@@ -76,16 +76,12 @@ func (client *Client) DescribeDomainQpsDataWithCallback(request *DescribeDomainQ
 // DescribeDomainQpsDataRequest is the request struct for api DescribeDomainQpsData
 type DescribeDomainQpsDataRequest struct {
 	*requests.RpcRequest
-	FixTimeGap     string           `position:"Query" name:"FixTimeGap"`
-	TimeMerge      string           `position:"Query" name:"TimeMerge"`
-	DomainName     string           `position:"Query" name:"DomainName"`
-	EndTime        string           `position:"Query" name:"EndTime"`
 	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"`
-	DomainType     string           `position:"Query" name:"DomainType"`
-	SecurityToken  string           `position:"Query" name:"SecurityToken"`
 	Interval       string           `position:"Query" name:"Interval"`
 }
 
@@ -94,9 +90,9 @@ type DescribeDomainQpsDataResponse 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"`
+	DataInterval    string          `json:"DataInterval" xml:"DataInterval"`
 	QpsDataInterval QpsDataInterval `json:"QpsDataInterval" xml:"QpsDataInterval"`
 }
 
@@ -105,7 +101,7 @@ func CreateDescribeDomainQpsDataRequest() (request *DescribeDomainQpsDataRequest
 	request = &DescribeDomainQpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainQpsData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainQpsData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_real_time_bps_data.go

@@ -96,7 +96,7 @@ func CreateDescribeDomainRealTimeBpsDataRequest() (request *DescribeDomainRealTi
 	request = &DescribeDomainRealTimeBpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRealTimeBpsData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRealTimeBpsData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_real_time_byte_hit_rate_data.go

@@ -94,7 +94,7 @@ func CreateDescribeDomainRealTimeByteHitRateDataRequest() (request *DescribeDoma
 	request = &DescribeDomainRealTimeByteHitRateDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRealTimeByteHitRateData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRealTimeByteHitRateData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_real_time_http_code_data.go

@@ -100,7 +100,7 @@ func CreateDescribeDomainRealTimeHttpCodeDataRequest() (request *DescribeDomainR
 	request = &DescribeDomainRealTimeHttpCodeDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRealTimeHttpCodeData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRealTimeHttpCodeData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_real_time_qps_data.go

@@ -96,7 +96,7 @@ func CreateDescribeDomainRealTimeQpsDataRequest() (request *DescribeDomainRealTi
 	request = &DescribeDomainRealTimeQpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRealTimeQpsData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRealTimeQpsData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_real_time_req_hit_rate_data.go

@@ -94,7 +94,7 @@ func CreateDescribeDomainRealTimeReqHitRateDataRequest() (request *DescribeDomai
 	request = &DescribeDomainRealTimeReqHitRateDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRealTimeReqHitRateData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRealTimeReqHitRateData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_real_time_src_bps_data.go

@@ -98,7 +98,7 @@ func CreateDescribeDomainRealTimeSrcBpsDataRequest() (request *DescribeDomainRea
 	request = &DescribeDomainRealTimeSrcBpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRealTimeSrcBpsData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRealTimeSrcBpsData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_real_time_src_traffic_data.go

@@ -98,7 +98,7 @@ func CreateDescribeDomainRealTimeSrcTrafficDataRequest() (request *DescribeDomai
 	request = &DescribeDomainRealTimeSrcTrafficDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRealTimeSrcTrafficData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRealTimeSrcTrafficData", "", "")
 	return
 }
 

+ 5 - 6
services/cdn/describe_domain_region_data.go

@@ -76,11 +76,10 @@ func (client *Client) DescribeDomainRegionDataWithCallback(request *DescribeDoma
 // DescribeDomainRegionDataRequest is the request struct for api DescribeDomainRegionData
 type DescribeDomainRegionDataRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	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"`
 }
 
 // DescribeDomainRegionDataResponse is the response struct for api DescribeDomainRegionData
@@ -99,7 +98,7 @@ func CreateDescribeDomainRegionDataRequest() (request *DescribeDomainRegionDataR
 	request = &DescribeDomainRegionDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainRegionData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainRegionData", "", "")
 	return
 }
 

+ 6 - 7
services/cdn/describe_domain_req_hit_rate_data.go

@@ -76,12 +76,11 @@ func (client *Client) DescribeDomainReqHitRateDataWithCallback(request *Describe
 // DescribeDomainReqHitRateDataRequest is the request struct for api DescribeDomainReqHitRateData
 type DescribeDomainReqHitRateDataRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	Interval      string           `position:"Query" name:"Interval"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	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"`
 }
 
 // DescribeDomainReqHitRateDataResponse is the response struct for api DescribeDomainReqHitRateData
@@ -100,7 +99,7 @@ func CreateDescribeDomainReqHitRateDataRequest() (request *DescribeDomainReqHitR
 	request = &DescribeDomainReqHitRateDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainReqHitRateData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainReqHitRateData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_slow_ratio.go

@@ -101,7 +101,7 @@ func CreateDescribeDomainSlowRatioRequest() (request *DescribeDomainSlowRatioReq
 	request = &DescribeDomainSlowRatioRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainSlowRatio", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainSlowRatio", "", "")
 	return
 }
 

+ 1 - 3
services/cdn/describe_domain_src_bps_data.go

@@ -77,8 +77,6 @@ func (client *Client) DescribeDomainSrcBpsDataWithCallback(request *DescribeDoma
 type DescribeDomainSrcBpsDataRequest 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"`
@@ -101,7 +99,7 @@ func CreateDescribeDomainSrcBpsDataRequest() (request *DescribeDomainSrcBpsDataR
 	request = &DescribeDomainSrcBpsDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainSrcBpsData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainSrcBpsData", "", "")
 	return
 }
 

+ 0 - 114
services/cdn/describe_domain_src_flow_data.go

@@ -1,114 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeDomainSrcFlowData invokes the cdn.DescribeDomainSrcFlowData API synchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainsrcflowdata.html
-func (client *Client) DescribeDomainSrcFlowData(request *DescribeDomainSrcFlowDataRequest) (response *DescribeDomainSrcFlowDataResponse, err error) {
-	response = CreateDescribeDomainSrcFlowDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDomainSrcFlowDataWithChan invokes the cdn.DescribeDomainSrcFlowData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainsrcflowdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainSrcFlowDataWithChan(request *DescribeDomainSrcFlowDataRequest) (<-chan *DescribeDomainSrcFlowDataResponse, <-chan error) {
-	responseChan := make(chan *DescribeDomainSrcFlowDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDomainSrcFlowData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDomainSrcFlowDataWithCallback invokes the cdn.DescribeDomainSrcFlowData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describedomainsrcflowdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDomainSrcFlowDataWithCallback(request *DescribeDomainSrcFlowDataRequest, callback func(response *DescribeDomainSrcFlowDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDomainSrcFlowDataResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDomainSrcFlowData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDomainSrcFlowDataRequest is the request struct for api DescribeDomainSrcFlowData
-type DescribeDomainSrcFlowDataRequest 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"`
-}
-
-// DescribeDomainSrcFlowDataResponse is the response struct for api DescribeDomainSrcFlowData
-type DescribeDomainSrcFlowDataResponse struct {
-	*responses.BaseResponse
-	RequestId              string                 `json:"RequestId" xml:"RequestId"`
-	DomainName             string                 `json:"DomainName" xml:"DomainName"`
-	StartTime              string                 `json:"StartTime" xml:"StartTime"`
-	EndTime                string                 `json:"EndTime" xml:"EndTime"`
-	DataInterval           string                 `json:"DataInterval" xml:"DataInterval"`
-	SrcFlowDataPerInterval SrcFlowDataPerInterval `json:"SrcFlowDataPerInterval" xml:"SrcFlowDataPerInterval"`
-}
-
-// CreateDescribeDomainSrcFlowDataRequest creates a request to invoke DescribeDomainSrcFlowData API
-func CreateDescribeDomainSrcFlowDataRequest() (request *DescribeDomainSrcFlowDataRequest) {
-	request = &DescribeDomainSrcFlowDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainSrcFlowData", "", "")
-	return
-}
-
-// CreateDescribeDomainSrcFlowDataResponse creates a response to parse from DescribeDomainSrcFlowData response
-func CreateDescribeDomainSrcFlowDataResponse() (response *DescribeDomainSrcFlowDataResponse) {
-	response = &DescribeDomainSrcFlowDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 112 - 0
services/cdn/describe_domain_src_http_code_data.go

@@ -0,0 +1,112 @@
+package cdn
+
+//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"
+)
+
+// DescribeDomainSrcHttpCodeData invokes the cdn.DescribeDomainSrcHttpCodeData API synchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainsrchttpcodedata.html
+func (client *Client) DescribeDomainSrcHttpCodeData(request *DescribeDomainSrcHttpCodeDataRequest) (response *DescribeDomainSrcHttpCodeDataResponse, err error) {
+	response = CreateDescribeDomainSrcHttpCodeDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDomainSrcHttpCodeDataWithChan invokes the cdn.DescribeDomainSrcHttpCodeData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainsrchttpcodedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainSrcHttpCodeDataWithChan(request *DescribeDomainSrcHttpCodeDataRequest) (<-chan *DescribeDomainSrcHttpCodeDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeDomainSrcHttpCodeDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDomainSrcHttpCodeData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDomainSrcHttpCodeDataWithCallback invokes the cdn.DescribeDomainSrcHttpCodeData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainsrchttpcodedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainSrcHttpCodeDataWithCallback(request *DescribeDomainSrcHttpCodeDataRequest, callback func(response *DescribeDomainSrcHttpCodeDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDomainSrcHttpCodeDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDomainSrcHttpCodeData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDomainSrcHttpCodeDataRequest is the request struct for api DescribeDomainSrcHttpCodeData
+type DescribeDomainSrcHttpCodeDataRequest 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"`
+}
+
+// DescribeDomainSrcHttpCodeDataResponse is the response struct for api DescribeDomainSrcHttpCodeData
+type DescribeDomainSrcHttpCodeDataResponse struct {
+	*responses.BaseResponse
+	RequestId    string                                      `json:"RequestId" xml:"RequestId"`
+	DomainName   string                                      `json:"DomainName" xml:"DomainName"`
+	StartTime    string                                      `json:"StartTime" xml:"StartTime"`
+	EndTime      string                                      `json:"EndTime" xml:"EndTime"`
+	DataInterval string                                      `json:"DataInterval" xml:"DataInterval"`
+	HttpCodeData HttpCodeDataInDescribeDomainSrcHttpCodeData `json:"HttpCodeData" xml:"HttpCodeData"`
+}
+
+// CreateDescribeDomainSrcHttpCodeDataRequest creates a request to invoke DescribeDomainSrcHttpCodeData API
+func CreateDescribeDomainSrcHttpCodeDataRequest() (request *DescribeDomainSrcHttpCodeDataRequest) {
+	request = &DescribeDomainSrcHttpCodeDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainSrcHttpCodeData", "", "")
+	return
+}
+
+// CreateDescribeDomainSrcHttpCodeDataResponse creates a response to parse from DescribeDomainSrcHttpCodeData response
+func CreateDescribeDomainSrcHttpCodeDataResponse() (response *DescribeDomainSrcHttpCodeDataResponse) {
+	response = &DescribeDomainSrcHttpCodeDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/cdn/describe_domain_src_traffic_data.go

@@ -0,0 +1,112 @@
+package cdn
+
+//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"
+)
+
+// DescribeDomainSrcTrafficData invokes the cdn.DescribeDomainSrcTrafficData API synchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainsrctrafficdata.html
+func (client *Client) DescribeDomainSrcTrafficData(request *DescribeDomainSrcTrafficDataRequest) (response *DescribeDomainSrcTrafficDataResponse, err error) {
+	response = CreateDescribeDomainSrcTrafficDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDomainSrcTrafficDataWithChan invokes the cdn.DescribeDomainSrcTrafficData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainsrctrafficdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainSrcTrafficDataWithChan(request *DescribeDomainSrcTrafficDataRequest) (<-chan *DescribeDomainSrcTrafficDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeDomainSrcTrafficDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDomainSrcTrafficData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDomainSrcTrafficDataWithCallback invokes the cdn.DescribeDomainSrcTrafficData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainsrctrafficdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainSrcTrafficDataWithCallback(request *DescribeDomainSrcTrafficDataRequest, callback func(response *DescribeDomainSrcTrafficDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDomainSrcTrafficDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDomainSrcTrafficData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDomainSrcTrafficDataRequest is the request struct for api DescribeDomainSrcTrafficData
+type DescribeDomainSrcTrafficDataRequest 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"`
+}
+
+// DescribeDomainSrcTrafficDataResponse is the response struct for api DescribeDomainSrcTrafficData
+type DescribeDomainSrcTrafficDataResponse struct {
+	*responses.BaseResponse
+	RequestId                 string                    `json:"RequestId" xml:"RequestId"`
+	DomainName                string                    `json:"DomainName" xml:"DomainName"`
+	StartTime                 string                    `json:"StartTime" xml:"StartTime"`
+	EndTime                   string                    `json:"EndTime" xml:"EndTime"`
+	DataInterval              string                    `json:"DataInterval" xml:"DataInterval"`
+	SrcTrafficDataPerInterval SrcTrafficDataPerInterval `json:"SrcTrafficDataPerInterval" xml:"SrcTrafficDataPerInterval"`
+}
+
+// CreateDescribeDomainSrcTrafficDataRequest creates a request to invoke DescribeDomainSrcTrafficData API
+func CreateDescribeDomainSrcTrafficDataRequest() (request *DescribeDomainSrcTrafficDataRequest) {
+	request = &DescribeDomainSrcTrafficDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainSrcTrafficData", "", "")
+	return
+}
+
+// CreateDescribeDomainSrcTrafficDataResponse creates a response to parse from DescribeDomainSrcTrafficData response
+func CreateDescribeDomainSrcTrafficDataResponse() (response *DescribeDomainSrcTrafficDataResponse) {
+	response = &DescribeDomainSrcTrafficDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/cdn/describe_domain_top_refer_visit.go

@@ -97,7 +97,7 @@ func CreateDescribeDomainTopReferVisitRequest() (request *DescribeDomainTopRefer
 	request = &DescribeDomainTopReferVisitRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainTopReferVisit", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainTopReferVisit", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domain_top_url_visit.go

@@ -101,7 +101,7 @@ func CreateDescribeDomainTopUrlVisitRequest() (request *DescribeDomainTopUrlVisi
 	request = &DescribeDomainTopUrlVisitRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainTopUrlVisit", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainTopUrlVisit", "", "")
 	return
 }
 

+ 114 - 0
services/cdn/describe_domain_traffic_data.go

@@ -0,0 +1,114 @@
+package cdn
+
+//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"
+)
+
+// DescribeDomainTrafficData invokes the cdn.DescribeDomainTrafficData API synchronously
+// api document: https://help.aliyun.com/api/cdn/describedomaintrafficdata.html
+func (client *Client) DescribeDomainTrafficData(request *DescribeDomainTrafficDataRequest) (response *DescribeDomainTrafficDataResponse, err error) {
+	response = CreateDescribeDomainTrafficDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDomainTrafficDataWithChan invokes the cdn.DescribeDomainTrafficData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomaintrafficdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainTrafficDataWithChan(request *DescribeDomainTrafficDataRequest) (<-chan *DescribeDomainTrafficDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeDomainTrafficDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDomainTrafficData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDomainTrafficDataWithCallback invokes the cdn.DescribeDomainTrafficData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomaintrafficdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainTrafficDataWithCallback(request *DescribeDomainTrafficDataRequest, callback func(response *DescribeDomainTrafficDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDomainTrafficDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDomainTrafficData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDomainTrafficDataRequest is the request struct for api DescribeDomainTrafficData
+type DescribeDomainTrafficDataRequest 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"`
+}
+
+// DescribeDomainTrafficDataResponse is the response struct for api DescribeDomainTrafficData
+type DescribeDomainTrafficDataResponse struct {
+	*responses.BaseResponse
+	RequestId              string                 `json:"RequestId" xml:"RequestId"`
+	DomainName             string                 `json:"DomainName" xml:"DomainName"`
+	StartTime              string                 `json:"StartTime" xml:"StartTime"`
+	EndTime                string                 `json:"EndTime" xml:"EndTime"`
+	DataInterval           string                 `json:"DataInterval" xml:"DataInterval"`
+	TrafficDataPerInterval TrafficDataPerInterval `json:"TrafficDataPerInterval" xml:"TrafficDataPerInterval"`
+}
+
+// CreateDescribeDomainTrafficDataRequest creates a request to invoke DescribeDomainTrafficData API
+func CreateDescribeDomainTrafficDataRequest() (request *DescribeDomainTrafficDataRequest) {
+	request = &DescribeDomainTrafficDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainTrafficData", "", "")
+	return
+}
+
+// CreateDescribeDomainTrafficDataResponse creates a response to parse from DescribeDomainTrafficData response
+func CreateDescribeDomainTrafficDataResponse() (response *DescribeDomainTrafficDataResponse) {
+	response = &DescribeDomainTrafficDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/cdn/describe_domain_usage_data.go

@@ -0,0 +1,117 @@
+package cdn
+
+//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"
+)
+
+// DescribeDomainUsageData invokes the cdn.DescribeDomainUsageData API synchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainusagedata.html
+func (client *Client) DescribeDomainUsageData(request *DescribeDomainUsageDataRequest) (response *DescribeDomainUsageDataResponse, err error) {
+	response = CreateDescribeDomainUsageDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDomainUsageDataWithChan invokes the cdn.DescribeDomainUsageData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainusagedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainUsageDataWithChan(request *DescribeDomainUsageDataRequest) (<-chan *DescribeDomainUsageDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeDomainUsageDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDomainUsageData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDomainUsageDataWithCallback invokes the cdn.DescribeDomainUsageData API asynchronously
+// api document: https://help.aliyun.com/api/cdn/describedomainusagedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainUsageDataWithCallback(request *DescribeDomainUsageDataRequest, callback func(response *DescribeDomainUsageDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDomainUsageDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDomainUsageData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDomainUsageDataRequest is the request struct for api DescribeDomainUsageData
+type DescribeDomainUsageDataRequest struct {
+	*requests.RpcRequest
+	StartTime    string           `position:"Query" name:"StartTime"`
+	Type         string           `position:"Query" name:"Type"`
+	DataProtocol string           `position:"Query" name:"DataProtocol"`
+	Area         string           `position:"Query" name:"Area"`
+	DomainName   string           `position:"Query" name:"DomainName"`
+	EndTime      string           `position:"Query" name:"EndTime"`
+	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
+	Field        string           `position:"Query" name:"Field"`
+}
+
+// DescribeDomainUsageDataResponse is the response struct for api DescribeDomainUsageData
+type DescribeDomainUsageDataResponse struct {
+	*responses.BaseResponse
+	RequestId            string               `json:"RequestId" xml:"RequestId"`
+	DomainName           string               `json:"DomainName" xml:"DomainName"`
+	StartTime            string               `json:"StartTime" xml:"StartTime"`
+	EndTime              string               `json:"EndTime" xml:"EndTime"`
+	Type                 string               `json:"Type" xml:"Type"`
+	Area                 string               `json:"Area" xml:"Area"`
+	DataInterval         string               `json:"DataInterval" xml:"DataInterval"`
+	UsageDataPerInterval UsageDataPerInterval `json:"UsageDataPerInterval" xml:"UsageDataPerInterval"`
+}
+
+// CreateDescribeDomainUsageDataRequest creates a request to invoke DescribeDomainUsageData API
+func CreateDescribeDomainUsageDataRequest() (request *DescribeDomainUsageDataRequest) {
+	request = &DescribeDomainUsageDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainUsageData", "", "")
+	return
+}
+
+// CreateDescribeDomainUsageDataResponse creates a response to parse from DescribeDomainUsageData response
+func CreateDescribeDomainUsageDataResponse() (response *DescribeDomainUsageDataResponse) {
+	response = &DescribeDomainUsageDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/cdn/describe_domain_uv_data.go

@@ -99,7 +99,7 @@ func CreateDescribeDomainUvDataRequest() (request *DescribeDomainUvDataRequest)
 	request = &DescribeDomainUvDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainUvData", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainUvData", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_domains_by_source.go

@@ -94,7 +94,7 @@ func CreateDescribeDomainsBySourceRequest() (request *DescribeDomainsBySourceReq
 	request = &DescribeDomainsBySourceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainsBySource", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainsBySource", "", "")
 	return
 }
 

+ 5 - 6
services/cdn/describe_domains_usage_by_day.go

@@ -76,11 +76,10 @@ func (client *Client) DescribeDomainsUsageByDayWithCallback(request *DescribeDom
 // DescribeDomainsUsageByDayRequest is the request struct for api DescribeDomainsUsageByDay
 type DescribeDomainsUsageByDayRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	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"`
 }
 
 // DescribeDomainsUsageByDayResponse is the response struct for api DescribeDomainsUsageByDay
@@ -100,7 +99,7 @@ func CreateDescribeDomainsUsageByDayRequest() (request *DescribeDomainsUsageByDa
 	request = &DescribeDomainsUsageByDayRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeDomainsUsageByDay", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeDomainsUsageByDay", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_fc_trigger.go

@@ -92,7 +92,7 @@ func CreateDescribeFCTriggerRequest() (request *DescribeFCTriggerRequest) {
 	request = &DescribeFCTriggerRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeFCTrigger", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeFCTrigger", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_ip_info.go

@@ -97,7 +97,7 @@ func CreateDescribeIpInfoRequest() (request *DescribeIpInfoRequest) {
 	request = &DescribeIpInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeIpInfo", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeIpInfo", "", "")
 	return
 }
 

+ 4 - 4
services/cdn/describe_l2_vips_by_domain.go

@@ -84,9 +84,9 @@ type DescribeL2VipsByDomainRequest struct {
 // DescribeL2VipsByDomainResponse is the response struct for api DescribeL2VipsByDomain
 type DescribeL2VipsByDomainResponse struct {
 	*responses.BaseResponse
-	RequestId  string                       `json:"RequestId" xml:"RequestId"`
-	DomainName string                       `json:"DomainName" xml:"DomainName"`
-	Vips       VipsInDescribeL2VipsByDomain `json:"Vips" xml:"Vips"`
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	DomainName string `json:"DomainName" xml:"DomainName"`
+	Vips       Vips   `json:"Vips" xml:"Vips"`
 }
 
 // CreateDescribeL2VipsByDomainRequest creates a request to invoke DescribeL2VipsByDomain API
@@ -94,7 +94,7 @@ func CreateDescribeL2VipsByDomainRequest() (request *DescribeL2VipsByDomainReque
 	request = &DescribeL2VipsByDomainRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeL2VipsByDomain", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeL2VipsByDomain", "", "")
 	return
 }
 

+ 0 - 106
services/cdn/describe_l2_vips_by_dynamic_domain.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeL2VipsByDynamicDomain invokes the cdn.DescribeL2VipsByDynamicDomain API synchronously
-// api document: https://help.aliyun.com/api/cdn/describel2vipsbydynamicdomain.html
-func (client *Client) DescribeL2VipsByDynamicDomain(request *DescribeL2VipsByDynamicDomainRequest) (response *DescribeL2VipsByDynamicDomainResponse, err error) {
-	response = CreateDescribeL2VipsByDynamicDomainResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeL2VipsByDynamicDomainWithChan invokes the cdn.DescribeL2VipsByDynamicDomain API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describel2vipsbydynamicdomain.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeL2VipsByDynamicDomainWithChan(request *DescribeL2VipsByDynamicDomainRequest) (<-chan *DescribeL2VipsByDynamicDomainResponse, <-chan error) {
-	responseChan := make(chan *DescribeL2VipsByDynamicDomainResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeL2VipsByDynamicDomain(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeL2VipsByDynamicDomainWithCallback invokes the cdn.DescribeL2VipsByDynamicDomain API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describel2vipsbydynamicdomain.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeL2VipsByDynamicDomainWithCallback(request *DescribeL2VipsByDynamicDomainRequest, callback func(response *DescribeL2VipsByDynamicDomainResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeL2VipsByDynamicDomainResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeL2VipsByDynamicDomain(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeL2VipsByDynamicDomainRequest is the request struct for api DescribeL2VipsByDynamicDomain
-type DescribeL2VipsByDynamicDomainRequest struct {
-	*requests.RpcRequest
-	DomainName string           `position:"Query" name:"DomainName"`
-	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeL2VipsByDynamicDomainResponse is the response struct for api DescribeL2VipsByDynamicDomain
-type DescribeL2VipsByDynamicDomainResponse struct {
-	*responses.BaseResponse
-	RequestId  string                              `json:"RequestId" xml:"RequestId"`
-	DomainName string                              `json:"DomainName" xml:"DomainName"`
-	Vips       VipsInDescribeL2VipsByDynamicDomain `json:"Vips" xml:"Vips"`
-}
-
-// CreateDescribeL2VipsByDynamicDomainRequest creates a request to invoke DescribeL2VipsByDynamicDomain API
-func CreateDescribeL2VipsByDynamicDomainRequest() (request *DescribeL2VipsByDynamicDomainRequest) {
-	request = &DescribeL2VipsByDynamicDomainRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeL2VipsByDynamicDomain", "", "")
-	return
-}
-
-// CreateDescribeL2VipsByDynamicDomainResponse creates a response to parse from DescribeL2VipsByDynamicDomain response
-func CreateDescribeL2VipsByDynamicDomainResponse() (response *DescribeL2VipsByDynamicDomainResponse) {
-	response = &DescribeL2VipsByDynamicDomainResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/describe_live_pull_stream_config.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLivePullStreamConfig invokes the cdn.DescribeLivePullStreamConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivepullstreamconfig.html
-func (client *Client) DescribeLivePullStreamConfig(request *DescribeLivePullStreamConfigRequest) (response *DescribeLivePullStreamConfigResponse, err error) {
-	response = CreateDescribeLivePullStreamConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLivePullStreamConfigWithChan invokes the cdn.DescribeLivePullStreamConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivepullstreamconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLivePullStreamConfigWithChan(request *DescribeLivePullStreamConfigRequest) (<-chan *DescribeLivePullStreamConfigResponse, <-chan error) {
-	responseChan := make(chan *DescribeLivePullStreamConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLivePullStreamConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLivePullStreamConfigWithCallback invokes the cdn.DescribeLivePullStreamConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivepullstreamconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLivePullStreamConfigWithCallback(request *DescribeLivePullStreamConfigRequest, callback func(response *DescribeLivePullStreamConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLivePullStreamConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLivePullStreamConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLivePullStreamConfigRequest is the request struct for api DescribeLivePullStreamConfig
-type DescribeLivePullStreamConfigRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeLivePullStreamConfigResponse is the response struct for api DescribeLivePullStreamConfig
-type DescribeLivePullStreamConfigResponse struct {
-	*responses.BaseResponse
-	RequestId         string                                          `json:"RequestId" xml:"RequestId"`
-	LiveAppRecordList LiveAppRecordListInDescribeLivePullStreamConfig `json:"LiveAppRecordList" xml:"LiveAppRecordList"`
-}
-
-// CreateDescribeLivePullStreamConfigRequest creates a request to invoke DescribeLivePullStreamConfig API
-func CreateDescribeLivePullStreamConfigRequest() (request *DescribeLivePullStreamConfigRequest) {
-	request = &DescribeLivePullStreamConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLivePullStreamConfig", "", "")
-	return
-}
-
-// CreateDescribeLivePullStreamConfigResponse creates a response to parse from DescribeLivePullStreamConfig response
-func CreateDescribeLivePullStreamConfigResponse() (response *DescribeLivePullStreamConfigResponse) {
-	response = &DescribeLivePullStreamConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/describe_live_record_config.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveRecordConfig invokes the cdn.DescribeLiveRecordConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/describeliverecordconfig.html
-func (client *Client) DescribeLiveRecordConfig(request *DescribeLiveRecordConfigRequest) (response *DescribeLiveRecordConfigResponse, err error) {
-	response = CreateDescribeLiveRecordConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveRecordConfigWithChan invokes the cdn.DescribeLiveRecordConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describeliverecordconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveRecordConfigWithChan(request *DescribeLiveRecordConfigRequest) (<-chan *DescribeLiveRecordConfigResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveRecordConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveRecordConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveRecordConfigWithCallback invokes the cdn.DescribeLiveRecordConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describeliverecordconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveRecordConfigWithCallback(request *DescribeLiveRecordConfigRequest, callback func(response *DescribeLiveRecordConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveRecordConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveRecordConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveRecordConfigRequest is the request struct for api DescribeLiveRecordConfig
-type DescribeLiveRecordConfigRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeLiveRecordConfigResponse is the response struct for api DescribeLiveRecordConfig
-type DescribeLiveRecordConfigResponse struct {
-	*responses.BaseResponse
-	RequestId         string                                      `json:"RequestId" xml:"RequestId"`
-	LiveAppRecordList LiveAppRecordListInDescribeLiveRecordConfig `json:"LiveAppRecordList" xml:"LiveAppRecordList"`
-}
-
-// CreateDescribeLiveRecordConfigRequest creates a request to invoke DescribeLiveRecordConfig API
-func CreateDescribeLiveRecordConfigRequest() (request *DescribeLiveRecordConfigRequest) {
-	request = &DescribeLiveRecordConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveRecordConfig", "", "")
-	return
-}
-
-// CreateDescribeLiveRecordConfigResponse creates a response to parse from DescribeLiveRecordConfig response
-func CreateDescribeLiveRecordConfigResponse() (response *DescribeLiveRecordConfigResponse) {
-	response = &DescribeLiveRecordConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 116
services/cdn/describe_live_snapshot_config.go

@@ -1,116 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveSnapshotConfig invokes the cdn.DescribeLiveSnapshotConfig API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivesnapshotconfig.html
-func (client *Client) DescribeLiveSnapshotConfig(request *DescribeLiveSnapshotConfigRequest) (response *DescribeLiveSnapshotConfigResponse, err error) {
-	response = CreateDescribeLiveSnapshotConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveSnapshotConfigWithChan invokes the cdn.DescribeLiveSnapshotConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivesnapshotconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveSnapshotConfigWithChan(request *DescribeLiveSnapshotConfigRequest) (<-chan *DescribeLiveSnapshotConfigResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveSnapshotConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveSnapshotConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveSnapshotConfigWithCallback invokes the cdn.DescribeLiveSnapshotConfig API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivesnapshotconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveSnapshotConfigWithCallback(request *DescribeLiveSnapshotConfigRequest, callback func(response *DescribeLiveSnapshotConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveSnapshotConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveSnapshotConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveSnapshotConfigRequest is the request struct for api DescribeLiveSnapshotConfig
-type DescribeLiveSnapshotConfigRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum       requests.Integer `position:"Query" name:"PageNum"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-	Order         string           `position:"Query" name:"Order"`
-}
-
-// DescribeLiveSnapshotConfigResponse is the response struct for api DescribeLiveSnapshotConfig
-type DescribeLiveSnapshotConfigResponse struct {
-	*responses.BaseResponse
-	RequestId                    string                       `json:"RequestId" xml:"RequestId"`
-	PageNum                      int                          `json:"PageNum" xml:"PageNum"`
-	PageSize                     int                          `json:"PageSize" xml:"PageSize"`
-	Order                        string                       `json:"Order" xml:"Order"`
-	TotalNum                     int                          `json:"TotalNum" xml:"TotalNum"`
-	TotalPage                    int                          `json:"TotalPage" xml:"TotalPage"`
-	LiveStreamSnapshotConfigList LiveStreamSnapshotConfigList `json:"LiveStreamSnapshotConfigList" xml:"LiveStreamSnapshotConfigList"`
-}
-
-// CreateDescribeLiveSnapshotConfigRequest creates a request to invoke DescribeLiveSnapshotConfig API
-func CreateDescribeLiveSnapshotConfigRequest() (request *DescribeLiveSnapshotConfigRequest) {
-	request = &DescribeLiveSnapshotConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveSnapshotConfig", "", "")
-	return
-}
-
-// CreateDescribeLiveSnapshotConfigResponse creates a response to parse from DescribeLiveSnapshotConfig response
-func CreateDescribeLiveSnapshotConfigResponse() (response *DescribeLiveSnapshotConfigResponse) {
-	response = &DescribeLiveSnapshotConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/cdn/describe_live_stream_bit_rate_data.go

@@ -1,110 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamBitRateData invokes the cdn.DescribeLiveStreamBitRateData API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreambitratedata.html
-func (client *Client) DescribeLiveStreamBitRateData(request *DescribeLiveStreamBitRateDataRequest) (response *DescribeLiveStreamBitRateDataResponse, err error) {
-	response = CreateDescribeLiveStreamBitRateDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamBitRateDataWithChan invokes the cdn.DescribeLiveStreamBitRateData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreambitratedata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamBitRateDataWithChan(request *DescribeLiveStreamBitRateDataRequest) (<-chan *DescribeLiveStreamBitRateDataResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamBitRateDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamBitRateData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamBitRateDataWithCallback invokes the cdn.DescribeLiveStreamBitRateData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreambitratedata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamBitRateDataWithCallback(request *DescribeLiveStreamBitRateDataRequest, callback func(response *DescribeLiveStreamBitRateDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamBitRateDataResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamBitRateData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamBitRateDataRequest is the request struct for api DescribeLiveStreamBitRateData
-type DescribeLiveStreamBitRateDataRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-}
-
-// DescribeLiveStreamBitRateDataResponse is the response struct for api DescribeLiveStreamBitRateData
-type DescribeLiveStreamBitRateDataResponse struct {
-	*responses.BaseResponse
-	RequestId                string                                                  `json:"RequestId" xml:"RequestId"`
-	FrameRateAndBitRateInfos FrameRateAndBitRateInfosInDescribeLiveStreamBitRateData `json:"FrameRateAndBitRateInfos" xml:"FrameRateAndBitRateInfos"`
-}
-
-// CreateDescribeLiveStreamBitRateDataRequest creates a request to invoke DescribeLiveStreamBitRateData API
-func CreateDescribeLiveStreamBitRateDataRequest() (request *DescribeLiveStreamBitRateDataRequest) {
-	request = &DescribeLiveStreamBitRateDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamBitRateData", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamBitRateDataResponse creates a response to parse from DescribeLiveStreamBitRateData response
-func CreateDescribeLiveStreamBitRateDataResponse() (response *DescribeLiveStreamBitRateDataResponse) {
-	response = &DescribeLiveStreamBitRateDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/describe_live_stream_domain_app_info.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamDomainAppInfo invokes the cdn.DescribeLiveStreamDomainAppInfo API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamdomainappinfo.html
-func (client *Client) DescribeLiveStreamDomainAppInfo(request *DescribeLiveStreamDomainAppInfoRequest) (response *DescribeLiveStreamDomainAppInfoResponse, err error) {
-	response = CreateDescribeLiveStreamDomainAppInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamDomainAppInfoWithChan invokes the cdn.DescribeLiveStreamDomainAppInfo API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamdomainappinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamDomainAppInfoWithChan(request *DescribeLiveStreamDomainAppInfoRequest) (<-chan *DescribeLiveStreamDomainAppInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamDomainAppInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamDomainAppInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamDomainAppInfoWithCallback invokes the cdn.DescribeLiveStreamDomainAppInfo API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamdomainappinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamDomainAppInfoWithCallback(request *DescribeLiveStreamDomainAppInfoRequest, callback func(response *DescribeLiveStreamDomainAppInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamDomainAppInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamDomainAppInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamDomainAppInfoRequest is the request struct for api DescribeLiveStreamDomainAppInfo
-type DescribeLiveStreamDomainAppInfoRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	AppDomain     string           `position:"Query" name:"AppDomain"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeLiveStreamDomainAppInfoResponse is the response struct for api DescribeLiveStreamDomainAppInfo
-type DescribeLiveStreamDomainAppInfoResponse struct {
-	*responses.BaseResponse
-	RequestId     string        `json:"RequestId" xml:"RequestId"`
-	DomainAppList DomainAppList `json:"DomainAppList" xml:"DomainAppList"`
-}
-
-// CreateDescribeLiveStreamDomainAppInfoRequest creates a request to invoke DescribeLiveStreamDomainAppInfo API
-func CreateDescribeLiveStreamDomainAppInfoRequest() (request *DescribeLiveStreamDomainAppInfoRequest) {
-	request = &DescribeLiveStreamDomainAppInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamDomainAppInfo", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamDomainAppInfoResponse creates a response to parse from DescribeLiveStreamDomainAppInfo response
-func CreateDescribeLiveStreamDomainAppInfoResponse() (response *DescribeLiveStreamDomainAppInfoResponse) {
-	response = &DescribeLiveStreamDomainAppInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cdn/describe_live_stream_online_user_num.go

@@ -1,112 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamOnlineUserNum invokes the cdn.DescribeLiveStreamOnlineUserNum API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamonlineusernum.html
-func (client *Client) DescribeLiveStreamOnlineUserNum(request *DescribeLiveStreamOnlineUserNumRequest) (response *DescribeLiveStreamOnlineUserNumResponse, err error) {
-	response = CreateDescribeLiveStreamOnlineUserNumResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamOnlineUserNumWithChan invokes the cdn.DescribeLiveStreamOnlineUserNum API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamonlineusernum.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamOnlineUserNumWithChan(request *DescribeLiveStreamOnlineUserNumRequest) (<-chan *DescribeLiveStreamOnlineUserNumResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamOnlineUserNumResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamOnlineUserNum(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamOnlineUserNumWithCallback invokes the cdn.DescribeLiveStreamOnlineUserNum API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamonlineusernum.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamOnlineUserNumWithCallback(request *DescribeLiveStreamOnlineUserNumRequest, callback func(response *DescribeLiveStreamOnlineUserNumResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamOnlineUserNumResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamOnlineUserNum(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamOnlineUserNumRequest is the request struct for api DescribeLiveStreamOnlineUserNum
-type DescribeLiveStreamOnlineUserNumRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	HlsSwitch     string           `position:"Query" name:"HlsSwitch"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-}
-
-// DescribeLiveStreamOnlineUserNumResponse is the response struct for api DescribeLiveStreamOnlineUserNum
-type DescribeLiveStreamOnlineUserNumResponse struct {
-	*responses.BaseResponse
-	RequestId       string         `json:"RequestId" xml:"RequestId"`
-	TotalUserNumber int            `json:"TotalUserNumber" xml:"TotalUserNumber"`
-	OnlineUserInfo  OnlineUserInfo `json:"OnlineUserInfo" xml:"OnlineUserInfo"`
-}
-
-// CreateDescribeLiveStreamOnlineUserNumRequest creates a request to invoke DescribeLiveStreamOnlineUserNum API
-func CreateDescribeLiveStreamOnlineUserNumRequest() (request *DescribeLiveStreamOnlineUserNumRequest) {
-	request = &DescribeLiveStreamOnlineUserNumRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamOnlineUserNum", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamOnlineUserNumResponse creates a response to parse from DescribeLiveStreamOnlineUserNum response
-func CreateDescribeLiveStreamOnlineUserNumResponse() (response *DescribeLiveStreamOnlineUserNumResponse) {
-	response = &DescribeLiveStreamOnlineUserNumResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/cdn/describe_live_stream_record_content.go

@@ -1,110 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamRecordContent invokes the cdn.DescribeLiveStreamRecordContent API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordcontent.html
-func (client *Client) DescribeLiveStreamRecordContent(request *DescribeLiveStreamRecordContentRequest) (response *DescribeLiveStreamRecordContentResponse, err error) {
-	response = CreateDescribeLiveStreamRecordContentResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamRecordContentWithChan invokes the cdn.DescribeLiveStreamRecordContent API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordcontent.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamRecordContentWithChan(request *DescribeLiveStreamRecordContentRequest) (<-chan *DescribeLiveStreamRecordContentResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamRecordContentResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamRecordContent(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamRecordContentWithCallback invokes the cdn.DescribeLiveStreamRecordContent API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordcontent.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamRecordContentWithCallback(request *DescribeLiveStreamRecordContentRequest, callback func(response *DescribeLiveStreamRecordContentResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamRecordContentResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamRecordContent(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamRecordContentRequest is the request struct for api DescribeLiveStreamRecordContent
-type DescribeLiveStreamRecordContentRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-}
-
-// DescribeLiveStreamRecordContentResponse is the response struct for api DescribeLiveStreamRecordContent
-type DescribeLiveStreamRecordContentResponse struct {
-	*responses.BaseResponse
-	RequestId             string                `json:"RequestId" xml:"RequestId"`
-	RecordContentInfoList RecordContentInfoList `json:"RecordContentInfoList" xml:"RecordContentInfoList"`
-}
-
-// CreateDescribeLiveStreamRecordContentRequest creates a request to invoke DescribeLiveStreamRecordContent API
-func CreateDescribeLiveStreamRecordContentRequest() (request *DescribeLiveStreamRecordContentRequest) {
-	request = &DescribeLiveStreamRecordContentRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamRecordContent", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamRecordContentResponse creates a response to parse from DescribeLiveStreamRecordContent response
-func CreateDescribeLiveStreamRecordContentResponse() (response *DescribeLiveStreamRecordContentResponse) {
-	response = &DescribeLiveStreamRecordContentResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/cdn/describe_live_stream_record_index_file.go

@@ -1,109 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamRecordIndexFile invokes the cdn.DescribeLiveStreamRecordIndexFile API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordindexfile.html
-func (client *Client) DescribeLiveStreamRecordIndexFile(request *DescribeLiveStreamRecordIndexFileRequest) (response *DescribeLiveStreamRecordIndexFileResponse, err error) {
-	response = CreateDescribeLiveStreamRecordIndexFileResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamRecordIndexFileWithChan invokes the cdn.DescribeLiveStreamRecordIndexFile API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordindexfile.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamRecordIndexFileWithChan(request *DescribeLiveStreamRecordIndexFileRequest) (<-chan *DescribeLiveStreamRecordIndexFileResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamRecordIndexFileResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamRecordIndexFile(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamRecordIndexFileWithCallback invokes the cdn.DescribeLiveStreamRecordIndexFile API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordindexfile.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamRecordIndexFileWithCallback(request *DescribeLiveStreamRecordIndexFileRequest, callback func(response *DescribeLiveStreamRecordIndexFileResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamRecordIndexFileResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamRecordIndexFile(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamRecordIndexFileRequest is the request struct for api DescribeLiveStreamRecordIndexFile
-type DescribeLiveStreamRecordIndexFileRequest struct {
-	*requests.RpcRequest
-	RecordId      string           `position:"Query" name:"RecordId"`
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-}
-
-// DescribeLiveStreamRecordIndexFileResponse is the response struct for api DescribeLiveStreamRecordIndexFile
-type DescribeLiveStreamRecordIndexFileResponse struct {
-	*responses.BaseResponse
-	RequestId       string          `json:"RequestId" xml:"RequestId"`
-	RecordIndexInfo RecordIndexInfo `json:"RecordIndexInfo" xml:"RecordIndexInfo"`
-}
-
-// CreateDescribeLiveStreamRecordIndexFileRequest creates a request to invoke DescribeLiveStreamRecordIndexFile API
-func CreateDescribeLiveStreamRecordIndexFileRequest() (request *DescribeLiveStreamRecordIndexFileRequest) {
-	request = &DescribeLiveStreamRecordIndexFileRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamRecordIndexFile", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamRecordIndexFileResponse creates a response to parse from DescribeLiveStreamRecordIndexFile response
-func CreateDescribeLiveStreamRecordIndexFileResponse() (response *DescribeLiveStreamRecordIndexFileResponse) {
-	response = &DescribeLiveStreamRecordIndexFileResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/cdn/describe_live_stream_record_index_files.go

@@ -1,110 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamRecordIndexFiles invokes the cdn.DescribeLiveStreamRecordIndexFiles API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordindexfiles.html
-func (client *Client) DescribeLiveStreamRecordIndexFiles(request *DescribeLiveStreamRecordIndexFilesRequest) (response *DescribeLiveStreamRecordIndexFilesResponse, err error) {
-	response = CreateDescribeLiveStreamRecordIndexFilesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamRecordIndexFilesWithChan invokes the cdn.DescribeLiveStreamRecordIndexFiles API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordindexfiles.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamRecordIndexFilesWithChan(request *DescribeLiveStreamRecordIndexFilesRequest) (<-chan *DescribeLiveStreamRecordIndexFilesResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamRecordIndexFilesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamRecordIndexFiles(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamRecordIndexFilesWithCallback invokes the cdn.DescribeLiveStreamRecordIndexFiles API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamrecordindexfiles.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamRecordIndexFilesWithCallback(request *DescribeLiveStreamRecordIndexFilesRequest, callback func(response *DescribeLiveStreamRecordIndexFilesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamRecordIndexFilesResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamRecordIndexFiles(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamRecordIndexFilesRequest is the request struct for api DescribeLiveStreamRecordIndexFiles
-type DescribeLiveStreamRecordIndexFilesRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-}
-
-// DescribeLiveStreamRecordIndexFilesResponse is the response struct for api DescribeLiveStreamRecordIndexFiles
-type DescribeLiveStreamRecordIndexFilesResponse struct {
-	*responses.BaseResponse
-	RequestId           string              `json:"RequestId" xml:"RequestId"`
-	RecordIndexInfoList RecordIndexInfoList `json:"RecordIndexInfoList" xml:"RecordIndexInfoList"`
-}
-
-// CreateDescribeLiveStreamRecordIndexFilesRequest creates a request to invoke DescribeLiveStreamRecordIndexFiles API
-func CreateDescribeLiveStreamRecordIndexFilesRequest() (request *DescribeLiveStreamRecordIndexFilesRequest) {
-	request = &DescribeLiveStreamRecordIndexFilesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamRecordIndexFiles", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamRecordIndexFilesResponse creates a response to parse from DescribeLiveStreamRecordIndexFiles response
-func CreateDescribeLiveStreamRecordIndexFilesResponse() (response *DescribeLiveStreamRecordIndexFilesResponse) {
-	response = &DescribeLiveStreamRecordIndexFilesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cdn/describe_live_stream_snapshot_info.go

@@ -1,112 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamSnapshotInfo invokes the cdn.DescribeLiveStreamSnapshotInfo API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsnapshotinfo.html
-func (client *Client) DescribeLiveStreamSnapshotInfo(request *DescribeLiveStreamSnapshotInfoRequest) (response *DescribeLiveStreamSnapshotInfoResponse, err error) {
-	response = CreateDescribeLiveStreamSnapshotInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamSnapshotInfoWithChan invokes the cdn.DescribeLiveStreamSnapshotInfo API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsnapshotinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamSnapshotInfoWithChan(request *DescribeLiveStreamSnapshotInfoRequest) (<-chan *DescribeLiveStreamSnapshotInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamSnapshotInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamSnapshotInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamSnapshotInfoWithCallback invokes the cdn.DescribeLiveStreamSnapshotInfo API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsnapshotinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamSnapshotInfoWithCallback(request *DescribeLiveStreamSnapshotInfoRequest, callback func(response *DescribeLiveStreamSnapshotInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamSnapshotInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamSnapshotInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamSnapshotInfoRequest is the request struct for api DescribeLiveStreamSnapshotInfo
-type DescribeLiveStreamSnapshotInfoRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	Limit         requests.Integer `position:"Query" name:"Limit"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-}
-
-// DescribeLiveStreamSnapshotInfoResponse is the response struct for api DescribeLiveStreamSnapshotInfo
-type DescribeLiveStreamSnapshotInfoResponse struct {
-	*responses.BaseResponse
-	RequestId                  string                     `json:"RequestId" xml:"RequestId"`
-	NextStartTime              string                     `json:"NextStartTime" xml:"NextStartTime"`
-	LiveStreamSnapshotInfoList LiveStreamSnapshotInfoList `json:"LiveStreamSnapshotInfoList" xml:"LiveStreamSnapshotInfoList"`
-}
-
-// CreateDescribeLiveStreamSnapshotInfoRequest creates a request to invoke DescribeLiveStreamSnapshotInfo API
-func CreateDescribeLiveStreamSnapshotInfoRequest() (request *DescribeLiveStreamSnapshotInfoRequest) {
-	request = &DescribeLiveStreamSnapshotInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamSnapshotInfo", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamSnapshotInfoResponse creates a response to parse from DescribeLiveStreamSnapshotInfo response
-func CreateDescribeLiveStreamSnapshotInfoResponse() (response *DescribeLiveStreamSnapshotInfoResponse) {
-	response = &DescribeLiveStreamSnapshotInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/describe_live_stream_transcode_info.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamTranscodeInfo invokes the cdn.DescribeLiveStreamTranscodeInfo API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamtranscodeinfo.html
-func (client *Client) DescribeLiveStreamTranscodeInfo(request *DescribeLiveStreamTranscodeInfoRequest) (response *DescribeLiveStreamTranscodeInfoResponse, err error) {
-	response = CreateDescribeLiveStreamTranscodeInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamTranscodeInfoWithChan invokes the cdn.DescribeLiveStreamTranscodeInfo API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamtranscodeinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamTranscodeInfoWithChan(request *DescribeLiveStreamTranscodeInfoRequest) (<-chan *DescribeLiveStreamTranscodeInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamTranscodeInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamTranscodeInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamTranscodeInfoWithCallback invokes the cdn.DescribeLiveStreamTranscodeInfo API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamtranscodeinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamTranscodeInfoWithCallback(request *DescribeLiveStreamTranscodeInfoRequest, callback func(response *DescribeLiveStreamTranscodeInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamTranscodeInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamTranscodeInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamTranscodeInfoRequest is the request struct for api DescribeLiveStreamTranscodeInfo
-type DescribeLiveStreamTranscodeInfoRequest struct {
-	*requests.RpcRequest
-	SecurityToken       string           `position:"Query" name:"SecurityToken"`
-	OwnerId             requests.Integer `position:"Query" name:"OwnerId"`
-	DomainTranscodeName string           `position:"Query" name:"DomainTranscodeName"`
-}
-
-// DescribeLiveStreamTranscodeInfoResponse is the response struct for api DescribeLiveStreamTranscodeInfo
-type DescribeLiveStreamTranscodeInfoResponse struct {
-	*responses.BaseResponse
-	RequestId           string              `json:"RequestId" xml:"RequestId"`
-	DomainTranscodeList DomainTranscodeList `json:"DomainTranscodeList" xml:"DomainTranscodeList"`
-}
-
-// CreateDescribeLiveStreamTranscodeInfoRequest creates a request to invoke DescribeLiveStreamTranscodeInfo API
-func CreateDescribeLiveStreamTranscodeInfoRequest() (request *DescribeLiveStreamTranscodeInfoRequest) {
-	request = &DescribeLiveStreamTranscodeInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamTranscodeInfo", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamTranscodeInfoResponse creates a response to parse from DescribeLiveStreamTranscodeInfo response
-func CreateDescribeLiveStreamTranscodeInfoResponse() (response *DescribeLiveStreamTranscodeInfoResponse) {
-	response = &DescribeLiveStreamTranscodeInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cdn/describe_live_streams_block_list.go

@@ -1,107 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamsBlockList invokes the cdn.DescribeLiveStreamsBlockList API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsblocklist.html
-func (client *Client) DescribeLiveStreamsBlockList(request *DescribeLiveStreamsBlockListRequest) (response *DescribeLiveStreamsBlockListResponse, err error) {
-	response = CreateDescribeLiveStreamsBlockListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamsBlockListWithChan invokes the cdn.DescribeLiveStreamsBlockList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsblocklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsBlockListWithChan(request *DescribeLiveStreamsBlockListRequest) (<-chan *DescribeLiveStreamsBlockListResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamsBlockListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamsBlockList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamsBlockListWithCallback invokes the cdn.DescribeLiveStreamsBlockList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsblocklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsBlockListWithCallback(request *DescribeLiveStreamsBlockListRequest, callback func(response *DescribeLiveStreamsBlockListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamsBlockListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamsBlockList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamsBlockListRequest is the request struct for api DescribeLiveStreamsBlockList
-type DescribeLiveStreamsBlockListRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeLiveStreamsBlockListResponse is the response struct for api DescribeLiveStreamsBlockList
-type DescribeLiveStreamsBlockListResponse struct {
-	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	DomainName string     `json:"DomainName" xml:"DomainName"`
-	StreamUrls StreamUrls `json:"StreamUrls" xml:"StreamUrls"`
-}
-
-// CreateDescribeLiveStreamsBlockListRequest creates a request to invoke DescribeLiveStreamsBlockList API
-func CreateDescribeLiveStreamsBlockListRequest() (request *DescribeLiveStreamsBlockListRequest) {
-	request = &DescribeLiveStreamsBlockListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamsBlockList", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamsBlockListResponse creates a response to parse from DescribeLiveStreamsBlockList response
-func CreateDescribeLiveStreamsBlockListResponse() (response *DescribeLiveStreamsBlockListResponse) {
-	response = &DescribeLiveStreamsBlockListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/cdn/describe_live_streams_control_history.go

@@ -1,109 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamsControlHistory invokes the cdn.DescribeLiveStreamsControlHistory API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamscontrolhistory.html
-func (client *Client) DescribeLiveStreamsControlHistory(request *DescribeLiveStreamsControlHistoryRequest) (response *DescribeLiveStreamsControlHistoryResponse, err error) {
-	response = CreateDescribeLiveStreamsControlHistoryResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamsControlHistoryWithChan invokes the cdn.DescribeLiveStreamsControlHistory API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamscontrolhistory.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsControlHistoryWithChan(request *DescribeLiveStreamsControlHistoryRequest) (<-chan *DescribeLiveStreamsControlHistoryResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamsControlHistoryResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamsControlHistory(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamsControlHistoryWithCallback invokes the cdn.DescribeLiveStreamsControlHistory API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamscontrolhistory.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsControlHistoryWithCallback(request *DescribeLiveStreamsControlHistoryRequest, callback func(response *DescribeLiveStreamsControlHistoryResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamsControlHistoryResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamsControlHistory(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamsControlHistoryRequest is the request struct for api DescribeLiveStreamsControlHistory
-type DescribeLiveStreamsControlHistoryRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeLiveStreamsControlHistoryResponse is the response struct for api DescribeLiveStreamsControlHistory
-type DescribeLiveStreamsControlHistoryResponse struct {
-	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	ControlInfo ControlInfo `json:"ControlInfo" xml:"ControlInfo"`
-}
-
-// CreateDescribeLiveStreamsControlHistoryRequest creates a request to invoke DescribeLiveStreamsControlHistory API
-func CreateDescribeLiveStreamsControlHistoryRequest() (request *DescribeLiveStreamsControlHistoryRequest) {
-	request = &DescribeLiveStreamsControlHistoryRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamsControlHistory", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamsControlHistoryResponse creates a response to parse from DescribeLiveStreamsControlHistory response
-func CreateDescribeLiveStreamsControlHistoryResponse() (response *DescribeLiveStreamsControlHistoryResponse) {
-	response = &DescribeLiveStreamsControlHistoryResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/cdn/describe_live_streams_frame_rate_and_bit_rate_data.go

@@ -1,110 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamsFrameRateAndBitRateData invokes the cdn.DescribeLiveStreamsFrameRateAndBitRateData API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsframerateandbitratedata.html
-func (client *Client) DescribeLiveStreamsFrameRateAndBitRateData(request *DescribeLiveStreamsFrameRateAndBitRateDataRequest) (response *DescribeLiveStreamsFrameRateAndBitRateDataResponse, err error) {
-	response = CreateDescribeLiveStreamsFrameRateAndBitRateDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamsFrameRateAndBitRateDataWithChan invokes the cdn.DescribeLiveStreamsFrameRateAndBitRateData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsframerateandbitratedata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsFrameRateAndBitRateDataWithChan(request *DescribeLiveStreamsFrameRateAndBitRateDataRequest) (<-chan *DescribeLiveStreamsFrameRateAndBitRateDataResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamsFrameRateAndBitRateDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamsFrameRateAndBitRateData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamsFrameRateAndBitRateDataWithCallback invokes the cdn.DescribeLiveStreamsFrameRateAndBitRateData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsframerateandbitratedata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsFrameRateAndBitRateDataWithCallback(request *DescribeLiveStreamsFrameRateAndBitRateDataRequest, callback func(response *DescribeLiveStreamsFrameRateAndBitRateDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamsFrameRateAndBitRateDataResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamsFrameRateAndBitRateData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamsFrameRateAndBitRateDataRequest is the request struct for api DescribeLiveStreamsFrameRateAndBitRateData
-type DescribeLiveStreamsFrameRateAndBitRateDataRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-}
-
-// DescribeLiveStreamsFrameRateAndBitRateDataResponse is the response struct for api DescribeLiveStreamsFrameRateAndBitRateData
-type DescribeLiveStreamsFrameRateAndBitRateDataResponse struct {
-	*responses.BaseResponse
-	RequestId                string                                                               `json:"RequestId" xml:"RequestId"`
-	FrameRateAndBitRateInfos FrameRateAndBitRateInfosInDescribeLiveStreamsFrameRateAndBitRateData `json:"FrameRateAndBitRateInfos" xml:"FrameRateAndBitRateInfos"`
-}
-
-// CreateDescribeLiveStreamsFrameRateAndBitRateDataRequest creates a request to invoke DescribeLiveStreamsFrameRateAndBitRateData API
-func CreateDescribeLiveStreamsFrameRateAndBitRateDataRequest() (request *DescribeLiveStreamsFrameRateAndBitRateDataRequest) {
-	request = &DescribeLiveStreamsFrameRateAndBitRateDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamsFrameRateAndBitRateData", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamsFrameRateAndBitRateDataResponse creates a response to parse from DescribeLiveStreamsFrameRateAndBitRateData response
-func CreateDescribeLiveStreamsFrameRateAndBitRateDataResponse() (response *DescribeLiveStreamsFrameRateAndBitRateDataResponse) {
-	response = &DescribeLiveStreamsFrameRateAndBitRateDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/cdn/describe_live_streams_online_list.go

@@ -1,114 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamsOnlineList invokes the cdn.DescribeLiveStreamsOnlineList API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsonlinelist.html
-func (client *Client) DescribeLiveStreamsOnlineList(request *DescribeLiveStreamsOnlineListRequest) (response *DescribeLiveStreamsOnlineListResponse, err error) {
-	response = CreateDescribeLiveStreamsOnlineListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamsOnlineListWithChan invokes the cdn.DescribeLiveStreamsOnlineList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsonlinelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsOnlineListWithChan(request *DescribeLiveStreamsOnlineListRequest) (<-chan *DescribeLiveStreamsOnlineListResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamsOnlineListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamsOnlineList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamsOnlineListWithCallback invokes the cdn.DescribeLiveStreamsOnlineList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamsonlinelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsOnlineListWithCallback(request *DescribeLiveStreamsOnlineListRequest, callback func(response *DescribeLiveStreamsOnlineListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamsOnlineListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamsOnlineList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamsOnlineListRequest is the request struct for api DescribeLiveStreamsOnlineList
-type DescribeLiveStreamsOnlineListRequest struct {
-	*requests.RpcRequest
-	StreamType    string           `position:"Query" name:"StreamType"`
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum       requests.Integer `position:"Query" name:"PageNum"`
-}
-
-// DescribeLiveStreamsOnlineListResponse is the response struct for api DescribeLiveStreamsOnlineList
-type DescribeLiveStreamsOnlineListResponse struct {
-	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	PageNum    int        `json:"PageNum" xml:"PageNum"`
-	PageSize   int        `json:"PageSize" xml:"PageSize"`
-	TotalNum   int        `json:"TotalNum" xml:"TotalNum"`
-	TotalPage  int        `json:"TotalPage" xml:"TotalPage"`
-	OnlineInfo OnlineInfo `json:"OnlineInfo" xml:"OnlineInfo"`
-}
-
-// CreateDescribeLiveStreamsOnlineListRequest creates a request to invoke DescribeLiveStreamsOnlineList API
-func CreateDescribeLiveStreamsOnlineListRequest() (request *DescribeLiveStreamsOnlineListRequest) {
-	request = &DescribeLiveStreamsOnlineListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamsOnlineList", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamsOnlineListResponse creates a response to parse from DescribeLiveStreamsOnlineList response
-func CreateDescribeLiveStreamsOnlineListResponse() (response *DescribeLiveStreamsOnlineListResponse) {
-	response = &DescribeLiveStreamsOnlineListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cdn/describe_live_streams_publish_list.go

@@ -1,112 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeLiveStreamsPublishList invokes the cdn.DescribeLiveStreamsPublishList API synchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamspublishlist.html
-func (client *Client) DescribeLiveStreamsPublishList(request *DescribeLiveStreamsPublishListRequest) (response *DescribeLiveStreamsPublishListResponse, err error) {
-	response = CreateDescribeLiveStreamsPublishListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeLiveStreamsPublishListWithChan invokes the cdn.DescribeLiveStreamsPublishList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamspublishlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsPublishListWithChan(request *DescribeLiveStreamsPublishListRequest) (<-chan *DescribeLiveStreamsPublishListResponse, <-chan error) {
-	responseChan := make(chan *DescribeLiveStreamsPublishListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeLiveStreamsPublishList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeLiveStreamsPublishListWithCallback invokes the cdn.DescribeLiveStreamsPublishList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describelivestreamspublishlist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeLiveStreamsPublishListWithCallback(request *DescribeLiveStreamsPublishListRequest, callback func(response *DescribeLiveStreamsPublishListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeLiveStreamsPublishListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeLiveStreamsPublishList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeLiveStreamsPublishListRequest is the request struct for api DescribeLiveStreamsPublishList
-type DescribeLiveStreamsPublishListRequest struct {
-	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-	PageNumber    requests.Integer `position:"Query" name:"PageNumber"`
-}
-
-// DescribeLiveStreamsPublishListResponse is the response struct for api DescribeLiveStreamsPublishList
-type DescribeLiveStreamsPublishListResponse struct {
-	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	PublishInfo PublishInfo `json:"PublishInfo" xml:"PublishInfo"`
-}
-
-// CreateDescribeLiveStreamsPublishListRequest creates a request to invoke DescribeLiveStreamsPublishList API
-func CreateDescribeLiveStreamsPublishListRequest() (request *DescribeLiveStreamsPublishListRequest) {
-	request = &DescribeLiveStreamsPublishListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeLiveStreamsPublishList", "", "")
-	return
-}
-
-// CreateDescribeLiveStreamsPublishListResponse creates a response to parse from DescribeLiveStreamsPublishList response
-func CreateDescribeLiveStreamsPublishListResponse() (response *DescribeLiveStreamsPublishListResponse) {
-	response = &DescribeLiveStreamsPublishListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/cdn/describe_one_minute_data.go

@@ -1,109 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeOneMinuteData invokes the cdn.DescribeOneMinuteData API synchronously
-// api document: https://help.aliyun.com/api/cdn/describeoneminutedata.html
-func (client *Client) DescribeOneMinuteData(request *DescribeOneMinuteDataRequest) (response *DescribeOneMinuteDataResponse, err error) {
-	response = CreateDescribeOneMinuteDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeOneMinuteDataWithChan invokes the cdn.DescribeOneMinuteData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describeoneminutedata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOneMinuteDataWithChan(request *DescribeOneMinuteDataRequest) (<-chan *DescribeOneMinuteDataResponse, <-chan error) {
-	responseChan := make(chan *DescribeOneMinuteDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeOneMinuteData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeOneMinuteDataWithCallback invokes the cdn.DescribeOneMinuteData API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describeoneminutedata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeOneMinuteDataWithCallback(request *DescribeOneMinuteDataRequest, callback func(response *DescribeOneMinuteDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeOneMinuteDataResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeOneMinuteData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeOneMinuteDataRequest is the request struct for api DescribeOneMinuteData
-type DescribeOneMinuteDataRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	DataTime             string           `position:"Query" name:"DataTime"`
-	DomainName           string           `position:"Query" name:"DomainName"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeOneMinuteDataResponse is the response struct for api DescribeOneMinuteData
-type DescribeOneMinuteDataResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Bps       string `json:"Bps" xml:"Bps"`
-	Qps       string `json:"Qps" xml:"Qps"`
-}
-
-// CreateDescribeOneMinuteDataRequest creates a request to invoke DescribeOneMinuteData API
-func CreateDescribeOneMinuteDataRequest() (request *DescribeOneMinuteDataRequest) {
-	request = &DescribeOneMinuteDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeOneMinuteData", "", "")
-	return
-}
-
-// CreateDescribeOneMinuteDataResponse creates a response to parse from DescribeOneMinuteData response
-func CreateDescribeOneMinuteDataResponse() (response *DescribeOneMinuteDataResponse) {
-	response = &DescribeOneMinuteDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/cdn/describe_range_data_by_locate_and_isp_service.go

@@ -97,7 +97,7 @@ func CreateDescribeRangeDataByLocateAndIspServiceRequest() (request *DescribeRan
 	request = &DescribeRangeDataByLocateAndIspServiceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeRangeDataByLocateAndIspService", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeRangeDataByLocateAndIspService", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_refresh_quota.go

@@ -99,7 +99,7 @@ func CreateDescribeRefreshQuotaRequest() (request *DescribeRefreshQuotaRequest)
 	request = &DescribeRefreshQuotaRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeRefreshQuota", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeRefreshQuota", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_refresh_tasks.go

@@ -105,7 +105,7 @@ func CreateDescribeRefreshTasksRequest() (request *DescribeRefreshTasksRequest)
 	request = &DescribeRefreshTasksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeRefreshTasks", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeRefreshTasks", "", "")
 	return
 }
 

+ 5 - 6
services/cdn/describe_top_domains_by_flow.go

@@ -76,11 +76,10 @@ func (client *Client) DescribeTopDomainsByFlowWithCallback(request *DescribeTopD
 // DescribeTopDomainsByFlowRequest is the request struct for api DescribeTopDomainsByFlow
 type DescribeTopDomainsByFlowRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	Limit         requests.Integer `position:"Query" name:"Limit"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	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"`
 }
 
 // DescribeTopDomainsByFlowResponse is the response struct for api DescribeTopDomainsByFlow
@@ -99,7 +98,7 @@ func CreateDescribeTopDomainsByFlowRequest() (request *DescribeTopDomainsByFlowR
 	request = &DescribeTopDomainsByFlowRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeTopDomainsByFlow", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeTopDomainsByFlow", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_user_configs.go

@@ -93,7 +93,7 @@ func CreateDescribeUserConfigsRequest() (request *DescribeUserConfigsRequest) {
 	request = &DescribeUserConfigsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeUserConfigs", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeUserConfigs", "", "")
 	return
 }
 

+ 1 - 1
services/cdn/describe_user_custom_log_config.go

@@ -91,7 +91,7 @@ func CreateDescribeUserCustomLogConfigRequest() (request *DescribeUserCustomLogC
 	request = &DescribeUserCustomLogConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeUserCustomLogConfig", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeUserCustomLogConfig", "", "")
 	return
 }
 

+ 0 - 106
services/cdn/describe_user_customer_labels.go

@@ -1,106 +0,0 @@
-package cdn
-
-//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"
-)
-
-// DescribeUserCustomerLabels invokes the cdn.DescribeUserCustomerLabels API synchronously
-// api document: https://help.aliyun.com/api/cdn/describeusercustomerlabels.html
-func (client *Client) DescribeUserCustomerLabels(request *DescribeUserCustomerLabelsRequest) (response *DescribeUserCustomerLabelsResponse, err error) {
-	response = CreateDescribeUserCustomerLabelsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeUserCustomerLabelsWithChan invokes the cdn.DescribeUserCustomerLabels API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describeusercustomerlabels.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeUserCustomerLabelsWithChan(request *DescribeUserCustomerLabelsRequest) (<-chan *DescribeUserCustomerLabelsResponse, <-chan error) {
-	responseChan := make(chan *DescribeUserCustomerLabelsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeUserCustomerLabels(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeUserCustomerLabelsWithCallback invokes the cdn.DescribeUserCustomerLabels API asynchronously
-// api document: https://help.aliyun.com/api/cdn/describeusercustomerlabels.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeUserCustomerLabelsWithCallback(request *DescribeUserCustomerLabelsRequest, callback func(response *DescribeUserCustomerLabelsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeUserCustomerLabelsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeUserCustomerLabels(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeUserCustomerLabelsRequest is the request struct for api DescribeUserCustomerLabels
-type DescribeUserCustomerLabelsRequest struct {
-	*requests.RpcRequest
-	Uid           requests.Integer `position:"Query" name:"Uid"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeUserCustomerLabelsResponse is the response struct for api DescribeUserCustomerLabels
-type DescribeUserCustomerLabelsResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	IsInnerUser bool   `json:"IsInnerUser" xml:"IsInnerUser"`
-}
-
-// CreateDescribeUserCustomerLabelsRequest creates a request to invoke DescribeUserCustomerLabels API
-func CreateDescribeUserCustomerLabelsRequest() (request *DescribeUserCustomerLabelsRequest) {
-	request = &DescribeUserCustomerLabelsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeUserCustomerLabels", "", "")
-	return
-}
-
-// CreateDescribeUserCustomerLabelsResponse creates a response to parse from DescribeUserCustomerLabels response
-func CreateDescribeUserCustomerLabelsResponse() (response *DescribeUserCustomerLabelsResponse) {
-	response = &DescribeUserCustomerLabelsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 2
services/cdn/describe_user_domains.go

@@ -77,7 +77,6 @@ func (client *Client) DescribeUserDomainsWithCallback(request *DescribeUserDomai
 type DescribeUserDomainsRequest struct {
 	*requests.RpcRequest
 	FuncFilter       string           `position:"Query" name:"FuncFilter"`
-	Sources          string           `position:"Query" name:"Sources"`
 	DomainName       string           `position:"Query" name:"DomainName"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
 	FuncId           string           `position:"Query" name:"FuncId"`
@@ -106,7 +105,7 @@ func CreateDescribeUserDomainsRequest() (request *DescribeUserDomainsRequest) {
 	request = &DescribeUserDomainsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "DescribeUserDomains", "", "")
+	request.InitWithApiInfo("Cdn", "2018-05-10", "DescribeUserDomains", "", "")
 	return
 }
 

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