Просмотр исходного кода

Generated 2018-11-01 for dms-enterprise.

sdk-team 5 лет назад
Родитель
Сommit
0ef1b29cb9
100 измененных файлов с 5267 добавлено и 21 удалено
  1. 4 0
      ChangeLog.txt
  2. 108 0
      services/dms-enterprise/approve_order.go
  3. 53 5
      services/dms-enterprise/client.go
  4. 108 0
      services/dms-enterprise/close_order.go
  5. 111 0
      services/dms-enterprise/create_order.go
  6. 112 0
      services/dms-enterprise/create_publish_group_task.go
  7. 109 0
      services/dms-enterprise/delete_instance.go
  8. 1 1
      services/dms-enterprise/delete_user.go
  9. 1 1
      services/dms-enterprise/disable_user.go
  10. 1 1
      services/dms-enterprise/enable_user.go
  11. 20 0
      services/dms-enterprise/endpoint.go
  12. 109 0
      services/dms-enterprise/execute_data_correct.go
  13. 109 0
      services/dms-enterprise/execute_data_export.go
  14. 108 0
      services/dms-enterprise/get_approval_detail.go
  15. 110 0
      services/dms-enterprise/get_data_correct_backup_files.go
  16. 108 0
      services/dms-enterprise/get_data_correct_order_detail.go
  17. 109 0
      services/dms-enterprise/get_data_export_download_url.go
  18. 108 0
      services/dms-enterprise/get_data_export_order_detail.go
  19. 111 0
      services/dms-enterprise/get_database.go
  20. 110 0
      services/dms-enterprise/get_instance.go
  21. 108 0
      services/dms-enterprise/get_logic_database.go
  22. 2 2
      services/dms-enterprise/get_op_log.go
  23. 108 0
      services/dms-enterprise/get_order_base_info.go
  24. 109 0
      services/dms-enterprise/get_user.go
  25. 114 0
      services/dms-enterprise/grant_user_permission.go
  26. 109 0
      services/dms-enterprise/list_columns.go
  27. 114 0
      services/dms-enterprise/list_database_user_permssions.go
  28. 111 0
      services/dms-enterprise/list_databases.go
  29. 109 0
      services/dms-enterprise/list_indexes.go
  30. 116 0
      services/dms-enterprise/list_instances.go
  31. 110 0
      services/dms-enterprise/list_logic_databases.go
  32. 112 0
      services/dms-enterprise/list_logic_tables.go
  33. 117 0
      services/dms-enterprise/list_orders.go
  34. 112 0
      services/dms-enterprise/list_tables.go
  35. 116 0
      services/dms-enterprise/list_user_permissions.go
  36. 113 0
      services/dms-enterprise/list_users.go
  37. 108 0
      services/dms-enterprise/list_work_flow_nodes.go
  38. 108 0
      services/dms-enterprise/list_work_flow_templates.go
  39. 11 8
      services/dms-enterprise/register_instance.go
  40. 2 1
      services/dms-enterprise/register_user.go
  41. 114 0
      services/dms-enterprise/revoke_user_permission.go
  42. 115 0
      services/dms-enterprise/search_database.go
  43. 114 0
      services/dms-enterprise/search_table.go
  44. 109 0
      services/dms-enterprise/set_owners.go
  45. 29 0
      services/dms-enterprise/struct_approval_detail.go
  46. 23 0
      services/dms-enterprise/struct_audit_user.go
  47. 21 0
      services/dms-enterprise/struct_audit_user_id_list.go
  48. 21 0
      services/dms-enterprise/struct_audit_users.go
  49. 33 0
      services/dms-enterprise/struct_column.go
  50. 21 0
      services/dms-enterprise/struct_column_list.go
  51. 21 0
      services/dms-enterprise/struct_create_order_result.go
  52. 22 0
      services/dms-enterprise/struct_current_handler.go
  53. 21 0
      services/dms-enterprise/struct_current_handlers.go
  54. 21 0
      services/dms-enterprise/struct_data_correct_backup_files.go
  55. 23 0
      services/dms-enterprise/struct_data_correct_order_detail.go
  56. 22 0
      services/dms-enterprise/struct_data_export_order_detail.go
  57. 38 0
      services/dms-enterprise/struct_database.go
  58. 36 0
      services/dms-enterprise/struct_database_in_list_databases.go
  59. 21 0
      services/dms-enterprise/struct_database_list_in_get_data_correct_order_detail.go
  60. 21 0
      services/dms-enterprise/struct_database_list_in_list_databases.go
  61. 23 0
      services/dms-enterprise/struct_download_url_result.go
  62. 25 0
      services/dms-enterprise/struct_index.go
  63. 21 0
      services/dms-enterprise/struct_index_list.go
  64. 42 0
      services/dms-enterprise/struct_instance.go
  65. 21 0
      services/dms-enterprise/struct_instance_list.go
  66. 22 0
      services/dms-enterprise/struct_key_info.go
  67. 28 0
      services/dms-enterprise/struct_logic_database.go
  68. 21 0
      services/dms-enterprise/struct_logic_database_list.go
  69. 28 0
      services/dms-enterprise/struct_logic_table.go
  70. 21 0
      services/dms-enterprise/struct_logic_table_list.go
  71. 2 2
      services/dms-enterprise/struct_op_log_detail.go
  72. 29 0
      services/dms-enterprise/struct_order.go
  73. 33 0
      services/dms-enterprise/struct_order_base_info.go
  74. 35 0
      services/dms-enterprise/struct_order_detail.go
  75. 21 0
      services/dms-enterprise/struct_orders.go
  76. 21 0
      services/dms-enterprise/struct_owner_id_list_in_get_database.go
  77. 21 0
      services/dms-enterprise/struct_owner_id_list_in_get_logic_database.go
  78. 21 0
      services/dms-enterprise/struct_owner_id_list_in_list_databases.go
  79. 21 0
      services/dms-enterprise/struct_owner_id_list_in_list_logic_databases.go
  80. 21 0
      services/dms-enterprise/struct_owner_id_list_in_list_logic_tables.go
  81. 21 0
      services/dms-enterprise/struct_owner_id_list_in_list_tables.go
  82. 21 0
      services/dms-enterprise/struct_owner_id_list_in_search_database.go
  83. 21 0
      services/dms-enterprise/struct_owner_id_list_in_search_table.go
  84. 21 0
      services/dms-enterprise/struct_owner_name_list_in_get_database.go
  85. 21 0
      services/dms-enterprise/struct_owner_name_list_in_get_logic_database.go
  86. 21 0
      services/dms-enterprise/struct_owner_name_list_in_list_databases.go
  87. 21 0
      services/dms-enterprise/struct_owner_name_list_in_list_logic_databases.go
  88. 21 0
      services/dms-enterprise/struct_owner_name_list_in_list_logic_tables.go
  89. 21 0
      services/dms-enterprise/struct_owner_name_list_in_list_tables.go
  90. 21 0
      services/dms-enterprise/struct_owner_name_list_in_search_database.go
  91. 21 0
      services/dms-enterprise/struct_owner_name_list_in_search_table.go
  92. 26 0
      services/dms-enterprise/struct_perm_detail.go
  93. 21 0
      services/dms-enterprise/struct_perm_details_in_list_database_user_permssions.go
  94. 21 0
      services/dms-enterprise/struct_perm_details_in_list_user_permissions.go
  95. 21 0
      services/dms-enterprise/struct_pre_check_detail.go
  96. 21 0
      services/dms-enterprise/struct_reason_list.go
  97. 21 0
      services/dms-enterprise/struct_related_user_list.go
  98. 21 0
      services/dms-enterprise/struct_related_user_nick_list.go
  99. 21 0
      services/dms-enterprise/struct_role_id_list_in_get_user.go
  100. 21 0
      services/dms-enterprise/struct_role_id_list_in_list_users.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-02-25 Version: v1.61.8
+- Generated 2018-11-01 for `dms-enterprise`.
+- Fix ListWorkFlowTemplates, ListWorkFlowNodes API Go SDK build error.
+
 2020-02-25 Version: v1.61.7
 - Generated 2019-03-06 for `Dbs`.
 - Update backupsetDownloadset fun.

