Prechádzať zdrojové kódy

Support Order Basis API, include CreateOrder, CloseOrder, ListOrders, GetOrderBaseInfo.

sdk-team 6 rokov pred
rodič
commit
95e8ccdc10
36 zmenil súbory, kde vykonal 2035 pridanie a 0 odobranie
  1. 7 0
      ChangeLog.txt
  2. 108 0
      services/dms_enterprise/approve_order.go
  3. 108 0
      services/dms_enterprise/close_order.go
  4. 111 0
      services/dms_enterprise/create_order.go
  5. 112 0
      services/dms_enterprise/create_publish_group_task.go
  6. 109 0
      services/dms_enterprise/execute_data_correct.go
  7. 109 0
      services/dms_enterprise/execute_data_export.go
  8. 108 0
      services/dms_enterprise/get_approval_detail.go
  9. 110 0
      services/dms_enterprise/get_data_correct_backup_files.go
  10. 108 0
      services/dms_enterprise/get_data_correct_order_detail.go
  11. 109 0
      services/dms_enterprise/get_data_export_download_url.go
  12. 108 0
      services/dms_enterprise/get_data_export_order_detail.go
  13. 108 0
      services/dms_enterprise/get_order_base_info.go
  14. 117 0
      services/dms_enterprise/list_orders.go
  15. 29 0
      services/dms_enterprise/struct_approval_detail.go
  16. 21 0
      services/dms_enterprise/struct_audit_user_id_list.go
  17. 21 0
      services/dms_enterprise/struct_create_order_result.go
  18. 22 0
      services/dms_enterprise/struct_current_handler.go
  19. 21 0
      services/dms_enterprise/struct_current_handlers.go
  20. 21 0
      services/dms_enterprise/struct_data_correct_backup_files.go
  21. 22 0
      services/dms_enterprise/struct_data_correct_order_detail.go
  22. 22 0
      services/dms_enterprise/struct_data_export_order_detail.go
  23. 23 0
      services/dms_enterprise/struct_download_url_result.go
  24. 22 0
      services/dms_enterprise/struct_key_info.go
  25. 29 0
      services/dms_enterprise/struct_order.go
  26. 33 0
      services/dms_enterprise/struct_order_base_info.go
  27. 35 0
      services/dms_enterprise/struct_order_detail.go
  28. 21 0
      services/dms_enterprise/struct_orders.go
  29. 21 0
      services/dms_enterprise/struct_pre_check_detail.go
  30. 21 0
      services/dms_enterprise/struct_reason_list.go
  31. 21 0
      services/dms_enterprise/struct_related_user_list.go
  32. 21 0
      services/dms_enterprise/struct_related_user_nick_list.go
  33. 23 0
      services/dms_enterprise/struct_task_check_do.go
  34. 26 0
      services/dms_enterprise/struct_workflow_node.go
  35. 21 0
      services/dms_enterprise/struct_workflow_nodes.go
  36. 107 0
      services/dms_enterprise/submit_order_approval.go

+ 7 - 0
ChangeLog.txt

@@ -1,3 +1,10 @@
+2019-11-28 Version: v1.60.271
+- Support Order Basis API, include CreateOrder, CloseOrder, ListOrders, GetOrderBaseInfo.
+- Support Order Approval API, include SubmitOrderApproval, ApproveOrder, GetApprovalDetail.
+- Support DataCorrect Order Operation API, include ExecuteDataCorrect, GetDataCorrectOrderDetail, GetDataCorrectBackupFiles.
+- Support DDL Order Operation API, include CreatePublishGroupTask.
+- Support DataExport Operation API, include ExecuteDataExport, GetDataExportOrderDetail, GetDataExportDownloadURL.
+
 2019-11-27 Version: v1.60.270
 - Add Tag API.
 

+ 108 - 0
services/dms_enterprise/approve_order.go

