Browse Source

Generated 2019-01-23 for Drds.

sdk-team 6 years ago
parent
commit
c8a58ce5ad
100 changed files with 750 additions and 3391 deletions
  1. 3 0
      ChangeLog.txt
  2. 106 0
      services/drds/async_task_cancel.go
  3. 2 2
      services/drds/change_account_password.go
  4. 0 107
      services/drds/change_instance_azone.go
  5. 0 109
      services/drds/change_instance_network.go
  6. 0 106
      services/drds/check_capacity_data_ready.go
  7. 2 2
      services/drds/check_drds_db_name.go
  8. 0 104
      services/drds/check_drds_default_role.go
  9. 2 2
      services/drds/check_expand_status.go
  10. 107 0
      services/drds/check_new_table_name_valid.go
  11. 0 107
      services/drds/check_rds_expand_status.go
  12. 0 107
      services/drds/check_rds_super_account.go
  13. 0 104
      services/drds/check_sls_status.go
  14. 2 2
      services/drds/check_sql_audit_enable_status.go
  15. 25 0
      services/drds/client.go
  16. 0 113
      services/drds/configure_drds_db_instances.go
  17. 0 107
      services/drds/create_drds_account.go
  18. 25 6
      services/drds/create_drds_db.go
  19. 0 128
      services/drds/create_drds_db_pre_check.go
  20. 0 119
      services/drds/create_drds_db_preview.go
  21. 5 5
      services/drds/create_drds_instance.go
  22. 2 2
      services/drds/create_instance_account.go
  23. 1 1
      services/drds/create_instance_internet_address.go
  24. 1 1
      services/drds/create_order_for_rds.go
  25. 0 107
      services/drds/create_read_only_account.go
  26. 3 3
      services/drds/create_shard_task.go
  27. 3 3
      services/drds/datalink_replication_precheck.go
  28. 0 105
      services/drds/delete_failed_drds_db.go
  29. 2 2
      services/drds/delete_shard_tasks.go
  30. 1 1
      services/drds/describe_back_menu.go
  31. 4 4
      services/drds/describe_backup_dbs.go
  32. 1 1
      services/drds/describe_backup_local.go
  33. 1 1
      services/drds/describe_backup_policy.go
  34. 1 1
      services/drds/describe_backup_sets.go
  35. 1 1
      services/drds/describe_backup_times.go
  36. 3 3
      services/drds/describe_broadcast_tables.go
  37. 0 107
      services/drds/describe_can_expand_instance_detail_list.go
  38. 0 110
      services/drds/describe_candidate_instance_list.go
  39. 0 105
      services/drds/describe_console_config.go
  40. 0 105
      services/drds/describe_create_drds_instance_status.go
  41. 2 2
      services/drds/describe_db_instance_dbs.go
  42. 3 3
      services/drds/describe_db_instances.go
  43. 105 0
      services/drds/describe_drds_components.go
  44. 10 5
      services/drds/describe_drds_d_bs.go
  45. 5 5
      services/drds/describe_drds_db.go
  46. 5 5
      services/drds/describe_drds_db_cluster.go
  47. 5 5
      services/drds/describe_drds_db_instance.go
  48. 3 3
      services/drds/describe_drds_db_instances.go
  49. 5 5
      services/drds/describe_drds_db_ip_white_list.go
  50. 2 2
      services/drds/describe_drds_db_rds_name_list.go
  51. 0 106
      services/drds/describe_drds_db_rds_relation_info.go
  52. 0 106
      services/drds/describe_drds_db_relation_info.go
  53. 2 2
      services/drds/describe_drds_db_tasks.go
  54. 106 0
      services/drds/describe_drds_db_test_link.go
  55. 4 4
      services/drds/describe_drds_instance.go
  56. 5 5
      services/drds/describe_drds_instance_db_monitor.go
  57. 1 1
      services/drds/describe_drds_instance_level_tasks.go
  58. 3 4
      services/drds/describe_drds_instance_monitor.go
  59. 0 107
      services/drds/describe_drds_instance_net_info_for_inner.go
  60. 1 1
      services/drds/describe_drds_instance_version.go
  61. 18 6
      services/drds/describe_drds_instances.go
  62. 2 2
      services/drds/describe_drds_params.go
  63. 0 103
      services/drds/describe_drds_regions.go
  64. 2 2
      services/drds/describe_drds_sharding_dbs.go
  65. 3 3
      services/drds/describe_drds_slow_sqls.go
  66. 1 1
      services/drds/describe_drds_sql_audit_status.go
  67. 2 2
      services/drds/describe_drds_tasks.go
  68. 2 2
      services/drds/describe_expand_logic_table_info_list.go
  69. 2 2
      services/drds/describe_global_broadcast_type.go
  70. 1 1
      services/drds/describe_hi_store_instance_info.go
  71. 6 6
      services/drds/describe_hot_db_list.go
  72. 2 2
      services/drds/describe_inst_db_log_info.go
  73. 2 2
      services/drds/describe_inst_db_sls_info.go
  74. 1 1
      services/drds/describe_instance_accounts.go
  75. 1 1
      services/drds/describe_instance_menu_switch.go
  76. 1 1
      services/drds/describe_instance_switch_azone.go
  77. 1 1
      services/drds/describe_instance_switch_network.go
  78. 1 1
      services/drds/describe_pre_check_result.go
  79. 1 1
      services/drds/describe_rds_commodity.go
  80. 0 106
      services/drds/describe_rds_list.go
  81. 2 2
      services/drds/describe_rds_performance.go
  82. 1 1
      services/drds/describe_rds_performance_summary.go
  83. 0 105
      services/drds/describe_rds_price.go
  84. 2 2
      services/drds/describe_rds_super_account_instances.go
  85. 0 105
      services/drds/describe_rds_vpc_for_zone.go
  86. 0 106
      services/drds/describe_read_only_account.go
  87. 2 2
      services/drds/describe_recycle_bin_status.go
  88. 2 2
      services/drds/describe_recycle_bin_tables.go
  89. 0 104
      services/drds/describe_regions.go
  90. 3 3
      services/drds/describe_restore_order.go
  91. 0 106
      services/drds/describe_shard_d_bs.go
  92. 0 107
      services/drds/describe_shard_db_connection_info.go
  93. 3 3
      services/drds/describe_shard_task_info.go
  94. 3 3
      services/drds/describe_shard_task_list.go
  95. 1 1
      services/drds/describe_sql_flashbak_task.go
  96. 0 116
      services/drds/describe_src_rds_list.go
  97. 0 108
      services/drds/describe_storage_instance_sub_db_info.go
  98. 2 2
      services/drds/describe_table.go
  99. 3 3
      services/drds/describe_table_list_by_type.go
  100. 107 0
      services/drds/describe_table_sharding_info.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-12-02 Version: v1.60.279
+- Generated 2019-01-23 for `Drds`.
+
 2019-12-02 Version: v1.60.278
 - Update go sdk.
 

+ 106 - 0
services/drds/async_task_cancel.go

