瀏覽代碼

SCDN SDK Auto Released By xiaoyao,Version:1.31.2

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 年之前
父節點
當前提交
9cba639048

+ 5 - 0
ChangeLog.txt

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

+ 0 - 2
services/scdn/describe_scdn_domain_bps_data.go

@@ -79,11 +79,9 @@ type DescribeScdnDomainBpsDataRequest struct {
 	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
 	StartTime      string           `position:"Query" name:"StartTime"`
 	IspNameEn      string           `position:"Query" name:"IspNameEn"`
-	SecurityToken  string           `position:"Query" name:"SecurityToken"`
 	DomainName     string           `position:"Query" name:"DomainName"`
 	EndTime        string           `position:"Query" name:"EndTime"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
-	Version        string           `position:"Query" name:"Version"`
 	Interval       string           `position:"Query" name:"Interval"`
 }
 

+ 111 - 0
services/scdn/describe_scdn_domain_isp_data.go

@@ -0,0 +1,111 @@
+package scdn
+
+//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"
+)
+
+// DescribeScdnDomainIspData invokes the scdn.DescribeScdnDomainIspData API synchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainispdata.html
+func (client *Client) DescribeScdnDomainIspData(request *DescribeScdnDomainIspDataRequest) (response *DescribeScdnDomainIspDataResponse, err error) {
+	response = CreateDescribeScdnDomainIspDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeScdnDomainIspDataWithChan invokes the scdn.DescribeScdnDomainIspData API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainispdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnDomainIspDataWithChan(request *DescribeScdnDomainIspDataRequest) (<-chan *DescribeScdnDomainIspDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeScdnDomainIspDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeScdnDomainIspData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeScdnDomainIspDataWithCallback invokes the scdn.DescribeScdnDomainIspData API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainispdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnDomainIspDataWithCallback(request *DescribeScdnDomainIspDataRequest, callback func(response *DescribeScdnDomainIspDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeScdnDomainIspDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeScdnDomainIspData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeScdnDomainIspDataRequest is the request struct for api DescribeScdnDomainIspData
+type DescribeScdnDomainIspDataRequest 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"`
+}
+
+// DescribeScdnDomainIspDataResponse is the response struct for api DescribeScdnDomainIspData
+type DescribeScdnDomainIspDataResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	DomainName   string `json:"DomainName" xml:"DomainName"`
+	DataInterval string `json:"DataInterval" xml:"DataInterval"`
+	StartTime    string `json:"StartTime" xml:"StartTime"`
+	EndTime      string `json:"EndTime" xml:"EndTime"`
+	Value        Value  `json:"Value" xml:"Value"`
+}
+
+// CreateDescribeScdnDomainIspDataRequest creates a request to invoke DescribeScdnDomainIspData API
+func CreateDescribeScdnDomainIspDataRequest() (request *DescribeScdnDomainIspDataRequest) {
+	request = &DescribeScdnDomainIspDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("scdn", "2017-11-15", "DescribeScdnDomainIspData", "", "")
+	return
+}
+
+// CreateDescribeScdnDomainIspDataResponse creates a response to parse from DescribeScdnDomainIspData response
+func CreateDescribeScdnDomainIspDataResponse() (response *DescribeScdnDomainIspDataResponse) {
+	response = &DescribeScdnDomainIspDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 5 - 7
services/scdn/describe_scdn_domain_origin_bps_data.go

@@ -76,13 +76,11 @@ func (client *Client) DescribeScdnDomainOriginBpsDataWithCallback(request *Descr
 // DescribeScdnDomainOriginBpsDataRequest is the request struct for api DescribeScdnDomainOriginBpsData
 type DescribeScdnDomainOriginBpsDataRequest struct {
 	*requests.RpcRequest
-	StartTime     string           `position:"Query" name:"StartTime"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	Version       string           `position:"Query" name:"Version"`
-	Interval      string           `position:"Query" name:"Interval"`
+	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"`
 }
 
 // DescribeScdnDomainOriginBpsDataResponse is the response struct for api DescribeScdnDomainOriginBpsData

+ 5 - 7
services/scdn/describe_scdn_domain_origin_traffic_data.go

@@ -76,13 +76,11 @@ func (client *Client) DescribeScdnDomainOriginTrafficDataWithCallback(request *D
 // DescribeScdnDomainOriginTrafficDataRequest is the request struct for api DescribeScdnDomainOriginTrafficData
 type DescribeScdnDomainOriginTrafficDataRequest struct {
 	*requests.RpcRequest
-	StartTime     string           `position:"Query" name:"StartTime"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	Version       string           `position:"Query" name:"Version"`
-	Interval      string           `position:"Query" name:"Interval"`
+	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"`
 }
 
 // DescribeScdnDomainOriginTrafficDataResponse is the response struct for api DescribeScdnDomainOriginTrafficData

+ 112 - 0
services/scdn/describe_scdn_domain_pv_data.go

@@ -0,0 +1,112 @@
+package scdn
+
+//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"
+)
+
+// DescribeScdnDomainPvData invokes the scdn.DescribeScdnDomainPvData API synchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainpvdata.html
+func (client *Client) DescribeScdnDomainPvData(request *DescribeScdnDomainPvDataRequest) (response *DescribeScdnDomainPvDataResponse, err error) {
+	response = CreateDescribeScdnDomainPvDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeScdnDomainPvDataWithChan invokes the scdn.DescribeScdnDomainPvData API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainpvdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnDomainPvDataWithChan(request *DescribeScdnDomainPvDataRequest) (<-chan *DescribeScdnDomainPvDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeScdnDomainPvDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeScdnDomainPvData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeScdnDomainPvDataWithCallback invokes the scdn.DescribeScdnDomainPvData API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainpvdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnDomainPvDataWithCallback(request *DescribeScdnDomainPvDataRequest, callback func(response *DescribeScdnDomainPvDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeScdnDomainPvDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeScdnDomainPvData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeScdnDomainPvDataRequest is the request struct for api DescribeScdnDomainPvData
+type DescribeScdnDomainPvDataRequest 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"`
+}
+
+// DescribeScdnDomainPvDataResponse is the response struct for api DescribeScdnDomainPvData
+type DescribeScdnDomainPvDataResponse 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"`
+	PvDataInterval PvDataInterval `json:"PvDataInterval" xml:"PvDataInterval"`
+}
+
+// CreateDescribeScdnDomainPvDataRequest creates a request to invoke DescribeScdnDomainPvData API
+func CreateDescribeScdnDomainPvDataRequest() (request *DescribeScdnDomainPvDataRequest) {
+	request = &DescribeScdnDomainPvDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("scdn", "2017-11-15", "DescribeScdnDomainPvData", "", "")
+	return
+}
+
+// CreateDescribeScdnDomainPvDataResponse creates a response to parse from DescribeScdnDomainPvData response
+func CreateDescribeScdnDomainPvDataResponse() (response *DescribeScdnDomainPvDataResponse) {
+	response = &DescribeScdnDomainPvDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 2
services/scdn/describe_scdn_domain_traffic_data.go

@@ -79,11 +79,9 @@ type DescribeScdnDomainTrafficDataRequest struct {
 	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
 	StartTime      string           `position:"Query" name:"StartTime"`
 	IspNameEn      string           `position:"Query" name:"IspNameEn"`
-	SecurityToken  string           `position:"Query" name:"SecurityToken"`
 	DomainName     string           `position:"Query" name:"DomainName"`
 	EndTime        string           `position:"Query" name:"EndTime"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
-	Version        string           `position:"Query" name:"Version"`
 	Interval       string           `position:"Query" name:"Interval"`
 }
 

+ 112 - 0
services/scdn/describe_scdn_domain_uv_data.go

@@ -0,0 +1,112 @@
+package scdn
+
+//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"
+)
+
+// DescribeScdnDomainUvData invokes the scdn.DescribeScdnDomainUvData API synchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainuvdata.html
+func (client *Client) DescribeScdnDomainUvData(request *DescribeScdnDomainUvDataRequest) (response *DescribeScdnDomainUvDataResponse, err error) {
+	response = CreateDescribeScdnDomainUvDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeScdnDomainUvDataWithChan invokes the scdn.DescribeScdnDomainUvData API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainuvdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnDomainUvDataWithChan(request *DescribeScdnDomainUvDataRequest) (<-chan *DescribeScdnDomainUvDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeScdnDomainUvDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeScdnDomainUvData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeScdnDomainUvDataWithCallback invokes the scdn.DescribeScdnDomainUvData API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdndomainuvdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnDomainUvDataWithCallback(request *DescribeScdnDomainUvDataRequest, callback func(response *DescribeScdnDomainUvDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeScdnDomainUvDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeScdnDomainUvData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeScdnDomainUvDataRequest is the request struct for api DescribeScdnDomainUvData
+type DescribeScdnDomainUvDataRequest 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"`
+}
+
+// DescribeScdnDomainUvDataResponse is the response struct for api DescribeScdnDomainUvData
+type DescribeScdnDomainUvDataResponse 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"`
+	UvDataInterval UvDataInterval `json:"UvDataInterval" xml:"UvDataInterval"`
+}
+
+// CreateDescribeScdnDomainUvDataRequest creates a request to invoke DescribeScdnDomainUvData API
+func CreateDescribeScdnDomainUvDataRequest() (request *DescribeScdnDomainUvDataRequest) {
+	request = &DescribeScdnDomainUvDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("scdn", "2017-11-15", "DescribeScdnDomainUvData", "", "")
+	return
+}
+
+// CreateDescribeScdnDomainUvDataResponse creates a response to parse from DescribeScdnDomainUvData response
+func CreateDescribeScdnDomainUvDataResponse() (response *DescribeScdnDomainUvDataResponse) {
+	response = &DescribeScdnDomainUvDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/scdn/describe_scdn_ip_info.go

@@ -0,0 +1,110 @@
+package scdn
+
+//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"
+)
+
+// DescribeScdnIpInfo invokes the scdn.DescribeScdnIpInfo API synchronously
+// api document: https://help.aliyun.com/api/scdn/describescdnipinfo.html
+func (client *Client) DescribeScdnIpInfo(request *DescribeScdnIpInfoRequest) (response *DescribeScdnIpInfoResponse, err error) {
+	response = CreateDescribeScdnIpInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeScdnIpInfoWithChan invokes the scdn.DescribeScdnIpInfo API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdnipinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnIpInfoWithChan(request *DescribeScdnIpInfoRequest) (<-chan *DescribeScdnIpInfoResponse, <-chan error) {
+	responseChan := make(chan *DescribeScdnIpInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeScdnIpInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeScdnIpInfoWithCallback invokes the scdn.DescribeScdnIpInfo API asynchronously
+// api document: https://help.aliyun.com/api/scdn/describescdnipinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeScdnIpInfoWithCallback(request *DescribeScdnIpInfoRequest, callback func(response *DescribeScdnIpInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeScdnIpInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeScdnIpInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeScdnIpInfoRequest is the request struct for api DescribeScdnIpInfo
+type DescribeScdnIpInfoRequest struct {
+	*requests.RpcRequest
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	IP            string           `position:"Query" name:"IP"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeScdnIpInfoResponse is the response struct for api DescribeScdnIpInfo
+type DescribeScdnIpInfoResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	Ip          string `json:"Ip" xml:"Ip"`
+	ISP         string `json:"ISP" xml:"ISP"`
+	IspEname    string `json:"IspEname" xml:"IspEname"`
+	Region      string `json:"Region" xml:"Region"`
+	RegionEname string `json:"RegionEname" xml:"RegionEname"`
+}
+
+// CreateDescribeScdnIpInfoRequest creates a request to invoke DescribeScdnIpInfo API
+func CreateDescribeScdnIpInfoRequest() (request *DescribeScdnIpInfoRequest) {
+	request = &DescribeScdnIpInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("scdn", "2017-11-15", "DescribeScdnIpInfo", "", "")
+	return
+}
+
+// CreateDescribeScdnIpInfoResponse creates a response to parse from DescribeScdnIpInfo response
+func CreateDescribeScdnIpInfoResponse() (response *DescribeScdnIpInfoResponse) {
+	response = &DescribeScdnIpInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/scdn/preload_scdn_object_caches.go

@@ -76,6 +76,7 @@ func (client *Client) PreloadScdnObjectCachesWithCallback(request *PreloadScdnOb
 // PreloadScdnObjectCachesRequest is the request struct for api PreloadScdnObjectCaches
 type PreloadScdnObjectCachesRequest struct {
 	*requests.RpcRequest
+	Area          string           `position:"Query" name:"Area"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	ObjectPath    string           `position:"Query" name:"ObjectPath"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`

+ 31 - 0
services/scdn/struct_isp_proportion_data.go

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

+ 21 - 0
services/scdn/struct_pv_data_interval.go

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

+ 22 - 0
services/scdn/struct_usage_data.go

@@ -0,0 +1,22 @@
+package scdn
+
+//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.
+
+// UsageData is a nested struct in scdn response
+type UsageData struct {
+	Value     string `json:"Value" xml:"Value"`
+	TimeStamp string `json:"TimeStamp" xml:"TimeStamp"`
+}

+ 21 - 0
services/scdn/struct_uv_data_interval.go

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

+ 21 - 0
services/scdn/struct_value.go

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