소스 검색

CDN SDK Auto Released By xiaoyao,Version:1.24.5

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 년 전
부모
커밋
3d916197fb

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-08-08 Version: 1.24.5
+1, Update FC apis.
+
 2018-08-08 Version: 1.24.4
 1, First release.
 

+ 0 - 105
services/cdn/clear_user_black_list.go

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

+ 0 - 106
services/cdn/clear_user_domain_black_list.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"
-)
-
-// ClearUserDomainBlackList invokes the cdn.ClearUserDomainBlackList API synchronously
-// api document: https://help.aliyun.com/api/cdn/clearuserdomainblacklist.html
-func (client *Client) ClearUserDomainBlackList(request *ClearUserDomainBlackListRequest) (response *ClearUserDomainBlackListResponse, err error) {
-	response = CreateClearUserDomainBlackListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ClearUserDomainBlackListWithChan invokes the cdn.ClearUserDomainBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/clearuserdomainblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ClearUserDomainBlackListWithChan(request *ClearUserDomainBlackListRequest) (<-chan *ClearUserDomainBlackListResponse, <-chan error) {
-	responseChan := make(chan *ClearUserDomainBlackListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ClearUserDomainBlackList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ClearUserDomainBlackListWithCallback invokes the cdn.ClearUserDomainBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/clearuserdomainblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ClearUserDomainBlackListWithCallback(request *ClearUserDomainBlackListRequest, callback func(response *ClearUserDomainBlackListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ClearUserDomainBlackListResponse
-		var err error
-		defer close(result)
-		response, err = client.ClearUserDomainBlackList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ClearUserDomainBlackListRequest is the request struct for api ClearUserDomainBlackList
-type ClearUserDomainBlackListRequest struct {
-	*requests.RpcRequest
-	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"`
-}
-
-// ClearUserDomainBlackListResponse is the response struct for api ClearUserDomainBlackList
-type ClearUserDomainBlackListResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateClearUserDomainBlackListRequest creates a request to invoke ClearUserDomainBlackList API
-func CreateClearUserDomainBlackListRequest() (request *ClearUserDomainBlackListRequest) {
-	request = &ClearUserDomainBlackListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "ClearUserDomainBlackList", "", "")
-	return
-}
-
-// CreateClearUserDomainBlackListResponse creates a response to parse from ClearUserDomainBlackList response
-func CreateClearUserDomainBlackListResponse() (response *ClearUserDomainBlackListResponse) {
-	response = &ClearUserDomainBlackListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 8 - 9
services/cdn/describe_domain_path_data.go

@@ -76,20 +76,19 @@ func (client *Client) DescribeDomainPathDataWithCallback(request *DescribeDomain
 // DescribeDomainPathDataRequest is the request struct for api DescribeDomainPathData
 type DescribeDomainPathDataRequest struct {
 	*requests.RpcRequest
-	StartTime     string           `position:"Query" name:"StartTime"`
-	PageNumber    requests.Integer `position:"Query" name:"PageNumber"`
-	Path          string           `position:"Query" name:"Path"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	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"`
-	Version       string           `position:"Query" name:"Version"`
+	StartTime  string           `position:"Query" name:"StartTime"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	Path       string           `position:"Query" name:"Path"`
+	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"`
 }
 
 // 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"`

+ 1 - 3
services/cdn/describe_user_custom_log_config.go

@@ -76,9 +76,7 @@ func (client *Client) DescribeUserCustomLogConfigWithCallback(request *DescribeU
 // DescribeUserCustomLogConfigRequest is the request struct for api DescribeUserCustomLogConfig
 type DescribeUserCustomLogConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	Version       string           `position:"Query" name:"Version"`
+	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeUserCustomLogConfigResponse is the response struct for api DescribeUserCustomLogConfig

+ 0 - 108
services/cdn/get_domain.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"
-)
-
-// GetDomain invokes the cdn.GetDomain API synchronously
-// api document: https://help.aliyun.com/api/cdn/getdomain.html
-func (client *Client) GetDomain(request *GetDomainRequest) (response *GetDomainResponse, err error) {
-	response = CreateGetDomainResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetDomainWithChan invokes the cdn.GetDomain API asynchronously
-// api document: https://help.aliyun.com/api/cdn/getdomain.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetDomainWithChan(request *GetDomainRequest) (<-chan *GetDomainResponse, <-chan error) {
-	responseChan := make(chan *GetDomainResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetDomain(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetDomainWithCallback invokes the cdn.GetDomain API asynchronously
-// api document: https://help.aliyun.com/api/cdn/getdomain.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetDomainWithCallback(request *GetDomainRequest, callback func(response *GetDomainResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetDomainResponse
-		var err error
-		defer close(result)
-		response, err = client.GetDomain(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetDomainRequest is the request struct for api GetDomain
-type GetDomainRequest struct {
-	*requests.RpcRequest
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	Version       string           `position:"Query" name:"Version"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-}
-
-// GetDomainResponse is the response struct for api GetDomain
-type GetDomainResponse struct {
-	*responses.BaseResponse
-	RetCode      string       `json:"RetCode" xml:"RetCode"`
-	Description  string       `json:"Description" xml:"Description"`
-	DomainDetail DomainDetail `json:"DomainDetail" xml:"DomainDetail"`
-}
-
-// CreateGetDomainRequest creates a request to invoke GetDomain API
-func CreateGetDomainRequest() (request *GetDomainRequest) {
-	request = &GetDomainRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "GetDomain", "", "")
-	return
-}
-
-// CreateGetDomainResponse creates a response to parse from GetDomain response
-func CreateGetDomainResponse() (response *GetDomainResponse) {
-	response = &GetDomainResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cdn/get_user_domain_black_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"
-)
-
-// GetUserDomainBlackList invokes the cdn.GetUserDomainBlackList API synchronously
-// api document: https://help.aliyun.com/api/cdn/getuserdomainblacklist.html
-func (client *Client) GetUserDomainBlackList(request *GetUserDomainBlackListRequest) (response *GetUserDomainBlackListResponse, err error) {
-	response = CreateGetUserDomainBlackListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetUserDomainBlackListWithChan invokes the cdn.GetUserDomainBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/getuserdomainblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetUserDomainBlackListWithChan(request *GetUserDomainBlackListRequest) (<-chan *GetUserDomainBlackListResponse, <-chan error) {
-	responseChan := make(chan *GetUserDomainBlackListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetUserDomainBlackList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetUserDomainBlackListWithCallback invokes the cdn.GetUserDomainBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/getuserdomainblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetUserDomainBlackListWithCallback(request *GetUserDomainBlackListRequest, callback func(response *GetUserDomainBlackListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetUserDomainBlackListResponse
-		var err error
-		defer close(result)
-		response, err = client.GetUserDomainBlackList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetUserDomainBlackListRequest is the request struct for api GetUserDomainBlackList
-type GetUserDomainBlackListRequest struct {
-	*requests.RpcRequest
-	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"`
-}
-
-// GetUserDomainBlackListResponse is the response struct for api GetUserDomainBlackList
-type GetUserDomainBlackListResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Bind      string `json:"Bind" xml:"Bind"`
-}
-
-// CreateGetUserDomainBlackListRequest creates a request to invoke GetUserDomainBlackList API
-func CreateGetUserDomainBlackListRequest() (request *GetUserDomainBlackListRequest) {
-	request = &GetUserDomainBlackListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "GetUserDomainBlackList", "", "")
-	return
-}
-
-// CreateGetUserDomainBlackListResponse creates a response to parse from GetUserDomainBlackList response
-func CreateGetUserDomainBlackListResponse() (response *GetUserDomainBlackListResponse) {
-	response = &GetUserDomainBlackListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 0
services/cdn/push_object_cache.go

@@ -76,6 +76,7 @@ func (client *Client) PushObjectCacheWithCallback(request *PushObjectCacheReques
 // PushObjectCacheRequest is the request struct for api PushObjectCache
 type PushObjectCacheRequest 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"`

+ 0 - 106
services/cdn/set_user_black_list.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"
-)
-
-// SetUserBlackList invokes the cdn.SetUserBlackList API synchronously
-// api document: https://help.aliyun.com/api/cdn/setuserblacklist.html
-func (client *Client) SetUserBlackList(request *SetUserBlackListRequest) (response *SetUserBlackListResponse, err error) {
-	response = CreateSetUserBlackListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SetUserBlackListWithChan invokes the cdn.SetUserBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/setuserblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserBlackListWithChan(request *SetUserBlackListRequest) (<-chan *SetUserBlackListResponse, <-chan error) {
-	responseChan := make(chan *SetUserBlackListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SetUserBlackList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SetUserBlackListWithCallback invokes the cdn.SetUserBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/setuserblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserBlackListWithCallback(request *SetUserBlackListRequest, callback func(response *SetUserBlackListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SetUserBlackListResponse
-		var err error
-		defer close(result)
-		response, err = client.SetUserBlackList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SetUserBlackListRequest is the request struct for api SetUserBlackList
-type SetUserBlackListRequest struct {
-	*requests.RpcRequest
-	ConfigUrl     string           `position:"Query" name:"ConfigUrl"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// SetUserBlackListResponse is the response struct for api SetUserBlackList
-type SetUserBlackListResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateSetUserBlackListRequest creates a request to invoke SetUserBlackList API
-func CreateSetUserBlackListRequest() (request *SetUserBlackListRequest) {
-	request = &SetUserBlackListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "SetUserBlackList", "", "")
-	return
-}
-
-// CreateSetUserBlackListResponse creates a response to parse from SetUserBlackList response
-func CreateSetUserBlackListResponse() (response *SetUserBlackListResponse) {
-	response = &SetUserBlackListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/cdn/set_user_domain_black_list.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"
-)
-
-// SetUserDomainBlackList invokes the cdn.SetUserDomainBlackList API synchronously
-// api document: https://help.aliyun.com/api/cdn/setuserdomainblacklist.html
-func (client *Client) SetUserDomainBlackList(request *SetUserDomainBlackListRequest) (response *SetUserDomainBlackListResponse, err error) {
-	response = CreateSetUserDomainBlackListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SetUserDomainBlackListWithChan invokes the cdn.SetUserDomainBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/setuserdomainblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserDomainBlackListWithChan(request *SetUserDomainBlackListRequest) (<-chan *SetUserDomainBlackListResponse, <-chan error) {
-	responseChan := make(chan *SetUserDomainBlackListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SetUserDomainBlackList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SetUserDomainBlackListWithCallback invokes the cdn.SetUserDomainBlackList API asynchronously
-// api document: https://help.aliyun.com/api/cdn/setuserdomainblacklist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetUserDomainBlackListWithCallback(request *SetUserDomainBlackListRequest, callback func(response *SetUserDomainBlackListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SetUserDomainBlackListResponse
-		var err error
-		defer close(result)
-		response, err = client.SetUserDomainBlackList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SetUserDomainBlackListRequest is the request struct for api SetUserDomainBlackList
-type SetUserDomainBlackListRequest struct {
-	*requests.RpcRequest
-	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"`
-}
-
-// SetUserDomainBlackListResponse is the response struct for api SetUserDomainBlackList
-type SetUserDomainBlackListResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateSetUserDomainBlackListRequest creates a request to invoke SetUserDomainBlackList API
-func CreateSetUserDomainBlackListRequest() (request *SetUserDomainBlackListRequest) {
-	request = &SetUserDomainBlackListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cdn", "2014-11-11", "SetUserDomainBlackList", "", "")
-	return
-}
-
-// CreateSetUserDomainBlackListResponse creates a response to parse from SetUserDomainBlackList response
-func CreateSetUserDomainBlackListResponse() (response *SetUserDomainBlackListResponse) {
-	response = &SetUserDomainBlackListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 4 - 0
services/cdn/struct_cert_info.go

@@ -27,4 +27,8 @@ type CertInfo struct {
 	ServerCertificateStatus string `json:"ServerCertificateStatus" xml:"ServerCertificateStatus"`
 	Status                  string `json:"Status" xml:"Status"`
 	ServerCertificate       string `json:"ServerCertificate" xml:"ServerCertificate"`
+	CertUpdateTime          string `json:"CertUpdateTime" xml:"CertUpdateTime"`
+	CertStartTime           string `json:"CertStartTime" xml:"CertStartTime"`
+	CertCommonName          string `json:"CertCommonName" xml:"CertCommonName"`
+	DomainCnameStatus       string `json:"DomainCnameStatus" xml:"DomainCnameStatus"`
 }

+ 0 - 48
services/cdn/struct_domain_detail.go

@@ -1,48 +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.
-
-// DomainDetail is a nested struct in cdn response
-type DomainDetail struct {
-	AliUid                  string             `json:"AliUid" xml:"AliUid"`
-	AoneId                  string             `json:"AoneId" xml:"AoneId"`
-	BizId                   int                `json:"BizId" xml:"BizId"`
-	BizName                 string             `json:"BizName" xml:"BizName"`
-	Category                string             `json:"Category" xml:"Category"`
-	CheckUrl                string             `json:"CheckUrl" xml:"CheckUrl"`
-	Cname                   string             `json:"Cname" xml:"Cname"`
-	CreateTime              string             `json:"CreateTime" xml:"CreateTime"`
-	DomainId                int                `json:"DomainId" xml:"DomainId"`
-	DomainName              string             `json:"DomainName" xml:"DomainName"`
-	Enabled                 string             `json:"Enabled" xml:"Enabled"`
-	HitRate                 int                `json:"HitRate" xml:"HitRate"`
-	IsMadeUp                int                `json:"IsMadeUp" xml:"IsMadeUp"`
-	IsRegister              int                `json:"IsRegister" xml:"IsRegister"`
-	MaxBps                  int                `json:"MaxBps" xml:"MaxBps"`
-	ProductId               int                `json:"ProductId" xml:"ProductId"`
-	Remark                  string             `json:"Remark" xml:"Remark"`
-	ScheduleDomainId        int                `json:"ScheduleDomainId" xml:"ScheduleDomainId"`
-	ScheduleDomainName      string             `json:"ScheduleDomainName" xml:"ScheduleDomainName"`
-	ScheduleDomainExt       int                `json:"ScheduleDomainExt" xml:"ScheduleDomainExt"`
-	SourceId                int                `json:"SourceId" xml:"SourceId"`
-	SslFlag                 bool               `json:"SslFlag" xml:"SslFlag"`
-	ServerCertificateStatus string             `json:"ServerCertificateStatus" xml:"ServerCertificateStatus"`
-	ServerCertificate       string             `json:"ServerCertificate" xml:"ServerCertificate"`
-	SwdmExt                 int                `json:"SwdmExt" xml:"SwdmExt"`
-	UserId                  int                `json:"UserId" xml:"UserId"`
-	UpdateTime              string             `json:"UpdateTime" xml:"UpdateTime"`
-	Sources                 SourcesInGetDomain `json:"Sources" xml:"Sources"`
-}

+ 0 - 30
services/cdn/struct_source.go

@@ -1,30 +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.
-
-// Source is a nested struct in cdn response
-type Source struct {
-	DomainSource   string `json:"DomainSource" xml:"DomainSource"`
-	CreateTime     string `json:"CreateTime" xml:"CreateTime"`
-	DomainSourceId int    `json:"DomainSourceId" xml:"DomainSourceId"`
-	Enabled        string `json:"Enabled" xml:"Enabled"`
-	Port           int    `json:"Port" xml:"Port"`
-	Priority       int    `json:"Priority" xml:"Priority"`
-	RouteStatus    string `json:"RouteStatus" xml:"RouteStatus"`
-	Status         string `json:"Status" xml:"Status"`
-	SourceType     string `json:"SourceType" xml:"SourceType"`
-	Weight         int    `json:"Weight" xml:"Weight"`
-}

+ 0 - 21
services/cdn/struct_sources_in_get_domain.go

@@ -1,21 +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.
-
-// SourcesInGetDomain is a nested struct in cdn response
-type SourcesInGetDomain struct {
-	Source []Source `json:"Source" xml:"Source"`
-}