浏览代码

DOMAIN-INTL SDK Auto Released By huizeng.zh,Version:1.47.0

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 年之前
父节点
当前提交
61efb09ce9

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2018-12-20 Version: 1.47.0
+1, Add Dns Sec apis.
+2, Add coupon and promotion fields for order apis.
+
 2018-12-20 Version: 1.46.0
 1, Add Dns Sec apis.
 2, Add coupon and promotion fields for order apis.

+ 106 - 0
services/domain-intl/query_ds_record.go

@@ -0,0 +1,106 @@
+package domain_intl
+
+//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"
+)
+
+// QueryDSRecord invokes the domain_intl.QueryDSRecord API synchronously
+// api document: https://help.aliyun.com/api/domain-intl/querydsrecord.html
+func (client *Client) QueryDSRecord(request *QueryDSRecordRequest) (response *QueryDSRecordResponse, err error) {
+	response = CreateQueryDSRecordResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryDSRecordWithChan invokes the domain_intl.QueryDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/querydsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryDSRecordWithChan(request *QueryDSRecordRequest) (<-chan *QueryDSRecordResponse, <-chan error) {
+	responseChan := make(chan *QueryDSRecordResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryDSRecord(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryDSRecordWithCallback invokes the domain_intl.QueryDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/querydsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryDSRecordWithCallback(request *QueryDSRecordRequest, callback func(response *QueryDSRecordResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryDSRecordResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryDSRecord(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryDSRecordRequest is the request struct for api QueryDSRecord
+type QueryDSRecordRequest struct {
+	*requests.RpcRequest
+	DomainName   string `position:"Query" name:"DomainName"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	Lang         string `position:"Query" name:"Lang"`
+}
+
+// QueryDSRecordResponse is the response struct for api QueryDSRecord
+type QueryDSRecordResponse struct {
+	*responses.BaseResponse
+	RequestId    string     `json:"RequestId" xml:"RequestId"`
+	DSRecordList []DSRecord `json:"DSRecordList" xml:"DSRecordList"`
+}
+
+// CreateQueryDSRecordRequest creates a request to invoke QueryDSRecord API
+func CreateQueryDSRecordRequest() (request *QueryDSRecordRequest) {
+	request = &QueryDSRecordRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Domain-intl", "2017-12-18", "QueryDSRecord", "domain", "openAPI")
+	return
+}
+
+// CreateQueryDSRecordResponse creates a response to parse from QueryDSRecord response
+func CreateQueryDSRecordResponse() (response *QueryDSRecordResponse) {
+	response = &QueryDSRecordResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/domain-intl/query_registrant_profiles.go

@@ -83,6 +83,7 @@ type QueryRegistrantProfilesRequest struct {
 	Lang                     string           `position:"Query" name:"Lang"`
 	PageNum                  requests.Integer `position:"Query" name:"PageNum"`
 	DefaultRegistrantProfile requests.Boolean `position:"Query" name:"DefaultRegistrantProfile"`
+	Email                    string           `position:"Query" name:"Email"`
 }
 
 // QueryRegistrantProfilesResponse is the response struct for api QueryRegistrantProfiles

+ 4 - 0
services/domain-intl/save_batch_task_for_creating_order_activate.go

@@ -77,8 +77,12 @@ func (client *Client) SaveBatchTaskForCreatingOrderActivateWithCallback(request
 type SaveBatchTaskForCreatingOrderActivateRequest struct {
 	*requests.RpcRequest
 	OrderActivateParam *[]SaveBatchTaskForCreatingOrderActivateOrderActivateParam `position:"Query" name:"OrderActivateParam"  type:"Repeated"`
+	PromotionNo        string                                                     `position:"Query" name:"PromotionNo"`
 	UserClientIp       string                                                     `position:"Query" name:"UserClientIp"`
+	CouponNo           string                                                     `position:"Query" name:"CouponNo"`
+	UseCoupon          requests.Boolean                                           `position:"Query" name:"UseCoupon"`
 	Lang               string                                                     `position:"Query" name:"Lang"`
+	UsePromotion       requests.Boolean                                           `position:"Query" name:"UsePromotion"`
 }
 
 // SaveBatchTaskForCreatingOrderActivateOrderActivateParam is a repeated param struct in SaveBatchTaskForCreatingOrderActivateRequest

+ 4 - 0
services/domain-intl/save_batch_task_for_creating_order_redeem.go

@@ -76,9 +76,13 @@ func (client *Client) SaveBatchTaskForCreatingOrderRedeemWithCallback(request *S
 // SaveBatchTaskForCreatingOrderRedeemRequest is the request struct for api SaveBatchTaskForCreatingOrderRedeem
 type SaveBatchTaskForCreatingOrderRedeemRequest struct {
 	*requests.RpcRequest
+	PromotionNo      string                                                 `position:"Query" name:"PromotionNo"`
 	OrderRedeemParam *[]SaveBatchTaskForCreatingOrderRedeemOrderRedeemParam `position:"Query" name:"OrderRedeemParam"  type:"Repeated"`
 	UserClientIp     string                                                 `position:"Query" name:"UserClientIp"`
+	CouponNo         string                                                 `position:"Query" name:"CouponNo"`
+	UseCoupon        requests.Boolean                                       `position:"Query" name:"UseCoupon"`
 	Lang             string                                                 `position:"Query" name:"Lang"`
+	UsePromotion     requests.Boolean                                       `position:"Query" name:"UsePromotion"`
 }
 
 // SaveBatchTaskForCreatingOrderRedeemOrderRedeemParam is a repeated param struct in SaveBatchTaskForCreatingOrderRedeemRequest

+ 4 - 0
services/domain-intl/save_batch_task_for_creating_order_renew.go

@@ -76,9 +76,13 @@ func (client *Client) SaveBatchTaskForCreatingOrderRenewWithCallback(request *Sa
 // SaveBatchTaskForCreatingOrderRenewRequest is the request struct for api SaveBatchTaskForCreatingOrderRenew
 type SaveBatchTaskForCreatingOrderRenewRequest struct {
 	*requests.RpcRequest
+	PromotionNo     string                                               `position:"Query" name:"PromotionNo"`
 	UserClientIp    string                                               `position:"Query" name:"UserClientIp"`
 	OrderRenewParam *[]SaveBatchTaskForCreatingOrderRenewOrderRenewParam `position:"Query" name:"OrderRenewParam"  type:"Repeated"`
+	CouponNo        string                                               `position:"Query" name:"CouponNo"`
+	UseCoupon       requests.Boolean                                     `position:"Query" name:"UseCoupon"`
 	Lang            string                                               `position:"Query" name:"Lang"`
+	UsePromotion    requests.Boolean                                     `position:"Query" name:"UsePromotion"`
 }
 
 // SaveBatchTaskForCreatingOrderRenewOrderRenewParam is a repeated param struct in SaveBatchTaskForCreatingOrderRenewRequest

+ 4 - 0
services/domain-intl/save_batch_task_for_creating_order_transfer.go

@@ -76,9 +76,13 @@ func (client *Client) SaveBatchTaskForCreatingOrderTransferWithCallback(request
 // SaveBatchTaskForCreatingOrderTransferRequest is the request struct for api SaveBatchTaskForCreatingOrderTransfer
 type SaveBatchTaskForCreatingOrderTransferRequest struct {
 	*requests.RpcRequest
+	PromotionNo        string                                                     `position:"Query" name:"PromotionNo"`
 	OrderTransferParam *[]SaveBatchTaskForCreatingOrderTransferOrderTransferParam `position:"Query" name:"OrderTransferParam"  type:"Repeated"`
 	UserClientIp       string                                                     `position:"Query" name:"UserClientIp"`
+	CouponNo           string                                                     `position:"Query" name:"CouponNo"`
+	UseCoupon          requests.Boolean                                           `position:"Query" name:"UseCoupon"`
 	Lang               string                                                     `position:"Query" name:"Lang"`
+	UsePromotion       requests.Boolean                                           `position:"Query" name:"UsePromotion"`
 }
 
 // SaveBatchTaskForCreatingOrderTransferOrderTransferParam is a repeated param struct in SaveBatchTaskForCreatingOrderTransferRequest

+ 110 - 0
services/domain-intl/save_single_task_for_adding_ds_record.go

@@ -0,0 +1,110 @@
+package domain_intl
+
+//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"
+)
+
+// SaveSingleTaskForAddingDSRecord invokes the domain_intl.SaveSingleTaskForAddingDSRecord API synchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskforaddingdsrecord.html
+func (client *Client) SaveSingleTaskForAddingDSRecord(request *SaveSingleTaskForAddingDSRecordRequest) (response *SaveSingleTaskForAddingDSRecordResponse, err error) {
+	response = CreateSaveSingleTaskForAddingDSRecordResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SaveSingleTaskForAddingDSRecordWithChan invokes the domain_intl.SaveSingleTaskForAddingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskforaddingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForAddingDSRecordWithChan(request *SaveSingleTaskForAddingDSRecordRequest) (<-chan *SaveSingleTaskForAddingDSRecordResponse, <-chan error) {
+	responseChan := make(chan *SaveSingleTaskForAddingDSRecordResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SaveSingleTaskForAddingDSRecord(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SaveSingleTaskForAddingDSRecordWithCallback invokes the domain_intl.SaveSingleTaskForAddingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskforaddingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForAddingDSRecordWithCallback(request *SaveSingleTaskForAddingDSRecordRequest, callback func(response *SaveSingleTaskForAddingDSRecordResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SaveSingleTaskForAddingDSRecordResponse
+		var err error
+		defer close(result)
+		response, err = client.SaveSingleTaskForAddingDSRecord(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SaveSingleTaskForAddingDSRecordRequest is the request struct for api SaveSingleTaskForAddingDSRecord
+type SaveSingleTaskForAddingDSRecordRequest struct {
+	*requests.RpcRequest
+	KeyTag       requests.Integer `position:"Query" name:"KeyTag"`
+	DomainName   string           `position:"Query" name:"DomainName"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
+	DigestType   requests.Integer `position:"Query" name:"DigestType"`
+	Digest       string           `position:"Query" name:"Digest"`
+	Lang         string           `position:"Query" name:"Lang"`
+	Algorithm    requests.Integer `position:"Query" name:"Algorithm"`
+}
+
+// SaveSingleTaskForAddingDSRecordResponse is the response struct for api SaveSingleTaskForAddingDSRecord
+type SaveSingleTaskForAddingDSRecordResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskNo    string `json:"TaskNo" xml:"TaskNo"`
+}
+
+// CreateSaveSingleTaskForAddingDSRecordRequest creates a request to invoke SaveSingleTaskForAddingDSRecord API
+func CreateSaveSingleTaskForAddingDSRecordRequest() (request *SaveSingleTaskForAddingDSRecordRequest) {
+	request = &SaveSingleTaskForAddingDSRecordRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Domain-intl", "2017-12-18", "SaveSingleTaskForAddingDSRecord", "domain", "openAPI")
+	return
+}
+
+// CreateSaveSingleTaskForAddingDSRecordResponse creates a response to parse from SaveSingleTaskForAddingDSRecord response
+func CreateSaveSingleTaskForAddingDSRecordResponse() (response *SaveSingleTaskForAddingDSRecordResponse) {
+	response = &SaveSingleTaskForAddingDSRecordResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 12 - 8
services/domain-intl/save_single_task_for_creating_order_activate.go

@@ -78,26 +78,30 @@ type SaveSingleTaskForCreatingOrderActivateRequest struct {
 	*requests.RpcRequest
 	Country                   string           `position:"Query" name:"Country"`
 	SubscriptionDuration      requests.Integer `position:"Query" name:"SubscriptionDuration"`
-	Address                   string           `position:"Query" name:"Address"`
 	PermitPremiumActivation   requests.Boolean `position:"Query" name:"PermitPremiumActivation"`
-	TelArea                   string           `position:"Query" name:"TelArea"`
 	City                      string           `position:"Query" name:"City"`
 	Dns2                      string           `position:"Query" name:"Dns2"`
 	Dns1                      string           `position:"Query" name:"Dns1"`
-	DomainName                string           `position:"Query" name:"DomainName"`
 	RegistrantProfileId       requests.Integer `position:"Query" name:"RegistrantProfileId"`
-	Telephone                 string           `position:"Query" name:"Telephone"`
-	TrademarkDomainActivation requests.Boolean `position:"Query" name:"TrademarkDomainActivation"`
+	CouponNo                  string           `position:"Query" name:"CouponNo"`
 	AliyunDns                 requests.Boolean `position:"Query" name:"AliyunDns"`
-	RegistrantOrganization    string           `position:"Query" name:"RegistrantOrganization"`
 	TelExt                    string           `position:"Query" name:"TelExt"`
 	Province                  string           `position:"Query" name:"Province"`
 	PostalCode                string           `position:"Query" name:"PostalCode"`
-	UserClientIp              string           `position:"Query" name:"UserClientIp"`
-	EnableDomainProxy         requests.Boolean `position:"Query" name:"EnableDomainProxy"`
 	Lang                      string           `position:"Query" name:"Lang"`
 	Email                     string           `position:"Query" name:"Email"`
+	Address                   string           `position:"Query" name:"Address"`
+	TelArea                   string           `position:"Query" name:"TelArea"`
+	DomainName                string           `position:"Query" name:"DomainName"`
+	Telephone                 string           `position:"Query" name:"Telephone"`
+	TrademarkDomainActivation requests.Boolean `position:"Query" name:"TrademarkDomainActivation"`
+	UseCoupon                 requests.Boolean `position:"Query" name:"UseCoupon"`
+	RegistrantOrganization    string           `position:"Query" name:"RegistrantOrganization"`
+	PromotionNo               string           `position:"Query" name:"PromotionNo"`
+	UserClientIp              string           `position:"Query" name:"UserClientIp"`
+	EnableDomainProxy         requests.Boolean `position:"Query" name:"EnableDomainProxy"`
 	RegistrantName            string           `position:"Query" name:"RegistrantName"`
+	UsePromotion              requests.Boolean `position:"Query" name:"UsePromotion"`
 }
 
 // SaveSingleTaskForCreatingOrderActivateResponse is the response struct for api SaveSingleTaskForCreatingOrderActivate

+ 4 - 0
services/domain-intl/save_single_task_for_creating_order_redeem.go

@@ -76,10 +76,14 @@ func (client *Client) SaveSingleTaskForCreatingOrderRedeemWithCallback(request *
 // SaveSingleTaskForCreatingOrderRedeemRequest is the request struct for api SaveSingleTaskForCreatingOrderRedeem
 type SaveSingleTaskForCreatingOrderRedeemRequest struct {
 	*requests.RpcRequest
+	PromotionNo           string           `position:"Query" name:"PromotionNo"`
 	CurrentExpirationDate requests.Integer `position:"Query" name:"CurrentExpirationDate"`
 	UserClientIp          string           `position:"Query" name:"UserClientIp"`
 	DomainName            string           `position:"Query" name:"DomainName"`
+	CouponNo              string           `position:"Query" name:"CouponNo"`
+	UseCoupon             requests.Boolean `position:"Query" name:"UseCoupon"`
 	Lang                  string           `position:"Query" name:"Lang"`
+	UsePromotion          requests.Boolean `position:"Query" name:"UsePromotion"`
 }
 
 // SaveSingleTaskForCreatingOrderRedeemResponse is the response struct for api SaveSingleTaskForCreatingOrderRedeem

+ 4 - 0
services/domain-intl/save_single_task_for_creating_order_renew.go

@@ -77,10 +77,14 @@ func (client *Client) SaveSingleTaskForCreatingOrderRenewWithCallback(request *S
 type SaveSingleTaskForCreatingOrderRenewRequest struct {
 	*requests.RpcRequest
 	SubscriptionDuration  requests.Integer `position:"Query" name:"SubscriptionDuration"`
+	PromotionNo           string           `position:"Query" name:"PromotionNo"`
 	CurrentExpirationDate requests.Integer `position:"Query" name:"CurrentExpirationDate"`
 	UserClientIp          string           `position:"Query" name:"UserClientIp"`
 	DomainName            string           `position:"Query" name:"DomainName"`
+	CouponNo              string           `position:"Query" name:"CouponNo"`
+	UseCoupon             requests.Boolean `position:"Query" name:"UseCoupon"`
 	Lang                  string           `position:"Query" name:"Lang"`
+	UsePromotion          requests.Boolean `position:"Query" name:"UsePromotion"`
 }
 
 // SaveSingleTaskForCreatingOrderRenewResponse is the response struct for api SaveSingleTaskForCreatingOrderRenew

+ 4 - 0
services/domain-intl/save_single_task_for_creating_order_transfer.go

@@ -77,11 +77,15 @@ func (client *Client) SaveSingleTaskForCreatingOrderTransferWithCallback(request
 type SaveSingleTaskForCreatingOrderTransferRequest struct {
 	*requests.RpcRequest
 	PermitPremiumTransfer requests.Boolean `position:"Query" name:"PermitPremiumTransfer"`
+	PromotionNo           string           `position:"Query" name:"PromotionNo"`
 	AuthorizationCode     string           `position:"Query" name:"AuthorizationCode"`
 	UserClientIp          string           `position:"Query" name:"UserClientIp"`
 	DomainName            string           `position:"Query" name:"DomainName"`
 	RegistrantProfileId   requests.Integer `position:"Query" name:"RegistrantProfileId"`
+	CouponNo              string           `position:"Query" name:"CouponNo"`
+	UseCoupon             requests.Boolean `position:"Query" name:"UseCoupon"`
 	Lang                  string           `position:"Query" name:"Lang"`
+	UsePromotion          requests.Boolean `position:"Query" name:"UsePromotion"`
 }
 
 // SaveSingleTaskForCreatingOrderTransferResponse is the response struct for api SaveSingleTaskForCreatingOrderTransfer

+ 107 - 0
services/domain-intl/save_single_task_for_deleting_ds_record.go

@@ -0,0 +1,107 @@
+package domain_intl
+
+//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"
+)
+
+// SaveSingleTaskForDeletingDSRecord invokes the domain_intl.SaveSingleTaskForDeletingDSRecord API synchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskfordeletingdsrecord.html
+func (client *Client) SaveSingleTaskForDeletingDSRecord(request *SaveSingleTaskForDeletingDSRecordRequest) (response *SaveSingleTaskForDeletingDSRecordResponse, err error) {
+	response = CreateSaveSingleTaskForDeletingDSRecordResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SaveSingleTaskForDeletingDSRecordWithChan invokes the domain_intl.SaveSingleTaskForDeletingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskfordeletingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForDeletingDSRecordWithChan(request *SaveSingleTaskForDeletingDSRecordRequest) (<-chan *SaveSingleTaskForDeletingDSRecordResponse, <-chan error) {
+	responseChan := make(chan *SaveSingleTaskForDeletingDSRecordResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SaveSingleTaskForDeletingDSRecord(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SaveSingleTaskForDeletingDSRecordWithCallback invokes the domain_intl.SaveSingleTaskForDeletingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskfordeletingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForDeletingDSRecordWithCallback(request *SaveSingleTaskForDeletingDSRecordRequest, callback func(response *SaveSingleTaskForDeletingDSRecordResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SaveSingleTaskForDeletingDSRecordResponse
+		var err error
+		defer close(result)
+		response, err = client.SaveSingleTaskForDeletingDSRecord(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SaveSingleTaskForDeletingDSRecordRequest is the request struct for api SaveSingleTaskForDeletingDSRecord
+type SaveSingleTaskForDeletingDSRecordRequest struct {
+	*requests.RpcRequest
+	KeyTag       requests.Integer `position:"Query" name:"KeyTag"`
+	DomainName   string           `position:"Query" name:"DomainName"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
+	Lang         string           `position:"Query" name:"Lang"`
+}
+
+// SaveSingleTaskForDeletingDSRecordResponse is the response struct for api SaveSingleTaskForDeletingDSRecord
+type SaveSingleTaskForDeletingDSRecordResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskNo    string `json:"TaskNo" xml:"TaskNo"`
+}
+
+// CreateSaveSingleTaskForDeletingDSRecordRequest creates a request to invoke SaveSingleTaskForDeletingDSRecord API
+func CreateSaveSingleTaskForDeletingDSRecordRequest() (request *SaveSingleTaskForDeletingDSRecordRequest) {
+	request = &SaveSingleTaskForDeletingDSRecordRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Domain-intl", "2017-12-18", "SaveSingleTaskForDeletingDSRecord", "domain", "openAPI")
+	return
+}
+
+// CreateSaveSingleTaskForDeletingDSRecordResponse creates a response to parse from SaveSingleTaskForDeletingDSRecord response
+func CreateSaveSingleTaskForDeletingDSRecordResponse() (response *SaveSingleTaskForDeletingDSRecordResponse) {
+	response = &SaveSingleTaskForDeletingDSRecordResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/domain-intl/save_single_task_for_modifying_ds_record.go

@@ -0,0 +1,110 @@
+package domain_intl
+
+//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"
+)
+
+// SaveSingleTaskForModifyingDSRecord invokes the domain_intl.SaveSingleTaskForModifyingDSRecord API synchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskformodifyingdsrecord.html
+func (client *Client) SaveSingleTaskForModifyingDSRecord(request *SaveSingleTaskForModifyingDSRecordRequest) (response *SaveSingleTaskForModifyingDSRecordResponse, err error) {
+	response = CreateSaveSingleTaskForModifyingDSRecordResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SaveSingleTaskForModifyingDSRecordWithChan invokes the domain_intl.SaveSingleTaskForModifyingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskformodifyingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForModifyingDSRecordWithChan(request *SaveSingleTaskForModifyingDSRecordRequest) (<-chan *SaveSingleTaskForModifyingDSRecordResponse, <-chan error) {
+	responseChan := make(chan *SaveSingleTaskForModifyingDSRecordResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SaveSingleTaskForModifyingDSRecord(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SaveSingleTaskForModifyingDSRecordWithCallback invokes the domain_intl.SaveSingleTaskForModifyingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskformodifyingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForModifyingDSRecordWithCallback(request *SaveSingleTaskForModifyingDSRecordRequest, callback func(response *SaveSingleTaskForModifyingDSRecordResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SaveSingleTaskForModifyingDSRecordResponse
+		var err error
+		defer close(result)
+		response, err = client.SaveSingleTaskForModifyingDSRecord(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SaveSingleTaskForModifyingDSRecordRequest is the request struct for api SaveSingleTaskForModifyingDSRecord
+type SaveSingleTaskForModifyingDSRecordRequest struct {
+	*requests.RpcRequest
+	KeyTag       requests.Integer `position:"Query" name:"KeyTag"`
+	DomainName   string           `position:"Query" name:"DomainName"`
+	UserClientIp string           `position:"Query" name:"UserClientIp"`
+	DigestType   requests.Integer `position:"Query" name:"DigestType"`
+	Digest       string           `position:"Query" name:"Digest"`
+	Lang         string           `position:"Query" name:"Lang"`
+	Algorithm    requests.Integer `position:"Query" name:"Algorithm"`
+}
+
+// SaveSingleTaskForModifyingDSRecordResponse is the response struct for api SaveSingleTaskForModifyingDSRecord
+type SaveSingleTaskForModifyingDSRecordResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskNo    string `json:"TaskNo" xml:"TaskNo"`
+}
+
+// CreateSaveSingleTaskForModifyingDSRecordRequest creates a request to invoke SaveSingleTaskForModifyingDSRecord API
+func CreateSaveSingleTaskForModifyingDSRecordRequest() (request *SaveSingleTaskForModifyingDSRecordRequest) {
+	request = &SaveSingleTaskForModifyingDSRecordRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Domain-intl", "2017-12-18", "SaveSingleTaskForModifyingDSRecord", "domain", "openAPI")
+	return
+}
+
+// CreateSaveSingleTaskForModifyingDSRecordResponse creates a response to parse from SaveSingleTaskForModifyingDSRecord response
+func CreateSaveSingleTaskForModifyingDSRecordResponse() (response *SaveSingleTaskForModifyingDSRecordResponse) {
+	response = &SaveSingleTaskForModifyingDSRecordResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/domain-intl/save_single_task_for_synchronizing_ds_record.go

@@ -0,0 +1,106 @@
+package domain_intl
+
+//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"
+)
+
+// SaveSingleTaskForSynchronizingDSRecord invokes the domain_intl.SaveSingleTaskForSynchronizingDSRecord API synchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskforsynchronizingdsrecord.html
+func (client *Client) SaveSingleTaskForSynchronizingDSRecord(request *SaveSingleTaskForSynchronizingDSRecordRequest) (response *SaveSingleTaskForSynchronizingDSRecordResponse, err error) {
+	response = CreateSaveSingleTaskForSynchronizingDSRecordResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SaveSingleTaskForSynchronizingDSRecordWithChan invokes the domain_intl.SaveSingleTaskForSynchronizingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskforsynchronizingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForSynchronizingDSRecordWithChan(request *SaveSingleTaskForSynchronizingDSRecordRequest) (<-chan *SaveSingleTaskForSynchronizingDSRecordResponse, <-chan error) {
+	responseChan := make(chan *SaveSingleTaskForSynchronizingDSRecordResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SaveSingleTaskForSynchronizingDSRecord(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SaveSingleTaskForSynchronizingDSRecordWithCallback invokes the domain_intl.SaveSingleTaskForSynchronizingDSRecord API asynchronously
+// api document: https://help.aliyun.com/api/domain-intl/savesingletaskforsynchronizingdsrecord.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveSingleTaskForSynchronizingDSRecordWithCallback(request *SaveSingleTaskForSynchronizingDSRecordRequest, callback func(response *SaveSingleTaskForSynchronizingDSRecordResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SaveSingleTaskForSynchronizingDSRecordResponse
+		var err error
+		defer close(result)
+		response, err = client.SaveSingleTaskForSynchronizingDSRecord(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SaveSingleTaskForSynchronizingDSRecordRequest is the request struct for api SaveSingleTaskForSynchronizingDSRecord
+type SaveSingleTaskForSynchronizingDSRecordRequest struct {
+	*requests.RpcRequest
+	DomainName   string `position:"Query" name:"DomainName"`
+	UserClientIp string `position:"Query" name:"UserClientIp"`
+	Lang         string `position:"Query" name:"Lang"`
+}
+
+// SaveSingleTaskForSynchronizingDSRecordResponse is the response struct for api SaveSingleTaskForSynchronizingDSRecord
+type SaveSingleTaskForSynchronizingDSRecordResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskNo    string `json:"TaskNo" xml:"TaskNo"`
+}
+
+// CreateSaveSingleTaskForSynchronizingDSRecordRequest creates a request to invoke SaveSingleTaskForSynchronizingDSRecord API
+func CreateSaveSingleTaskForSynchronizingDSRecordRequest() (request *SaveSingleTaskForSynchronizingDSRecordRequest) {
+	request = &SaveSingleTaskForSynchronizingDSRecordRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Domain-intl", "2017-12-18", "SaveSingleTaskForSynchronizingDSRecord", "domain", "openAPI")
+	return
+}
+
+// CreateSaveSingleTaskForSynchronizingDSRecordResponse creates a response to parse from SaveSingleTaskForSynchronizingDSRecord response
+func CreateSaveSingleTaskForSynchronizingDSRecordResponse() (response *SaveSingleTaskForSynchronizingDSRecordResponse) {
+	response = &SaveSingleTaskForSynchronizingDSRecordResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 24 - 0
services/domain-intl/struct_ds_record.go

@@ -0,0 +1,24 @@
+package domain_intl
+
+//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.
+
+// DSRecord is a nested struct in domain_intl response
+type DSRecord struct {
+	KeyTag     int    `json:"KeyTag" xml:"KeyTag"`
+	Algorithm  int    `json:"Algorithm" xml:"Algorithm"`
+	DigestType int    `json:"DigestType" xml:"DigestType"`
+	Digest     string `json:"Digest" xml:"Digest"`
+}

+ 21 - 0
services/domain-intl/struct_ds_record_list.go

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