@@ -0,0 +1,108 @@
+package dms_enterprise
+
+//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"
+)
+
+// ApproveOrder invokes the dms_enterprise.ApproveOrder API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/approveorder.html
+func (client *Client) ApproveOrder(request *ApproveOrderRequest) (response *ApproveOrderResponse, err error) {
+	response = CreateApproveOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ApproveOrderWithChan invokes the dms_enterprise.ApproveOrder API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/approveorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApproveOrderWithChan(request *ApproveOrderRequest) (<-chan *ApproveOrderResponse, <-chan error) {
+	responseChan := make(chan *ApproveOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ApproveOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ApproveOrderWithCallback invokes the dms_enterprise.ApproveOrder API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/approveorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApproveOrderWithCallback(request *ApproveOrderRequest, callback func(response *ApproveOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ApproveOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.ApproveOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ApproveOrderRequest is the request struct for api ApproveOrder
+type ApproveOrderRequest struct {
+	*requests.RpcRequest
+	ApprovalType       string           `position:"Query" name:"ApprovalType"`
+	Tid                requests.Integer `position:"Query" name:"Tid"`
+	WorkflowInstanceId requests.Integer `position:"Query" name:"WorkflowInstanceId"`
+}
+
+// ApproveOrderResponse is the response struct for api ApproveOrder
+type ApproveOrderResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Success      bool   `json:"Success" xml:"Success"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateApproveOrderRequest creates a request to invoke ApproveOrder API
+func CreateApproveOrderRequest() (request *ApproveOrderRequest) {
+	request = &ApproveOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ApproveOrder", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateApproveOrderResponse creates a response to parse from ApproveOrder response
+func CreateApproveOrderResponse() (response *ApproveOrderResponse) {
+	response = &ApproveOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms_enterprise/close_order.go

@@ -0,0 +1,108 @@
+package dms_enterprise
+
+//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"
+)
+
+// CloseOrder invokes the dms_enterprise.CloseOrder API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/closeorder.html
+func (client *Client) CloseOrder(request *CloseOrderRequest) (response *CloseOrderResponse, err error) {
+	response = CreateCloseOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CloseOrderWithChan invokes the dms_enterprise.CloseOrder API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/closeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CloseOrderWithChan(request *CloseOrderRequest) (<-chan *CloseOrderResponse, <-chan error) {
+	responseChan := make(chan *CloseOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CloseOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CloseOrderWithCallback invokes the dms_enterprise.CloseOrder API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/closeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CloseOrderWithCallback(request *CloseOrderRequest, callback func(response *CloseOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CloseOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.CloseOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CloseOrderRequest is the request struct for api CloseOrder
+type CloseOrderRequest struct {
+	*requests.RpcRequest
+	OrderId     requests.Integer `position:"Query" name:"OrderId"`
+	CloseReason string           `position:"Query" name:"CloseReason"`
+	Tid         requests.Integer `position:"Query" name:"Tid"`
+}
+
+// CloseOrderResponse is the response struct for api CloseOrder
+type CloseOrderResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Success      bool   `json:"Success" xml:"Success"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateCloseOrderRequest creates a request to invoke CloseOrder API
+func CreateCloseOrderRequest() (request *CloseOrderRequest) {
+	request = &CloseOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "CloseOrder", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateCloseOrderResponse creates a response to parse from CloseOrder response
+func CreateCloseOrderResponse() (response *CloseOrderResponse) {
+	response = &CloseOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/dms_enterprise/create_order.go

@@ -0,0 +1,111 @@
+package dms_enterprise
+
+//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"
+)
+
+// CreateOrder invokes the dms_enterprise.CreateOrder API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/createorder.html
+func (client *Client) CreateOrder(request *CreateOrderRequest) (response *CreateOrderResponse, err error) {
+	response = CreateCreateOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateOrderWithChan invokes the dms_enterprise.CreateOrder API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/createorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateOrderWithChan(request *CreateOrderRequest) (<-chan *CreateOrderResponse, <-chan error) {
+	responseChan := make(chan *CreateOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateOrderWithCallback invokes the dms_enterprise.CreateOrder API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/createorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateOrderWithCallback(request *CreateOrderRequest, callback func(response *CreateOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateOrderRequest is the request struct for api CreateOrder
+type CreateOrderRequest struct {
+	*requests.RpcRequest
+	PluginType      string                 `position:"Query" name:"PluginType"`
+	Comment         string                 `position:"Query" name:"Comment"`
+	Tid             requests.Integer       `position:"Query" name:"Tid"`
+	PluginParam     map[string]interface{} `position:"Query" name:"PluginParam"`
+	RelatedUserList string                 `position:"Query" name:"RelatedUserList"`
+}
+
+// CreateOrderResponse is the response struct for api CreateOrder
+type CreateOrderResponse struct {
+	*responses.BaseResponse
+	RequestId         string            `json:"RequestId" xml:"RequestId"`
+	Success           bool              `json:"Success" xml:"Success"`
+	ErrorMessage      string            `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode         string            `json:"ErrorCode" xml:"ErrorCode"`
+	CreateOrderResult CreateOrderResult `json:"CreateOrderResult" xml:"CreateOrderResult"`
+}
+
+// CreateCreateOrderRequest creates a request to invoke CreateOrder API
+func CreateCreateOrderRequest() (request *CreateOrderRequest) {
+	request = &CreateOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "CreateOrder", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateCreateOrderResponse creates a response to parse from CreateOrder response
+func CreateCreateOrderResponse() (response *CreateOrderResponse) {
+	response = &CreateOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/dms_enterprise/create_publish_group_task.go

@@ -0,0 +1,112 @@
+package dms_enterprise
+
+//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"
+)
+
+// CreatePublishGroupTask invokes the dms_enterprise.CreatePublishGroupTask API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/createpublishgrouptask.html
+func (client *Client) CreatePublishGroupTask(request *CreatePublishGroupTaskRequest) (response *CreatePublishGroupTaskResponse, err error) {
+	response = CreateCreatePublishGroupTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreatePublishGroupTaskWithChan invokes the dms_enterprise.CreatePublishGroupTask API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/createpublishgrouptask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreatePublishGroupTaskWithChan(request *CreatePublishGroupTaskRequest) (<-chan *CreatePublishGroupTaskResponse, <-chan error) {
+	responseChan := make(chan *CreatePublishGroupTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreatePublishGroupTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreatePublishGroupTaskWithCallback invokes the dms_enterprise.CreatePublishGroupTask API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/createpublishgrouptask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreatePublishGroupTaskWithCallback(request *CreatePublishGroupTaskRequest, callback func(response *CreatePublishGroupTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreatePublishGroupTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.CreatePublishGroupTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreatePublishGroupTaskRequest is the request struct for api CreatePublishGroupTask
+type CreatePublishGroupTaskRequest struct {
+	*requests.RpcRequest
+	OrderId         requests.Integer `position:"Query" name:"OrderId"`
+	DbId            requests.Integer `position:"Query" name:"DbId"`
+	PlanTime        string           `position:"Query" name:"PlanTime"`
+	Logic           requests.Boolean `position:"Query" name:"Logic"`
+	Tid             requests.Integer `position:"Query" name:"Tid"`
+	PublishStrategy string           `position:"Query" name:"PublishStrategy"`
+}
+
+// CreatePublishGroupTaskResponse is the response struct for api CreatePublishGroupTask
+type CreatePublishGroupTaskResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Success      bool   `json:"Success" xml:"Success"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+	TaskId       int64  `json:"TaskId" xml:"TaskId"`
+}
+
+// CreateCreatePublishGroupTaskRequest creates a request to invoke CreatePublishGroupTask API
+func CreateCreatePublishGroupTaskRequest() (request *CreatePublishGroupTaskRequest) {
+	request = &CreatePublishGroupTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "CreatePublishGroupTask", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateCreatePublishGroupTaskResponse creates a response to parse from CreatePublishGroupTask response
+func CreateCreatePublishGroupTaskResponse() (response *CreatePublishGroupTaskResponse) {
+	response = &CreatePublishGroupTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/dms_enterprise/execute_data_correct.go

@@ -0,0 +1,109 @@
+package dms_enterprise
+
+//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"
+)
+
+// ExecuteDataCorrect invokes the dms_enterprise.ExecuteDataCorrect API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/executedatacorrect.html
+func (client *Client) ExecuteDataCorrect(request *ExecuteDataCorrectRequest) (response *ExecuteDataCorrectResponse, err error) {
+	response = CreateExecuteDataCorrectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ExecuteDataCorrectWithChan invokes the dms_enterprise.ExecuteDataCorrect API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/executedatacorrect.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ExecuteDataCorrectWithChan(request *ExecuteDataCorrectRequest) (<-chan *ExecuteDataCorrectResponse, <-chan error) {
+	responseChan := make(chan *ExecuteDataCorrectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ExecuteDataCorrect(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ExecuteDataCorrectWithCallback invokes the dms_enterprise.ExecuteDataCorrect API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/executedatacorrect.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ExecuteDataCorrectWithCallback(request *ExecuteDataCorrectRequest, callback func(response *ExecuteDataCorrectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ExecuteDataCorrectResponse
+		var err error
+		defer close(result)
+		response, err = client.ExecuteDataCorrect(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ExecuteDataCorrectRequest is the request struct for api ExecuteDataCorrect
+type ExecuteDataCorrectRequest struct {
+	*requests.RpcRequest
+	ActionDetail map[string]interface{} `position:"Query" name:"ActionDetail"`
+	OrderId      requests.Integer       `position:"Query" name:"OrderId"`
+	ActionName   string                 `position:"Query" name:"ActionName"`
+	Tid          string                 `position:"Query" name:"Tid"`
+}
+
+// ExecuteDataCorrectResponse is the response struct for api ExecuteDataCorrect
+type ExecuteDataCorrectResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Success      bool   `json:"Success" xml:"Success"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateExecuteDataCorrectRequest creates a request to invoke ExecuteDataCorrect API
+func CreateExecuteDataCorrectRequest() (request *ExecuteDataCorrectRequest) {
+	request = &ExecuteDataCorrectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ExecuteDataCorrect", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateExecuteDataCorrectResponse creates a response to parse from ExecuteDataCorrect response
+func CreateExecuteDataCorrectResponse() (response *ExecuteDataCorrectResponse) {
+	response = &ExecuteDataCorrectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/dms_enterprise/execute_data_export.go

@@ -0,0 +1,109 @@
+package dms_enterprise
+
+//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"
+)
+
+// ExecuteDataExport invokes the dms_enterprise.ExecuteDataExport API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/executedataexport.html
+func (client *Client) ExecuteDataExport(request *ExecuteDataExportRequest) (response *ExecuteDataExportResponse, err error) {
+	response = CreateExecuteDataExportResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ExecuteDataExportWithChan invokes the dms_enterprise.ExecuteDataExport API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/executedataexport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ExecuteDataExportWithChan(request *ExecuteDataExportRequest) (<-chan *ExecuteDataExportResponse, <-chan error) {
+	responseChan := make(chan *ExecuteDataExportResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ExecuteDataExport(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ExecuteDataExportWithCallback invokes the dms_enterprise.ExecuteDataExport API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/executedataexport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ExecuteDataExportWithCallback(request *ExecuteDataExportRequest, callback func(response *ExecuteDataExportResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ExecuteDataExportResponse
+		var err error
+		defer close(result)
+		response, err = client.ExecuteDataExport(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ExecuteDataExportRequest is the request struct for api ExecuteDataExport
+type ExecuteDataExportRequest struct {
+	*requests.RpcRequest
+	ActionDetail map[string]interface{} `position:"Query" name:"ActionDetail"`
+	OrderId      requests.Integer       `position:"Query" name:"OrderId"`
+	ActionName   string                 `position:"Query" name:"ActionName"`
+	Tid          requests.Integer       `position:"Query" name:"Tid"`
+}
+
+// ExecuteDataExportResponse is the response struct for api ExecuteDataExport
+type ExecuteDataExportResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Success      bool   `json:"Success" xml:"Success"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateExecuteDataExportRequest creates a request to invoke ExecuteDataExport API
+func CreateExecuteDataExportRequest() (request *ExecuteDataExportRequest) {
+	request = &ExecuteDataExportRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ExecuteDataExport", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateExecuteDataExportResponse creates a response to parse from ExecuteDataExport response
+func CreateExecuteDataExportResponse() (response *ExecuteDataExportResponse) {
+	response = &ExecuteDataExportResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms_enterprise/get_approval_detail.go

@@ -0,0 +1,108 @@
+package dms_enterprise
+
+//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"
+)
+
+// GetApprovalDetail invokes the dms_enterprise.GetApprovalDetail API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getapprovaldetail.html
+func (client *Client) GetApprovalDetail(request *GetApprovalDetailRequest) (response *GetApprovalDetailResponse, err error) {
+	response = CreateGetApprovalDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetApprovalDetailWithChan invokes the dms_enterprise.GetApprovalDetail API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getapprovaldetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetApprovalDetailWithChan(request *GetApprovalDetailRequest) (<-chan *GetApprovalDetailResponse, <-chan error) {
+	responseChan := make(chan *GetApprovalDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetApprovalDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetApprovalDetailWithCallback invokes the dms_enterprise.GetApprovalDetail API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getapprovaldetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetApprovalDetailWithCallback(request *GetApprovalDetailRequest, callback func(response *GetApprovalDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetApprovalDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.GetApprovalDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetApprovalDetailRequest is the request struct for api GetApprovalDetail
+type GetApprovalDetailRequest struct {
+	*requests.RpcRequest
+	Tid                requests.Integer `position:"Query" name:"Tid"`
+	WorkflowInstanceId requests.Integer `position:"Query" name:"WorkflowInstanceId"`
+}
+
+// GetApprovalDetailResponse is the response struct for api GetApprovalDetail
+type GetApprovalDetailResponse struct {
+	*responses.BaseResponse
+	RequestId      string         `json:"RequestId" xml:"RequestId"`
+	Success        bool           `json:"Success" xml:"Success"`
+	ErrorMessage   string         `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode      string         `json:"ErrorCode" xml:"ErrorCode"`
+	ApprovalDetail ApprovalDetail `json:"ApprovalDetail" xml:"ApprovalDetail"`
+}
+
+// CreateGetApprovalDetailRequest creates a request to invoke GetApprovalDetail API
+func CreateGetApprovalDetailRequest() (request *GetApprovalDetailRequest) {
+	request = &GetApprovalDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetApprovalDetail", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateGetApprovalDetailResponse creates a response to parse from GetApprovalDetail response
+func CreateGetApprovalDetailResponse() (response *GetApprovalDetailResponse) {
+	response = &GetApprovalDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/dms_enterprise/get_data_correct_backup_files.go

@@ -0,0 +1,110 @@
+package dms_enterprise
+
+//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"
+)
+
+// GetDataCorrectBackupFiles invokes the dms_enterprise.GetDataCorrectBackupFiles API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatacorrectbackupfiles.html
+func (client *Client) GetDataCorrectBackupFiles(request *GetDataCorrectBackupFilesRequest) (response *GetDataCorrectBackupFilesResponse, err error) {
+	response = CreateGetDataCorrectBackupFilesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetDataCorrectBackupFilesWithChan invokes the dms_enterprise.GetDataCorrectBackupFiles API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatacorrectbackupfiles.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataCorrectBackupFilesWithChan(request *GetDataCorrectBackupFilesRequest) (<-chan *GetDataCorrectBackupFilesResponse, <-chan error) {
+	responseChan := make(chan *GetDataCorrectBackupFilesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetDataCorrectBackupFiles(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetDataCorrectBackupFilesWithCallback invokes the dms_enterprise.GetDataCorrectBackupFiles API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatacorrectbackupfiles.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataCorrectBackupFilesWithCallback(request *GetDataCorrectBackupFilesRequest, callback func(response *GetDataCorrectBackupFilesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetDataCorrectBackupFilesResponse
+		var err error
+		defer close(result)
+		response, err = client.GetDataCorrectBackupFiles(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetDataCorrectBackupFilesRequest is the request struct for api GetDataCorrectBackupFiles
+type GetDataCorrectBackupFilesRequest struct {
+	*requests.RpcRequest
+	ActionDetail map[string]interface{} `position:"Query" name:"ActionDetail"`
+	OrderId      requests.Integer       `position:"Query" name:"OrderId"`
+	ActionName   string                 `position:"Query" name:"ActionName"`
+	Tid          requests.Integer       `position:"Query" name:"Tid"`
+}
+
+// GetDataCorrectBackupFilesResponse is the response struct for api GetDataCorrectBackupFiles
+type GetDataCorrectBackupFilesResponse struct {
+	*responses.BaseResponse
+	RequestId              string                 `json:"RequestId" xml:"RequestId"`
+	Success                bool                   `json:"Success" xml:"Success"`
+	ErrorMessage           string                 `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode              string                 `json:"ErrorCode" xml:"ErrorCode"`
+	DataCorrectBackupFiles DataCorrectBackupFiles `json:"DataCorrectBackupFiles" xml:"DataCorrectBackupFiles"`
+}
+
+// CreateGetDataCorrectBackupFilesRequest creates a request to invoke GetDataCorrectBackupFiles API
+func CreateGetDataCorrectBackupFilesRequest() (request *GetDataCorrectBackupFilesRequest) {
+	request = &GetDataCorrectBackupFilesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetDataCorrectBackupFiles", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateGetDataCorrectBackupFilesResponse creates a response to parse from GetDataCorrectBackupFiles response
+func CreateGetDataCorrectBackupFilesResponse() (response *GetDataCorrectBackupFilesResponse) {
+	response = &GetDataCorrectBackupFilesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms_enterprise/get_data_correct_order_detail.go

@@ -0,0 +1,108 @@
+package dms_enterprise
+
+//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"
+)
+
+// GetDataCorrectOrderDetail invokes the dms_enterprise.GetDataCorrectOrderDetail API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatacorrectorderdetail.html
+func (client *Client) GetDataCorrectOrderDetail(request *GetDataCorrectOrderDetailRequest) (response *GetDataCorrectOrderDetailResponse, err error) {
+	response = CreateGetDataCorrectOrderDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetDataCorrectOrderDetailWithChan invokes the dms_enterprise.GetDataCorrectOrderDetail API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatacorrectorderdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataCorrectOrderDetailWithChan(request *GetDataCorrectOrderDetailRequest) (<-chan *GetDataCorrectOrderDetailResponse, <-chan error) {
+	responseChan := make(chan *GetDataCorrectOrderDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetDataCorrectOrderDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetDataCorrectOrderDetailWithCallback invokes the dms_enterprise.GetDataCorrectOrderDetail API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatacorrectorderdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataCorrectOrderDetailWithCallback(request *GetDataCorrectOrderDetailRequest, callback func(response *GetDataCorrectOrderDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetDataCorrectOrderDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.GetDataCorrectOrderDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetDataCorrectOrderDetailRequest is the request struct for api GetDataCorrectOrderDetail
+type GetDataCorrectOrderDetailRequest struct {
+	*requests.RpcRequest
+	OrderId requests.Integer `position:"Query" name:"OrderId"`
+	Tid     requests.Integer `position:"Query" name:"Tid"`
+}
+
+// GetDataCorrectOrderDetailResponse is the response struct for api GetDataCorrectOrderDetail
+type GetDataCorrectOrderDetailResponse struct {
+	*responses.BaseResponse
+	RequestId              string                 `json:"RequestId" xml:"RequestId"`
+	Success                bool                   `json:"Success" xml:"Success"`
+	ErrorMessage           string                 `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode              string                 `json:"ErrorCode" xml:"ErrorCode"`
+	DataCorrectOrderDetail DataCorrectOrderDetail `json:"DataCorrectOrderDetail" xml:"DataCorrectOrderDetail"`
+}
+
+// CreateGetDataCorrectOrderDetailRequest creates a request to invoke GetDataCorrectOrderDetail API
+func CreateGetDataCorrectOrderDetailRequest() (request *GetDataCorrectOrderDetailRequest) {
+	request = &GetDataCorrectOrderDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetDataCorrectOrderDetail", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateGetDataCorrectOrderDetailResponse creates a response to parse from GetDataCorrectOrderDetail response
+func CreateGetDataCorrectOrderDetailResponse() (response *GetDataCorrectOrderDetailResponse) {
+	response = &GetDataCorrectOrderDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/dms_enterprise/get_data_export_download_url.go

@@ -0,0 +1,109 @@
+package dms_enterprise
+
+//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"
+)
+
+// GetDataExportDownloadURL invokes the dms_enterprise.GetDataExportDownloadURL API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdataexportdownloadurl.html
+func (client *Client) GetDataExportDownloadURL(request *GetDataExportDownloadURLRequest) (response *GetDataExportDownloadURLResponse, err error) {
+	response = CreateGetDataExportDownloadURLResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetDataExportDownloadURLWithChan invokes the dms_enterprise.GetDataExportDownloadURL API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdataexportdownloadurl.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataExportDownloadURLWithChan(request *GetDataExportDownloadURLRequest) (<-chan *GetDataExportDownloadURLResponse, <-chan error) {
+	responseChan := make(chan *GetDataExportDownloadURLResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetDataExportDownloadURL(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetDataExportDownloadURLWithCallback invokes the dms_enterprise.GetDataExportDownloadURL API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdataexportdownloadurl.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataExportDownloadURLWithCallback(request *GetDataExportDownloadURLRequest, callback func(response *GetDataExportDownloadURLResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetDataExportDownloadURLResponse
+		var err error
+		defer close(result)
+		response, err = client.GetDataExportDownloadURL(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetDataExportDownloadURLRequest is the request struct for api GetDataExportDownloadURL
+type GetDataExportDownloadURLRequest struct {
+	*requests.RpcRequest
+	OrderId    requests.Integer `position:"Query" name:"OrderId"`
+	ActionName string           `position:"Query" name:"ActionName"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+}
+
+// GetDataExportDownloadURLResponse is the response struct for api GetDataExportDownloadURL
+type GetDataExportDownloadURLResponse struct {
+	*responses.BaseResponse
+	RequestId         string            `json:"RequestId" xml:"RequestId"`
+	Success           bool              `json:"Success" xml:"Success"`
+	ErrorMessage      string            `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode         string            `json:"ErrorCode" xml:"ErrorCode"`
+	DownloadURLResult DownloadURLResult `json:"DownloadURLResult" xml:"DownloadURLResult"`
+}
+
+// CreateGetDataExportDownloadURLRequest creates a request to invoke GetDataExportDownloadURL API
+func CreateGetDataExportDownloadURLRequest() (request *GetDataExportDownloadURLRequest) {
+	request = &GetDataExportDownloadURLRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetDataExportDownloadURL", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateGetDataExportDownloadURLResponse creates a response to parse from GetDataExportDownloadURL response
+func CreateGetDataExportDownloadURLResponse() (response *GetDataExportDownloadURLResponse) {
+	response = &GetDataExportDownloadURLResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms_enterprise/get_data_export_order_detail.go

@@ -0,0 +1,108 @@
+package dms_enterprise
+
+//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"
+)
+
+// GetDataExportOrderDetail invokes the dms_enterprise.GetDataExportOrderDetail API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdataexportorderdetail.html
+func (client *Client) GetDataExportOrderDetail(request *GetDataExportOrderDetailRequest) (response *GetDataExportOrderDetailResponse, err error) {
+	response = CreateGetDataExportOrderDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetDataExportOrderDetailWithChan invokes the dms_enterprise.GetDataExportOrderDetail API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdataexportorderdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataExportOrderDetailWithChan(request *GetDataExportOrderDetailRequest) (<-chan *GetDataExportOrderDetailResponse, <-chan error) {
+	responseChan := make(chan *GetDataExportOrderDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetDataExportOrderDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetDataExportOrderDetailWithCallback invokes the dms_enterprise.GetDataExportOrderDetail API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdataexportorderdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDataExportOrderDetailWithCallback(request *GetDataExportOrderDetailRequest, callback func(response *GetDataExportOrderDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetDataExportOrderDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.GetDataExportOrderDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetDataExportOrderDetailRequest is the request struct for api GetDataExportOrderDetail
+type GetDataExportOrderDetailRequest struct {
+	*requests.RpcRequest
+	OrderId requests.Integer `position:"Body" name:"OrderId"`
+	Tid     requests.Integer `position:"Query" name:"Tid"`
+}
+
+// GetDataExportOrderDetailResponse is the response struct for api GetDataExportOrderDetail
+type GetDataExportOrderDetailResponse struct {
+	*responses.BaseResponse
+	RequestId             string                `json:"RequestId" xml:"RequestId"`
+	Success               bool                  `json:"Success" xml:"Success"`
+	ErrorMessage          string                `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode             string                `json:"ErrorCode" xml:"ErrorCode"`
+	DataExportOrderDetail DataExportOrderDetail `json:"DataExportOrderDetail" xml:"DataExportOrderDetail"`
+}
+
+// CreateGetDataExportOrderDetailRequest creates a request to invoke GetDataExportOrderDetail API
+func CreateGetDataExportOrderDetailRequest() (request *GetDataExportOrderDetailRequest) {
+	request = &GetDataExportOrderDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetDataExportOrderDetail", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateGetDataExportOrderDetailResponse creates a response to parse from GetDataExportOrderDetail response
+func CreateGetDataExportOrderDetailResponse() (response *GetDataExportOrderDetailResponse) {
+	response = &GetDataExportOrderDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms_enterprise/get_order_base_info.go

@@ -0,0 +1,108 @@
+package dms_enterprise
+
+//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"
+)
+
+// GetOrderBaseInfo invokes the dms_enterprise.GetOrderBaseInfo API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getorderbaseinfo.html
+func (client *Client) GetOrderBaseInfo(request *GetOrderBaseInfoRequest) (response *GetOrderBaseInfoResponse, err error) {
+	response = CreateGetOrderBaseInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetOrderBaseInfoWithChan invokes the dms_enterprise.GetOrderBaseInfo API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getorderbaseinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetOrderBaseInfoWithChan(request *GetOrderBaseInfoRequest) (<-chan *GetOrderBaseInfoResponse, <-chan error) {
+	responseChan := make(chan *GetOrderBaseInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetOrderBaseInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetOrderBaseInfoWithCallback invokes the dms_enterprise.GetOrderBaseInfo API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getorderbaseinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetOrderBaseInfoWithCallback(request *GetOrderBaseInfoRequest, callback func(response *GetOrderBaseInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetOrderBaseInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.GetOrderBaseInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetOrderBaseInfoRequest is the request struct for api GetOrderBaseInfo
+type GetOrderBaseInfoRequest struct {
+	*requests.RpcRequest
+	OrderId requests.Integer `position:"Body" name:"OrderId"`
+	Tid     requests.Integer `position:"Query" name:"Tid"`
+}
+
+// GetOrderBaseInfoResponse is the response struct for api GetOrderBaseInfo
+type GetOrderBaseInfoResponse struct {
+	*responses.BaseResponse
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	Success       bool          `json:"Success" xml:"Success"`
+	ErrorMessage  string        `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode     string        `json:"ErrorCode" xml:"ErrorCode"`
+	OrderBaseInfo OrderBaseInfo `json:"OrderBaseInfo" xml:"OrderBaseInfo"`
+}
+
+// CreateGetOrderBaseInfoRequest creates a request to invoke GetOrderBaseInfo API
+func CreateGetOrderBaseInfoRequest() (request *GetOrderBaseInfoRequest) {
+	request = &GetOrderBaseInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetOrderBaseInfo", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateGetOrderBaseInfoResponse creates a response to parse from GetOrderBaseInfo response
+func CreateGetOrderBaseInfoResponse() (response *GetOrderBaseInfoResponse) {
+	response = &GetOrderBaseInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/dms_enterprise/list_orders.go

@@ -0,0 +1,117 @@
+package dms_enterprise
+
+//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"
+)
+
+// ListOrders invokes the dms_enterprise.ListOrders API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listorders.html
+func (client *Client) ListOrders(request *ListOrdersRequest) (response *ListOrdersResponse, err error) {
+	response = CreateListOrdersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListOrdersWithChan invokes the dms_enterprise.ListOrders API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listorders.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListOrdersWithChan(request *ListOrdersRequest) (<-chan *ListOrdersResponse, <-chan error) {
+	responseChan := make(chan *ListOrdersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListOrders(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListOrdersWithCallback invokes the dms_enterprise.ListOrders API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listorders.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListOrdersWithCallback(request *ListOrdersRequest, callback func(response *ListOrdersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListOrdersResponse
+		var err error
+		defer close(result)
+		response, err = client.ListOrders(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListOrdersRequest is the request struct for api ListOrders
+type ListOrdersRequest struct {
+	*requests.RpcRequest
+	OrderStatus     string           `position:"Query" name:"OrderStatus"`
+	SearchContent   string           `position:"Query" name:"SearchContent"`
+	SearchDateType  string           `position:"Query" name:"SearchDateType"`
+	EndTime         string           `position:"Query" name:"EndTime"`
+	StartTime       string           `position:"Query" name:"StartTime"`
+	Tid             requests.Integer `position:"Query" name:"Tid"`
+	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
+	PluginType      string           `position:"Query" name:"PluginType"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	OrderResultType string           `position:"Query" name:"OrderResultType"`
+}
+
+// ListOrdersResponse is the response struct for api ListOrders
+type ListOrdersResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Success      bool   `json:"Success" xml:"Success"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+	TotalCount   int64  `json:"TotalCount" xml:"TotalCount"`
+	Orders       Orders `json:"Orders" xml:"Orders"`
+}
+
+// CreateListOrdersRequest creates a request to invoke ListOrders API
+func CreateListOrdersRequest() (request *ListOrdersRequest) {
+	request = &ListOrdersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListOrders", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateListOrdersResponse creates a response to parse from ListOrders response
+func CreateListOrdersResponse() (response *ListOrdersResponse) {
+	response = &ListOrdersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 29 - 0
services/dms_enterprise/struct_approval_detail.go

@@ -0,0 +1,29 @@
+package dms_enterprise
+
+//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.
+
+// ApprovalDetail is a nested struct in dms_enterprise response
+type ApprovalDetail struct {
+	AuditId         int64           `json:"AuditId" xml:"AuditId"`
+	OrderId         int64           `json:"OrderId" xml:"OrderId"`
+	OrderType       string          `json:"OrderType" xml:"OrderType"`
+	Title           string          `json:"Title" xml:"Title"`
+	WorkflowInsCode string          `json:"WorkflowInsCode" xml:"WorkflowInsCode"`
+	Description     string          `json:"Description" xml:"Description"`
+	ReasonList      ReasonList      `json:"ReasonList" xml:"ReasonList"`
+	WorkflowNodes   WorkflowNodes   `json:"WorkflowNodes" xml:"WorkflowNodes"`
+	CurrentHandlers CurrentHandlers `json:"CurrentHandlers" xml:"CurrentHandlers"`
+}

+ 21 - 0
services/dms_enterprise/struct_audit_user_id_list.go

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

+ 21 - 0
services/dms_enterprise/struct_create_order_result.go

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

+ 22 - 0
services/dms_enterprise/struct_current_handler.go

@@ -0,0 +1,22 @@
+package dms_enterprise
+
+//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.
+
+// CurrentHandler is a nested struct in dms_enterprise response
+type CurrentHandler struct {
+	Id       int64  `json:"Id" xml:"Id"`
+	NickName string `json:"NickName" xml:"NickName"`
+}

+ 21 - 0
services/dms_enterprise/struct_current_handlers.go

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

+ 21 - 0
services/dms_enterprise/struct_data_correct_backup_files.go

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

+ 22 - 0
services/dms_enterprise/struct_data_correct_order_detail.go

@@ -0,0 +1,22 @@
+package dms_enterprise
+
+//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.
+
+// DataCorrectOrderDetail is a nested struct in dms_enterprise response
+type DataCorrectOrderDetail struct {
+	OrderDetail    OrderDetail    `json:"OrderDetail" xml:"OrderDetail"`
+	PreCheckDetail PreCheckDetail `json:"PreCheckDetail" xml:"PreCheckDetail"`
+}

+ 22 - 0
services/dms_enterprise/struct_data_export_order_detail.go

@@ -0,0 +1,22 @@
+package dms_enterprise
+
+//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.
+
+// DataExportOrderDetail is a nested struct in dms_enterprise response
+type DataExportOrderDetail struct {
+	OrderDetail OrderDetail `json:"OrderDetail" xml:"OrderDetail"`
+	KeyInfo     KeyInfo     `json:"KeyInfo" xml:"KeyInfo"`
+}

+ 23 - 0
services/dms_enterprise/struct_download_url_result.go

@@ -0,0 +1,23 @@
+package dms_enterprise
+
+//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.
+
+// DownloadURLResult is a nested struct in dms_enterprise response
+type DownloadURLResult struct {
+	HasResult  bool   `json:"HasResult" xml:"HasResult"`
+	URL        string `json:"URL" xml:"URL"`
+	TipMessage string `json:"TipMessage" xml:"TipMessage"`
+}

+ 22 - 0
services/dms_enterprise/struct_key_info.go

@@ -0,0 +1,22 @@
+package dms_enterprise
+
+//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.
+
+// KeyInfo is a nested struct in dms_enterprise response
+type KeyInfo struct {
+	JobStatus  string `json:"JobStatus" xml:"JobStatus"`
+	PreCheckId int64  `json:"PreCheckId" xml:"PreCheckId"`
+}

+ 29 - 0
services/dms_enterprise/struct_order.go

@@ -0,0 +1,29 @@
+package dms_enterprise
+
+//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.
+
+// Order is a nested struct in dms_enterprise response
+type Order struct {
+	OrderId        int64  `json:"OrderId" xml:"OrderId"`
+	Comment        string `json:"Comment" xml:"Comment"`
+	Committer      string `json:"Committer" xml:"Committer"`
+	CommitterId    int64  `json:"CommitterId" xml:"CommitterId"`
+	CreateTime     string `json:"CreateTime" xml:"CreateTime"`
+	LastModifyTime string `json:"LastModifyTime" xml:"LastModifyTime"`
+	PluginType     string `json:"PluginType" xml:"PluginType"`
+	StatusCode     string `json:"StatusCode" xml:"StatusCode"`
+	StatusDesc     string `json:"StatusDesc" xml:"StatusDesc"`
+}

+ 33 - 0
services/dms_enterprise/struct_order_base_info.go

@@ -0,0 +1,33 @@
+package dms_enterprise
+
+//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.
+
+// OrderBaseInfo is a nested struct in dms_enterprise response
+type OrderBaseInfo struct {
+	Comment             string              `json:"Comment" xml:"Comment"`
+	Committer           string              `json:"Committer" xml:"Committer"`
+	CommitterId         int64               `json:"CommitterId" xml:"CommitterId"`
+	CreateTime          string              `json:"CreateTime" xml:"CreateTime"`
+	LastModifyTime      string              `json:"LastModifyTime" xml:"LastModifyTime"`
+	OrderId             int64               `json:"OrderId" xml:"OrderId"`
+	PluginType          string              `json:"PluginType" xml:"PluginType"`
+	StatusCode          string              `json:"StatusCode" xml:"StatusCode"`
+	StatusDesc          string              `json:"StatusDesc" xml:"StatusDesc"`
+	WorkflowInstanceId  int64               `json:"WorkflowInstanceId" xml:"WorkflowInstanceId"`
+	WorkflowStatusDesc  string              `json:"WorkflowStatusDesc" xml:"WorkflowStatusDesc"`
+	RelatedUserList     RelatedUserList     `json:"RelatedUserList" xml:"RelatedUserList"`
+	RelatedUserNickList RelatedUserNickList `json:"RelatedUserNickList" xml:"RelatedUserNickList"`
+}

+ 35 - 0
services/dms_enterprise/struct_order_detail.go

@@ -0,0 +1,35 @@
+package dms_enterprise
+
+//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.
+
+// OrderDetail is a nested struct in dms_enterprise response
+type OrderDetail struct {
+	Logic                  bool   `json:"Logic" xml:"Logic"`
+	ActualAffectRows       int64  `json:"ActualAffectRows" xml:"ActualAffectRows"`
+	EstimateAffectRows     int64  `json:"EstimateAffectRows" xml:"EstimateAffectRows"`
+	RbSQL                  string `json:"RbSQL" xml:"RbSQL"`
+	Classify               string `json:"Classify" xml:"Classify"`
+	ExeSQL                 string `json:"ExeSQL" xml:"ExeSQL"`
+	SqlType                string `json:"SqlType" xml:"SqlType"`
+	EnvType                string `json:"EnvType" xml:"EnvType"`
+	IgnoreAffectRowsReason string `json:"IgnoreAffectRowsReason" xml:"IgnoreAffectRowsReason"`
+	DbId                   int    `json:"DbId" xml:"DbId"`
+	RbSQLType              string `json:"RbSQLType" xml:"RbSQLType"`
+	IgnoreAffectRows       bool   `json:"IgnoreAffectRows" xml:"IgnoreAffectRows"`
+	Database               string `json:"Database" xml:"Database"`
+	RbAttachmentName       string `json:"RbAttachmentName" xml:"RbAttachmentName"`
+	AttachmentName         string `json:"AttachmentName" xml:"AttachmentName"`
+}

+ 21 - 0
services/dms_enterprise/struct_orders.go

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

+ 21 - 0
services/dms_enterprise/struct_pre_check_detail.go

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

+ 21 - 0
services/dms_enterprise/struct_reason_list.go

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

+ 21 - 0
services/dms_enterprise/struct_related_user_list.go

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

+ 21 - 0
services/dms_enterprise/struct_related_user_nick_list.go

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

+ 23 - 0
services/dms_enterprise/struct_task_check_do.go

@@ -0,0 +1,23 @@
+package dms_enterprise
+
+//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.
+
+// TaskCheckDO is a nested struct in dms_enterprise response
+type TaskCheckDO struct {
+	CheckStatus string `json:"CheckStatus" xml:"CheckStatus"`
+	CheckStep   string `json:"CheckStep" xml:"CheckStep"`
+	UserTip     string `json:"UserTip" xml:"UserTip"`
+}

+ 26 - 0
services/dms_enterprise/struct_workflow_node.go

@@ -0,0 +1,26 @@
+package dms_enterprise
+
+//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.
+
+// WorkflowNode is a nested struct in dms_enterprise response
+type WorkflowNode struct {
+	NodeName        string          `json:"NodeName" xml:"NodeName"`
+	OperateComment  string          `json:"OperateComment" xml:"OperateComment"`
+	OperateTime     string          `json:"OperateTime" xml:"OperateTime"`
+	OperatorId      int64           `json:"OperatorId" xml:"OperatorId"`
+	WorkflowInsCode string          `json:"WorkflowInsCode" xml:"WorkflowInsCode"`
+	AuditUserIdList AuditUserIdList `json:"AuditUserIdList" xml:"AuditUserIdList"`
+}

+ 21 - 0
services/dms_enterprise/struct_workflow_nodes.go

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

+ 107 - 0
services/dms_enterprise/submit_order_approval.go

@@ -0,0 +1,107 @@
+package dms_enterprise
+
+//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"
+)
+
+// SubmitOrderApproval invokes the dms_enterprise.SubmitOrderApproval API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/submitorderapproval.html
+func (client *Client) SubmitOrderApproval(request *SubmitOrderApprovalRequest) (response *SubmitOrderApprovalResponse, err error) {
+	response = CreateSubmitOrderApprovalResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SubmitOrderApprovalWithChan invokes the dms_enterprise.SubmitOrderApproval API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/submitorderapproval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SubmitOrderApprovalWithChan(request *SubmitOrderApprovalRequest) (<-chan *SubmitOrderApprovalResponse, <-chan error) {
+	responseChan := make(chan *SubmitOrderApprovalResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SubmitOrderApproval(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SubmitOrderApprovalWithCallback invokes the dms_enterprise.SubmitOrderApproval API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/submitorderapproval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SubmitOrderApprovalWithCallback(request *SubmitOrderApprovalRequest, callback func(response *SubmitOrderApprovalResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SubmitOrderApprovalResponse
+		var err error
+		defer close(result)
+		response, err = client.SubmitOrderApproval(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SubmitOrderApprovalRequest is the request struct for api SubmitOrderApproval
+type SubmitOrderApprovalRequest struct {
+	*requests.RpcRequest
+	OrderId requests.Integer `position:"Query" name:"OrderId"`
+	Tid     requests.Integer `position:"Query" name:"Tid"`
+}
+
+// SubmitOrderApprovalResponse is the response struct for api SubmitOrderApproval
+type SubmitOrderApprovalResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	Success      bool   `json:"Success" xml:"Success"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateSubmitOrderApprovalRequest creates a request to invoke SubmitOrderApproval API
+func CreateSubmitOrderApprovalRequest() (request *SubmitOrderApprovalRequest) {
+	request = &SubmitOrderApprovalRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "SubmitOrderApproval", "dmsenterprise", "openAPI")
+	return
+}
+
+// CreateSubmitOrderApprovalResponse creates a response to parse from SubmitOrderApproval response
+func CreateSubmitOrderApprovalResponse() (response *SubmitOrderApprovalResponse) {
+	response = &SubmitOrderApprovalResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}