+ 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", "", "")
+	return
+}
+
+// CreateApproveOrderResponse creates a response to parse from ApproveOrder response
+func CreateApproveOrderResponse() (response *ApproveOrderResponse) {
+	response = &ApproveOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 53 - 5
services/dms-enterprise/client.go

@@ -16,8 +16,11 @@ package dms_enterprise
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -25,10 +28,40 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -37,45 +70,60 @@ func NewClient() (client *Client, err error) {
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	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", "", "")
+	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", "", "")
+	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", "", "")
+	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/delete_instance.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"
+)
+
+// DeleteInstance invokes the dms_enterprise.DeleteInstance API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/deleteinstance.html
+func (client *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error) {
+	response = CreateDeleteInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteInstanceWithChan invokes the dms_enterprise.DeleteInstance API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/deleteinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteInstanceWithChan(request *DeleteInstanceRequest) (<-chan *DeleteInstanceResponse, <-chan error) {
+	responseChan := make(chan *DeleteInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteInstanceWithCallback invokes the dms_enterprise.DeleteInstance API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/deleteinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest, callback func(response *DeleteInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteInstanceRequest is the request struct for api DeleteInstance
+type DeleteInstanceRequest struct {
+	*requests.RpcRequest
+	Port requests.Integer `position:"Query" name:"Port"`
+	Host string           `position:"Query" name:"Host"`
+	Tid  requests.Integer `position:"Query" name:"Tid"`
+	Sid  string           `position:"Query" name:"Sid"`
+}
+
+// DeleteInstanceResponse is the response struct for api DeleteInstance
+type DeleteInstanceResponse 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"`
+}
+
+// CreateDeleteInstanceRequest creates a request to invoke DeleteInstance API
+func CreateDeleteInstanceRequest() (request *DeleteInstanceRequest) {
+	request = &DeleteInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "DeleteInstance", "", "")
+	return
+}
+
+// CreateDeleteInstanceResponse creates a response to parse from DeleteInstance response
+func CreateDeleteInstanceResponse() (response *DeleteInstanceResponse) {
+	response = &DeleteInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/dms-enterprise/delete_user.go

@@ -94,7 +94,7 @@ func CreateDeleteUserRequest() (request *DeleteUserRequest) {
 	request = &DeleteUserRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "DeleteUser", "dmsenterprise", "openAPI")
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "DeleteUser", "", "")
 	return
 }
 

+ 1 - 1
services/dms-enterprise/disable_user.go

@@ -94,7 +94,7 @@ func CreateDisableUserRequest() (request *DisableUserRequest) {
 	request = &DisableUserRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "DisableUser", "dmsenterprise", "openAPI")
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "DisableUser", "", "")
 	return
 }
 

+ 1 - 1
services/dms-enterprise/enable_user.go

@@ -94,7 +94,7 @@ func CreateEnableUserRequest() (request *EnableUserRequest) {
 	request = &EnableUserRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "EnableUser", "dmsenterprise", "openAPI")
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "EnableUser", "", "")
 	return
 }
 

+ 20 - 0
services/dms-enterprise/endpoint.go

@@ -0,0 +1,20 @@
+package dms_enterprise
+
+// EndpointMap Endpoint Data
+var EndpointMap map[string]string
+
+// EndpointType regional or central
+var EndpointType = "central"
+
+// GetEndpointMap Get Endpoint Data Map
+func GetEndpointMap() map[string]string {
+	if EndpointMap == nil {
+		EndpointMap = map[string]string{}
+	}
+	return EndpointMap
+}
+
+// GetEndpointType Get Endpoint Type Value
+func GetEndpointType() string {
+	return EndpointType
+}