@@ -0,0 +1,106 @@
+package drds
+
+//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"
+)
+
+// AsyncTaskCancel invokes the drds.AsyncTaskCancel API synchronously
+// api document: https://help.aliyun.com/api/drds/asynctaskcancel.html
+func (client *Client) AsyncTaskCancel(request *AsyncTaskCancelRequest) (response *AsyncTaskCancelResponse, err error) {
+	response = CreateAsyncTaskCancelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AsyncTaskCancelWithChan invokes the drds.AsyncTaskCancel API asynchronously
+// api document: https://help.aliyun.com/api/drds/asynctaskcancel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AsyncTaskCancelWithChan(request *AsyncTaskCancelRequest) (<-chan *AsyncTaskCancelResponse, <-chan error) {
+	responseChan := make(chan *AsyncTaskCancelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AsyncTaskCancel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AsyncTaskCancelWithCallback invokes the drds.AsyncTaskCancel API asynchronously
+// api document: https://help.aliyun.com/api/drds/asynctaskcancel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AsyncTaskCancelWithCallback(request *AsyncTaskCancelRequest, callback func(response *AsyncTaskCancelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AsyncTaskCancelResponse
+		var err error
+		defer close(result)
+		response, err = client.AsyncTaskCancel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AsyncTaskCancelRequest is the request struct for api AsyncTaskCancel
+type AsyncTaskCancelRequest struct {
+	*requests.RpcRequest
+	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	TaskId         requests.Integer `position:"Query" name:"TaskId"`
+}
+
+// AsyncTaskCancelResponse is the response struct for api AsyncTaskCancel
+type AsyncTaskCancelResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      bool   `json:"Data" xml:"Data"`
+	Success   bool   `json:"Success" xml:"Success"`
+}
+
+// CreateAsyncTaskCancelRequest creates a request to invoke AsyncTaskCancel API
+func CreateAsyncTaskCancelRequest() (request *AsyncTaskCancelRequest) {
+	request = &AsyncTaskCancelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Drds", "2019-01-23", "AsyncTaskCancel", "Drds", "openAPI")
+	return
+}
+
+// CreateAsyncTaskCancelResponse creates a response to parse from AsyncTaskCancel response
+func CreateAsyncTaskCancelResponse() (response *AsyncTaskCancelResponse) {
+	response = &AsyncTaskCancelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/drds/change_account_password.go

@@ -76,9 +76,9 @@ func (client *Client) ChangeAccountPasswordWithCallback(request *ChangeAccountPa
 // ChangeAccountPasswordRequest is the request struct for api ChangeAccountPassword
 type ChangeAccountPasswordRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 	Password       string `position:"Query" name:"Password"`
 	AccountName    string `position:"Query" name:"AccountName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 }
 
 // ChangeAccountPasswordResponse is the response struct for api ChangeAccountPassword
@@ -93,7 +93,7 @@ func CreateChangeAccountPasswordRequest() (request *ChangeAccountPasswordRequest
 	request = &ChangeAccountPasswordRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "ChangeAccountPassword", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "ChangeAccountPassword", "Drds", "openAPI")
 	return
 }
 

+ 0 - 107
services/drds/change_instance_azone.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// ChangeInstanceAzone invokes the drds.ChangeInstanceAzone API synchronously
-// api document: https://help.aliyun.com/api/drds/changeinstanceazone.html
-func (client *Client) ChangeInstanceAzone(request *ChangeInstanceAzoneRequest) (response *ChangeInstanceAzoneResponse, err error) {
-	response = CreateChangeInstanceAzoneResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ChangeInstanceAzoneWithChan invokes the drds.ChangeInstanceAzone API asynchronously
-// api document: https://help.aliyun.com/api/drds/changeinstanceazone.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ChangeInstanceAzoneWithChan(request *ChangeInstanceAzoneRequest) (<-chan *ChangeInstanceAzoneResponse, <-chan error) {
-	responseChan := make(chan *ChangeInstanceAzoneResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ChangeInstanceAzone(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ChangeInstanceAzoneWithCallback invokes the drds.ChangeInstanceAzone API asynchronously
-// api document: https://help.aliyun.com/api/drds/changeinstanceazone.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ChangeInstanceAzoneWithCallback(request *ChangeInstanceAzoneRequest, callback func(response *ChangeInstanceAzoneResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ChangeInstanceAzoneResponse
-		var err error
-		defer close(result)
-		response, err = client.ChangeInstanceAzone(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ChangeInstanceAzoneRequest is the request struct for api ChangeInstanceAzone
-type ChangeInstanceAzoneRequest struct {
-	*requests.RpcRequest
-	OriginAzoneId  string `position:"Query" name:"OriginAzoneId"`
-	TargetAzoneId  string `position:"Query" name:"TargetAzoneId"`
-	DrdsRegionId   string `position:"Query" name:"DrdsRegionId"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// ChangeInstanceAzoneResponse is the response struct for api ChangeInstanceAzone
-type ChangeInstanceAzoneResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-}
-
-// CreateChangeInstanceAzoneRequest creates a request to invoke ChangeInstanceAzone API
-func CreateChangeInstanceAzoneRequest() (request *ChangeInstanceAzoneRequest) {
-	request = &ChangeInstanceAzoneRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "ChangeInstanceAzone", "drds", "openAPI")
-	return
-}
-
-// CreateChangeInstanceAzoneResponse creates a response to parse from ChangeInstanceAzone response
-func CreateChangeInstanceAzoneResponse() (response *ChangeInstanceAzoneResponse) {
-	response = &ChangeInstanceAzoneResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/drds/change_instance_network.go

@@ -1,109 +0,0 @@
-package drds
-
-//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"
-)
-
-// ChangeInstanceNetwork invokes the drds.ChangeInstanceNetwork API synchronously
-// api document: https://help.aliyun.com/api/drds/changeinstancenetwork.html
-func (client *Client) ChangeInstanceNetwork(request *ChangeInstanceNetworkRequest) (response *ChangeInstanceNetworkResponse, err error) {
-	response = CreateChangeInstanceNetworkResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ChangeInstanceNetworkWithChan invokes the drds.ChangeInstanceNetwork API asynchronously
-// api document: https://help.aliyun.com/api/drds/changeinstancenetwork.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ChangeInstanceNetworkWithChan(request *ChangeInstanceNetworkRequest) (<-chan *ChangeInstanceNetworkResponse, <-chan error) {
-	responseChan := make(chan *ChangeInstanceNetworkResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ChangeInstanceNetwork(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ChangeInstanceNetworkWithCallback invokes the drds.ChangeInstanceNetwork API asynchronously
-// api document: https://help.aliyun.com/api/drds/changeinstancenetwork.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ChangeInstanceNetworkWithCallback(request *ChangeInstanceNetworkRequest, callback func(response *ChangeInstanceNetworkResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ChangeInstanceNetworkResponse
-		var err error
-		defer close(result)
-		response, err = client.ChangeInstanceNetwork(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ChangeInstanceNetworkRequest is the request struct for api ChangeInstanceNetwork
-type ChangeInstanceNetworkRequest struct {
-	*requests.RpcRequest
-	VswitchId              string           `position:"Query" name:"VswitchId"`
-	RetainClassic          requests.Boolean `position:"Query" name:"RetainClassic"`
-	ClassicExpiredDays     requests.Integer `position:"Query" name:"ClassicExpiredDays"`
-	VpcId                  string           `position:"Query" name:"VpcId"`
-	SrcInstanceNetworkType string           `position:"Query" name:"SrcInstanceNetworkType"`
-	DrdsInstanceId         string           `position:"Query" name:"DrdsInstanceId"`
-}
-
-// ChangeInstanceNetworkResponse is the response struct for api ChangeInstanceNetwork
-type ChangeInstanceNetworkResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-}
-
-// CreateChangeInstanceNetworkRequest creates a request to invoke ChangeInstanceNetwork API
-func CreateChangeInstanceNetworkRequest() (request *ChangeInstanceNetworkRequest) {
-	request = &ChangeInstanceNetworkRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "ChangeInstanceNetwork", "drds", "openAPI")
-	return
-}
-
-// CreateChangeInstanceNetworkResponse creates a response to parse from ChangeInstanceNetwork response
-func CreateChangeInstanceNetworkResponse() (response *ChangeInstanceNetworkResponse) {
-	response = &ChangeInstanceNetworkResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/drds/check_capacity_data_ready.go

@@ -1,106 +0,0 @@
-package drds
-
-//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"
-)
-
-// CheckCapacityDataReady invokes the drds.CheckCapacityDataReady API synchronously
-// api document: https://help.aliyun.com/api/drds/checkcapacitydataready.html
-func (client *Client) CheckCapacityDataReady(request *CheckCapacityDataReadyRequest) (response *CheckCapacityDataReadyResponse, err error) {
-	response = CreateCheckCapacityDataReadyResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CheckCapacityDataReadyWithChan invokes the drds.CheckCapacityDataReady API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkcapacitydataready.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckCapacityDataReadyWithChan(request *CheckCapacityDataReadyRequest) (<-chan *CheckCapacityDataReadyResponse, <-chan error) {
-	responseChan := make(chan *CheckCapacityDataReadyResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CheckCapacityDataReady(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CheckCapacityDataReadyWithCallback invokes the drds.CheckCapacityDataReady API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkcapacitydataready.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckCapacityDataReadyWithCallback(request *CheckCapacityDataReadyRequest, callback func(response *CheckCapacityDataReadyResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CheckCapacityDataReadyResponse
-		var err error
-		defer close(result)
-		response, err = client.CheckCapacityDataReady(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CheckCapacityDataReadyRequest is the request struct for api CheckCapacityDataReady
-type CheckCapacityDataReadyRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// CheckCapacityDataReadyResponse is the response struct for api CheckCapacityDataReady
-type CheckCapacityDataReadyResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateCheckCapacityDataReadyRequest creates a request to invoke CheckCapacityDataReady API
-func CreateCheckCapacityDataReadyRequest() (request *CheckCapacityDataReadyRequest) {
-	request = &CheckCapacityDataReadyRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckCapacityDataReady", "drds", "openAPI")
-	return
-}
-
-// CreateCheckCapacityDataReadyResponse creates a response to parse from CheckCapacityDataReady response
-func CreateCheckCapacityDataReadyResponse() (response *CheckCapacityDataReadyResponse) {
-	response = &CheckCapacityDataReadyResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/check_drds_db_name.go

@@ -76,8 +76,8 @@ func (client *Client) CheckDrdsDbNameWithCallback(request *CheckDrdsDbNameReques
 // CheckDrdsDbNameRequest is the request struct for api CheckDrdsDbName
 type CheckDrdsDbNameRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // CheckDrdsDbNameResponse is the response struct for api CheckDrdsDbName
@@ -93,7 +93,7 @@ func CreateCheckDrdsDbNameRequest() (request *CheckDrdsDbNameRequest) {
 	request = &CheckDrdsDbNameRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckDrdsDbName", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CheckDrdsDbName", "Drds", "openAPI")
 	return
 }
 

+ 0 - 104
services/drds/check_drds_default_role.go

@@ -1,104 +0,0 @@
-package drds
-
-//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"
-)
-
-// CheckDrdsDefaultRole invokes the drds.CheckDrdsDefaultRole API synchronously
-// api document: https://help.aliyun.com/api/drds/checkdrdsdefaultrole.html
-func (client *Client) CheckDrdsDefaultRole(request *CheckDrdsDefaultRoleRequest) (response *CheckDrdsDefaultRoleResponse, err error) {
-	response = CreateCheckDrdsDefaultRoleResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CheckDrdsDefaultRoleWithChan invokes the drds.CheckDrdsDefaultRole API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkdrdsdefaultrole.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckDrdsDefaultRoleWithChan(request *CheckDrdsDefaultRoleRequest) (<-chan *CheckDrdsDefaultRoleResponse, <-chan error) {
-	responseChan := make(chan *CheckDrdsDefaultRoleResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CheckDrdsDefaultRole(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CheckDrdsDefaultRoleWithCallback invokes the drds.CheckDrdsDefaultRole API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkdrdsdefaultrole.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckDrdsDefaultRoleWithCallback(request *CheckDrdsDefaultRoleRequest, callback func(response *CheckDrdsDefaultRoleResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CheckDrdsDefaultRoleResponse
-		var err error
-		defer close(result)
-		response, err = client.CheckDrdsDefaultRole(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CheckDrdsDefaultRoleRequest is the request struct for api CheckDrdsDefaultRole
-type CheckDrdsDefaultRoleRequest struct {
-	*requests.RpcRequest
-}
-
-// CheckDrdsDefaultRoleResponse is the response struct for api CheckDrdsDefaultRole
-type CheckDrdsDefaultRoleResponse struct {
-	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	Success   bool      `json:"Success" xml:"Success"`
-	RoleAuths RoleAuths `json:"RoleAuths" xml:"RoleAuths"`
-}
-
-// CreateCheckDrdsDefaultRoleRequest creates a request to invoke CheckDrdsDefaultRole API
-func CreateCheckDrdsDefaultRoleRequest() (request *CheckDrdsDefaultRoleRequest) {
-	request = &CheckDrdsDefaultRoleRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckDrdsDefaultRole", "drds", "openAPI")
-	return
-}
-
-// CreateCheckDrdsDefaultRoleResponse creates a response to parse from CheckDrdsDefaultRole response
-func CreateCheckDrdsDefaultRoleResponse() (response *CheckDrdsDefaultRoleResponse) {
-	response = &CheckDrdsDefaultRoleResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/check_expand_status.go

@@ -76,8 +76,8 @@ func (client *Client) CheckExpandStatusWithCallback(request *CheckExpandStatusRe
 // CheckExpandStatusRequest is the request struct for api CheckExpandStatus
 type CheckExpandStatusRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // CheckExpandStatusResponse is the response struct for api CheckExpandStatus
@@ -93,7 +93,7 @@ func CreateCheckExpandStatusRequest() (request *CheckExpandStatusRequest) {
 	request = &CheckExpandStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckExpandStatus", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CheckExpandStatus", "Drds", "openAPI")
 	return
 }
 

+ 107 - 0
services/drds/check_new_table_name_valid.go

@@ -0,0 +1,107 @@
+package drds
+
+//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"
+)
+
+// CheckNewTableNameValid invokes the drds.CheckNewTableNameValid API synchronously
+// api document: https://help.aliyun.com/api/drds/checknewtablenamevalid.html
+func (client *Client) CheckNewTableNameValid(request *CheckNewTableNameValidRequest) (response *CheckNewTableNameValidResponse, err error) {
+	response = CreateCheckNewTableNameValidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckNewTableNameValidWithChan invokes the drds.CheckNewTableNameValid API asynchronously
+// api document: https://help.aliyun.com/api/drds/checknewtablenamevalid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckNewTableNameValidWithChan(request *CheckNewTableNameValidRequest) (<-chan *CheckNewTableNameValidResponse, <-chan error) {
+	responseChan := make(chan *CheckNewTableNameValidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckNewTableNameValid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckNewTableNameValidWithCallback invokes the drds.CheckNewTableNameValid API asynchronously
+// api document: https://help.aliyun.com/api/drds/checknewtablenamevalid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckNewTableNameValidWithCallback(request *CheckNewTableNameValidRequest, callback func(response *CheckNewTableNameValidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckNewTableNameValidResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckNewTableNameValid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckNewTableNameValidRequest is the request struct for api CheckNewTableNameValid
+type CheckNewTableNameValidRequest struct {
+	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
+	TableName      string `position:"Query" name:"TableName"`
+}
+
+// CheckNewTableNameValidResponse is the response struct for api CheckNewTableNameValid
+type CheckNewTableNameValidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      bool   `json:"Data" xml:"Data"`
+}
+
+// CreateCheckNewTableNameValidRequest creates a request to invoke CheckNewTableNameValid API
+func CreateCheckNewTableNameValidRequest() (request *CheckNewTableNameValidRequest) {
+	request = &CheckNewTableNameValidRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Drds", "2019-01-23", "CheckNewTableNameValid", "Drds", "openAPI")
+	return
+}
+
+// CreateCheckNewTableNameValidResponse creates a response to parse from CheckNewTableNameValid response
+func CreateCheckNewTableNameValidResponse() (response *CheckNewTableNameValidResponse) {
+	response = &CheckNewTableNameValidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/drds/check_rds_expand_status.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// CheckRdsExpandStatus invokes the drds.CheckRdsExpandStatus API synchronously
-// api document: https://help.aliyun.com/api/drds/checkrdsexpandstatus.html
-func (client *Client) CheckRdsExpandStatus(request *CheckRdsExpandStatusRequest) (response *CheckRdsExpandStatusResponse, err error) {
-	response = CreateCheckRdsExpandStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CheckRdsExpandStatusWithChan invokes the drds.CheckRdsExpandStatus API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkrdsexpandstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckRdsExpandStatusWithChan(request *CheckRdsExpandStatusRequest) (<-chan *CheckRdsExpandStatusResponse, <-chan error) {
-	responseChan := make(chan *CheckRdsExpandStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CheckRdsExpandStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CheckRdsExpandStatusWithCallback invokes the drds.CheckRdsExpandStatus API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkrdsexpandstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckRdsExpandStatusWithCallback(request *CheckRdsExpandStatusRequest, callback func(response *CheckRdsExpandStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CheckRdsExpandStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.CheckRdsExpandStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CheckRdsExpandStatusRequest is the request struct for api CheckRdsExpandStatus
-type CheckRdsExpandStatusRequest struct {
-	*requests.RpcRequest
-	InstanceList   *[]string `position:"Query" name:"InstanceList"  type:"Repeated"`
-	DbName         string    `position:"Query" name:"DbName"`
-	DrdsInstanceId string    `position:"Query" name:"DrdsInstanceId"`
-}
-
-// CheckRdsExpandStatusResponse is the response struct for api CheckRdsExpandStatus
-type CheckRdsExpandStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
-}
-
-// CreateCheckRdsExpandStatusRequest creates a request to invoke CheckRdsExpandStatus API
-func CreateCheckRdsExpandStatusRequest() (request *CheckRdsExpandStatusRequest) {
-	request = &CheckRdsExpandStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckRdsExpandStatus", "drds", "openAPI")
-	return
-}
-
-// CreateCheckRdsExpandStatusResponse creates a response to parse from CheckRdsExpandStatus response
-func CreateCheckRdsExpandStatusResponse() (response *CheckRdsExpandStatusResponse) {
-	response = &CheckRdsExpandStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/drds/check_rds_super_account.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// CheckRdsSuperAccount invokes the drds.CheckRdsSuperAccount API synchronously
-// api document: https://help.aliyun.com/api/drds/checkrdssuperaccount.html
-func (client *Client) CheckRdsSuperAccount(request *CheckRdsSuperAccountRequest) (response *CheckRdsSuperAccountResponse, err error) {
-	response = CreateCheckRdsSuperAccountResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CheckRdsSuperAccountWithChan invokes the drds.CheckRdsSuperAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkrdssuperaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckRdsSuperAccountWithChan(request *CheckRdsSuperAccountRequest) (<-chan *CheckRdsSuperAccountResponse, <-chan error) {
-	responseChan := make(chan *CheckRdsSuperAccountResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CheckRdsSuperAccount(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CheckRdsSuperAccountWithCallback invokes the drds.CheckRdsSuperAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkrdssuperaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckRdsSuperAccountWithCallback(request *CheckRdsSuperAccountRequest, callback func(response *CheckRdsSuperAccountResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CheckRdsSuperAccountResponse
-		var err error
-		defer close(result)
-		response, err = client.CheckRdsSuperAccount(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CheckRdsSuperAccountRequest is the request struct for api CheckRdsSuperAccount
-type CheckRdsSuperAccountRequest struct {
-	*requests.RpcRequest
-	Password       string `position:"Query" name:"Password"`
-	AccountName    string `position:"Query" name:"AccountName"`
-	DbInstanceId   string `position:"Query" name:"DbInstanceId"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// CheckRdsSuperAccountResponse is the response struct for api CheckRdsSuperAccount
-type CheckRdsSuperAccountResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-}
-
-// CreateCheckRdsSuperAccountRequest creates a request to invoke CheckRdsSuperAccount API
-func CreateCheckRdsSuperAccountRequest() (request *CheckRdsSuperAccountRequest) {
-	request = &CheckRdsSuperAccountRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckRdsSuperAccount", "drds", "openAPI")
-	return
-}
-
-// CreateCheckRdsSuperAccountResponse creates a response to parse from CheckRdsSuperAccount response
-func CreateCheckRdsSuperAccountResponse() (response *CheckRdsSuperAccountResponse) {
-	response = &CheckRdsSuperAccountResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/drds/check_sls_status.go

@@ -1,104 +0,0 @@
-package drds
-
-//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"
-)
-
-// CheckSlsStatus invokes the drds.CheckSlsStatus API synchronously
-// api document: https://help.aliyun.com/api/drds/checkslsstatus.html
-func (client *Client) CheckSlsStatus(request *CheckSlsStatusRequest) (response *CheckSlsStatusResponse, err error) {
-	response = CreateCheckSlsStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CheckSlsStatusWithChan invokes the drds.CheckSlsStatus API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkslsstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckSlsStatusWithChan(request *CheckSlsStatusRequest) (<-chan *CheckSlsStatusResponse, <-chan error) {
-	responseChan := make(chan *CheckSlsStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CheckSlsStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CheckSlsStatusWithCallback invokes the drds.CheckSlsStatus API asynchronously
-// api document: https://help.aliyun.com/api/drds/checkslsstatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckSlsStatusWithCallback(request *CheckSlsStatusRequest, callback func(response *CheckSlsStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CheckSlsStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.CheckSlsStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CheckSlsStatusRequest is the request struct for api CheckSlsStatus
-type CheckSlsStatusRequest struct {
-	*requests.RpcRequest
-}
-
-// CheckSlsStatusResponse is the response struct for api CheckSlsStatus
-type CheckSlsStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Status    string `json:"Status" xml:"Status"`
-}
-
-// CreateCheckSlsStatusRequest creates a request to invoke CheckSlsStatus API
-func CreateCheckSlsStatusRequest() (request *CheckSlsStatusRequest) {
-	request = &CheckSlsStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckSlsStatus", "drds", "openAPI")
-	return
-}
-
-// CreateCheckSlsStatusResponse creates a response to parse from CheckSlsStatus response
-func CreateCheckSlsStatusResponse() (response *CheckSlsStatusResponse) {
-	response = &CheckSlsStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/check_sql_audit_enable_status.go

@@ -76,8 +76,8 @@ func (client *Client) CheckSqlAuditEnableStatusWithCallback(request *CheckSqlAud
 // CheckSqlAuditEnableStatusRequest is the request struct for api CheckSqlAuditEnableStatus
 type CheckSqlAuditEnableStatusRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // CheckSqlAuditEnableStatusResponse is the response struct for api CheckSqlAuditEnableStatus
@@ -93,7 +93,7 @@ func CreateCheckSqlAuditEnableStatusRequest() (request *CheckSqlAuditEnableStatu
 	request = &CheckSqlAuditEnableStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CheckSqlAuditEnableStatus", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CheckSqlAuditEnableStatus", "Drds", "openAPI")
 	return
 }
 

+ 25 - 0
services/drds/client.go

@@ -16,6 +16,8 @@ package drds
 // 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"
@@ -26,10 +28,25 @@ 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
 }
 
@@ -44,6 +61,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 		pc = provider.NewProviderChain(providers)
 	}
 	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -52,6 +70,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 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
 }
 
@@ -60,6 +79,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -68,6 +88,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -76,6 +97,7 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 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
 }
 
@@ -84,6 +106,7 @@ func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, role
 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
 }
 
@@ -92,6 +115,7 @@ func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySec
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -100,5 +124,6 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 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
 }

+ 0 - 113
services/drds/configure_drds_db_instances.go

@@ -1,113 +0,0 @@
-package drds
-
-//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"
-)
-
-// ConfigureDrdsDbInstances invokes the drds.ConfigureDrdsDbInstances API synchronously
-// api document: https://help.aliyun.com/api/drds/configuredrdsdbinstances.html
-func (client *Client) ConfigureDrdsDbInstances(request *ConfigureDrdsDbInstancesRequest) (response *ConfigureDrdsDbInstancesResponse, err error) {
-	response = CreateConfigureDrdsDbInstancesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ConfigureDrdsDbInstancesWithChan invokes the drds.ConfigureDrdsDbInstances API asynchronously
-// api document: https://help.aliyun.com/api/drds/configuredrdsdbinstances.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ConfigureDrdsDbInstancesWithChan(request *ConfigureDrdsDbInstancesRequest) (<-chan *ConfigureDrdsDbInstancesResponse, <-chan error) {
-	responseChan := make(chan *ConfigureDrdsDbInstancesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ConfigureDrdsDbInstances(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ConfigureDrdsDbInstancesWithCallback invokes the drds.ConfigureDrdsDbInstances API asynchronously
-// api document: https://help.aliyun.com/api/drds/configuredrdsdbinstances.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ConfigureDrdsDbInstancesWithCallback(request *ConfigureDrdsDbInstancesRequest, callback func(response *ConfigureDrdsDbInstancesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ConfigureDrdsDbInstancesResponse
-		var err error
-		defer close(result)
-		response, err = client.ConfigureDrdsDbInstances(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ConfigureDrdsDbInstancesRequest is the request struct for api ConfigureDrdsDbInstances
-type ConfigureDrdsDbInstancesRequest struct {
-	*requests.RpcRequest
-	DbName         string                                `position:"Query" name:"DbName"`
-	DbInstance     *[]ConfigureDrdsDbInstancesDbInstance `position:"Query" name:"DbInstance"  type:"Repeated"`
-	DrdsInstanceId string                                `position:"Query" name:"DrdsInstanceId"`
-}
-
-// ConfigureDrdsDbInstancesDbInstance is a repeated param struct in ConfigureDrdsDbInstancesRequest
-type ConfigureDrdsDbInstancesDbInstance struct {
-	SlaveDbInstanceType string `name:"SlaveDbInstanceType"`
-	SlaveDbInstanceId   string `name:"SlaveDbInstanceId"`
-	MasterDbInstanceId  string `name:"MasterDbInstanceId"`
-}
-
-// ConfigureDrdsDbInstancesResponse is the response struct for api ConfigureDrdsDbInstances
-type ConfigureDrdsDbInstancesResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-}
-
-// CreateConfigureDrdsDbInstancesRequest creates a request to invoke ConfigureDrdsDbInstances API
-func CreateConfigureDrdsDbInstancesRequest() (request *ConfigureDrdsDbInstancesRequest) {
-	request = &ConfigureDrdsDbInstancesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "ConfigureDrdsDbInstances", "drds", "openAPI")
-	return
-}
-
-// CreateConfigureDrdsDbInstancesResponse creates a response to parse from ConfigureDrdsDbInstances response
-func CreateConfigureDrdsDbInstancesResponse() (response *ConfigureDrdsDbInstancesResponse) {
-	response = &ConfigureDrdsDbInstancesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/drds/create_drds_account.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// CreateDrdsAccount invokes the drds.CreateDrdsAccount API synchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsaccount.html
-func (client *Client) CreateDrdsAccount(request *CreateDrdsAccountRequest) (response *CreateDrdsAccountResponse, err error) {
-	response = CreateCreateDrdsAccountResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateDrdsAccountWithChan invokes the drds.CreateDrdsAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDrdsAccountWithChan(request *CreateDrdsAccountRequest) (<-chan *CreateDrdsAccountResponse, <-chan error) {
-	responseChan := make(chan *CreateDrdsAccountResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateDrdsAccount(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateDrdsAccountWithCallback invokes the drds.CreateDrdsAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDrdsAccountWithCallback(request *CreateDrdsAccountRequest, callback func(response *CreateDrdsAccountResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateDrdsAccountResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateDrdsAccount(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateDrdsAccountRequest is the request struct for api CreateDrdsAccount
-type CreateDrdsAccountRequest struct {
-	*requests.RpcRequest
-	Password       string `position:"Query" name:"Password"`
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-	UserName       string `position:"Query" name:"UserName"`
-}
-
-// CreateDrdsAccountResponse is the response struct for api CreateDrdsAccount
-type CreateDrdsAccountResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-}
-
-// CreateCreateDrdsAccountRequest creates a request to invoke CreateDrdsAccount API
-func CreateCreateDrdsAccountRequest() (request *CreateDrdsAccountRequest) {
-	request = &CreateDrdsAccountRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "CreateDrdsAccount", "drds", "openAPI")
-	return
-}
-
-// CreateCreateDrdsAccountResponse creates a response to parse from CreateDrdsAccount response
-func CreateCreateDrdsAccountResponse() (response *CreateDrdsAccountResponse) {
-	response = &CreateDrdsAccountResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 25 - 6
services/drds/create_drds_db.go

@@ -76,11 +76,30 @@ func (client *Client) CreateDrdsDBWithCallback(request *CreateDrdsDBRequest, cal
 // CreateDrdsDBRequest is the request struct for api CreateDrdsDB
 type CreateDrdsDBRequest struct {
 	*requests.RpcRequest
-	Encode         string `position:"Query" name:"Encode"`
-	Password       string `position:"Query" name:"Password"`
-	DbName         string `position:"Query" name:"DbName"`
-	RdsInstances   string `position:"Query" name:"RdsInstances"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	Encode               string                         `position:"Query" name:"Encode"`
+	RdsInstance          *[]string                      `position:"Query" name:"RdsInstance"  type:"Repeated"`
+	Type                 string                         `position:"Query" name:"Type"`
+	Password             string                         `position:"Query" name:"Password"`
+	RdsSuperAccount      *[]CreateDrdsDBRdsSuperAccount `position:"Query" name:"RdsSuperAccount"  type:"Repeated"`
+	AccountName          string                         `position:"Query" name:"AccountName"`
+	DrdsInstanceId       string                         `position:"Query" name:"DrdsInstanceId"`
+	DbInstanceIsCreating requests.Boolean               `position:"Query" name:"DbInstanceIsCreating"`
+	InstDbName           *[]CreateDrdsDBInstDbName      `position:"Query" name:"InstDbName"  type:"Repeated"`
+	DbName               string                         `position:"Query" name:"DbName"`
+	DbInstType           string                         `position:"Query" name:"DbInstType"`
+}
+
+// CreateDrdsDBRdsSuperAccount is a repeated param struct in CreateDrdsDBRequest
+type CreateDrdsDBRdsSuperAccount struct {
+	Password     string `name:"Password"`
+	AccountName  string `name:"AccountName"`
+	DbInstanceId string `name:"DbInstanceId"`
+}
+
+// CreateDrdsDBInstDbName is a repeated param struct in CreateDrdsDBRequest
+type CreateDrdsDBInstDbName struct {
+	ShardDbName  *[]string `name:"ShardDbName" type:"Repeated"`
+	DbInstanceId string    `name:"DbInstanceId"`
 }
 
 // CreateDrdsDBResponse is the response struct for api CreateDrdsDB
@@ -95,7 +114,7 @@ func CreateCreateDrdsDBRequest() (request *CreateDrdsDBRequest) {
 	request = &CreateDrdsDBRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "CreateDrdsDB", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CreateDrdsDB", "Drds", "openAPI")
 	return
 }
 

+ 0 - 128
services/drds/create_drds_db_pre_check.go

@@ -1,128 +0,0 @@
-package drds
-
-//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"
-)
-
-// CreateDrdsDBPreCheck invokes the drds.CreateDrdsDBPreCheck API synchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsdbprecheck.html
-func (client *Client) CreateDrdsDBPreCheck(request *CreateDrdsDBPreCheckRequest) (response *CreateDrdsDBPreCheckResponse, err error) {
-	response = CreateCreateDrdsDBPreCheckResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateDrdsDBPreCheckWithChan invokes the drds.CreateDrdsDBPreCheck API asynchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsdbprecheck.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDrdsDBPreCheckWithChan(request *CreateDrdsDBPreCheckRequest) (<-chan *CreateDrdsDBPreCheckResponse, <-chan error) {
-	responseChan := make(chan *CreateDrdsDBPreCheckResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateDrdsDBPreCheck(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateDrdsDBPreCheckWithCallback invokes the drds.CreateDrdsDBPreCheck API asynchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsdbprecheck.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDrdsDBPreCheckWithCallback(request *CreateDrdsDBPreCheckRequest, callback func(response *CreateDrdsDBPreCheckResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateDrdsDBPreCheckResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateDrdsDBPreCheck(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateDrdsDBPreCheckRequest is the request struct for api CreateDrdsDBPreCheck
-type CreateDrdsDBPreCheckRequest struct {
-	*requests.RpcRequest
-	Encode               string                                 `position:"Query" name:"Encode"`
-	InstDbName           *[]CreateDrdsDBPreCheckInstDbName      `position:"Query" name:"InstDbName"  type:"Repeated"`
-	Password             string                                 `position:"Query" name:"Password"`
-	RdsSuperAccount      *[]CreateDrdsDBPreCheckRdsSuperAccount `position:"Query" name:"RdsSuperAccount"  type:"Repeated"`
-	DbName               string                                 `position:"Query" name:"DbName"`
-	AccountName          string                                 `position:"Query" name:"AccountName"`
-	RdsInstance          *[]string                              `position:"Query" name:"RdsInstance"  type:"Repeated"`
-	Type                 string                                 `position:"Query" name:"Type"`
-	DbInstType           string                                 `position:"Query" name:"DbInstType"`
-	DrdsInstanceId       string                                 `position:"Query" name:"DrdsInstanceId"`
-	DbInstanceIsCreating requests.Boolean                       `position:"Query" name:"DbInstanceIsCreating"`
-}
-
-// CreateDrdsDBPreCheckInstDbName is a repeated param struct in CreateDrdsDBPreCheckRequest
-type CreateDrdsDBPreCheckInstDbName struct {
-	ShardDbName  *[]string `name:"ShardDbName" type:"Repeated"`
-	DbInstanceId string    `name:"DbInstanceId"`
-}
-
-// CreateDrdsDBPreCheckRdsSuperAccount is a repeated param struct in CreateDrdsDBPreCheckRequest
-type CreateDrdsDBPreCheckRdsSuperAccount struct {
-	Password     string `name:"Password"`
-	AccountName  string `name:"AccountName"`
-	DbInstanceId string `name:"DbInstanceId"`
-}
-
-// CreateDrdsDBPreCheckResponse is the response struct for api CreateDrdsDBPreCheck
-type CreateDrdsDBPreCheckResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	TaskId    int64  `json:"TaskId" xml:"TaskId"`
-}
-
-// CreateCreateDrdsDBPreCheckRequest creates a request to invoke CreateDrdsDBPreCheck API
-func CreateCreateDrdsDBPreCheckRequest() (request *CreateDrdsDBPreCheckRequest) {
-	request = &CreateDrdsDBPreCheckRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CreateDrdsDBPreCheck", "drds", "openAPI")
-	return
-}
-
-// CreateCreateDrdsDBPreCheckResponse creates a response to parse from CreateDrdsDBPreCheck response
-func CreateCreateDrdsDBPreCheckResponse() (response *CreateDrdsDBPreCheckResponse) {
-	response = &CreateDrdsDBPreCheckResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 119
services/drds/create_drds_db_preview.go

@@ -1,119 +0,0 @@
-package drds
-
-//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"
-)
-
-// CreateDrdsDBPreview invokes the drds.CreateDrdsDBPreview API synchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsdbpreview.html
-func (client *Client) CreateDrdsDBPreview(request *CreateDrdsDBPreviewRequest) (response *CreateDrdsDBPreviewResponse, err error) {
-	response = CreateCreateDrdsDBPreviewResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateDrdsDBPreviewWithChan invokes the drds.CreateDrdsDBPreview API asynchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsdbpreview.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDrdsDBPreviewWithChan(request *CreateDrdsDBPreviewRequest) (<-chan *CreateDrdsDBPreviewResponse, <-chan error) {
-	responseChan := make(chan *CreateDrdsDBPreviewResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateDrdsDBPreview(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateDrdsDBPreviewWithCallback invokes the drds.CreateDrdsDBPreview API asynchronously
-// api document: https://help.aliyun.com/api/drds/createdrdsdbpreview.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDrdsDBPreviewWithCallback(request *CreateDrdsDBPreviewRequest, callback func(response *CreateDrdsDBPreviewResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateDrdsDBPreviewResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateDrdsDBPreview(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateDrdsDBPreviewRequest is the request struct for api CreateDrdsDBPreview
-type CreateDrdsDBPreviewRequest struct {
-	*requests.RpcRequest
-	InstDbName           *[]CreateDrdsDBPreviewInstDbName `position:"Query" name:"InstDbName"  type:"Repeated"`
-	DbName               string                           `position:"Query" name:"DbName"`
-	AccountName          string                           `position:"Query" name:"AccountName"`
-	OrderId              string                           `position:"Query" name:"OrderId"`
-	RdsInstance          *[]string                        `position:"Query" name:"RdsInstance"  type:"Repeated"`
-	Type                 string                           `position:"Query" name:"Type"`
-	DbInstType           string                           `position:"Query" name:"DbInstType"`
-	DrdsInstanceId       string                           `position:"Query" name:"DrdsInstanceId"`
-	DbInstanceIsCreating requests.Boolean                 `position:"Query" name:"DbInstanceIsCreating"`
-}
-
-// CreateDrdsDBPreviewInstDbName is a repeated param struct in CreateDrdsDBPreviewRequest
-type CreateDrdsDBPreviewInstDbName struct {
-	ShardDbName  *[]string `name:"ShardDbName" type:"Repeated"`
-	DbInstanceId string    `name:"DbInstanceId"`
-}
-
-// CreateDrdsDBPreviewResponse is the response struct for api CreateDrdsDBPreview
-type CreateDrdsDBPreviewResponse struct {
-	*responses.BaseResponse
-	RequestId string                     `json:"RequestId" xml:"RequestId"`
-	Success   bool                       `json:"Success" xml:"Success"`
-	Items     ItemsInCreateDrdsDBPreview `json:"Items" xml:"Items"`
-}
-
-// CreateCreateDrdsDBPreviewRequest creates a request to invoke CreateDrdsDBPreview API
-func CreateCreateDrdsDBPreviewRequest() (request *CreateDrdsDBPreviewRequest) {
-	request = &CreateDrdsDBPreviewRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CreateDrdsDBPreview", "drds", "openAPI")
-	return
-}
-
-// CreateCreateDrdsDBPreviewResponse creates a response to parse from CreateDrdsDBPreview response
-func CreateCreateDrdsDBPreviewResponse() (response *CreateDrdsDBPreviewResponse) {
-	response = &CreateDrdsDBPreviewResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 5 - 5
services/drds/create_drds_instance.go

@@ -77,15 +77,15 @@ func (client *Client) CreateDrdsInstanceWithCallback(request *CreateDrdsInstance
 type CreateDrdsInstanceRequest struct {
 	*requests.RpcRequest
 	IsAutoRenew    requests.Boolean `position:"Query" name:"IsAutoRenew"`
-	Quantity       requests.Integer `position:"Query" name:"Quantity"`
 	ClientToken    string           `position:"Query" name:"ClientToken"`
 	Description    string           `position:"Query" name:"Description"`
-	Specification  string           `position:"Query" name:"Specification"`
 	Type           string           `position:"Query" name:"Type"`
-	VswitchId      string           `position:"Query" name:"VswitchId"`
 	Duration       requests.Integer `position:"Query" name:"Duration"`
-	IsHa           requests.Boolean `position:"Query" name:"IsHa"`
+	IsHa           requests.Boolean `position:"Query" name:"isHa"`
 	InstanceSeries string           `position:"Query" name:"InstanceSeries"`
+	Quantity       requests.Integer `position:"Query" name:"Quantity"`
+	Specification  string           `position:"Query" name:"Specification"`
+	VswitchId      string           `position:"Query" name:"VswitchId"`
 	VpcId          string           `position:"Query" name:"VpcId"`
 	ZoneId         string           `position:"Query" name:"ZoneId"`
 	PayType        string           `position:"Query" name:"PayType"`
@@ -105,7 +105,7 @@ func CreateCreateDrdsInstanceRequest() (request *CreateDrdsInstanceRequest) {
 	request = &CreateDrdsInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "CreateDrdsInstance", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CreateDrdsInstance", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/create_instance_account.go

@@ -76,9 +76,9 @@ func (client *Client) CreateInstanceAccountWithCallback(request *CreateInstanceA
 // CreateInstanceAccountRequest is the request struct for api CreateInstanceAccount
 type CreateInstanceAccountRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string                              `position:"Query" name:"DrdsInstanceId"`
 	Password       string                              `position:"Query" name:"Password"`
 	AccountName    string                              `position:"Query" name:"AccountName"`
-	DrdsInstanceId string                              `position:"Query" name:"DrdsInstanceId"`
 	DbPrivilege    *[]CreateInstanceAccountDbPrivilege `position:"Query" name:"DbPrivilege"  type:"Repeated"`
 }
 
@@ -100,7 +100,7 @@ func CreateCreateInstanceAccountRequest() (request *CreateInstanceAccountRequest
 	request = &CreateInstanceAccountRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CreateInstanceAccount", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CreateInstanceAccount", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/create_instance_internet_address.go

@@ -94,7 +94,7 @@ func CreateCreateInstanceInternetAddressRequest() (request *CreateInstanceIntern
 	request = &CreateInstanceInternetAddressRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CreateInstanceInternetAddress", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CreateInstanceInternetAddress", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/create_order_for_rds.go

@@ -92,7 +92,7 @@ func CreateCreateOrderForRdsRequest() (request *CreateOrderForRdsRequest) {
 	request = &CreateOrderForRdsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CreateOrderForRds", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CreateOrderForRds", "Drds", "openAPI")
 	return
 }
 

+ 0 - 107
services/drds/create_read_only_account.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// CreateReadOnlyAccount invokes the drds.CreateReadOnlyAccount API synchronously
-// api document: https://help.aliyun.com/api/drds/createreadonlyaccount.html
-func (client *Client) CreateReadOnlyAccount(request *CreateReadOnlyAccountRequest) (response *CreateReadOnlyAccountResponse, err error) {
-	response = CreateCreateReadOnlyAccountResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateReadOnlyAccountWithChan invokes the drds.CreateReadOnlyAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/createreadonlyaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateReadOnlyAccountWithChan(request *CreateReadOnlyAccountRequest) (<-chan *CreateReadOnlyAccountResponse, <-chan error) {
-	responseChan := make(chan *CreateReadOnlyAccountResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateReadOnlyAccount(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateReadOnlyAccountWithCallback invokes the drds.CreateReadOnlyAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/createreadonlyaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateReadOnlyAccountWithCallback(request *CreateReadOnlyAccountRequest, callback func(response *CreateReadOnlyAccountResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateReadOnlyAccountResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateReadOnlyAccount(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateReadOnlyAccountRequest is the request struct for api CreateReadOnlyAccount
-type CreateReadOnlyAccountRequest struct {
-	*requests.RpcRequest
-	Password       string `position:"Query" name:"password"`
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// CreateReadOnlyAccountResponse is the response struct for api CreateReadOnlyAccount
-type CreateReadOnlyAccountResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
-}
-
-// CreateCreateReadOnlyAccountRequest creates a request to invoke CreateReadOnlyAccount API
-func CreateCreateReadOnlyAccountRequest() (request *CreateReadOnlyAccountRequest) {
-	request = &CreateReadOnlyAccountRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "CreateReadOnlyAccount", "drds", "openAPI")
-	return
-}
-
-// CreateCreateReadOnlyAccountResponse creates a response to parse from CreateReadOnlyAccount response
-func CreateCreateReadOnlyAccountResponse() (response *CreateReadOnlyAccountResponse) {
-	response = &CreateReadOnlyAccountResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 3 - 3
services/drds/create_shard_task.go

@@ -77,10 +77,10 @@ func (client *Client) CreateShardTaskWithCallback(request *CreateShardTaskReques
 type CreateShardTaskRequest struct {
 	*requests.RpcRequest
 	TaskType        string `position:"Query" name:"TaskType"`
-	DbName          string `position:"Query" name:"DbName"`
-	SourceTableName string `position:"Query" name:"SourceTableName"`
 	TargetTableName string `position:"Query" name:"TargetTableName"`
 	DrdsInstanceId  string `position:"Query" name:"DrdsInstanceId"`
+	DbName          string `position:"Query" name:"DbName"`
+	SourceTableName string `position:"Query" name:"SourceTableName"`
 }
 
 // CreateShardTaskResponse is the response struct for api CreateShardTask
@@ -96,7 +96,7 @@ func CreateCreateShardTaskRequest() (request *CreateShardTaskRequest) {
 	request = &CreateShardTaskRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "CreateShardTask", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "CreateShardTask", "Drds", "openAPI")
 	return
 }
 

+ 3 - 3
services/drds/datalink_replication_precheck.go

@@ -76,10 +76,10 @@ func (client *Client) DatalinkReplicationPrecheckWithCallback(request *DatalinkR
 // DatalinkReplicationPrecheckRequest is the request struct for api DatalinkReplicationPrecheck
 type DatalinkReplicationPrecheckRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	SrcTableName   string `position:"Query" name:"SrcTableName"`
-	DstTableName   string `position:"Query" name:"DstTableName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
+	DstTableName   string `position:"Query" name:"DstTableName"`
 }
 
 // DatalinkReplicationPrecheckResponse is the response struct for api DatalinkReplicationPrecheck
@@ -95,7 +95,7 @@ func CreateDatalinkReplicationPrecheckRequest() (request *DatalinkReplicationPre
 	request = &DatalinkReplicationPrecheckRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DatalinkReplicationPrecheck", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DatalinkReplicationPrecheck", "Drds", "openAPI")
 	return
 }
 

+ 0 - 105
services/drds/delete_failed_drds_db.go

@@ -1,105 +0,0 @@
-package drds
-
-//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"
-)
-
-// DeleteFailedDrdsDB invokes the drds.DeleteFailedDrdsDB API synchronously
-// api document: https://help.aliyun.com/api/drds/deletefaileddrdsdb.html
-func (client *Client) DeleteFailedDrdsDB(request *DeleteFailedDrdsDBRequest) (response *DeleteFailedDrdsDBResponse, err error) {
-	response = CreateDeleteFailedDrdsDBResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteFailedDrdsDBWithChan invokes the drds.DeleteFailedDrdsDB API asynchronously
-// api document: https://help.aliyun.com/api/drds/deletefaileddrdsdb.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFailedDrdsDBWithChan(request *DeleteFailedDrdsDBRequest) (<-chan *DeleteFailedDrdsDBResponse, <-chan error) {
-	responseChan := make(chan *DeleteFailedDrdsDBResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteFailedDrdsDB(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteFailedDrdsDBWithCallback invokes the drds.DeleteFailedDrdsDB API asynchronously
-// api document: https://help.aliyun.com/api/drds/deletefaileddrdsdb.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFailedDrdsDBWithCallback(request *DeleteFailedDrdsDBRequest, callback func(response *DeleteFailedDrdsDBResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteFailedDrdsDBResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteFailedDrdsDB(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteFailedDrdsDBRequest is the request struct for api DeleteFailedDrdsDB
-type DeleteFailedDrdsDBRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DeleteFailedDrdsDBResponse is the response struct for api DeleteFailedDrdsDB
-type DeleteFailedDrdsDBResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-}
-
-// CreateDeleteFailedDrdsDBRequest creates a request to invoke DeleteFailedDrdsDB API
-func CreateDeleteFailedDrdsDBRequest() (request *DeleteFailedDrdsDBRequest) {
-	request = &DeleteFailedDrdsDBRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DeleteFailedDrdsDB", "drds", "openAPI")
-	return
-}
-
-// CreateDeleteFailedDrdsDBResponse creates a response to parse from DeleteFailedDrdsDB response
-func CreateDeleteFailedDrdsDBResponse() (response *DeleteFailedDrdsDBResponse) {
-	response = &DeleteFailedDrdsDBResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/delete_shard_tasks.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteShardTasksWithCallback(request *DeleteShardTasksRequ
 // DeleteShardTasksRequest is the request struct for api DeleteShardTasks
 type DeleteShardTasksRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string                       `position:"Query" name:"DrdsInstanceId"`
 	DbName         string                       `position:"Query" name:"DbName"`
 	TableName      *[]DeleteShardTasksTableName `position:"Query" name:"TableName"  type:"Repeated"`
-	DrdsInstanceId string                       `position:"Query" name:"DrdsInstanceId"`
 }
 
 // DeleteShardTasksTableName is a repeated param struct in DeleteShardTasksRequest
@@ -100,7 +100,7 @@ func CreateDeleteShardTasksRequest() (request *DeleteShardTasksRequest) {
 	request = &DeleteShardTasksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DeleteShardTasks", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DeleteShardTasks", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_back_menu.go

@@ -92,7 +92,7 @@ func CreateDescribeBackMenuRequest() (request *DescribeBackMenuRequest) {
 	request = &DescribeBackMenuRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackMenu", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackMenu", "Drds", "openAPI")
 	return
 }
 

+ 4 - 4
services/drds/describe_backup_dbs.go

@@ -84,9 +84,9 @@ type DescribeBackupDbsRequest struct {
 // DescribeBackupDbsResponse is the response struct for api DescribeBackupDbs
 type DescribeBackupDbsResponse struct {
 	*responses.BaseResponse
-	RequestId string                     `json:"RequestId" xml:"RequestId"`
-	Success   bool                       `json:"Success" xml:"Success"`
-	DbNames   DbNamesInDescribeBackupDbs `json:"DbNames" xml:"DbNames"`
+	RequestId string  `json:"RequestId" xml:"RequestId"`
+	Success   bool    `json:"Success" xml:"Success"`
+	DbNames   DbNames `json:"DbNames" xml:"DbNames"`
 }
 
 // CreateDescribeBackupDbsRequest creates a request to invoke DescribeBackupDbs API
@@ -94,7 +94,7 @@ func CreateDescribeBackupDbsRequest() (request *DescribeBackupDbsRequest) {
 	request = &DescribeBackupDbsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupDbs", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupDbs", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_backup_local.go

@@ -92,7 +92,7 @@ func CreateDescribeBackupLocalRequest() (request *DescribeBackupLocalRequest) {
 	request = &DescribeBackupLocalRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupLocal", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupLocal", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_backup_policy.go

@@ -92,7 +92,7 @@ func CreateDescribeBackupPolicyRequest() (request *DescribeBackupPolicyRequest)
 	request = &DescribeBackupPolicyRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupPolicy", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupPolicy", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_backup_sets.go

@@ -94,7 +94,7 @@ func CreateDescribeBackupSetsRequest() (request *DescribeBackupSetsRequest) {
 	request = &DescribeBackupSetsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupSets", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupSets", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_backup_times.go

@@ -92,7 +92,7 @@ func CreateDescribeBackupTimesRequest() (request *DescribeBackupTimesRequest) {
 	request = &DescribeBackupTimesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupTimes", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBackupTimes", "Drds", "openAPI")
 	return
 }
 

+ 3 - 3
services/drds/describe_broadcast_tables.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeBroadcastTablesWithCallback(request *DescribeBroad
 // DescribeBroadcastTablesRequest is the request struct for api DescribeBroadcastTables
 type DescribeBroadcastTablesRequest struct {
 	*requests.RpcRequest
-	DbName         string           `position:"Query" name:"DbName"`
 	Query          string           `position:"Query" name:"Query"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	CurrentPage    requests.Integer `position:"Query" name:"CurrentPage"`
 	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	DbName         string           `position:"Query" name:"DbName"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeBroadcastTablesResponse is the response struct for api DescribeBroadcastTables
@@ -100,7 +100,7 @@ func CreateDescribeBroadcastTablesRequest() (request *DescribeBroadcastTablesReq
 	request = &DescribeBroadcastTablesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBroadcastTables", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeBroadcastTables", "Drds", "openAPI")
 	return
 }
 

+ 0 - 107
services/drds/describe_can_expand_instance_detail_list.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeCanExpandInstanceDetailList invokes the drds.DescribeCanExpandInstanceDetailList API synchronously
-// api document: https://help.aliyun.com/api/drds/describecanexpandinstancedetaillist.html
-func (client *Client) DescribeCanExpandInstanceDetailList(request *DescribeCanExpandInstanceDetailListRequest) (response *DescribeCanExpandInstanceDetailListResponse, err error) {
-	response = CreateDescribeCanExpandInstanceDetailListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCanExpandInstanceDetailListWithChan invokes the drds.DescribeCanExpandInstanceDetailList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describecanexpandinstancedetaillist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCanExpandInstanceDetailListWithChan(request *DescribeCanExpandInstanceDetailListRequest) (<-chan *DescribeCanExpandInstanceDetailListResponse, <-chan error) {
-	responseChan := make(chan *DescribeCanExpandInstanceDetailListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCanExpandInstanceDetailList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCanExpandInstanceDetailListWithCallback invokes the drds.DescribeCanExpandInstanceDetailList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describecanexpandinstancedetaillist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCanExpandInstanceDetailListWithCallback(request *DescribeCanExpandInstanceDetailListRequest, callback func(response *DescribeCanExpandInstanceDetailListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCanExpandInstanceDetailListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCanExpandInstanceDetailList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCanExpandInstanceDetailListRequest is the request struct for api DescribeCanExpandInstanceDetailList
-type DescribeCanExpandInstanceDetailListRequest struct {
-	*requests.RpcRequest
-	CurrentPlan    string `position:"Query" name:"CurrentPlan"`
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeCanExpandInstanceDetailListResponse is the response struct for api DescribeCanExpandInstanceDetailList
-type DescribeCanExpandInstanceDetailListResponse struct {
-	*responses.BaseResponse
-	RequestId string                                    `json:"RequestId" xml:"RequestId"`
-	Success   bool                                      `json:"Success" xml:"Success"`
-	Data      DataInDescribeCanExpandInstanceDetailList `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeCanExpandInstanceDetailListRequest creates a request to invoke DescribeCanExpandInstanceDetailList API
-func CreateDescribeCanExpandInstanceDetailListRequest() (request *DescribeCanExpandInstanceDetailListRequest) {
-	request = &DescribeCanExpandInstanceDetailListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeCanExpandInstanceDetailList", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeCanExpandInstanceDetailListResponse creates a response to parse from DescribeCanExpandInstanceDetailList response
-func CreateDescribeCanExpandInstanceDetailListResponse() (response *DescribeCanExpandInstanceDetailListResponse) {
-	response = &DescribeCanExpandInstanceDetailListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/drds/describe_candidate_instance_list.go

@@ -1,110 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeCandidateInstanceList invokes the drds.DescribeCandidateInstanceList API synchronously
-// api document: https://help.aliyun.com/api/drds/describecandidateinstancelist.html
-func (client *Client) DescribeCandidateInstanceList(request *DescribeCandidateInstanceListRequest) (response *DescribeCandidateInstanceListResponse, err error) {
-	response = CreateDescribeCandidateInstanceListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCandidateInstanceListWithChan invokes the drds.DescribeCandidateInstanceList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describecandidateinstancelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCandidateInstanceListWithChan(request *DescribeCandidateInstanceListRequest) (<-chan *DescribeCandidateInstanceListResponse, <-chan error) {
-	responseChan := make(chan *DescribeCandidateInstanceListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCandidateInstanceList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCandidateInstanceListWithCallback invokes the drds.DescribeCandidateInstanceList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describecandidateinstancelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCandidateInstanceListWithCallback(request *DescribeCandidateInstanceListRequest, callback func(response *DescribeCandidateInstanceListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCandidateInstanceListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCandidateInstanceList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCandidateInstanceListRequest is the request struct for api DescribeCandidateInstanceList
-type DescribeCandidateInstanceListRequest struct {
-	*requests.RpcRequest
-	Search         string           `position:"Query" name:"Search"`
-	DbName         string           `position:"Query" name:"DbName"`
-	AcrossZone     requests.Boolean `position:"Query" name:"AcrossZone"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
-	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
-	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
-}
-
-// DescribeCandidateInstanceListResponse is the response struct for api DescribeCandidateInstanceList
-type DescribeCandidateInstanceListResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeCandidateInstanceListRequest creates a request to invoke DescribeCandidateInstanceList API
-func CreateDescribeCandidateInstanceListRequest() (request *DescribeCandidateInstanceListRequest) {
-	request = &DescribeCandidateInstanceListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeCandidateInstanceList", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeCandidateInstanceListResponse creates a response to parse from DescribeCandidateInstanceList response
-func CreateDescribeCandidateInstanceListResponse() (response *DescribeCandidateInstanceListResponse) {
-	response = &DescribeCandidateInstanceListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/drds/describe_console_config.go

@@ -1,105 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeConsoleConfig invokes the drds.DescribeConsoleConfig API synchronously
-// api document: https://help.aliyun.com/api/drds/describeconsoleconfig.html
-func (client *Client) DescribeConsoleConfig(request *DescribeConsoleConfigRequest) (response *DescribeConsoleConfigResponse, err error) {
-	response = CreateDescribeConsoleConfigResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeConsoleConfigWithChan invokes the drds.DescribeConsoleConfig API asynchronously
-// api document: https://help.aliyun.com/api/drds/describeconsoleconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeConsoleConfigWithChan(request *DescribeConsoleConfigRequest) (<-chan *DescribeConsoleConfigResponse, <-chan error) {
-	responseChan := make(chan *DescribeConsoleConfigResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeConsoleConfig(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeConsoleConfigWithCallback invokes the drds.DescribeConsoleConfig API asynchronously
-// api document: https://help.aliyun.com/api/drds/describeconsoleconfig.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeConsoleConfigWithCallback(request *DescribeConsoleConfigRequest, callback func(response *DescribeConsoleConfigResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeConsoleConfigResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeConsoleConfig(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeConsoleConfigRequest is the request struct for api DescribeConsoleConfig
-type DescribeConsoleConfigRequest struct {
-	*requests.RpcRequest
-	Type string `position:"Query" name:"Type"`
-}
-
-// DescribeConsoleConfigResponse is the response struct for api DescribeConsoleConfig
-type DescribeConsoleConfigResponse struct {
-	*responses.BaseResponse
-	RequestId string                 `json:"RequestId" xml:"RequestId"`
-	Success   bool                   `json:"Success" xml:"Success"`
-	Config    map[string]interface{} `json:"Config" xml:"Config"`
-}
-
-// CreateDescribeConsoleConfigRequest creates a request to invoke DescribeConsoleConfig API
-func CreateDescribeConsoleConfigRequest() (request *DescribeConsoleConfigRequest) {
-	request = &DescribeConsoleConfigRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeConsoleConfig", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeConsoleConfigResponse creates a response to parse from DescribeConsoleConfig response
-func CreateDescribeConsoleConfigResponse() (response *DescribeConsoleConfigResponse) {
-	response = &DescribeConsoleConfigResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/drds/describe_create_drds_instance_status.go

@@ -1,105 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeCreateDrdsInstanceStatus invokes the drds.DescribeCreateDrdsInstanceStatus API synchronously
-// api document: https://help.aliyun.com/api/drds/describecreatedrdsinstancestatus.html
-func (client *Client) DescribeCreateDrdsInstanceStatus(request *DescribeCreateDrdsInstanceStatusRequest) (response *DescribeCreateDrdsInstanceStatusResponse, err error) {
-	response = CreateDescribeCreateDrdsInstanceStatusResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCreateDrdsInstanceStatusWithChan invokes the drds.DescribeCreateDrdsInstanceStatus API asynchronously
-// api document: https://help.aliyun.com/api/drds/describecreatedrdsinstancestatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCreateDrdsInstanceStatusWithChan(request *DescribeCreateDrdsInstanceStatusRequest) (<-chan *DescribeCreateDrdsInstanceStatusResponse, <-chan error) {
-	responseChan := make(chan *DescribeCreateDrdsInstanceStatusResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCreateDrdsInstanceStatus(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCreateDrdsInstanceStatusWithCallback invokes the drds.DescribeCreateDrdsInstanceStatus API asynchronously
-// api document: https://help.aliyun.com/api/drds/describecreatedrdsinstancestatus.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCreateDrdsInstanceStatusWithCallback(request *DescribeCreateDrdsInstanceStatusRequest, callback func(response *DescribeCreateDrdsInstanceStatusResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCreateDrdsInstanceStatusResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCreateDrdsInstanceStatus(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCreateDrdsInstanceStatusRequest is the request struct for api DescribeCreateDrdsInstanceStatus
-type DescribeCreateDrdsInstanceStatusRequest struct {
-	*requests.RpcRequest
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeCreateDrdsInstanceStatusResponse is the response struct for api DescribeCreateDrdsInstanceStatus
-type DescribeCreateDrdsInstanceStatusResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeCreateDrdsInstanceStatusRequest creates a request to invoke DescribeCreateDrdsInstanceStatus API
-func CreateDescribeCreateDrdsInstanceStatusRequest() (request *DescribeCreateDrdsInstanceStatusRequest) {
-	request = &DescribeCreateDrdsInstanceStatusRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeCreateDrdsInstanceStatus", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeCreateDrdsInstanceStatusResponse creates a response to parse from DescribeCreateDrdsInstanceStatus response
-func CreateDescribeCreateDrdsInstanceStatusResponse() (response *DescribeCreateDrdsInstanceStatusResponse) {
-	response = &DescribeCreateDrdsInstanceStatusResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/describe_db_instance_dbs.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeDbInstanceDbsWithCallback(request *DescribeDbInsta
 // DescribeDbInstanceDbsRequest is the request struct for api DescribeDbInstanceDbs
 type DescribeDbInstanceDbsRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 	Password       string `position:"Query" name:"Password"`
 	AccountName    string `position:"Query" name:"AccountName"`
 	DbInstanceId   string `position:"Query" name:"DbInstanceId"`
 	DbInstType     string `position:"Query" name:"DbInstType"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 }
 
 // DescribeDbInstanceDbsResponse is the response struct for api DescribeDbInstanceDbs
@@ -97,7 +97,7 @@ func CreateDescribeDbInstanceDbsRequest() (request *DescribeDbInstanceDbsRequest
 	request = &DescribeDbInstanceDbsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDbInstanceDbs", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDbInstanceDbs", "Drds", "openAPI")
 	return
 }
 

+ 3 - 3
services/drds/describe_db_instances.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeDbInstancesWithCallback(request *DescribeDbInstanc
 // DescribeDbInstancesRequest is the request struct for api DescribeDbInstances
 type DescribeDbInstancesRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
 	Search         string           `position:"Query" name:"Search"`
 	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	DbInstType     string           `position:"Query" name:"DbInstType"`
-	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
-	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeDbInstancesResponse is the response struct for api DescribeDbInstances
@@ -95,7 +95,7 @@ func CreateDescribeDbInstancesRequest() (request *DescribeDbInstancesRequest) {
 	request = &DescribeDbInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDbInstances", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDbInstances", "Drds", "openAPI")
 	return
 }
 

+ 105 - 0
services/drds/describe_drds_components.go

@@ -0,0 +1,105 @@
+package drds
+
+//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"
+)
+
+// DescribeDrdsComponents invokes the drds.DescribeDrdsComponents API synchronously
+// api document: https://help.aliyun.com/api/drds/describedrdscomponents.html
+func (client *Client) DescribeDrdsComponents(request *DescribeDrdsComponentsRequest) (response *DescribeDrdsComponentsResponse, err error) {
+	response = CreateDescribeDrdsComponentsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDrdsComponentsWithChan invokes the drds.DescribeDrdsComponents API asynchronously
+// api document: https://help.aliyun.com/api/drds/describedrdscomponents.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDrdsComponentsWithChan(request *DescribeDrdsComponentsRequest) (<-chan *DescribeDrdsComponentsResponse, <-chan error) {
+	responseChan := make(chan *DescribeDrdsComponentsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDrdsComponents(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDrdsComponentsWithCallback invokes the drds.DescribeDrdsComponents API asynchronously
+// api document: https://help.aliyun.com/api/drds/describedrdscomponents.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDrdsComponentsWithCallback(request *DescribeDrdsComponentsRequest, callback func(response *DescribeDrdsComponentsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDrdsComponentsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDrdsComponents(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDrdsComponentsRequest is the request struct for api DescribeDrdsComponents
+type DescribeDrdsComponentsRequest struct {
+	*requests.RpcRequest
+	CommodityCode string `position:"Query" name:"CommodityCode"`
+}
+
+// DescribeDrdsComponentsResponse is the response struct for api DescribeDrdsComponents
+type DescribeDrdsComponentsResponse struct {
+	*responses.BaseResponse
+	RequestId      string         `json:"RequestId" xml:"RequestId"`
+	Success        bool           `json:"Success" xml:"Success"`
+	DrdsComponents DrdsComponents `json:"DrdsComponents" xml:"DrdsComponents"`
+}
+
+// CreateDescribeDrdsComponentsRequest creates a request to invoke DescribeDrdsComponents API
+func CreateDescribeDrdsComponentsRequest() (request *DescribeDrdsComponentsRequest) {
+	request = &DescribeDrdsComponentsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsComponents", "Drds", "openAPI")
+	return
+}
+
+// CreateDescribeDrdsComponentsResponse creates a response to parse from DescribeDrdsComponents response
+func CreateDescribeDrdsComponentsResponse() (response *DescribeDrdsComponentsResponse) {
+	response = &DescribeDrdsComponentsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 10 - 5
services/drds/describe_drds_d_bs.go

@@ -76,15 +76,20 @@ func (client *Client) DescribeDrdsDBsWithCallback(request *DescribeDrdsDBsReques
 // DescribeDrdsDBsRequest is the request struct for api DescribeDrdsDBs
 type DescribeDrdsDBsRequest struct {
 	*requests.RpcRequest
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeDrdsDBsResponse is the response struct for api DescribeDrdsDBs
 type DescribeDrdsDBsResponse struct {
 	*responses.BaseResponse
-	RequestId string                `json:"RequestId" xml:"RequestId"`
-	Success   bool                  `json:"Success" xml:"Success"`
-	Data      DataInDescribeDrdsDBs `json:"Data" xml:"Data"`
+	RequestId  string                `json:"RequestId" xml:"RequestId"`
+	Success    bool                  `json:"Success" xml:"Success"`
+	PageNumber string                `json:"PageNumber" xml:"PageNumber"`
+	PageSize   string                `json:"PageSize" xml:"PageSize"`
+	Total      string                `json:"Total" xml:"Total"`
+	Data       DataInDescribeDrdsDBs `json:"Data" xml:"Data"`
 }
 
 // CreateDescribeDrdsDBsRequest creates a request to invoke DescribeDrdsDBs API
@@ -92,7 +97,7 @@ func CreateDescribeDrdsDBsRequest() (request *DescribeDrdsDBsRequest) {
 	request = &DescribeDrdsDBsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsDBs", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDBs", "Drds", "openAPI")
 	return
 }
 

+ 5 - 5
services/drds/describe_drds_db.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeDrdsDBWithCallback(request *DescribeDrdsDBRequest,
 // DescribeDrdsDBRequest is the request struct for api DescribeDrdsDB
 type DescribeDrdsDBRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeDrdsDBResponse is the response struct for api DescribeDrdsDB
 type DescribeDrdsDBResponse struct {
 	*responses.BaseResponse
-	RequestId string               `json:"RequestId" xml:"RequestId"`
-	Success   bool                 `json:"Success" xml:"Success"`
-	Data      DataInDescribeDrdsDB `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateDescribeDrdsDBRequest creates a request to invoke DescribeDrdsDB API
@@ -93,7 +93,7 @@ func CreateDescribeDrdsDBRequest() (request *DescribeDrdsDBRequest) {
 	request = &DescribeDrdsDBRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsDB", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDB", "Drds", "openAPI")
 	return
 }
 

+ 5 - 5
services/drds/describe_drds_db_cluster.go

@@ -76,17 +76,17 @@ func (client *Client) DescribeDrdsDBClusterWithCallback(request *DescribeDrdsDBC
 // DescribeDrdsDBClusterRequest is the request struct for api DescribeDrdsDBCluster
 type DescribeDrdsDBClusterRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 	DbName         string `position:"Query" name:"DbName"`
 	DbInstanceId   string `position:"Query" name:"DbInstanceId"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 }
 
 // DescribeDrdsDBClusterResponse is the response struct for api DescribeDrdsDBCluster
 type DescribeDrdsDBClusterResponse struct {
 	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	Success    bool       `json:"Success" xml:"Success"`
-	DbInstance DbInstance `json:"DbInstance" xml:"DbInstance"`
+	RequestId  string                            `json:"RequestId" xml:"RequestId"`
+	Success    bool                              `json:"Success" xml:"Success"`
+	DbInstance DbInstanceInDescribeDrdsDBCluster `json:"DbInstance" xml:"DbInstance"`
 }
 
 // CreateDescribeDrdsDBClusterRequest creates a request to invoke DescribeDrdsDBCluster API
@@ -94,7 +94,7 @@ func CreateDescribeDrdsDBClusterRequest() (request *DescribeDrdsDBClusterRequest
 	request = &DescribeDrdsDBClusterRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDBCluster", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDBCluster", "Drds", "openAPI")
 	return
 }
 

+ 5 - 5
services/drds/describe_drds_db_instance.go

@@ -76,17 +76,17 @@ func (client *Client) DescribeDrdsDbInstanceWithCallback(request *DescribeDrdsDb
 // DescribeDrdsDbInstanceRequest is the request struct for api DescribeDrdsDbInstance
 type DescribeDrdsDbInstanceRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 	DbName         string `position:"Query" name:"DbName"`
 	DbInstanceId   string `position:"Query" name:"DbInstanceId"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 }
 
 // DescribeDrdsDbInstanceResponse is the response struct for api DescribeDrdsDbInstance
 type DescribeDrdsDbInstanceResponse struct {
 	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	Success    bool       `json:"Success" xml:"Success"`
-	DbInstance DbInstance `json:"DbInstance" xml:"DbInstance"`
+	RequestId  string                             `json:"RequestId" xml:"RequestId"`
+	Success    bool                               `json:"Success" xml:"Success"`
+	DbInstance DbInstanceInDescribeDrdsDbInstance `json:"DbInstance" xml:"DbInstance"`
 }
 
 // CreateDescribeDrdsDbInstanceRequest creates a request to invoke DescribeDrdsDbInstance API
@@ -94,7 +94,7 @@ func CreateDescribeDrdsDbInstanceRequest() (request *DescribeDrdsDbInstanceReque
 	request = &DescribeDrdsDbInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbInstance", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbInstance", "Drds", "openAPI")
 	return
 }
 

+ 3 - 3
services/drds/describe_drds_db_instances.go

@@ -76,10 +76,10 @@ func (client *Client) DescribeDrdsDbInstancesWithCallback(request *DescribeDrdsD
 // DescribeDrdsDbInstancesRequest is the request struct for api DescribeDrdsDbInstances
 type DescribeDrdsDbInstancesRequest struct {
 	*requests.RpcRequest
-	DbName         string           `position:"Query" name:"DbName"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
 	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	DbName         string           `position:"Query" name:"DbName"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeDrdsDbInstancesResponse is the response struct for api DescribeDrdsDbInstances
@@ -98,7 +98,7 @@ func CreateDescribeDrdsDbInstancesRequest() (request *DescribeDrdsDbInstancesReq
 	request = &DescribeDrdsDbInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbInstances", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbInstances", "Drds", "openAPI")
 	return
 }
 

+ 5 - 5
services/drds/describe_drds_db_ip_white_list.go

@@ -76,17 +76,17 @@ func (client *Client) DescribeDrdsDBIpWhiteListWithCallback(request *DescribeDrd
 // DescribeDrdsDBIpWhiteListRequest is the request struct for api DescribeDrdsDBIpWhiteList
 type DescribeDrdsDBIpWhiteListRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 	GroupName      string `position:"Query" name:"GroupName"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeDrdsDBIpWhiteListResponse is the response struct for api DescribeDrdsDBIpWhiteList
 type DescribeDrdsDBIpWhiteListResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	Success     bool        `json:"Success" xml:"Success"`
+	IpWhiteList IpWhiteList `json:"IpWhiteList" xml:"IpWhiteList"`
 }
 
 // CreateDescribeDrdsDBIpWhiteListRequest creates a request to invoke DescribeDrdsDBIpWhiteList API
@@ -94,7 +94,7 @@ func CreateDescribeDrdsDBIpWhiteListRequest() (request *DescribeDrdsDBIpWhiteLis
 	request = &DescribeDrdsDBIpWhiteListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsDBIpWhiteList", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDBIpWhiteList", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_drds_db_rds_name_list.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeDrdsDbRdsNameListWithCallback(request *DescribeDrd
 // DescribeDrdsDbRdsNameListRequest is the request struct for api DescribeDrdsDbRdsNameList
 type DescribeDrdsDbRdsNameListRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeDrdsDbRdsNameListResponse is the response struct for api DescribeDrdsDbRdsNameList
@@ -93,7 +93,7 @@ func CreateDescribeDrdsDbRdsNameListRequest() (request *DescribeDrdsDbRdsNameLis
 	request = &DescribeDrdsDbRdsNameListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbRdsNameList", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbRdsNameList", "Drds", "openAPI")
 	return
 }
 

+ 0 - 106
services/drds/describe_drds_db_rds_relation_info.go

@@ -1,106 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeDrdsDbRdsRelationInfo invokes the drds.DescribeDrdsDbRdsRelationInfo API synchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsdbrdsrelationinfo.html
-func (client *Client) DescribeDrdsDbRdsRelationInfo(request *DescribeDrdsDbRdsRelationInfoRequest) (response *DescribeDrdsDbRdsRelationInfoResponse, err error) {
-	response = CreateDescribeDrdsDbRdsRelationInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDrdsDbRdsRelationInfoWithChan invokes the drds.DescribeDrdsDbRdsRelationInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsdbrdsrelationinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsDbRdsRelationInfoWithChan(request *DescribeDrdsDbRdsRelationInfoRequest) (<-chan *DescribeDrdsDbRdsRelationInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeDrdsDbRdsRelationInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDrdsDbRdsRelationInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDrdsDbRdsRelationInfoWithCallback invokes the drds.DescribeDrdsDbRdsRelationInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsdbrdsrelationinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsDbRdsRelationInfoWithCallback(request *DescribeDrdsDbRdsRelationInfoRequest, callback func(response *DescribeDrdsDbRdsRelationInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDrdsDbRdsRelationInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDrdsDbRdsRelationInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDrdsDbRdsRelationInfoRequest is the request struct for api DescribeDrdsDbRdsRelationInfo
-type DescribeDrdsDbRdsRelationInfoRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeDrdsDbRdsRelationInfoResponse is the response struct for api DescribeDrdsDbRdsRelationInfo
-type DescribeDrdsDbRdsRelationInfoResponse struct {
-	*responses.BaseResponse
-	RequestId string                              `json:"RequestId" xml:"RequestId"`
-	Success   bool                                `json:"Success" xml:"Success"`
-	Data      DataInDescribeDrdsDbRdsRelationInfo `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeDrdsDbRdsRelationInfoRequest creates a request to invoke DescribeDrdsDbRdsRelationInfo API
-func CreateDescribeDrdsDbRdsRelationInfoRequest() (request *DescribeDrdsDbRdsRelationInfoRequest) {
-	request = &DescribeDrdsDbRdsRelationInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbRdsRelationInfo", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeDrdsDbRdsRelationInfoResponse creates a response to parse from DescribeDrdsDbRdsRelationInfo response
-func CreateDescribeDrdsDbRdsRelationInfoResponse() (response *DescribeDrdsDbRdsRelationInfoResponse) {
-	response = &DescribeDrdsDbRdsRelationInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/drds/describe_drds_db_relation_info.go

@@ -1,106 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeDrdsDbRelationInfo invokes the drds.DescribeDrdsDbRelationInfo API synchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsdbrelationinfo.html
-func (client *Client) DescribeDrdsDbRelationInfo(request *DescribeDrdsDbRelationInfoRequest) (response *DescribeDrdsDbRelationInfoResponse, err error) {
-	response = CreateDescribeDrdsDbRelationInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDrdsDbRelationInfoWithChan invokes the drds.DescribeDrdsDbRelationInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsdbrelationinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsDbRelationInfoWithChan(request *DescribeDrdsDbRelationInfoRequest) (<-chan *DescribeDrdsDbRelationInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeDrdsDbRelationInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDrdsDbRelationInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDrdsDbRelationInfoWithCallback invokes the drds.DescribeDrdsDbRelationInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsdbrelationinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsDbRelationInfoWithCallback(request *DescribeDrdsDbRelationInfoRequest, callback func(response *DescribeDrdsDbRelationInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDrdsDbRelationInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDrdsDbRelationInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDrdsDbRelationInfoRequest is the request struct for api DescribeDrdsDbRelationInfo
-type DescribeDrdsDbRelationInfoRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeDrdsDbRelationInfoResponse is the response struct for api DescribeDrdsDbRelationInfo
-type DescribeDrdsDbRelationInfoResponse struct {
-	*responses.BaseResponse
-	RequestId string                           `json:"RequestId" xml:"RequestId"`
-	Success   bool                             `json:"Success" xml:"Success"`
-	Data      DataInDescribeDrdsDbRelationInfo `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeDrdsDbRelationInfoRequest creates a request to invoke DescribeDrdsDbRelationInfo API
-func CreateDescribeDrdsDbRelationInfoRequest() (request *DescribeDrdsDbRelationInfoRequest) {
-	request = &DescribeDrdsDbRelationInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbRelationInfo", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeDrdsDbRelationInfoResponse creates a response to parse from DescribeDrdsDbRelationInfo response
-func CreateDescribeDrdsDbRelationInfoResponse() (response *DescribeDrdsDbRelationInfoResponse) {
-	response = &DescribeDrdsDbRelationInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/describe_drds_db_tasks.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeDrdsDbTasksWithCallback(request *DescribeDrdsDbTas
 type DescribeDrdsDbTasksRequest struct {
 	*requests.RpcRequest
 	TaskType       string `position:"Query" name:"TaskType"`
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeDrdsDbTasksResponse is the response struct for api DescribeDrdsDbTasks
@@ -94,7 +94,7 @@ func CreateDescribeDrdsDbTasksRequest() (request *DescribeDrdsDbTasksRequest) {
 	request = &DescribeDrdsDbTasksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbTasks", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbTasks", "Drds", "openAPI")
 	return
 }
 

+ 106 - 0
services/drds/describe_drds_db_test_link.go

@@ -0,0 +1,106 @@
+package drds
+
+//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"
+)
+
+// DescribeDrdsDbTestLink invokes the drds.DescribeDrdsDbTestLink API synchronously
+// api document: https://help.aliyun.com/api/drds/describedrdsdbtestlink.html
+func (client *Client) DescribeDrdsDbTestLink(request *DescribeDrdsDbTestLinkRequest) (response *DescribeDrdsDbTestLinkResponse, err error) {
+	response = CreateDescribeDrdsDbTestLinkResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDrdsDbTestLinkWithChan invokes the drds.DescribeDrdsDbTestLink API asynchronously
+// api document: https://help.aliyun.com/api/drds/describedrdsdbtestlink.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDrdsDbTestLinkWithChan(request *DescribeDrdsDbTestLinkRequest) (<-chan *DescribeDrdsDbTestLinkResponse, <-chan error) {
+	responseChan := make(chan *DescribeDrdsDbTestLinkResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDrdsDbTestLink(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDrdsDbTestLinkWithCallback invokes the drds.DescribeDrdsDbTestLink API asynchronously
+// api document: https://help.aliyun.com/api/drds/describedrdsdbtestlink.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDrdsDbTestLinkWithCallback(request *DescribeDrdsDbTestLinkRequest, callback func(response *DescribeDrdsDbTestLinkResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDrdsDbTestLinkResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDrdsDbTestLink(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDrdsDbTestLinkRequest is the request struct for api DescribeDrdsDbTestLink
+type DescribeDrdsDbTestLinkRequest struct {
+	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
+}
+
+// DescribeDrdsDbTestLinkResponse is the response struct for api DescribeDrdsDbTestLink
+type DescribeDrdsDbTestLinkResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeDrdsDbTestLinkRequest creates a request to invoke DescribeDrdsDbTestLink API
+func CreateDescribeDrdsDbTestLinkRequest() (request *DescribeDrdsDbTestLinkRequest) {
+	request = &DescribeDrdsDbTestLinkRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsDbTestLink", "Drds", "openAPI")
+	return
+}
+
+// CreateDescribeDrdsDbTestLinkResponse creates a response to parse from DescribeDrdsDbTestLink response
+func CreateDescribeDrdsDbTestLinkResponse() (response *DescribeDrdsDbTestLinkResponse) {
+	response = &DescribeDrdsDbTestLinkResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 4 - 4
services/drds/describe_drds_instance.go

@@ -82,9 +82,9 @@ type DescribeDrdsInstanceRequest struct {
 // DescribeDrdsInstanceResponse is the response struct for api DescribeDrdsInstance
 type DescribeDrdsInstanceResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
+	RequestId string                     `json:"RequestId" xml:"RequestId"`
+	Success   bool                       `json:"Success" xml:"Success"`
+	Data      DataInDescribeDrdsInstance `json:"Data" xml:"Data"`
 }
 
 // CreateDescribeDrdsInstanceRequest creates a request to invoke DescribeDrdsInstance API
@@ -92,7 +92,7 @@ func CreateDescribeDrdsInstanceRequest() (request *DescribeDrdsInstanceRequest)
 	request = &DescribeDrdsInstanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsInstance", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstance", "Drds", "openAPI")
 	return
 }
 

+ 5 - 5
services/drds/describe_drds_instance_db_monitor.go

@@ -76,19 +76,19 @@ func (client *Client) DescribeDrdsInstanceDbMonitorWithCallback(request *Describ
 // DescribeDrdsInstanceDbMonitorRequest is the request struct for api DescribeDrdsInstanceDbMonitor
 type DescribeDrdsInstanceDbMonitorRequest struct {
 	*requests.RpcRequest
-	DbName         string           `position:"Query" name:"DbName"`
 	EndTime        requests.Integer `position:"Query" name:"EndTime"`
 	StartTime      requests.Integer `position:"Query" name:"StartTime"`
 	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	DbName         string           `position:"Query" name:"DbName"`
 	Key            string           `position:"Query" name:"Key"`
 }
 
 // DescribeDrdsInstanceDbMonitorResponse is the response struct for api DescribeDrdsInstanceDbMonitor
 type DescribeDrdsInstanceDbMonitorResponse struct {
 	*responses.BaseResponse
-	RequestId string                              `json:"RequestId" xml:"RequestId"`
-	Success   bool                                `json:"Success" xml:"Success"`
-	Data      DataInDescribeDrdsInstanceDbMonitor `json:"Data" xml:"Data"`
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Success   bool                     `json:"Success" xml:"Success"`
+	Data      []PartialPerformanceData `json:"Data" xml:"Data"`
 }
 
 // CreateDescribeDrdsInstanceDbMonitorRequest creates a request to invoke DescribeDrdsInstanceDbMonitor API
@@ -96,7 +96,7 @@ func CreateDescribeDrdsInstanceDbMonitorRequest() (request *DescribeDrdsInstance
 	request = &DescribeDrdsInstanceDbMonitorRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsInstanceDbMonitor", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstanceDbMonitor", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_drds_instance_level_tasks.go

@@ -92,7 +92,7 @@ func CreateDescribeDrdsInstanceLevelTasksRequest() (request *DescribeDrdsInstanc
 	request = &DescribeDrdsInstanceLevelTasksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstanceLevelTasks", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstanceLevelTasks", "Drds", "openAPI")
 	return
 }
 

+ 3 - 4
services/drds/describe_drds_instance_monitor.go

@@ -86,9 +86,8 @@ type DescribeDrdsInstanceMonitorRequest struct {
 // DescribeDrdsInstanceMonitorResponse is the response struct for api DescribeDrdsInstanceMonitor
 type DescribeDrdsInstanceMonitorResponse struct {
 	*responses.BaseResponse
-	RequestId string                            `json:"RequestId" xml:"RequestId"`
-	Success   bool                              `json:"Success" xml:"Success"`
-	Data      DataInDescribeDrdsInstanceMonitor `json:"Data" xml:"Data"`
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Data      []PartialPerformanceData `json:"Data" xml:"Data"`
 }
 
 // CreateDescribeDrdsInstanceMonitorRequest creates a request to invoke DescribeDrdsInstanceMonitor API
@@ -96,7 +95,7 @@ func CreateDescribeDrdsInstanceMonitorRequest() (request *DescribeDrdsInstanceMo
 	request = &DescribeDrdsInstanceMonitorRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsInstanceMonitor", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstanceMonitor", "Drds", "openAPI")
 	return
 }
 

+ 0 - 107
services/drds/describe_drds_instance_net_info_for_inner.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeDrdsInstanceNetInfoForInner invokes the drds.DescribeDrdsInstanceNetInfoForInner API synchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsinstancenetinfoforinner.html
-func (client *Client) DescribeDrdsInstanceNetInfoForInner(request *DescribeDrdsInstanceNetInfoForInnerRequest) (response *DescribeDrdsInstanceNetInfoForInnerResponse, err error) {
-	response = CreateDescribeDrdsInstanceNetInfoForInnerResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDrdsInstanceNetInfoForInnerWithChan invokes the drds.DescribeDrdsInstanceNetInfoForInner API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsinstancenetinfoforinner.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsInstanceNetInfoForInnerWithChan(request *DescribeDrdsInstanceNetInfoForInnerRequest) (<-chan *DescribeDrdsInstanceNetInfoForInnerResponse, <-chan error) {
-	responseChan := make(chan *DescribeDrdsInstanceNetInfoForInnerResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDrdsInstanceNetInfoForInner(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDrdsInstanceNetInfoForInnerWithCallback invokes the drds.DescribeDrdsInstanceNetInfoForInner API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsinstancenetinfoforinner.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsInstanceNetInfoForInnerWithCallback(request *DescribeDrdsInstanceNetInfoForInnerRequest, callback func(response *DescribeDrdsInstanceNetInfoForInnerResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDrdsInstanceNetInfoForInnerResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDrdsInstanceNetInfoForInner(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDrdsInstanceNetInfoForInnerRequest is the request struct for api DescribeDrdsInstanceNetInfoForInner
-type DescribeDrdsInstanceNetInfoForInnerRequest struct {
-	*requests.RpcRequest
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeDrdsInstanceNetInfoForInnerResponse is the response struct for api DescribeDrdsInstanceNetInfoForInner
-type DescribeDrdsInstanceNetInfoForInnerResponse struct {
-	*responses.BaseResponse
-	RequestId      string   `json:"RequestId" xml:"RequestId"`
-	Success        bool     `json:"Success" xml:"Success"`
-	DrdsInstanceId string   `json:"DrdsInstanceId" xml:"DrdsInstanceId"`
-	NetworkType    string   `json:"NetworkType" xml:"NetworkType"`
-	NetInfos       NetInfos `json:"NetInfos" xml:"NetInfos"`
-}
-
-// CreateDescribeDrdsInstanceNetInfoForInnerRequest creates a request to invoke DescribeDrdsInstanceNetInfoForInner API
-func CreateDescribeDrdsInstanceNetInfoForInnerRequest() (request *DescribeDrdsInstanceNetInfoForInnerRequest) {
-	request = &DescribeDrdsInstanceNetInfoForInnerRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsInstanceNetInfoForInner", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeDrdsInstanceNetInfoForInnerResponse creates a response to parse from DescribeDrdsInstanceNetInfoForInner response
-func CreateDescribeDrdsInstanceNetInfoForInnerResponse() (response *DescribeDrdsInstanceNetInfoForInnerResponse) {
-	response = &DescribeDrdsInstanceNetInfoForInnerResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/drds/describe_drds_instance_version.go

@@ -92,7 +92,7 @@ func CreateDescribeDrdsInstanceVersionRequest() (request *DescribeDrdsInstanceVe
 	request = &DescribeDrdsInstanceVersionRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstanceVersion", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstanceVersion", "Drds", "openAPI")
 	return
 }
 

+ 18 - 6
services/drds/describe_drds_instances.go

@@ -76,16 +76,28 @@ func (client *Client) DescribeDrdsInstancesWithCallback(request *DescribeDrdsIns
 // DescribeDrdsInstancesRequest is the request struct for api DescribeDrdsInstances
 type DescribeDrdsInstancesRequest struct {
 	*requests.RpcRequest
-	Type string `position:"Query" name:"Type"`
-	Tags string `position:"Query" name:"Tags"`
+	Description string                      `position:"Query" name:"Description"`
+	Type        string                      `position:"Query" name:"Type"`
+	PageNumber  requests.Integer            `position:"Query" name:"PageNumber"`
+	Expired     requests.Boolean            `position:"Query" name:"Expired"`
+	PageSize    requests.Integer            `position:"Query" name:"PageSize"`
+	Tag         *[]DescribeDrdsInstancesTag `position:"Query" name:"Tag"  type:"Repeated"`
+}
+
+// DescribeDrdsInstancesTag is a repeated param struct in DescribeDrdsInstancesRequest
+type DescribeDrdsInstancesTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
 }
 
 // DescribeDrdsInstancesResponse is the response struct for api DescribeDrdsInstances
 type DescribeDrdsInstancesResponse struct {
 	*responses.BaseResponse
-	RequestId string                      `json:"RequestId" xml:"RequestId"`
-	Success   bool                        `json:"Success" xml:"Success"`
-	Data      DataInDescribeDrdsInstances `json:"Data" xml:"Data"`
+	RequestId  string    `json:"RequestId" xml:"RequestId"`
+	PageNumber int       `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int       `json:"PageSize" xml:"PageSize"`
+	Total      int       `json:"Total" xml:"Total"`
+	Instances  Instances `json:"Instances" xml:"Instances"`
 }
 
 // CreateDescribeDrdsInstancesRequest creates a request to invoke DescribeDrdsInstances API
@@ -93,7 +105,7 @@ func CreateDescribeDrdsInstancesRequest() (request *DescribeDrdsInstancesRequest
 	request = &DescribeDrdsInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeDrdsInstances", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsInstances", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_drds_params.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeDrdsParamsWithCallback(request *DescribeDrdsParams
 type DescribeDrdsParamsRequest struct {
 	*requests.RpcRequest
 	ParamLevel     string `position:"Query" name:"ParamLevel"`
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeDrdsParamsResponse is the response struct for api DescribeDrdsParams
@@ -94,7 +94,7 @@ func CreateDescribeDrdsParamsRequest() (request *DescribeDrdsParamsRequest) {
 	request = &DescribeDrdsParamsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsParams", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsParams", "Drds", "openAPI")
 	return
 }
 

+ 0 - 103
services/drds/describe_drds_regions.go

@@ -1,103 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeDrdsRegions invokes the drds.DescribeDrdsRegions API synchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsregions.html
-func (client *Client) DescribeDrdsRegions(request *DescribeDrdsRegionsRequest) (response *DescribeDrdsRegionsResponse, err error) {
-	response = CreateDescribeDrdsRegionsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDrdsRegionsWithChan invokes the drds.DescribeDrdsRegions API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsregions.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsRegionsWithChan(request *DescribeDrdsRegionsRequest) (<-chan *DescribeDrdsRegionsResponse, <-chan error) {
-	responseChan := make(chan *DescribeDrdsRegionsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDrdsRegions(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDrdsRegionsWithCallback invokes the drds.DescribeDrdsRegions API asynchronously
-// api document: https://help.aliyun.com/api/drds/describedrdsregions.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDrdsRegionsWithCallback(request *DescribeDrdsRegionsRequest, callback func(response *DescribeDrdsRegionsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDrdsRegionsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDrdsRegions(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDrdsRegionsRequest is the request struct for api DescribeDrdsRegions
-type DescribeDrdsRegionsRequest struct {
-	*requests.RpcRequest
-}
-
-// DescribeDrdsRegionsResponse is the response struct for api DescribeDrdsRegions
-type DescribeDrdsRegionsResponse struct {
-	*responses.BaseResponse
-	RequestId string  `json:"RequestId" xml:"RequestId"`
-	Regions   Regions `json:"Regions" xml:"Regions"`
-}
-
-// CreateDescribeDrdsRegionsRequest creates a request to invoke DescribeDrdsRegions API
-func CreateDescribeDrdsRegionsRequest() (request *DescribeDrdsRegionsRequest) {
-	request = &DescribeDrdsRegionsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsRegions", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeDrdsRegionsResponse creates a response to parse from DescribeDrdsRegions response
-func CreateDescribeDrdsRegionsResponse() (response *DescribeDrdsRegionsResponse) {
-	response = &DescribeDrdsRegionsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/describe_drds_sharding_dbs.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeDrdsShardingDbsWithCallback(request *DescribeDrdsS
 // DescribeDrdsShardingDbsRequest is the request struct for api DescribeDrdsShardingDbs
 type DescribeDrdsShardingDbsRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 	DbName         string `position:"Query" name:"DbName"`
 	DbNamePattern  string `position:"Query" name:"DbNamePattern"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 }
 
 // DescribeDrdsShardingDbsResponse is the response struct for api DescribeDrdsShardingDbs
@@ -94,7 +94,7 @@ func CreateDescribeDrdsShardingDbsRequest() (request *DescribeDrdsShardingDbsReq
 	request = &DescribeDrdsShardingDbsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsShardingDbs", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsShardingDbs", "Drds", "openAPI")
 	return
 }
 

+ 3 - 3
services/drds/describe_drds_slow_sqls.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeDrdsSlowSqlsWithCallback(request *DescribeDrdsSlow
 // DescribeDrdsSlowSqlsRequest is the request struct for api DescribeDrdsSlowSqls
 type DescribeDrdsSlowSqlsRequest struct {
 	*requests.RpcRequest
-	DbName         string           `position:"Query" name:"DbName"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	EndTime        requests.Integer `position:"Query" name:"EndTime"`
 	StartTime      requests.Integer `position:"Query" name:"StartTime"`
 	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
 	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	DbName         string           `position:"Query" name:"DbName"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	ExeTime        requests.Integer `position:"Query" name:"ExeTime"`
 }
 
@@ -101,7 +101,7 @@ func CreateDescribeDrdsSlowSqlsRequest() (request *DescribeDrdsSlowSqlsRequest)
 	request = &DescribeDrdsSlowSqlsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsSlowSqls", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsSlowSqls", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_drds_sql_audit_status.go

@@ -92,7 +92,7 @@ func CreateDescribeDrdsSqlAuditStatusRequest() (request *DescribeDrdsSqlAuditSta
 	request = &DescribeDrdsSqlAuditStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsSqlAuditStatus", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsSqlAuditStatus", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_drds_tasks.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeDrdsTasksWithCallback(request *DescribeDrdsTasksRe
 type DescribeDrdsTasksRequest struct {
 	*requests.RpcRequest
 	TaskType       string `position:"Query" name:"TaskType"`
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeDrdsTasksResponse is the response struct for api DescribeDrdsTasks
@@ -94,7 +94,7 @@ func CreateDescribeDrdsTasksRequest() (request *DescribeDrdsTasksRequest) {
 	request = &DescribeDrdsTasksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsTasks", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeDrdsTasks", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_expand_logic_table_info_list.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeExpandLogicTableInfoListWithCallback(request *Desc
 // DescribeExpandLogicTableInfoListRequest is the request struct for api DescribeExpandLogicTableInfoList
 type DescribeExpandLogicTableInfoListRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeExpandLogicTableInfoListResponse is the response struct for api DescribeExpandLogicTableInfoList
@@ -93,7 +93,7 @@ func CreateDescribeExpandLogicTableInfoListRequest() (request *DescribeExpandLog
 	request = &DescribeExpandLogicTableInfoListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeExpandLogicTableInfoList", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeExpandLogicTableInfoList", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_global_broadcast_type.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeGlobalBroadcastTypeWithCallback(request *DescribeG
 // DescribeGlobalBroadcastTypeRequest is the request struct for api DescribeGlobalBroadcastType
 type DescribeGlobalBroadcastTypeRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeGlobalBroadcastTypeResponse is the response struct for api DescribeGlobalBroadcastType
@@ -93,7 +93,7 @@ func CreateDescribeGlobalBroadcastTypeRequest() (request *DescribeGlobalBroadcas
 	request = &DescribeGlobalBroadcastTypeRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeGlobalBroadcastType", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeGlobalBroadcastType", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_hi_store_instance_info.go

@@ -93,7 +93,7 @@ func CreateDescribeHiStoreInstanceInfoRequest() (request *DescribeHiStoreInstanc
 	request = &DescribeHiStoreInstanceInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeHiStoreInstanceInfo", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeHiStoreInstanceInfo", "Drds", "openAPI")
 	return
 }
 

+ 6 - 6
services/drds/describe_hot_db_list.go

@@ -76,17 +76,17 @@ func (client *Client) DescribeHotDbListWithCallback(request *DescribeHotDbListRe
 // DescribeHotDbListRequest is the request struct for api DescribeHotDbList
 type DescribeHotDbListRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeHotDbListResponse is the response struct for api DescribeHotDbList
 type DescribeHotDbListResponse struct {
 	*responses.BaseResponse
-	RequestId string                  `json:"RequestId" xml:"RequestId"`
-	Success   bool                    `json:"Success" xml:"Success"`
-	Msg       string                  `json:"Msg" xml:"Msg"`
-	Data      DataInDescribeHotDbList `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Msg       string `json:"Msg" xml:"Msg"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateDescribeHotDbListRequest creates a request to invoke DescribeHotDbList API
@@ -94,7 +94,7 @@ func CreateDescribeHotDbListRequest() (request *DescribeHotDbListRequest) {
 	request = &DescribeHotDbListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeHotDbList", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeHotDbList", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_inst_db_log_info.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeInstDbLogInfoWithCallback(request *DescribeInstDbL
 // DescribeInstDbLogInfoRequest is the request struct for api DescribeInstDbLogInfo
 type DescribeInstDbLogInfoRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeInstDbLogInfoResponse is the response struct for api DescribeInstDbLogInfo
@@ -93,7 +93,7 @@ func CreateDescribeInstDbLogInfoRequest() (request *DescribeInstDbLogInfoRequest
 	request = &DescribeInstDbLogInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstDbLogInfo", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstDbLogInfo", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_inst_db_sls_info.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeInstDbSlsInfoWithCallback(request *DescribeInstDbS
 // DescribeInstDbSlsInfoRequest is the request struct for api DescribeInstDbSlsInfo
 type DescribeInstDbSlsInfoRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeInstDbSlsInfoResponse is the response struct for api DescribeInstDbSlsInfo
@@ -93,7 +93,7 @@ func CreateDescribeInstDbSlsInfoRequest() (request *DescribeInstDbSlsInfoRequest
 	request = &DescribeInstDbSlsInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstDbSlsInfo", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstDbSlsInfo", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_instance_accounts.go

@@ -92,7 +92,7 @@ func CreateDescribeInstanceAccountsRequest() (request *DescribeInstanceAccountsR
 	request = &DescribeInstanceAccountsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceAccounts", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceAccounts", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_instance_menu_switch.go

@@ -92,7 +92,7 @@ func CreateDescribeInstanceMenuSwitchRequest() (request *DescribeInstanceMenuSwi
 	request = &DescribeInstanceMenuSwitchRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceMenuSwitch", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceMenuSwitch", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_instance_switch_azone.go

@@ -92,7 +92,7 @@ func CreateDescribeInstanceSwitchAzoneRequest() (request *DescribeInstanceSwitch
 	request = &DescribeInstanceSwitchAzoneRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceSwitchAzone", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceSwitchAzone", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_instance_switch_network.go

@@ -92,7 +92,7 @@ func CreateDescribeInstanceSwitchNetworkRequest() (request *DescribeInstanceSwit
 	request = &DescribeInstanceSwitchNetworkRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceSwitchNetwork", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeInstanceSwitchNetwork", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_pre_check_result.go

@@ -93,7 +93,7 @@ func CreateDescribePreCheckResultRequest() (request *DescribePreCheckResultReque
 	request = &DescribePreCheckResultRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribePreCheckResult", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribePreCheckResult", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_rds_commodity.go

@@ -94,7 +94,7 @@ func CreateDescribeRdsCommodityRequest() (request *DescribeRdsCommodityRequest)
 	request = &DescribeRdsCommodityRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsCommodity", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsCommodity", "Drds", "openAPI")
 	return
 }
 

+ 0 - 106
services/drds/describe_rds_list.go

@@ -1,106 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeRdsList invokes the drds.DescribeRdsList API synchronously
-// api document: https://help.aliyun.com/api/drds/describerdslist.html
-func (client *Client) DescribeRdsList(request *DescribeRdsListRequest) (response *DescribeRdsListResponse, err error) {
-	response = CreateDescribeRdsListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeRdsListWithChan invokes the drds.DescribeRdsList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describerdslist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRdsListWithChan(request *DescribeRdsListRequest) (<-chan *DescribeRdsListResponse, <-chan error) {
-	responseChan := make(chan *DescribeRdsListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeRdsList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeRdsListWithCallback invokes the drds.DescribeRdsList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describerdslist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRdsListWithCallback(request *DescribeRdsListRequest, callback func(response *DescribeRdsListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeRdsListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeRdsList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeRdsListRequest is the request struct for api DescribeRdsList
-type DescribeRdsListRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeRdsListResponse is the response struct for api DescribeRdsList
-type DescribeRdsListResponse struct {
-	*responses.BaseResponse
-	RequestId string                `json:"RequestId" xml:"RequestId"`
-	Success   bool                  `json:"Success" xml:"Success"`
-	Data      DataInDescribeRdsList `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeRdsListRequest creates a request to invoke DescribeRdsList API
-func CreateDescribeRdsListRequest() (request *DescribeRdsListRequest) {
-	request = &DescribeRdsListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeRdsList", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeRdsListResponse creates a response to parse from DescribeRdsList response
-func CreateDescribeRdsListResponse() (response *DescribeRdsListResponse) {
-	response = &DescribeRdsListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/describe_rds_performance.go

@@ -80,8 +80,8 @@ type DescribeRDSPerformanceRequest struct {
 	EndTime        requests.Integer `position:"Query" name:"EndTime"`
 	StartTime      requests.Integer `position:"Query" name:"StartTime"`
 	RdsInstanceId  string           `position:"Query" name:"RdsInstanceId"`
-	DbInstType     string           `position:"Query" name:"DbInstType"`
 	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	DbInstType     string           `position:"Query" name:"DbInstType"`
 }
 
 // DescribeRDSPerformanceResponse is the response struct for api DescribeRDSPerformance
@@ -97,7 +97,7 @@ func CreateDescribeRDSPerformanceRequest() (request *DescribeRDSPerformanceReque
 	request = &DescribeRDSPerformanceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRDSPerformance", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRDSPerformance", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_rds_performance_summary.go

@@ -93,7 +93,7 @@ func CreateDescribeRdsPerformanceSummaryRequest() (request *DescribeRdsPerforman
 	request = &DescribeRdsPerformanceSummaryRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsPerformanceSummary", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsPerformanceSummary", "Drds", "openAPI")
 	return
 }
 

+ 0 - 105
services/drds/describe_rds_price.go

@@ -1,105 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeRdsPrice invokes the drds.DescribeRdsPrice API synchronously
-// api document: https://help.aliyun.com/api/drds/describerdsprice.html
-func (client *Client) DescribeRdsPrice(request *DescribeRdsPriceRequest) (response *DescribeRdsPriceResponse, err error) {
-	response = CreateDescribeRdsPriceResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeRdsPriceWithChan invokes the drds.DescribeRdsPrice API asynchronously
-// api document: https://help.aliyun.com/api/drds/describerdsprice.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRdsPriceWithChan(request *DescribeRdsPriceRequest) (<-chan *DescribeRdsPriceResponse, <-chan error) {
-	responseChan := make(chan *DescribeRdsPriceResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeRdsPrice(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeRdsPriceWithCallback invokes the drds.DescribeRdsPrice API asynchronously
-// api document: https://help.aliyun.com/api/drds/describerdsprice.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRdsPriceWithCallback(request *DescribeRdsPriceRequest, callback func(response *DescribeRdsPriceResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeRdsPriceResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeRdsPrice(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeRdsPriceRequest is the request struct for api DescribeRdsPrice
-type DescribeRdsPriceRequest struct {
-	*requests.RpcRequest
-	Params string `position:"Query" name:"Params"`
-}
-
-// DescribeRdsPriceResponse is the response struct for api DescribeRdsPrice
-type DescribeRdsPriceResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeRdsPriceRequest creates a request to invoke DescribeRdsPrice API
-func CreateDescribeRdsPriceRequest() (request *DescribeRdsPriceRequest) {
-	request = &DescribeRdsPriceRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsPrice", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeRdsPriceResponse creates a response to parse from DescribeRdsPrice response
-func CreateDescribeRdsPriceResponse() (response *DescribeRdsPriceResponse) {
-	response = &DescribeRdsPriceResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/describe_rds_super_account_instances.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeRdsSuperAccountInstancesWithCallback(request *Desc
 type DescribeRdsSuperAccountInstancesRequest struct {
 	*requests.RpcRequest
 	RdsInstance    *[]string `position:"Query" name:"RdsInstance"  type:"Repeated"`
-	DbInstType     string    `position:"Query" name:"DbInstType"`
 	DrdsInstanceId string    `position:"Query" name:"DrdsInstanceId"`
+	DbInstType     string    `position:"Query" name:"DbInstType"`
 }
 
 // DescribeRdsSuperAccountInstancesResponse is the response struct for api DescribeRdsSuperAccountInstances
@@ -93,7 +93,7 @@ func CreateDescribeRdsSuperAccountInstancesRequest() (request *DescribeRdsSuperA
 	request = &DescribeRdsSuperAccountInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsSuperAccountInstances", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsSuperAccountInstances", "Drds", "openAPI")
 	return
 }
 

+ 0 - 105
services/drds/describe_rds_vpc_for_zone.go

@@ -1,105 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeRdsVpcForZone invokes the drds.DescribeRdsVpcForZone API synchronously
-// api document: https://help.aliyun.com/api/drds/describerdsvpcforzone.html
-func (client *Client) DescribeRdsVpcForZone(request *DescribeRdsVpcForZoneRequest) (response *DescribeRdsVpcForZoneResponse, err error) {
-	response = CreateDescribeRdsVpcForZoneResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeRdsVpcForZoneWithChan invokes the drds.DescribeRdsVpcForZone API asynchronously
-// api document: https://help.aliyun.com/api/drds/describerdsvpcforzone.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRdsVpcForZoneWithChan(request *DescribeRdsVpcForZoneRequest) (<-chan *DescribeRdsVpcForZoneResponse, <-chan error) {
-	responseChan := make(chan *DescribeRdsVpcForZoneResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeRdsVpcForZone(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeRdsVpcForZoneWithCallback invokes the drds.DescribeRdsVpcForZone API asynchronously
-// api document: https://help.aliyun.com/api/drds/describerdsvpcforzone.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRdsVpcForZoneWithCallback(request *DescribeRdsVpcForZoneRequest, callback func(response *DescribeRdsVpcForZoneResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeRdsVpcForZoneResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeRdsVpcForZone(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeRdsVpcForZoneRequest is the request struct for api DescribeRdsVpcForZone
-type DescribeRdsVpcForZoneRequest struct {
-	*requests.RpcRequest
-	ZoneId string `position:"Query" name:"ZoneId"`
-}
-
-// DescribeRdsVpcForZoneResponse is the response struct for api DescribeRdsVpcForZone
-type DescribeRdsVpcForZoneResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeRdsVpcForZoneRequest creates a request to invoke DescribeRdsVpcForZone API
-func CreateDescribeRdsVpcForZoneRequest() (request *DescribeRdsVpcForZoneRequest) {
-	request = &DescribeRdsVpcForZoneRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRdsVpcForZone", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeRdsVpcForZoneResponse creates a response to parse from DescribeRdsVpcForZone response
-func CreateDescribeRdsVpcForZoneResponse() (response *DescribeRdsVpcForZoneResponse) {
-	response = &DescribeRdsVpcForZoneResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/drds/describe_read_only_account.go

@@ -1,106 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeReadOnlyAccount invokes the drds.DescribeReadOnlyAccount API synchronously
-// api document: https://help.aliyun.com/api/drds/describereadonlyaccount.html
-func (client *Client) DescribeReadOnlyAccount(request *DescribeReadOnlyAccountRequest) (response *DescribeReadOnlyAccountResponse, err error) {
-	response = CreateDescribeReadOnlyAccountResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeReadOnlyAccountWithChan invokes the drds.DescribeReadOnlyAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/describereadonlyaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeReadOnlyAccountWithChan(request *DescribeReadOnlyAccountRequest) (<-chan *DescribeReadOnlyAccountResponse, <-chan error) {
-	responseChan := make(chan *DescribeReadOnlyAccountResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeReadOnlyAccount(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeReadOnlyAccountWithCallback invokes the drds.DescribeReadOnlyAccount API asynchronously
-// api document: https://help.aliyun.com/api/drds/describereadonlyaccount.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeReadOnlyAccountWithCallback(request *DescribeReadOnlyAccountRequest, callback func(response *DescribeReadOnlyAccountResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeReadOnlyAccountResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeReadOnlyAccount(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeReadOnlyAccountRequest is the request struct for api DescribeReadOnlyAccount
-type DescribeReadOnlyAccountRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeReadOnlyAccountResponse is the response struct for api DescribeReadOnlyAccount
-type DescribeReadOnlyAccountResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeReadOnlyAccountRequest creates a request to invoke DescribeReadOnlyAccount API
-func CreateDescribeReadOnlyAccountRequest() (request *DescribeReadOnlyAccountRequest) {
-	request = &DescribeReadOnlyAccountRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeReadOnlyAccount", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeReadOnlyAccountResponse creates a response to parse from DescribeReadOnlyAccount response
-func CreateDescribeReadOnlyAccountResponse() (response *DescribeReadOnlyAccountResponse) {
-	response = &DescribeReadOnlyAccountResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/describe_recycle_bin_status.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeRecycleBinStatusWithCallback(request *DescribeRecy
 // DescribeRecycleBinStatusRequest is the request struct for api DescribeRecycleBinStatus
 type DescribeRecycleBinStatusRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeRecycleBinStatusResponse is the response struct for api DescribeRecycleBinStatus
@@ -93,7 +93,7 @@ func CreateDescribeRecycleBinStatusRequest() (request *DescribeRecycleBinStatusR
 	request = &DescribeRecycleBinStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRecycleBinStatus", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRecycleBinStatus", "Drds", "openAPI")
 	return
 }
 

+ 2 - 2
services/drds/describe_recycle_bin_tables.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeRecycleBinTablesWithCallback(request *DescribeRecy
 // DescribeRecycleBinTablesRequest is the request struct for api DescribeRecycleBinTables
 type DescribeRecycleBinTablesRequest struct {
 	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
 	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
 }
 
 // DescribeRecycleBinTablesResponse is the response struct for api DescribeRecycleBinTables
@@ -93,7 +93,7 @@ func CreateDescribeRecycleBinTablesRequest() (request *DescribeRecycleBinTablesR
 	request = &DescribeRecycleBinTablesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRecycleBinTables", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRecycleBinTables", "Drds", "openAPI")
 	return
 }
 

+ 0 - 104
services/drds/describe_regions.go

@@ -1,104 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeRegions invokes the drds.DescribeRegions API synchronously
-// api document: https://help.aliyun.com/api/drds/describeregions.html
-func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) {
-	response = CreateDescribeRegionsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeRegionsWithChan invokes the drds.DescribeRegions API asynchronously
-// api document: https://help.aliyun.com/api/drds/describeregions.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error) {
-	responseChan := make(chan *DescribeRegionsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeRegions(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeRegionsWithCallback invokes the drds.DescribeRegions API asynchronously
-// api document: https://help.aliyun.com/api/drds/describeregions.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeRegionsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeRegions(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeRegionsRequest is the request struct for api DescribeRegions
-type DescribeRegionsRequest struct {
-	*requests.RpcRequest
-}
-
-// DescribeRegionsResponse is the response struct for api DescribeRegions
-type DescribeRegionsResponse struct {
-	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	Success     bool        `json:"Success" xml:"Success"`
-	DrdsRegions DrdsRegions `json:"DrdsRegions" xml:"DrdsRegions"`
-}
-
-// CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
-func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest) {
-	request = &DescribeRegionsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeRegions", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
-func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse) {
-	response = &DescribeRegionsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 3 - 3
services/drds/describe_restore_order.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeRestoreOrderWithCallback(request *DescribeRestoreO
 // DescribeRestoreOrderRequest is the request struct for api DescribeRestoreOrder
 type DescribeRestoreOrderRequest struct {
 	*requests.RpcRequest
-	PreferredBackupTime string `position:"Query" name:"PreferredBackupTime"`
 	BackupDbNames       string `position:"Query" name:"BackupDbNames"`
 	BackupId            string `position:"Query" name:"BackupId"`
-	BackupMode          string `position:"Query" name:"BackupMode"`
 	BackupLevel         string `position:"Query" name:"BackupLevel"`
 	DrdsInstanceId      string `position:"Query" name:"DrdsInstanceId"`
+	PreferredBackupTime string `position:"Query" name:"PreferredBackupTime"`
+	BackupMode          string `position:"Query" name:"BackupMode"`
 }
 
 // DescribeRestoreOrderResponse is the response struct for api DescribeRestoreOrder
@@ -97,7 +97,7 @@ func CreateDescribeRestoreOrderRequest() (request *DescribeRestoreOrderRequest)
 	request = &DescribeRestoreOrderRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRestoreOrder", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeRestoreOrder", "Drds", "openAPI")
 	return
 }
 

+ 0 - 106
services/drds/describe_shard_d_bs.go

@@ -1,106 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeShardDBs invokes the drds.DescribeShardDBs API synchronously
-// api document: https://help.aliyun.com/api/drds/describesharddbs.html
-func (client *Client) DescribeShardDBs(request *DescribeShardDBsRequest) (response *DescribeShardDBsResponse, err error) {
-	response = CreateDescribeShardDBsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeShardDBsWithChan invokes the drds.DescribeShardDBs API asynchronously
-// api document: https://help.aliyun.com/api/drds/describesharddbs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeShardDBsWithChan(request *DescribeShardDBsRequest) (<-chan *DescribeShardDBsResponse, <-chan error) {
-	responseChan := make(chan *DescribeShardDBsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeShardDBs(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeShardDBsWithCallback invokes the drds.DescribeShardDBs API asynchronously
-// api document: https://help.aliyun.com/api/drds/describesharddbs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeShardDBsWithCallback(request *DescribeShardDBsRequest, callback func(response *DescribeShardDBsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeShardDBsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeShardDBs(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeShardDBsRequest is the request struct for api DescribeShardDBs
-type DescribeShardDBsRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeShardDBsResponse is the response struct for api DescribeShardDBs
-type DescribeShardDBsResponse struct {
-	*responses.BaseResponse
-	RequestId string                 `json:"RequestId" xml:"RequestId"`
-	Success   bool                   `json:"Success" xml:"Success"`
-	Data      DataInDescribeShardDBs `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeShardDBsRequest creates a request to invoke DescribeShardDBs API
-func CreateDescribeShardDBsRequest() (request *DescribeShardDBsRequest) {
-	request = &DescribeShardDBsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeShardDBs", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeShardDBsResponse creates a response to parse from DescribeShardDBs response
-func CreateDescribeShardDBsResponse() (response *DescribeShardDBsResponse) {
-	response = &DescribeShardDBsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/drds/describe_shard_db_connection_info.go

@@ -1,107 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeShardDbConnectionInfo invokes the drds.DescribeShardDbConnectionInfo API synchronously
-// api document: https://help.aliyun.com/api/drds/describesharddbconnectioninfo.html
-func (client *Client) DescribeShardDbConnectionInfo(request *DescribeShardDbConnectionInfoRequest) (response *DescribeShardDbConnectionInfoResponse, err error) {
-	response = CreateDescribeShardDbConnectionInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeShardDbConnectionInfoWithChan invokes the drds.DescribeShardDbConnectionInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describesharddbconnectioninfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeShardDbConnectionInfoWithChan(request *DescribeShardDbConnectionInfoRequest) (<-chan *DescribeShardDbConnectionInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeShardDbConnectionInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeShardDbConnectionInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeShardDbConnectionInfoWithCallback invokes the drds.DescribeShardDbConnectionInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describesharddbconnectioninfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeShardDbConnectionInfoWithCallback(request *DescribeShardDbConnectionInfoRequest, callback func(response *DescribeShardDbConnectionInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeShardDbConnectionInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeShardDbConnectionInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeShardDbConnectionInfoRequest is the request struct for api DescribeShardDbConnectionInfo
-type DescribeShardDbConnectionInfoRequest struct {
-	*requests.RpcRequest
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-	SubDbName      string `position:"Query" name:"SubDbName"`
-}
-
-// DescribeShardDbConnectionInfoResponse is the response struct for api DescribeShardDbConnectionInfo
-type DescribeShardDbConnectionInfoResponse struct {
-	*responses.BaseResponse
-	RequestId      string         `json:"RequestId" xml:"RequestId"`
-	Success        bool           `json:"Success" xml:"Success"`
-	ConnectionInfo ConnectionInfo `json:"ConnectionInfo" xml:"ConnectionInfo"`
-}
-
-// CreateDescribeShardDbConnectionInfoRequest creates a request to invoke DescribeShardDbConnectionInfo API
-func CreateDescribeShardDbConnectionInfoRequest() (request *DescribeShardDbConnectionInfoRequest) {
-	request = &DescribeShardDbConnectionInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2017-10-16", "DescribeShardDbConnectionInfo", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeShardDbConnectionInfoResponse creates a response to parse from DescribeShardDbConnectionInfo response
-func CreateDescribeShardDbConnectionInfoResponse() (response *DescribeShardDbConnectionInfoResponse) {
-	response = &DescribeShardDbConnectionInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 3 - 3
services/drds/describe_shard_task_info.go

@@ -76,10 +76,10 @@ func (client *Client) DescribeShardTaskInfoWithCallback(request *DescribeShardTa
 // DescribeShardTaskInfoRequest is the request struct for api DescribeShardTaskInfo
 type DescribeShardTaskInfoRequest struct {
 	*requests.RpcRequest
-	DbName          string `position:"Query" name:"DbName"`
-	SourceTableName string `position:"Query" name:"SourceTableName"`
 	TargetTableName string `position:"Query" name:"TargetTableName"`
 	DrdsInstanceId  string `position:"Query" name:"DrdsInstanceId"`
+	DbName          string `position:"Query" name:"DbName"`
+	SourceTableName string `position:"Query" name:"SourceTableName"`
 }
 
 // DescribeShardTaskInfoResponse is the response struct for api DescribeShardTaskInfo
@@ -95,7 +95,7 @@ func CreateDescribeShardTaskInfoRequest() (request *DescribeShardTaskInfoRequest
 	request = &DescribeShardTaskInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeShardTaskInfo", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeShardTaskInfo", "Drds", "openAPI")
 	return
 }
 

+ 3 - 3
services/drds/describe_shard_task_list.go

@@ -77,11 +77,11 @@ func (client *Client) DescribeShardTaskListWithCallback(request *DescribeShardTa
 type DescribeShardTaskListRequest struct {
 	*requests.RpcRequest
 	TaskType       string           `position:"Query" name:"TaskType"`
-	DbName         string           `position:"Query" name:"DbName"`
 	Query          string           `position:"Query" name:"Query"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	CurrentPage    requests.Integer `position:"Query" name:"CurrentPage"`
 	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	DbName         string           `position:"Query" name:"DbName"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeShardTaskListResponse is the response struct for api DescribeShardTaskList
@@ -100,7 +100,7 @@ func CreateDescribeShardTaskListRequest() (request *DescribeShardTaskListRequest
 	request = &DescribeShardTaskListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeShardTaskList", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeShardTaskList", "Drds", "openAPI")
 	return
 }
 

+ 1 - 1
services/drds/describe_sql_flashbak_task.go

@@ -92,7 +92,7 @@ func CreateDescribeSqlFlashbakTaskRequest() (request *DescribeSqlFlashbakTaskReq
 	request = &DescribeSqlFlashbakTaskRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeSqlFlashbakTask", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeSqlFlashbakTask", "Drds", "openAPI")
 	return
 }
 

+ 0 - 116
services/drds/describe_src_rds_list.go

@@ -1,116 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeSrcRdsList invokes the drds.DescribeSrcRdsList API synchronously
-// api document: https://help.aliyun.com/api/drds/describesrcrdslist.html
-func (client *Client) DescribeSrcRdsList(request *DescribeSrcRdsListRequest) (response *DescribeSrcRdsListResponse, err error) {
-	response = CreateDescribeSrcRdsListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeSrcRdsListWithChan invokes the drds.DescribeSrcRdsList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describesrcrdslist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSrcRdsListWithChan(request *DescribeSrcRdsListRequest) (<-chan *DescribeSrcRdsListResponse, <-chan error) {
-	responseChan := make(chan *DescribeSrcRdsListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeSrcRdsList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeSrcRdsListWithCallback invokes the drds.DescribeSrcRdsList API asynchronously
-// api document: https://help.aliyun.com/api/drds/describesrcrdslist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeSrcRdsListWithCallback(request *DescribeSrcRdsListRequest, callback func(response *DescribeSrcRdsListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeSrcRdsListResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeSrcRdsList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeSrcRdsListRequest is the request struct for api DescribeSrcRdsList
-type DescribeSrcRdsListRequest struct {
-	*requests.RpcRequest
-	DbName           string                                `position:"Query" name:"DbName"`
-	PartitionMapping *[]DescribeSrcRdsListPartitionMapping `position:"Query" name:"PartitionMapping"  type:"Repeated"`
-	DrdsInstanceId   string                                `position:"Query" name:"DrdsInstanceId"`
-}
-
-// DescribeSrcRdsListPartitionMapping is a repeated param struct in DescribeSrcRdsListRequest
-type DescribeSrcRdsListPartitionMapping struct {
-	DbShardValue string `name:"DbShardValue"`
-	HotDbName    string `name:"HotDbName"`
-	HotTableName string `name:"HotTableName"`
-	TbShardValue string `name:"TbShardValue"`
-	LogicTable   string `name:"LogicTable"`
-}
-
-// DescribeSrcRdsListResponse is the response struct for api DescribeSrcRdsList
-type DescribeSrcRdsListResponse struct {
-	*responses.BaseResponse
-	RequestId string                   `json:"RequestId" xml:"RequestId"`
-	Success   bool                     `json:"Success" xml:"Success"`
-	Data      DataInDescribeSrcRdsList `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeSrcRdsListRequest creates a request to invoke DescribeSrcRdsList API
-func CreateDescribeSrcRdsListRequest() (request *DescribeSrcRdsListRequest) {
-	request = &DescribeSrcRdsListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeSrcRdsList", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeSrcRdsListResponse creates a response to parse from DescribeSrcRdsList response
-func CreateDescribeSrcRdsListResponse() (response *DescribeSrcRdsListResponse) {
-	response = &DescribeSrcRdsListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/drds/describe_storage_instance_sub_db_info.go

@@ -1,108 +0,0 @@
-package drds
-
-//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"
-)
-
-// DescribeStorageInstanceSubDbInfo invokes the drds.DescribeStorageInstanceSubDbInfo API synchronously
-// api document: https://help.aliyun.com/api/drds/describestorageinstancesubdbinfo.html
-func (client *Client) DescribeStorageInstanceSubDbInfo(request *DescribeStorageInstanceSubDbInfoRequest) (response *DescribeStorageInstanceSubDbInfoResponse, err error) {
-	response = CreateDescribeStorageInstanceSubDbInfoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeStorageInstanceSubDbInfoWithChan invokes the drds.DescribeStorageInstanceSubDbInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describestorageinstancesubdbinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeStorageInstanceSubDbInfoWithChan(request *DescribeStorageInstanceSubDbInfoRequest) (<-chan *DescribeStorageInstanceSubDbInfoResponse, <-chan error) {
-	responseChan := make(chan *DescribeStorageInstanceSubDbInfoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeStorageInstanceSubDbInfo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeStorageInstanceSubDbInfoWithCallback invokes the drds.DescribeStorageInstanceSubDbInfo API asynchronously
-// api document: https://help.aliyun.com/api/drds/describestorageinstancesubdbinfo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeStorageInstanceSubDbInfoWithCallback(request *DescribeStorageInstanceSubDbInfoRequest, callback func(response *DescribeStorageInstanceSubDbInfoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeStorageInstanceSubDbInfoResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeStorageInstanceSubDbInfo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeStorageInstanceSubDbInfoRequest is the request struct for api DescribeStorageInstanceSubDbInfo
-type DescribeStorageInstanceSubDbInfoRequest struct {
-	*requests.RpcRequest
-	InstanceId     string `position:"Query" name:"InstanceId"`
-	DbName         string `position:"Query" name:"DbName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
-	InstType       string `position:"Query" name:"InstType"`
-}
-
-// DescribeStorageInstanceSubDbInfoResponse is the response struct for api DescribeStorageInstanceSubDbInfo
-type DescribeStorageInstanceSubDbInfoResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-	Data      Data   `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeStorageInstanceSubDbInfoRequest creates a request to invoke DescribeStorageInstanceSubDbInfo API
-func CreateDescribeStorageInstanceSubDbInfoRequest() (request *DescribeStorageInstanceSubDbInfoRequest) {
-	request = &DescribeStorageInstanceSubDbInfoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeStorageInstanceSubDbInfo", "drds", "openAPI")
-	return
-}
-
-// CreateDescribeStorageInstanceSubDbInfoResponse creates a response to parse from DescribeStorageInstanceSubDbInfo response
-func CreateDescribeStorageInstanceSubDbInfoResponse() (response *DescribeStorageInstanceSubDbInfoResponse) {
-	response = &DescribeStorageInstanceSubDbInfoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/drds/describe_table.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeTableWithCallback(request *DescribeTableRequest, c
 // DescribeTableRequest is the request struct for api DescribeTable
 type DescribeTableRequest struct {
 	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 	DbName         string `position:"Query" name:"DbName"`
 	TableName      string `position:"Query" name:"TableName"`
-	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
 }
 
 // DescribeTableResponse is the response struct for api DescribeTable
@@ -94,7 +94,7 @@ func CreateDescribeTableRequest() (request *DescribeTableRequest) {
 	request = &DescribeTableRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeTable", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeTable", "Drds", "openAPI")
 	return
 }
 

+ 3 - 3
services/drds/describe_table_list_by_type.go

@@ -77,11 +77,11 @@ func (client *Client) DescribeTableListByTypeWithCallback(request *DescribeTable
 type DescribeTableListByTypeRequest struct {
 	*requests.RpcRequest
 	TableType      string           `position:"Query" name:"TableType"`
-	DbName         string           `position:"Query" name:"DbName"`
 	Query          string           `position:"Query" name:"Query"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	CurrentPage    requests.Integer `position:"Query" name:"CurrentPage"`
 	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
+	DbName         string           `position:"Query" name:"DbName"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeTableListByTypeResponse is the response struct for api DescribeTableListByType
@@ -100,7 +100,7 @@ func CreateDescribeTableListByTypeRequest() (request *DescribeTableListByTypeReq
 	request = &DescribeTableListByTypeRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeTableListByType", "drds", "openAPI")
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeTableListByType", "Drds", "openAPI")
 	return
 }
 

+ 107 - 0
services/drds/describe_table_sharding_info.go

@@ -0,0 +1,107 @@
+package drds
+
+//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"
+)
+
+// DescribeTableShardingInfo invokes the drds.DescribeTableShardingInfo API synchronously
+// api document: https://help.aliyun.com/api/drds/describetableshardinginfo.html
+func (client *Client) DescribeTableShardingInfo(request *DescribeTableShardingInfoRequest) (response *DescribeTableShardingInfoResponse, err error) {
+	response = CreateDescribeTableShardingInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeTableShardingInfoWithChan invokes the drds.DescribeTableShardingInfo API asynchronously
+// api document: https://help.aliyun.com/api/drds/describetableshardinginfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTableShardingInfoWithChan(request *DescribeTableShardingInfoRequest) (<-chan *DescribeTableShardingInfoResponse, <-chan error) {
+	responseChan := make(chan *DescribeTableShardingInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeTableShardingInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeTableShardingInfoWithCallback invokes the drds.DescribeTableShardingInfo API asynchronously
+// api document: https://help.aliyun.com/api/drds/describetableshardinginfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTableShardingInfoWithCallback(request *DescribeTableShardingInfoRequest, callback func(response *DescribeTableShardingInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeTableShardingInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeTableShardingInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeTableShardingInfoRequest is the request struct for api DescribeTableShardingInfo
+type DescribeTableShardingInfoRequest struct {
+	*requests.RpcRequest
+	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
+	DbName         string `position:"Query" name:"DbName"`
+	TableName      string `position:"Query" name:"TableName"`
+}
+
+// DescribeTableShardingInfoResponse is the response struct for api DescribeTableShardingInfo
+type DescribeTableShardingInfoResponse struct {
+	*responses.BaseResponse
+	RequestId string                          `json:"RequestId" xml:"RequestId"`
+	Success   bool                            `json:"Success" xml:"Success"`
+	Data      DataInDescribeTableShardingInfo `json:"Data" xml:"Data"`
+}
+
+// CreateDescribeTableShardingInfoRequest creates a request to invoke DescribeTableShardingInfo API
+func CreateDescribeTableShardingInfoRequest() (request *DescribeTableShardingInfoRequest) {
+	request = &DescribeTableShardingInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Drds", "2019-01-23", "DescribeTableShardingInfo", "Drds", "openAPI")
+	return
+}
+
+// CreateDescribeTableShardingInfoResponse creates a response to parse from DescribeTableShardingInfo response
+func CreateDescribeTableShardingInfoResponse() (response *DescribeTableShardingInfoResponse) {
+	response = &DescribeTableShardingInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

Some files were not shown because too many files changed in this diff