+ 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", "", "")
+	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", "", "")
+	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", "", "")
+	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", "", "")
+	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", "", "")
+	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", "", "")
+	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", "", "")
+	return
+}
+
+// CreateGetDataExportOrderDetailResponse creates a response to parse from GetDataExportOrderDetail response
+func CreateGetDataExportOrderDetailResponse() (response *GetDataExportOrderDetailResponse) {
+	response = &GetDataExportOrderDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/dms-enterprise/get_database.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"
+)
+
+// GetDatabase invokes the dms_enterprise.GetDatabase API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatabase.html
+func (client *Client) GetDatabase(request *GetDatabaseRequest) (response *GetDatabaseResponse, err error) {
+	response = CreateGetDatabaseResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetDatabaseWithChan invokes the dms_enterprise.GetDatabase API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatabase.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDatabaseWithChan(request *GetDatabaseRequest) (<-chan *GetDatabaseResponse, <-chan error) {
+	responseChan := make(chan *GetDatabaseResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetDatabase(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetDatabaseWithCallback invokes the dms_enterprise.GetDatabase API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getdatabase.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetDatabaseWithCallback(request *GetDatabaseRequest, callback func(response *GetDatabaseResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetDatabaseResponse
+		var err error
+		defer close(result)
+		response, err = client.GetDatabase(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetDatabaseRequest is the request struct for api GetDatabase
+type GetDatabaseRequest struct {
+	*requests.RpcRequest
+	SchemaName string           `position:"Query" name:"SchemaName"`
+	Port       requests.Integer `position:"Query" name:"Port"`
+	Host       string           `position:"Query" name:"Host"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	Sid        string           `position:"Query" name:"Sid"`
+}
+
+// GetDatabaseResponse is the response struct for api GetDatabase
+type GetDatabaseResponse 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"`
+	Database     Database `json:"Database" xml:"Database"`
+}
+
+// CreateGetDatabaseRequest creates a request to invoke GetDatabase API
+func CreateGetDatabaseRequest() (request *GetDatabaseRequest) {
+	request = &GetDatabaseRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetDatabase", "", "")
+	return
+}
+
+// CreateGetDatabaseResponse creates a response to parse from GetDatabase response
+func CreateGetDatabaseResponse() (response *GetDatabaseResponse) {
+	response = &GetDatabaseResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/dms-enterprise/get_instance.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"
+)
+
+// GetInstance invokes the dms_enterprise.GetInstance API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getinstance.html
+func (client *Client) GetInstance(request *GetInstanceRequest) (response *GetInstanceResponse, err error) {
+	response = CreateGetInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetInstanceWithChan invokes the dms_enterprise.GetInstance API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetInstanceWithChan(request *GetInstanceRequest) (<-chan *GetInstanceResponse, <-chan error) {
+	responseChan := make(chan *GetInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetInstanceWithCallback invokes the dms_enterprise.GetInstance API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetInstanceWithCallback(request *GetInstanceRequest, callback func(response *GetInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.GetInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetInstanceRequest is the request struct for api GetInstance
+type GetInstanceRequest struct {
+	*requests.RpcRequest
+	Port requests.Integer `position:"Query" name:"Port"`
+	Host string           `position:"Query" name:"Host"`
+	Tid  requests.Integer `position:"Query" name:"Tid"`
+	Sid  string           `position:"Query" name:"Sid"`
+}
+
+// GetInstanceResponse is the response struct for api GetInstance
+type GetInstanceResponse 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"`
+	Instance     Instance `json:"Instance" xml:"Instance"`
+}
+
+// CreateGetInstanceRequest creates a request to invoke GetInstance API
+func CreateGetInstanceRequest() (request *GetInstanceRequest) {
+	request = &GetInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetInstance", "", "")
+	return
+}
+
+// CreateGetInstanceResponse creates a response to parse from GetInstance response
+func CreateGetInstanceResponse() (response *GetInstanceResponse) {
+	response = &GetInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms-enterprise/get_logic_database.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"
+)
+
+// GetLogicDatabase invokes the dms_enterprise.GetLogicDatabase API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getlogicdatabase.html
+func (client *Client) GetLogicDatabase(request *GetLogicDatabaseRequest) (response *GetLogicDatabaseResponse, err error) {
+	response = CreateGetLogicDatabaseResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetLogicDatabaseWithChan invokes the dms_enterprise.GetLogicDatabase API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getlogicdatabase.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetLogicDatabaseWithChan(request *GetLogicDatabaseRequest) (<-chan *GetLogicDatabaseResponse, <-chan error) {
+	responseChan := make(chan *GetLogicDatabaseResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetLogicDatabase(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetLogicDatabaseWithCallback invokes the dms_enterprise.GetLogicDatabase API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getlogicdatabase.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetLogicDatabaseWithCallback(request *GetLogicDatabaseRequest, callback func(response *GetLogicDatabaseResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetLogicDatabaseResponse
+		var err error
+		defer close(result)
+		response, err = client.GetLogicDatabase(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetLogicDatabaseRequest is the request struct for api GetLogicDatabase
+type GetLogicDatabaseRequest struct {
+	*requests.RpcRequest
+	DbId string           `position:"Query" name:"DbId"`
+	Tid  requests.Integer `position:"Query" name:"Tid"`
+}
+
+// GetLogicDatabaseResponse is the response struct for api GetLogicDatabase
+type GetLogicDatabaseResponse 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"`
+	LogicDatabase LogicDatabase `json:"LogicDatabase" xml:"LogicDatabase"`
+}
+
+// CreateGetLogicDatabaseRequest creates a request to invoke GetLogicDatabase API
+func CreateGetLogicDatabaseRequest() (request *GetLogicDatabaseRequest) {
+	request = &GetLogicDatabaseRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetLogicDatabase", "", "")
+	return
+}
+
+// CreateGetLogicDatabaseResponse creates a response to parse from GetLogicDatabase response
+func CreateGetLogicDatabaseResponse() (response *GetLogicDatabaseResponse) {
+	response = &GetLogicDatabaseResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/dms-enterprise/get_op_log.go

@@ -91,7 +91,7 @@ type GetOpLogResponse struct {
 	Success      bool         `json:"Success" xml:"Success"`
 	ErrorMessage string       `json:"ErrorMessage" xml:"ErrorMessage"`
 	ErrorCode    string       `json:"ErrorCode" xml:"ErrorCode"`
-	TotalCount   int          `json:"TotalCount" xml:"TotalCount"`
+	TotalCount   int64        `json:"TotalCount" xml:"TotalCount"`
 	OpLogDetails OpLogDetails `json:"OpLogDetails" xml:"OpLogDetails"`
 }
 
@@ -100,7 +100,7 @@ func CreateGetOpLogRequest() (request *GetOpLogRequest) {
 	request = &GetOpLogRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetOpLog", "dmsenterprise", "openAPI")
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetOpLog", "", "")
 	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:"Query" 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", "", "")
+	return
+}
+
+// CreateGetOrderBaseInfoResponse creates a response to parse from GetOrderBaseInfo response
+func CreateGetOrderBaseInfoResponse() (response *GetOrderBaseInfoResponse) {
+	response = &GetOrderBaseInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/dms-enterprise/get_user.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"
+)
+
+// GetUser invokes the dms_enterprise.GetUser API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getuser.html
+func (client *Client) GetUser(request *GetUserRequest) (response *GetUserResponse, err error) {
+	response = CreateGetUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetUserWithChan invokes the dms_enterprise.GetUser API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetUserWithChan(request *GetUserRequest) (<-chan *GetUserResponse, <-chan error) {
+	responseChan := make(chan *GetUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetUserWithCallback invokes the dms_enterprise.GetUser API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/getuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetUserWithCallback(request *GetUserRequest, callback func(response *GetUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetUserResponse
+		var err error
+		defer close(result)
+		response, err = client.GetUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetUserRequest is the request struct for api GetUser
+type GetUserRequest struct {
+	*requests.RpcRequest
+	Uid    requests.Integer `position:"Query" name:"Uid"`
+	UserId string           `position:"Query" name:"UserId"`
+	Tid    requests.Integer `position:"Query" name:"Tid"`
+}
+
+// GetUserResponse is the response struct for api GetUser
+type GetUserResponse 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"`
+	User         User   `json:"User" xml:"User"`
+}
+
+// CreateGetUserRequest creates a request to invoke GetUser API
+func CreateGetUserRequest() (request *GetUserRequest) {
+	request = &GetUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GetUser", "", "")
+	return
+}
+
+// CreateGetUserResponse creates a response to parse from GetUser response
+func CreateGetUserResponse() (response *GetUserResponse) {
+	response = &GetUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/dms-enterprise/grant_user_permission.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// GrantUserPermission invokes the dms_enterprise.GrantUserPermission API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/grantuserpermission.html
+func (client *Client) GrantUserPermission(request *GrantUserPermissionRequest) (response *GrantUserPermissionResponse, err error) {
+	response = CreateGrantUserPermissionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GrantUserPermissionWithChan invokes the dms_enterprise.GrantUserPermission API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/grantuserpermission.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GrantUserPermissionWithChan(request *GrantUserPermissionRequest) (<-chan *GrantUserPermissionResponse, <-chan error) {
+	responseChan := make(chan *GrantUserPermissionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GrantUserPermission(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GrantUserPermissionWithCallback invokes the dms_enterprise.GrantUserPermission API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/grantuserpermission.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GrantUserPermissionWithCallback(request *GrantUserPermissionRequest, callback func(response *GrantUserPermissionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GrantUserPermissionResponse
+		var err error
+		defer close(result)
+		response, err = client.GrantUserPermission(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GrantUserPermissionRequest is the request struct for api GrantUserPermission
+type GrantUserPermissionRequest struct {
+	*requests.RpcRequest
+	PermTypes  string           `position:"Query" name:"PermTypes"`
+	DsType     string           `position:"Query" name:"DsType"`
+	ExpireDate string           `position:"Query" name:"ExpireDate"`
+	UserId     string           `position:"Query" name:"UserId"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	DbId       string           `position:"Query" name:"DbId"`
+	TableId    string           `position:"Query" name:"TableId"`
+	Logic      requests.Boolean `position:"Query" name:"Logic"`
+	TableName  string           `position:"Query" name:"TableName"`
+}
+
+// GrantUserPermissionResponse is the response struct for api GrantUserPermission
+type GrantUserPermissionResponse 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"`
+}
+
+// CreateGrantUserPermissionRequest creates a request to invoke GrantUserPermission API
+func CreateGrantUserPermissionRequest() (request *GrantUserPermissionRequest) {
+	request = &GrantUserPermissionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "GrantUserPermission", "", "")
+	return
+}
+
+// CreateGrantUserPermissionResponse creates a response to parse from GrantUserPermission response
+func CreateGrantUserPermissionResponse() (response *GrantUserPermissionResponse) {
+	response = &GrantUserPermissionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/dms-enterprise/list_columns.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"
+)
+
+// ListColumns invokes the dms_enterprise.ListColumns API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listcolumns.html
+func (client *Client) ListColumns(request *ListColumnsRequest) (response *ListColumnsResponse, err error) {
+	response = CreateListColumnsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListColumnsWithChan invokes the dms_enterprise.ListColumns API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listcolumns.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListColumnsWithChan(request *ListColumnsRequest) (<-chan *ListColumnsResponse, <-chan error) {
+	responseChan := make(chan *ListColumnsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListColumns(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListColumnsWithCallback invokes the dms_enterprise.ListColumns API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listcolumns.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListColumnsWithCallback(request *ListColumnsRequest, callback func(response *ListColumnsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListColumnsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListColumns(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListColumnsRequest is the request struct for api ListColumns
+type ListColumnsRequest struct {
+	*requests.RpcRequest
+	TableId string           `position:"Query" name:"TableId"`
+	Logic   requests.Boolean `position:"Query" name:"Logic"`
+	Tid     requests.Integer `position:"Query" name:"Tid"`
+}
+
+// ListColumnsResponse is the response struct for api ListColumns
+type ListColumnsResponse 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"`
+	ColumnList   ColumnList `json:"ColumnList" xml:"ColumnList"`
+}
+
+// CreateListColumnsRequest creates a request to invoke ListColumns API
+func CreateListColumnsRequest() (request *ListColumnsRequest) {
+	request = &ListColumnsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListColumns", "", "")
+	return
+}
+
+// CreateListColumnsResponse creates a response to parse from ListColumns response
+func CreateListColumnsResponse() (response *ListColumnsResponse) {
+	response = &ListColumnsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/dms-enterprise/list_database_user_permssions.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// ListDatabaseUserPermssions invokes the dms_enterprise.ListDatabaseUserPermssions API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listdatabaseuserpermssions.html
+func (client *Client) ListDatabaseUserPermssions(request *ListDatabaseUserPermssionsRequest) (response *ListDatabaseUserPermssionsResponse, err error) {
+	response = CreateListDatabaseUserPermssionsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListDatabaseUserPermssionsWithChan invokes the dms_enterprise.ListDatabaseUserPermssions API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listdatabaseuserpermssions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDatabaseUserPermssionsWithChan(request *ListDatabaseUserPermssionsRequest) (<-chan *ListDatabaseUserPermssionsResponse, <-chan error) {
+	responseChan := make(chan *ListDatabaseUserPermssionsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListDatabaseUserPermssions(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListDatabaseUserPermssionsWithCallback invokes the dms_enterprise.ListDatabaseUserPermssions API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listdatabaseuserpermssions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDatabaseUserPermssionsWithCallback(request *ListDatabaseUserPermssionsRequest, callback func(response *ListDatabaseUserPermssionsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListDatabaseUserPermssionsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListDatabaseUserPermssions(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListDatabaseUserPermssionsRequest is the request struct for api ListDatabaseUserPermssions
+type ListDatabaseUserPermssionsRequest struct {
+	*requests.RpcRequest
+	PermType   string           `position:"Query" name:"PermType"`
+	DbId       string           `position:"Query" name:"DbId"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	Logic      requests.Boolean `position:"Query" name:"Logic"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	UserName   string           `position:"Query" name:"UserName"`
+}
+
+// ListDatabaseUserPermssionsResponse is the response struct for api ListDatabaseUserPermssions
+type ListDatabaseUserPermssionsResponse 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"`
+	UserPermissions UserPermissionsInListDatabaseUserPermssions `json:"UserPermissions" xml:"UserPermissions"`
+}
+
+// CreateListDatabaseUserPermssionsRequest creates a request to invoke ListDatabaseUserPermssions API
+func CreateListDatabaseUserPermssionsRequest() (request *ListDatabaseUserPermssionsRequest) {
+	request = &ListDatabaseUserPermssionsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListDatabaseUserPermssions", "", "")
+	return
+}
+
+// CreateListDatabaseUserPermssionsResponse creates a response to parse from ListDatabaseUserPermssions response
+func CreateListDatabaseUserPermssionsResponse() (response *ListDatabaseUserPermssionsResponse) {
+	response = &ListDatabaseUserPermssionsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/dms-enterprise/list_databases.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"
+)
+
+// ListDatabases invokes the dms_enterprise.ListDatabases API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listdatabases.html
+func (client *Client) ListDatabases(request *ListDatabasesRequest) (response *ListDatabasesResponse, err error) {
+	response = CreateListDatabasesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListDatabasesWithChan invokes the dms_enterprise.ListDatabases API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listdatabases.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDatabasesWithChan(request *ListDatabasesRequest) (<-chan *ListDatabasesResponse, <-chan error) {
+	responseChan := make(chan *ListDatabasesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListDatabases(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListDatabasesWithCallback invokes the dms_enterprise.ListDatabases API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listdatabases.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDatabasesWithCallback(request *ListDatabasesRequest, callback func(response *ListDatabasesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListDatabasesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListDatabases(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListDatabasesRequest is the request struct for api ListDatabases
+type ListDatabasesRequest struct {
+	*requests.RpcRequest
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// ListDatabasesResponse is the response struct for api ListDatabases
+type ListDatabasesResponse 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"`
+	DatabaseList DatabaseListInListDatabases `json:"DatabaseList" xml:"DatabaseList"`
+}
+
+// CreateListDatabasesRequest creates a request to invoke ListDatabases API
+func CreateListDatabasesRequest() (request *ListDatabasesRequest) {
+	request = &ListDatabasesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListDatabases", "", "")
+	return
+}
+
+// CreateListDatabasesResponse creates a response to parse from ListDatabases response
+func CreateListDatabasesResponse() (response *ListDatabasesResponse) {
+	response = &ListDatabasesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/dms-enterprise/list_indexes.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"
+)
+
+// ListIndexes invokes the dms_enterprise.ListIndexes API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listindexes.html
+func (client *Client) ListIndexes(request *ListIndexesRequest) (response *ListIndexesResponse, err error) {
+	response = CreateListIndexesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListIndexesWithChan invokes the dms_enterprise.ListIndexes API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listindexes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListIndexesWithChan(request *ListIndexesRequest) (<-chan *ListIndexesResponse, <-chan error) {
+	responseChan := make(chan *ListIndexesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListIndexes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListIndexesWithCallback invokes the dms_enterprise.ListIndexes API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listindexes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListIndexesWithCallback(request *ListIndexesRequest, callback func(response *ListIndexesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListIndexesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListIndexes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListIndexesRequest is the request struct for api ListIndexes
+type ListIndexesRequest struct {
+	*requests.RpcRequest
+	TableId string           `position:"Query" name:"TableId"`
+	Logic   requests.Boolean `position:"Query" name:"Logic"`
+	Tid     requests.Integer `position:"Query" name:"Tid"`
+}
+
+// ListIndexesResponse is the response struct for api ListIndexes
+type ListIndexesResponse 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"`
+	IndexList    IndexList `json:"IndexList" xml:"IndexList"`
+}
+
+// CreateListIndexesRequest creates a request to invoke ListIndexes API
+func CreateListIndexesRequest() (request *ListIndexesRequest) {
+	request = &ListIndexesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListIndexes", "", "")
+	return
+}
+
+// CreateListIndexesResponse creates a response to parse from ListIndexes response
+func CreateListIndexesResponse() (response *ListIndexesResponse) {
+	response = &ListIndexesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/dms-enterprise/list_instances.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// ListInstances invokes the dms_enterprise.ListInstances API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listinstances.html
+func (client *Client) ListInstances(request *ListInstancesRequest) (response *ListInstancesResponse, err error) {
+	response = CreateListInstancesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListInstancesWithChan invokes the dms_enterprise.ListInstances API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListInstancesWithChan(request *ListInstancesRequest) (<-chan *ListInstancesResponse, <-chan error) {
+	responseChan := make(chan *ListInstancesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListInstances(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListInstancesWithCallback invokes the dms_enterprise.ListInstances API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListInstancesWithCallback(request *ListInstancesRequest, callback func(response *ListInstancesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListInstancesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListInstances(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListInstancesRequest is the request struct for api ListInstances
+type ListInstancesRequest struct {
+	*requests.RpcRequest
+	SearchKey      string           `position:"Query" name:"SearchKey"`
+	Tid            requests.Integer `position:"Query" name:"Tid"`
+	InstanceState  string           `position:"Query" name:"InstanceState"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	NetType        string           `position:"Query" name:"NetType"`
+	DbType         string           `position:"Query" name:"DbType"`
+	EnvType        string           `position:"Query" name:"EnvType"`
+	InstanceSource string           `position:"Query" name:"InstanceSource"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// ListInstancesResponse is the response struct for api ListInstances
+type ListInstancesResponse 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"`
+	InstanceList InstanceList `json:"InstanceList" xml:"InstanceList"`
+}
+
+// CreateListInstancesRequest creates a request to invoke ListInstances API
+func CreateListInstancesRequest() (request *ListInstancesRequest) {
+	request = &ListInstancesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListInstances", "", "")
+	return
+}
+
+// CreateListInstancesResponse creates a response to parse from ListInstances response
+func CreateListInstancesResponse() (response *ListInstancesResponse) {
+	response = &ListInstancesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/dms-enterprise/list_logic_databases.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"
+)
+
+// ListLogicDatabases invokes the dms_enterprise.ListLogicDatabases API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listlogicdatabases.html
+func (client *Client) ListLogicDatabases(request *ListLogicDatabasesRequest) (response *ListLogicDatabasesResponse, err error) {
+	response = CreateListLogicDatabasesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListLogicDatabasesWithChan invokes the dms_enterprise.ListLogicDatabases API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listlogicdatabases.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLogicDatabasesWithChan(request *ListLogicDatabasesRequest) (<-chan *ListLogicDatabasesResponse, <-chan error) {
+	responseChan := make(chan *ListLogicDatabasesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListLogicDatabases(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListLogicDatabasesWithCallback invokes the dms_enterprise.ListLogicDatabases API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listlogicdatabases.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLogicDatabasesWithCallback(request *ListLogicDatabasesRequest, callback func(response *ListLogicDatabasesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListLogicDatabasesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListLogicDatabases(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListLogicDatabasesRequest is the request struct for api ListLogicDatabases
+type ListLogicDatabasesRequest struct {
+	*requests.RpcRequest
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// ListLogicDatabasesResponse is the response struct for api ListLogicDatabases
+type ListLogicDatabasesResponse 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"`
+	LogicDatabaseList LogicDatabaseList `json:"LogicDatabaseList" xml:"LogicDatabaseList"`
+}
+
+// CreateListLogicDatabasesRequest creates a request to invoke ListLogicDatabases API
+func CreateListLogicDatabasesRequest() (request *ListLogicDatabasesRequest) {
+	request = &ListLogicDatabasesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListLogicDatabases", "", "")
+	return
+}
+
+// CreateListLogicDatabasesResponse creates a response to parse from ListLogicDatabases response
+func CreateListLogicDatabasesResponse() (response *ListLogicDatabasesResponse) {
+	response = &ListLogicDatabasesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/dms-enterprise/list_logic_tables.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"
+)
+
+// ListLogicTables invokes the dms_enterprise.ListLogicTables API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listlogictables.html
+func (client *Client) ListLogicTables(request *ListLogicTablesRequest) (response *ListLogicTablesResponse, err error) {
+	response = CreateListLogicTablesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListLogicTablesWithChan invokes the dms_enterprise.ListLogicTables API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listlogictables.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLogicTablesWithChan(request *ListLogicTablesRequest) (<-chan *ListLogicTablesResponse, <-chan error) {
+	responseChan := make(chan *ListLogicTablesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListLogicTables(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListLogicTablesWithCallback invokes the dms_enterprise.ListLogicTables API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listlogictables.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLogicTablesWithCallback(request *ListLogicTablesRequest, callback func(response *ListLogicTablesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListLogicTablesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListLogicTables(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListLogicTablesRequest is the request struct for api ListLogicTables
+type ListLogicTablesRequest struct {
+	*requests.RpcRequest
+	SearchName string           `position:"Query" name:"SearchName"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	DatabaseId string           `position:"Query" name:"DatabaseId"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// ListLogicTablesResponse is the response struct for api ListLogicTables
+type ListLogicTablesResponse 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"`
+	LogicTableList LogicTableList `json:"LogicTableList" xml:"LogicTableList"`
+}
+
+// CreateListLogicTablesRequest creates a request to invoke ListLogicTables API
+func CreateListLogicTablesRequest() (request *ListLogicTablesRequest) {
+	request = &ListLogicTablesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListLogicTables", "", "")
+	return
+}
+
+// CreateListLogicTablesResponse creates a response to parse from ListLogicTables response
+func CreateListLogicTablesResponse() (response *ListLogicTablesResponse) {
+	response = &ListLogicTablesResponse{
+		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", "", "")
+	return
+}
+
+// CreateListOrdersResponse creates a response to parse from ListOrders response
+func CreateListOrdersResponse() (response *ListOrdersResponse) {
+	response = &ListOrdersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/dms-enterprise/list_tables.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"
+)
+
+// ListTables invokes the dms_enterprise.ListTables API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listtables.html
+func (client *Client) ListTables(request *ListTablesRequest) (response *ListTablesResponse, err error) {
+	response = CreateListTablesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListTablesWithChan invokes the dms_enterprise.ListTables API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listtables.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTablesWithChan(request *ListTablesRequest) (<-chan *ListTablesResponse, <-chan error) {
+	responseChan := make(chan *ListTablesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListTables(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListTablesWithCallback invokes the dms_enterprise.ListTables API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listtables.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTablesWithCallback(request *ListTablesRequest, callback func(response *ListTablesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListTablesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListTables(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListTablesRequest is the request struct for api ListTables
+type ListTablesRequest struct {
+	*requests.RpcRequest
+	SearchName string           `position:"Query" name:"SearchName"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	DatabaseId string           `position:"Query" name:"DatabaseId"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// ListTablesResponse is the response struct for api ListTables
+type ListTablesResponse 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"`
+	TableList    TableList `json:"TableList" xml:"TableList"`
+}
+
+// CreateListTablesRequest creates a request to invoke ListTables API
+func CreateListTablesRequest() (request *ListTablesRequest) {
+	request = &ListTablesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListTables", "", "")
+	return
+}
+
+// CreateListTablesResponse creates a response to parse from ListTables response
+func CreateListTablesResponse() (response *ListTablesResponse) {
+	response = &ListTablesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/dms-enterprise/list_user_permissions.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// ListUserPermissions invokes the dms_enterprise.ListUserPermissions API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listuserpermissions.html
+func (client *Client) ListUserPermissions(request *ListUserPermissionsRequest) (response *ListUserPermissionsResponse, err error) {
+	response = CreateListUserPermissionsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListUserPermissionsWithChan invokes the dms_enterprise.ListUserPermissions API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listuserpermissions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListUserPermissionsWithChan(request *ListUserPermissionsRequest) (<-chan *ListUserPermissionsResponse, <-chan error) {
+	responseChan := make(chan *ListUserPermissionsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListUserPermissions(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListUserPermissionsWithCallback invokes the dms_enterprise.ListUserPermissions API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listuserpermissions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListUserPermissionsWithCallback(request *ListUserPermissionsRequest, callback func(response *ListUserPermissionsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListUserPermissionsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListUserPermissions(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListUserPermissionsRequest is the request struct for api ListUserPermissions
+type ListUserPermissionsRequest struct {
+	*requests.RpcRequest
+	UserId       string           `position:"Query" name:"UserId"`
+	Tid          requests.Integer `position:"Query" name:"Tid"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PermType     string           `position:"Query" name:"PermType"`
+	DatabaseName string           `position:"Query" name:"DatabaseName"`
+	EnvType      string           `position:"Query" name:"EnvType"`
+	DbType       string           `position:"Query" name:"DbType"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	Logic        requests.Boolean `position:"Query" name:"Logic"`
+}
+
+// ListUserPermissionsResponse is the response struct for api ListUserPermissions
+type ListUserPermissionsResponse 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"`
+	UserPermissions UserPermissionsInListUserPermissions `json:"UserPermissions" xml:"UserPermissions"`
+}
+
+// CreateListUserPermissionsRequest creates a request to invoke ListUserPermissions API
+func CreateListUserPermissionsRequest() (request *ListUserPermissionsRequest) {
+	request = &ListUserPermissionsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListUserPermissions", "", "")
+	return
+}
+
+// CreateListUserPermissionsResponse creates a response to parse from ListUserPermissions response
+func CreateListUserPermissionsResponse() (response *ListUserPermissionsResponse) {
+	response = &ListUserPermissionsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/dms-enterprise/list_users.go

@@ -0,0 +1,113 @@
+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"
+)
+
+// ListUsers invokes the dms_enterprise.ListUsers API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listusers.html
+func (client *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error) {
+	response = CreateListUsersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListUsersWithChan invokes the dms_enterprise.ListUsers API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listusers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListUsersWithChan(request *ListUsersRequest) (<-chan *ListUsersResponse, <-chan error) {
+	responseChan := make(chan *ListUsersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListUsers(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListUsersWithCallback invokes the dms_enterprise.ListUsers API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listusers.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListUsersWithCallback(request *ListUsersRequest, callback func(response *ListUsersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListUsersResponse
+		var err error
+		defer close(result)
+		response, err = client.ListUsers(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListUsersRequest is the request struct for api ListUsers
+type ListUsersRequest struct {
+	*requests.RpcRequest
+	UserState  string           `position:"Query" name:"UserState"`
+	Role       string           `position:"Query" name:"Role"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	SearchKey  string           `position:"Query" name:"SearchKey"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// ListUsersResponse is the response struct for api ListUsers
+type ListUsersResponse 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"`
+	UserList     UserList `json:"UserList" xml:"UserList"`
+}
+
+// CreateListUsersRequest creates a request to invoke ListUsers API
+func CreateListUsersRequest() (request *ListUsersRequest) {
+	request = &ListUsersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListUsers", "", "")
+	return
+}
+
+// CreateListUsersResponse creates a response to parse from ListUsers response
+func CreateListUsersResponse() (response *ListUsersResponse) {
+	response = &ListUsersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms-enterprise/list_work_flow_nodes.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"
+)
+
+// ListWorkFlowNodes invokes the dms_enterprise.ListWorkFlowNodes API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listworkflownodes.html
+func (client *Client) ListWorkFlowNodes(request *ListWorkFlowNodesRequest) (response *ListWorkFlowNodesResponse, err error) {
+	response = CreateListWorkFlowNodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListWorkFlowNodesWithChan invokes the dms_enterprise.ListWorkFlowNodes API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listworkflownodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListWorkFlowNodesWithChan(request *ListWorkFlowNodesRequest) (<-chan *ListWorkFlowNodesResponse, <-chan error) {
+	responseChan := make(chan *ListWorkFlowNodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListWorkFlowNodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListWorkFlowNodesWithCallback invokes the dms_enterprise.ListWorkFlowNodes API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listworkflownodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListWorkFlowNodesWithCallback(request *ListWorkFlowNodesRequest, callback func(response *ListWorkFlowNodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListWorkFlowNodesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListWorkFlowNodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListWorkFlowNodesRequest is the request struct for api ListWorkFlowNodes
+type ListWorkFlowNodesRequest struct {
+	*requests.RpcRequest
+	SearchName string           `position:"Query" name:"SearchName"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+}
+
+// ListWorkFlowNodesResponse is the response struct for api ListWorkFlowNodes
+type ListWorkFlowNodesResponse 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"`
+	WorkflowNodes WorkflowNodesInListWorkFlowNodes `json:"WorkflowNodes" xml:"WorkflowNodes"`
+}
+
+// CreateListWorkFlowNodesRequest creates a request to invoke ListWorkFlowNodes API
+func CreateListWorkFlowNodesRequest() (request *ListWorkFlowNodesRequest) {
+	request = &ListWorkFlowNodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListWorkFlowNodes", "", "")
+	return
+}
+
+// CreateListWorkFlowNodesResponse creates a response to parse from ListWorkFlowNodes response
+func CreateListWorkFlowNodesResponse() (response *ListWorkFlowNodesResponse) {
+	response = &ListWorkFlowNodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/dms-enterprise/list_work_flow_templates.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"
+)
+
+// ListWorkFlowTemplates invokes the dms_enterprise.ListWorkFlowTemplates API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listworkflowtemplates.html
+func (client *Client) ListWorkFlowTemplates(request *ListWorkFlowTemplatesRequest) (response *ListWorkFlowTemplatesResponse, err error) {
+	response = CreateListWorkFlowTemplatesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListWorkFlowTemplatesWithChan invokes the dms_enterprise.ListWorkFlowTemplates API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listworkflowtemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListWorkFlowTemplatesWithChan(request *ListWorkFlowTemplatesRequest) (<-chan *ListWorkFlowTemplatesResponse, <-chan error) {
+	responseChan := make(chan *ListWorkFlowTemplatesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListWorkFlowTemplates(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListWorkFlowTemplatesWithCallback invokes the dms_enterprise.ListWorkFlowTemplates API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/listworkflowtemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListWorkFlowTemplatesWithCallback(request *ListWorkFlowTemplatesRequest, callback func(response *ListWorkFlowTemplatesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListWorkFlowTemplatesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListWorkFlowTemplates(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListWorkFlowTemplatesRequest is the request struct for api ListWorkFlowTemplates
+type ListWorkFlowTemplatesRequest struct {
+	*requests.RpcRequest
+	SearchName string           `position:"Query" name:"SearchName"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+}
+
+// ListWorkFlowTemplatesResponse is the response struct for api ListWorkFlowTemplates
+type ListWorkFlowTemplatesResponse 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"`
+	WorkFlowTemplates WorkFlowTemplates `json:"WorkFlowTemplates" xml:"WorkFlowTemplates"`
+}
+
+// CreateListWorkFlowTemplatesRequest creates a request to invoke ListWorkFlowTemplates API
+func CreateListWorkFlowTemplatesRequest() (request *ListWorkFlowTemplatesRequest) {
+	request = &ListWorkFlowTemplatesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "ListWorkFlowTemplates", "", "")
+	return
+}
+
+// CreateListWorkFlowTemplatesResponse creates a response to parse from ListWorkFlowTemplates response
+func CreateListWorkFlowTemplatesResponse() (response *ListWorkFlowTemplatesResponse) {
+	response = &ListWorkFlowTemplatesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 11 - 8
services/dms-enterprise/register_instance.go

@@ -76,22 +76,25 @@ func (client *Client) RegisterInstanceWithCallback(request *RegisterInstanceRequ
 // RegisterInstanceRequest is the request struct for api RegisterInstance
 type RegisterInstanceRequest struct {
 	*requests.RpcRequest
-	EcsInstanceId    string           `position:"Query" name:"EcsInstanceId"`
 	EcsRegion        string           `position:"Query" name:"EcsRegion"`
-	ExportTimeout    requests.Integer `position:"Query" name:"ExportTimeout"`
-	DatabasePassword string           `position:"Query" name:"DatabasePassword"`
-	InstanceAlias    string           `position:"Query" name:"InstanceAlias"`
+	DdlOnline        requests.Integer `position:"Query" name:"DdlOnline"`
+	UseDsql          requests.Integer `position:"Query" name:"UseDsql"`
 	NetworkType      string           `position:"Query" name:"NetworkType"`
 	Tid              requests.Integer `position:"Query" name:"Tid"`
 	Sid              string           `position:"Query" name:"Sid"`
-	DatabaseUser     string           `position:"Query" name:"DatabaseUser"`
-	Port             requests.Integer `position:"Query" name:"Port"`
-	VpcId            string           `position:"Query" name:"VpcId"`
+	DataLinkName     string           `position:"Query" name:"DataLinkName"`
 	InstanceSource   string           `position:"Query" name:"InstanceSource"`
 	EnvType          string           `position:"Query" name:"EnvType"`
 	Host             string           `position:"Query" name:"Host"`
 	InstanceType     string           `position:"Query" name:"InstanceType"`
 	QueryTimeout     requests.Integer `position:"Query" name:"QueryTimeout"`
+	EcsInstanceId    string           `position:"Query" name:"EcsInstanceId"`
+	ExportTimeout    requests.Integer `position:"Query" name:"ExportTimeout"`
+	DatabasePassword string           `position:"Query" name:"DatabasePassword"`
+	InstanceAlias    string           `position:"Query" name:"InstanceAlias"`
+	DatabaseUser     string           `position:"Query" name:"DatabaseUser"`
+	Port             requests.Integer `position:"Query" name:"Port"`
+	VpcId            string           `position:"Query" name:"VpcId"`
 	DbaUid           requests.Integer `position:"Query" name:"DbaUid"`
 	SafeRule         string           `position:"Query" name:"SafeRule"`
 }
@@ -110,7 +113,7 @@ func CreateRegisterInstanceRequest() (request *RegisterInstanceRequest) {
 	request = &RegisterInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "RegisterInstance", "dmsenterprise", "openAPI")
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "RegisterInstance", "", "")
 	return
 }
 

+ 2 - 1
services/dms-enterprise/register_user.go

@@ -79,6 +79,7 @@ type RegisterUserRequest struct {
 	RoleNames string           `position:"Query" name:"RoleNames"`
 	Uid       requests.Integer `position:"Query" name:"Uid"`
 	UserNick  string           `position:"Query" name:"UserNick"`
+	Mobile    string           `position:"Query" name:"Mobile"`
 	Tid       requests.Integer `position:"Query" name:"Tid"`
 }
 
@@ -96,7 +97,7 @@ func CreateRegisterUserRequest() (request *RegisterUserRequest) {
 	request = &RegisterUserRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "RegisterUser", "dmsenterprise", "openAPI")
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "RegisterUser", "", "")
 	return
 }
 

+ 114 - 0
services/dms-enterprise/revoke_user_permission.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// RevokeUserPermission invokes the dms_enterprise.RevokeUserPermission API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/revokeuserpermission.html
+func (client *Client) RevokeUserPermission(request *RevokeUserPermissionRequest) (response *RevokeUserPermissionResponse, err error) {
+	response = CreateRevokeUserPermissionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RevokeUserPermissionWithChan invokes the dms_enterprise.RevokeUserPermission API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/revokeuserpermission.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RevokeUserPermissionWithChan(request *RevokeUserPermissionRequest) (<-chan *RevokeUserPermissionResponse, <-chan error) {
+	responseChan := make(chan *RevokeUserPermissionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RevokeUserPermission(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RevokeUserPermissionWithCallback invokes the dms_enterprise.RevokeUserPermission API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/revokeuserpermission.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RevokeUserPermissionWithCallback(request *RevokeUserPermissionRequest, callback func(response *RevokeUserPermissionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RevokeUserPermissionResponse
+		var err error
+		defer close(result)
+		response, err = client.RevokeUserPermission(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RevokeUserPermissionRequest is the request struct for api RevokeUserPermission
+type RevokeUserPermissionRequest struct {
+	*requests.RpcRequest
+	PermTypes    string           `position:"Query" name:"PermTypes"`
+	UserAccessId string           `position:"Query" name:"UserAccessId"`
+	DsType       string           `position:"Query" name:"DsType"`
+	UserId       string           `position:"Query" name:"UserId"`
+	Tid          requests.Integer `position:"Query" name:"Tid"`
+	DbId         string           `position:"Query" name:"DbId"`
+	TableId      string           `position:"Query" name:"TableId"`
+	Logic        requests.Boolean `position:"Query" name:"Logic"`
+	TableName    string           `position:"Query" name:"TableName"`
+}
+
+// RevokeUserPermissionResponse is the response struct for api RevokeUserPermission
+type RevokeUserPermissionResponse 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"`
+}
+
+// CreateRevokeUserPermissionRequest creates a request to invoke RevokeUserPermission API
+func CreateRevokeUserPermissionRequest() (request *RevokeUserPermissionRequest) {
+	request = &RevokeUserPermissionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "RevokeUserPermission", "", "")
+	return
+}
+
+// CreateRevokeUserPermissionResponse creates a response to parse from RevokeUserPermission response
+func CreateRevokeUserPermissionResponse() (response *RevokeUserPermissionResponse) {
+	response = &RevokeUserPermissionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/dms-enterprise/search_database.go

@@ -0,0 +1,115 @@
+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"
+)
+
+// SearchDatabase invokes the dms_enterprise.SearchDatabase API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/searchdatabase.html
+func (client *Client) SearchDatabase(request *SearchDatabaseRequest) (response *SearchDatabaseResponse, err error) {
+	response = CreateSearchDatabaseResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SearchDatabaseWithChan invokes the dms_enterprise.SearchDatabase API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/searchdatabase.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchDatabaseWithChan(request *SearchDatabaseRequest) (<-chan *SearchDatabaseResponse, <-chan error) {
+	responseChan := make(chan *SearchDatabaseResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SearchDatabase(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SearchDatabaseWithCallback invokes the dms_enterprise.SearchDatabase API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/searchdatabase.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchDatabaseWithCallback(request *SearchDatabaseRequest, callback func(response *SearchDatabaseResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SearchDatabaseResponse
+		var err error
+		defer close(result)
+		response, err = client.SearchDatabase(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SearchDatabaseRequest is the request struct for api SearchDatabase
+type SearchDatabaseRequest struct {
+	*requests.RpcRequest
+	SearchKey    string           `position:"Query" name:"SearchKey"`
+	SearchRange  string           `position:"Query" name:"SearchRange"`
+	Tid          requests.Integer `position:"Query" name:"Tid"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	SearchTarget string           `position:"Query" name:"SearchTarget"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	EnvType      string           `position:"Query" name:"EnvType"`
+	DbType       string           `position:"Query" name:"DbType"`
+}
+
+// SearchDatabaseResponse is the response struct for api SearchDatabase
+type SearchDatabaseResponse 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"`
+	SearchDatabaseList SearchDatabaseList `json:"SearchDatabaseList" xml:"SearchDatabaseList"`
+}
+
+// CreateSearchDatabaseRequest creates a request to invoke SearchDatabase API
+func CreateSearchDatabaseRequest() (request *SearchDatabaseRequest) {
+	request = &SearchDatabaseRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "SearchDatabase", "", "")
+	return
+}
+
+// CreateSearchDatabaseResponse creates a response to parse from SearchDatabase response
+func CreateSearchDatabaseResponse() (response *SearchDatabaseResponse) {
+	response = &SearchDatabaseResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/dms-enterprise/search_table.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// SearchTable invokes the dms_enterprise.SearchTable API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/searchtable.html
+func (client *Client) SearchTable(request *SearchTableRequest) (response *SearchTableResponse, err error) {
+	response = CreateSearchTableResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SearchTableWithChan invokes the dms_enterprise.SearchTable API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/searchtable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchTableWithChan(request *SearchTableRequest) (<-chan *SearchTableResponse, <-chan error) {
+	responseChan := make(chan *SearchTableResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SearchTable(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SearchTableWithCallback invokes the dms_enterprise.SearchTable API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/searchtable.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchTableWithCallback(request *SearchTableRequest, callback func(response *SearchTableResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SearchTableResponse
+		var err error
+		defer close(result)
+		response, err = client.SearchTable(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SearchTableRequest is the request struct for api SearchTable
+type SearchTableRequest struct {
+	*requests.RpcRequest
+	SearchTarget string           `position:"Query" name:"SearchTarget"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	EnvType      string           `position:"Query" name:"EnvType"`
+	SearchKey    string           `position:"Query" name:"SearchKey"`
+	SearchRange  string           `position:"Query" name:"SearchRange"`
+	Tid          requests.Integer `position:"Query" name:"Tid"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// SearchTableResponse is the response struct for api SearchTable
+type SearchTableResponse 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"`
+	SearchTableList SearchTableList `json:"SearchTableList" xml:"SearchTableList"`
+}
+
+// CreateSearchTableRequest creates a request to invoke SearchTable API
+func CreateSearchTableRequest() (request *SearchTableRequest) {
+	request = &SearchTableRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "SearchTable", "", "")
+	return
+}
+
+// CreateSearchTableResponse creates a response to parse from SearchTable response
+func CreateSearchTableResponse() (response *SearchTableResponse) {
+	response = &SearchTableResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/dms-enterprise/set_owners.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"
+)
+
+// SetOwners invokes the dms_enterprise.SetOwners API synchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/setowners.html
+func (client *Client) SetOwners(request *SetOwnersRequest) (response *SetOwnersResponse, err error) {
+	response = CreateSetOwnersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SetOwnersWithChan invokes the dms_enterprise.SetOwners API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/setowners.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetOwnersWithChan(request *SetOwnersRequest) (<-chan *SetOwnersResponse, <-chan error) {
+	responseChan := make(chan *SetOwnersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SetOwners(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SetOwnersWithCallback invokes the dms_enterprise.SetOwners API asynchronously
+// api document: https://help.aliyun.com/api/dms-enterprise/setowners.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetOwnersWithCallback(request *SetOwnersRequest, callback func(response *SetOwnersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SetOwnersResponse
+		var err error
+		defer close(result)
+		response, err = client.SetOwners(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SetOwnersRequest is the request struct for api SetOwners
+type SetOwnersRequest struct {
+	*requests.RpcRequest
+	ResourceId string           `position:"Query" name:"ResourceId"`
+	OwnerIds   string           `position:"Query" name:"OwnerIds"`
+	OwnerType  string           `position:"Query" name:"OwnerType"`
+	Tid        requests.Integer `position:"Query" name:"Tid"`
+}
+
+// SetOwnersResponse is the response struct for api SetOwners
+type SetOwnersResponse 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"`
+}
+
+// CreateSetOwnersRequest creates a request to invoke SetOwners API
+func CreateSetOwnersRequest() (request *SetOwnersRequest) {
+	request = &SetOwnersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("dms-enterprise", "2018-11-01", "SetOwners", "", "")
+	return
+}
+
+// CreateSetOwnersResponse creates a response to parse from SetOwners response
+func CreateSetOwnersResponse() (response *SetOwnersResponse) {
+	response = &SetOwnersResponse{
+		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   WorkflowNodesInGetApprovalDetail `json:"WorkflowNodes" xml:"WorkflowNodes"`
+	CurrentHandlers CurrentHandlers                  `json:"CurrentHandlers" xml:"CurrentHandlers"`
+}

+ 23 - 0
services/dms-enterprise/struct_audit_user.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.
+
+// AuditUser is a nested struct in dms_enterprise response
+type AuditUser struct {
+	UserId   int64  `json:"UserId" xml:"UserId"`
+	NickName string `json:"NickName" xml:"NickName"`
+	RealName string `json:"RealName" xml:"RealName"`
+}

+ 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_audit_users.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.
+
+// AuditUsers is a nested struct in dms_enterprise response
+type AuditUsers struct {
+	AuditUser []AuditUser `json:"AuditUser" xml:"AuditUser"`
+}

+ 33 - 0
services/dms-enterprise/struct_column.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.
+
+// Column is a nested struct in dms_enterprise response
+type Column struct {
+	ColumnId      string `json:"ColumnId" xml:"ColumnId"`
+	ColumnName    string `json:"ColumnName" xml:"ColumnName"`
+	ColumnType    string `json:"ColumnType" xml:"ColumnType"`
+	Nullable      bool   `json:"Nullable" xml:"Nullable"`
+	DefaultValue  string `json:"DefaultValue" xml:"DefaultValue"`
+	AutoIncrement bool   `json:"AutoIncrement" xml:"AutoIncrement"`
+	Description   string `json:"Description" xml:"Description"`
+	SecurityLevel string `json:"SecurityLevel" xml:"SecurityLevel"`
+	FunctionType  string `json:"FunctionType" xml:"FunctionType"`
+	DataLength    int64  `json:"DataLength" xml:"DataLength"`
+	Sensitive     bool   `json:"Sensitive" xml:"Sensitive"`
+	DataPrecision int    `json:"DataPrecision" xml:"DataPrecision"`
+	DataScale     int    `json:"DataScale" xml:"DataScale"`
+}

+ 21 - 0
services/dms-enterprise/struct_column_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.
+
+// ColumnList is a nested struct in dms_enterprise response
+type ColumnList struct {
+	Column []Column `json:"Column" xml:"Column"`
+}

+ 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"`
+}

+ 23 - 0
services/dms-enterprise/struct_data_correct_order_detail.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.
+
+// DataCorrectOrderDetail is a nested struct in dms_enterprise response
+type DataCorrectOrderDetail struct {
+	OrderDetail    OrderDetail                             `json:"OrderDetail" xml:"OrderDetail"`
+	PreCheckDetail PreCheckDetail                          `json:"PreCheckDetail" xml:"PreCheckDetail"`
+	DatabaseList   DatabaseListInGetDataCorrectOrderDetail `json:"DatabaseList" xml:"DatabaseList"`
+}

+ 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"`
+}

+ 38 - 0
services/dms-enterprise/struct_database.go

@@ -0,0 +1,38 @@
+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.
+
+// Database is a nested struct in dms_enterprise response
+type Database struct {
+	Port          int                        `json:"Port" xml:"Port"`
+	DbaName       string                     `json:"DbaName" xml:"DbaName"`
+	Logic         bool                       `json:"Logic" xml:"Logic"`
+	SchemaName    string                     `json:"SchemaName" xml:"SchemaName"`
+	Sid           string                     `json:"Sid" xml:"Sid"`
+	DbType        string                     `json:"DbType" xml:"DbType"`
+	DbaId         string                     `json:"DbaId" xml:"DbaId"`
+	DatabaseId    string                     `json:"DatabaseId" xml:"DatabaseId"`
+	Host          string                     `json:"Host" xml:"Host"`
+	State         string                     `json:"State" xml:"State"`
+	CatalogName   string                     `json:"CatalogName" xml:"CatalogName"`
+	EnvType       string                     `json:"EnvType" xml:"EnvType"`
+	Encoding      string                     `json:"Encoding" xml:"Encoding"`
+	SearchName    string                     `json:"SearchName" xml:"SearchName"`
+	InstanceId    string                     `json:"InstanceId" xml:"InstanceId"`
+	DbId          int                        `json:"DbId" xml:"DbId"`
+	OwnerNameList OwnerNameListInGetDatabase `json:"OwnerNameList" xml:"OwnerNameList"`
+	OwnerIdList   OwnerIdListInGetDatabase   `json:"OwnerIdList" xml:"OwnerIdList"`
+}

+ 36 - 0
services/dms-enterprise/struct_database_in_list_databases.go

@@ -0,0 +1,36 @@
+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.
+
+// DatabaseInListDatabases is a nested struct in dms_enterprise response
+type DatabaseInListDatabases struct {
+	InstanceId    string                       `json:"InstanceId" xml:"InstanceId"`
+	DatabaseId    string                       `json:"DatabaseId" xml:"DatabaseId"`
+	EnvType       string                       `json:"EnvType" xml:"EnvType"`
+	SchemaName    string                       `json:"SchemaName" xml:"SchemaName"`
+	CatalogName   string                       `json:"CatalogName" xml:"CatalogName"`
+	Encoding      string                       `json:"Encoding" xml:"Encoding"`
+	SearchName    string                       `json:"SearchName" xml:"SearchName"`
+	State         string                       `json:"State" xml:"State"`
+	DbType        string                       `json:"DbType" xml:"DbType"`
+	Host          string                       `json:"Host" xml:"Host"`
+	Port          int                          `json:"Port" xml:"Port"`
+	Sid           string                       `json:"Sid" xml:"Sid"`
+	DbaName       string                       `json:"DbaName" xml:"DbaName"`
+	DbaId         string                       `json:"DbaId" xml:"DbaId"`
+	OwnerIdList   OwnerIdListInListDatabases   `json:"OwnerIdList" xml:"OwnerIdList"`
+	OwnerNameList OwnerNameListInListDatabases `json:"OwnerNameList" xml:"OwnerNameList"`
+}

+ 21 - 0
services/dms-enterprise/struct_database_list_in_get_data_correct_order_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.
+
+// DatabaseListInGetDataCorrectOrderDetail is a nested struct in dms_enterprise response
+type DatabaseListInGetDataCorrectOrderDetail struct {
+	Database []Database `json:"Database" xml:"Database"`
+}

+ 21 - 0
services/dms-enterprise/struct_database_list_in_list_databases.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.
+
+// DatabaseListInListDatabases is a nested struct in dms_enterprise response
+type DatabaseListInListDatabases struct {
+	Database []DatabaseInListDatabases `json:"Database" xml:"Database"`
+}

+ 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"`
+}

+ 25 - 0
services/dms-enterprise/struct_index.go

@@ -0,0 +1,25 @@
+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.
+
+// Index is a nested struct in dms_enterprise response
+type Index struct {
+	IndexId      string `json:"IndexId" xml:"IndexId"`
+	TableId      string `json:"TableId" xml:"TableId"`
+	IndexName    string `json:"IndexName" xml:"IndexName"`
+	IndexType    string `json:"IndexType" xml:"IndexType"`
+	IndexComment string `json:"IndexComment" xml:"IndexComment"`
+}

+ 21 - 0
services/dms-enterprise/struct_index_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.
+
+// IndexList is a nested struct in dms_enterprise response
+type IndexList struct {
+	Index []Index `json:"Index" xml:"Index"`
+}

+ 42 - 0
services/dms-enterprise/struct_instance.go

@@ -0,0 +1,42 @@
+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.
+
+// Instance is a nested struct in dms_enterprise response
+type Instance struct {
+	DataLinkName     string `json:"DataLinkName" xml:"DataLinkName"`
+	Port             int    `json:"Port" xml:"Port"`
+	DatabasePassword string `json:"DatabasePassword" xml:"DatabasePassword"`
+	DbaNickName      string `json:"DbaNickName" xml:"DbaNickName"`
+	DdlOnline        int    `json:"DdlOnline" xml:"DdlOnline"`
+	Sid              string `json:"Sid" xml:"Sid"`
+	InstanceType     string `json:"InstanceType" xml:"InstanceType"`
+	QueryTimeout     int    `json:"QueryTimeout" xml:"QueryTimeout"`
+	DbaId            string `json:"DbaId" xml:"DbaId"`
+	EcsInstanceId    string `json:"EcsInstanceId" xml:"EcsInstanceId"`
+	InstanceSource   string `json:"InstanceSource" xml:"InstanceSource"`
+	Host             string `json:"Host" xml:"Host"`
+	SafeRuleId       string `json:"SafeRuleId" xml:"SafeRuleId"`
+	State            string `json:"State" xml:"State"`
+	EnvType          string `json:"EnvType" xml:"EnvType"`
+	InstanceId       string `json:"InstanceId" xml:"InstanceId"`
+	UseDsql          int    `json:"UseDsql" xml:"UseDsql"`
+	InstanceAlias    string `json:"InstanceAlias" xml:"InstanceAlias"`
+	ExportTimeout    int    `json:"ExportTimeout" xml:"ExportTimeout"`
+	VpcId            string `json:"VpcId" xml:"VpcId"`
+	DatabaseUser     string `json:"DatabaseUser" xml:"DatabaseUser"`
+	EcsRegion        string `json:"EcsRegion" xml:"EcsRegion"`
+}

+ 21 - 0
services/dms-enterprise/struct_instance_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.
+
+// InstanceList is a nested struct in dms_enterprise response
+type InstanceList struct {
+	Instance []Instance `json:"Instance" xml:"Instance"`
+}

+ 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"`
+}

+ 28 - 0
services/dms-enterprise/struct_logic_database.go

@@ -0,0 +1,28 @@
+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.
+
+// LogicDatabase is a nested struct in dms_enterprise response
+type LogicDatabase struct {
+	DatabaseId    string                          `json:"DatabaseId" xml:"DatabaseId"`
+	Logic         bool                            `json:"Logic" xml:"Logic"`
+	EnvType       string                          `json:"EnvType" xml:"EnvType"`
+	SearchName    string                          `json:"SearchName" xml:"SearchName"`
+	SchemaName    string                          `json:"SchemaName" xml:"SchemaName"`
+	DbType        string                          `json:"DbType" xml:"DbType"`
+	OwnerNameList OwnerNameListInGetLogicDatabase `json:"OwnerNameList" xml:"OwnerNameList"`
+	OwnerIdList   OwnerIdListInGetLogicDatabase   `json:"OwnerIdList" xml:"OwnerIdList"`
+}

+ 21 - 0
services/dms-enterprise/struct_logic_database_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.
+
+// LogicDatabaseList is a nested struct in dms_enterprise response
+type LogicDatabaseList struct {
+	LogicDatabase []LogicDatabase `json:"LogicDatabase" xml:"LogicDatabase"`
+}

+ 28 - 0
services/dms-enterprise/struct_logic_table.go

@@ -0,0 +1,28 @@
+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.
+
+// LogicTable is a nested struct in dms_enterprise response
+type LogicTable struct {
+	TableId       string                         `json:"TableId" xml:"TableId"`
+	DatabaseId    string                         `json:"DatabaseId" xml:"DatabaseId"`
+	TableName     string                         `json:"TableName" xml:"TableName"`
+	Logic         bool                           `json:"Logic" xml:"Logic"`
+	TableExpr     string                         `json:"TableExpr" xml:"TableExpr"`
+	TableCount    string                         `json:"TableCount" xml:"TableCount"`
+	OwnerIdList   OwnerIdListInListLogicTables   `json:"OwnerIdList" xml:"OwnerIdList"`
+	OwnerNameList OwnerNameListInListLogicTables `json:"OwnerNameList" xml:"OwnerNameList"`
+}

+ 21 - 0
services/dms-enterprise/struct_logic_table_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.
+
+// LogicTableList is a nested struct in dms_enterprise response
+type LogicTableList struct {
+	LogicTable []LogicTable `json:"LogicTable" xml:"LogicTable"`
+}

+ 2 - 2
services/dms-enterprise/struct_op_log_detail.go

@@ -17,11 +17,11 @@ package dms_enterprise
 
 // OpLogDetail is a nested struct in dms_enterprise response
 type OpLogDetail struct {
-	UserId    int    `json:"UserId" xml:"UserId"`
+	UserId    int64  `json:"UserId" xml:"UserId"`
 	UserNick  string `json:"UserNick" xml:"UserNick"`
 	Module    string `json:"Module" xml:"Module"`
 	OpContent string `json:"OpContent" xml:"OpContent"`
 	OpTime    string `json:"OpTime" xml:"OpTime"`
 	Database  string `json:"Database" xml:"Database"`
-	OrderId   int    `json:"OrderId" xml:"OrderId"`
+	OrderId   int64  `json:"OrderId" xml:"OrderId"`
 }

+ 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_owner_id_list_in_get_database.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.
+
+// OwnerIdListInGetDatabase is a nested struct in dms_enterprise response
+type OwnerIdListInGetDatabase struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_id_list_in_get_logic_database.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.
+
+// OwnerIdListInGetLogicDatabase is a nested struct in dms_enterprise response
+type OwnerIdListInGetLogicDatabase struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_id_list_in_list_databases.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.
+
+// OwnerIdListInListDatabases is a nested struct in dms_enterprise response
+type OwnerIdListInListDatabases struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_id_list_in_list_logic_databases.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.
+
+// OwnerIdListInListLogicDatabases is a nested struct in dms_enterprise response
+type OwnerIdListInListLogicDatabases struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_id_list_in_list_logic_tables.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.
+
+// OwnerIdListInListLogicTables is a nested struct in dms_enterprise response
+type OwnerIdListInListLogicTables struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_id_list_in_list_tables.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.
+
+// OwnerIdListInListTables is a nested struct in dms_enterprise response
+type OwnerIdListInListTables struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_id_list_in_search_database.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.
+
+// OwnerIdListInSearchDatabase is a nested struct in dms_enterprise response
+type OwnerIdListInSearchDatabase struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_id_list_in_search_table.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.
+
+// OwnerIdListInSearchTable is a nested struct in dms_enterprise response
+type OwnerIdListInSearchTable struct {
+	OwnerIds []string `json:"OwnerIds" xml:"OwnerIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_get_database.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.
+
+// OwnerNameListInGetDatabase is a nested struct in dms_enterprise response
+type OwnerNameListInGetDatabase struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_get_logic_database.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.
+
+// OwnerNameListInGetLogicDatabase is a nested struct in dms_enterprise response
+type OwnerNameListInGetLogicDatabase struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_list_databases.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.
+
+// OwnerNameListInListDatabases is a nested struct in dms_enterprise response
+type OwnerNameListInListDatabases struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_list_logic_databases.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.
+
+// OwnerNameListInListLogicDatabases is a nested struct in dms_enterprise response
+type OwnerNameListInListLogicDatabases struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_list_logic_tables.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.
+
+// OwnerNameListInListLogicTables is a nested struct in dms_enterprise response
+type OwnerNameListInListLogicTables struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_list_tables.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.
+
+// OwnerNameListInListTables is a nested struct in dms_enterprise response
+type OwnerNameListInListTables struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_search_database.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.
+
+// OwnerNameListInSearchDatabase is a nested struct in dms_enterprise response
+type OwnerNameListInSearchDatabase struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 21 - 0
services/dms-enterprise/struct_owner_name_list_in_search_table.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.
+
+// OwnerNameListInSearchTable is a nested struct in dms_enterprise response
+type OwnerNameListInSearchTable struct {
+	OwnerNames []string `json:"OwnerNames" xml:"OwnerNames"`
+}

+ 26 - 0
services/dms-enterprise/struct_perm_detail.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.
+
+// PermDetail is a nested struct in dms_enterprise response
+type PermDetail struct {
+	CreateDate   string `json:"CreateDate" xml:"CreateDate"`
+	OriginFrom   string `json:"OriginFrom" xml:"OriginFrom"`
+	PermType     string `json:"PermType" xml:"PermType"`
+	ExpireDate   string `json:"ExpireDate" xml:"ExpireDate"`
+	UserAccessId string `json:"UserAccessId" xml:"UserAccessId"`
+	ExtraData    string `json:"ExtraData" xml:"ExtraData"`
+}

+ 21 - 0
services/dms-enterprise/struct_perm_details_in_list_database_user_permssions.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.
+
+// PermDetailsInListDatabaseUserPermssions is a nested struct in dms_enterprise response
+type PermDetailsInListDatabaseUserPermssions struct {
+	PermDetail []PermDetail `json:"PermDetail" xml:"PermDetail"`
+}

+ 21 - 0
services/dms-enterprise/struct_perm_details_in_list_user_permissions.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.
+
+// PermDetailsInListUserPermissions is a nested struct in dms_enterprise response
+type PermDetailsInListUserPermissions struct {
+	PermDetail []PermDetail `json:"PermDetail" xml:"PermDetail"`
+}

+ 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"`
+}

+ 21 - 0
services/dms-enterprise/struct_role_id_list_in_get_user.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.
+
+// RoleIdListInGetUser is a nested struct in dms_enterprise response
+type RoleIdListInGetUser struct {
+	RoleIds []int `json:"RoleIds" xml:"RoleIds"`
+}

+ 21 - 0
services/dms-enterprise/struct_role_id_list_in_list_users.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.
+
+// RoleIdListInListUsers is a nested struct in dms_enterprise response
+type RoleIdListInListUsers struct {
+	RoleIds []int `json:"RoleIds" xml:"RoleIds"`
+}

Некоторые файлы не были показаны из-за большого количества измененных файлов