Jelajahi Sumber

Add ModifyDBInstanceAutoUpgradeMinorVersion Openapi.

sdk-team 6 tahun lalu
induk
melakukan
84d9962c10
42 mengubah file dengan 2268 tambahan dan 90 penghapusan
  1. 3 0
      ChangeLog.txt
  2. 11 5
      services/rds/clone_db_instance.go
  3. 1 0
      services/rds/create_db_instance.go
  4. 107 0
      services/rds/describe_action_event_policy.go
  5. 110 0
      services/rds/describe_db_instance_ip_hostname.go
  6. 111 0
      services/rds/describe_dtc_security_ip_hosts_for_sql_server.go
  7. 113 0
      services/rds/describe_events.go
  8. 108 0
      services/rds/describe_ha_switch_config.go
  9. 2 0
      services/rds/describe_instance_cross_backup_policy.go
  10. 108 0
      services/rds/modify_action_event_policy.go
  11. 108 0
      services/rds/modify_db_instance_auto_upgrade_minor_version.go
  12. 1 0
      services/rds/modify_db_instance_ssl.go
  13. 113 0
      services/rds/modify_dtc_security_ip_hosts_for_sql_server.go
  14. 108 0
      services/rds/modify_ha_switch_config.go
  15. 1 0
      services/rds/modify_instance_cross_backup_policy.go
  16. 1 0
      services/rds/modify_parameter.go
  17. 148 0
      services/rds/pre_check_create_order.go
  18. 141 0
      services/rds/pre_check_create_order_for_clone.go
  19. 120 0
      services/rds/pre_check_create_order_for_defer.go
  20. 121 0
      services/rds/pre_check_create_order_for_degrade.go
  21. 128 0
      services/rds/pre_check_create_order_for_modify.go
  22. 128 0
      services/rds/pre_check_create_order_for_rebuild.go
  23. 119 0
      services/rds/pre_check_create_order_for_temp_upgrade.go
  24. 109 0
      services/rds/pre_check_db_instance_operation.go
  25. 32 31
      services/rds/struct_db_instance.go
  26. 1 0
      services/rds/struct_db_instance_attribute.go
  27. 3 3
      services/rds/struct_event_items.go
  28. 31 0
      services/rds/struct_event_items_item.go
  29. 3 3
      services/rds/struct_failures_in_pre_check_create_order.go
  30. 3 3
      services/rds/struct_failures_in_pre_check_create_order_for_clone.go
  31. 3 3
      services/rds/struct_failures_in_pre_check_create_order_for_defer.go
  32. 21 0
      services/rds/struct_failures_in_pre_check_create_order_for_degrade.go
  33. 21 0
      services/rds/struct_failures_in_pre_check_create_order_for_modify.go
  34. 21 0
      services/rds/struct_failures_in_pre_check_create_order_for_rebuild.go
  35. 21 0
      services/rds/struct_failures_in_pre_check_create_order_for_temp_upgrade.go
  36. 21 0
      services/rds/struct_failures_in_pre_check_db_instance_operation.go
  37. 22 0
      services/rds/struct_failures_item.go
  38. 2 0
      services/rds/struct_item.go
  39. 21 0
      services/rds/struct_items_in_describe_dtc_security_ip_hosts_for_sql_server.go
  40. 0 21
      services/rds/struct_supported_engine_version_in_describe_available_resource.go
  41. 0 21
      services/rds/struct_supported_storage_type_in_describe_available_resource.go
  42. 22 0
      services/rds/struct_white_list_groups.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-08-27 Version: 1.60.120
+- Add ModifyDBInstanceAutoUpgradeMinorVersion Openapi.
+
 2019-08-26 Version: 1.60.119
 2019-08-26 Version: 1.60.119
 - QueryInstanceBillResponse change ownerId type from Long to String.
 - QueryInstanceBillResponse change ownerId type from Long to String.
 - QueryInstanceBillResponse change usage type from float to String.
 - QueryInstanceBillResponse change usage type from float to String.

+ 11 - 5
services/rds/clone_db_instance.go

@@ -77,24 +77,30 @@ func (client *Client) CloneDBInstanceWithCallback(request *CloneDBInstanceReques
 type CloneDBInstanceRequest struct {
 type CloneDBInstanceRequest struct {
 	*requests.RpcRequest
 	*requests.RpcRequest
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	ZoneIdSlave1          string           `position:"Query" name:"ZoneIdSlave1"`
+	ZoneIdSlave2          string           `position:"Query" name:"ZoneIdSlave2"`
+	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
+	TableMeta             string           `position:"Query" name:"TableMeta"`
+	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
 	RestoreTime           string           `position:"Query" name:"RestoreTime"`
 	RestoreTime           string           `position:"Query" name:"RestoreTime"`
 	Period                string           `position:"Query" name:"Period"`
 	Period                string           `position:"Query" name:"Period"`
-	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
 	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
-	ClientToken           string           `position:"Query" name:"ClientToken"`
 	BackupId              string           `position:"Query" name:"BackupId"`
 	BackupId              string           `position:"Query" name:"BackupId"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	RestoreTable          string           `position:"Query" name:"RestoreTable"`
 	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
 	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
 	UsedTime              string           `position:"Query" name:"UsedTime"`
 	UsedTime              string           `position:"Query" name:"UsedTime"`
 	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	DbNames               string           `position:"Query" name:"DbNames"`
 	DbNames               string           `position:"Query" name:"DbNames"`
 	VSwitchId             string           `position:"Query" name:"VSwitchId"`
 	VSwitchId             string           `position:"Query" name:"VSwitchId"`
 	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
 	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
-	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
 	VPCId                 string           `position:"Query" name:"VPCId"`
 	VPCId                 string           `position:"Query" name:"VPCId"`
 	ZoneId                string           `position:"Query" name:"ZoneId"`
 	ZoneId                string           `position:"Query" name:"ZoneId"`
-	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
-	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	Category              string           `position:"Query" name:"Category"`
 	PayType               string           `position:"Query" name:"PayType"`
 	PayType               string           `position:"Query" name:"PayType"`
 	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 }
 }

+ 1 - 0
services/rds/create_db_instance.go

@@ -105,6 +105,7 @@ type CreateDBInstanceRequest struct {
 	VPCId                 string           `position:"Query" name:"VPCId"`
 	VPCId                 string           `position:"Query" name:"VPCId"`
 	TunnelId              string           `position:"Query" name:"TunnelId"`
 	TunnelId              string           `position:"Query" name:"TunnelId"`
 	ZoneId                string           `position:"Query" name:"ZoneId"`
 	ZoneId                string           `position:"Query" name:"ZoneId"`
+	Category              string           `position:"Query" name:"Category"`
 	PayType               string           `position:"Query" name:"PayType"`
 	PayType               string           `position:"Query" name:"PayType"`
 	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 }
 }

+ 107 - 0
services/rds/describe_action_event_policy.go

@@ -0,0 +1,107 @@
+package rds
+
+//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"
+)
+
+// DescribeActionEventPolicy invokes the rds.DescribeActionEventPolicy API synchronously
+// api document: https://help.aliyun.com/api/rds/describeactioneventpolicy.html
+func (client *Client) DescribeActionEventPolicy(request *DescribeActionEventPolicyRequest) (response *DescribeActionEventPolicyResponse, err error) {
+	response = CreateDescribeActionEventPolicyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeActionEventPolicyWithChan invokes the rds.DescribeActionEventPolicy API asynchronously
+// api document: https://help.aliyun.com/api/rds/describeactioneventpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActionEventPolicyWithChan(request *DescribeActionEventPolicyRequest) (<-chan *DescribeActionEventPolicyResponse, <-chan error) {
+	responseChan := make(chan *DescribeActionEventPolicyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeActionEventPolicy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeActionEventPolicyWithCallback invokes the rds.DescribeActionEventPolicy API asynchronously
+// api document: https://help.aliyun.com/api/rds/describeactioneventpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActionEventPolicyWithCallback(request *DescribeActionEventPolicyRequest, callback func(response *DescribeActionEventPolicyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeActionEventPolicyResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeActionEventPolicy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeActionEventPolicyRequest is the request struct for api DescribeActionEventPolicy
+type DescribeActionEventPolicyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeActionEventPolicyResponse is the response struct for api DescribeActionEventPolicy
+type DescribeActionEventPolicyResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	RegionId       string `json:"RegionId" xml:"RegionId"`
+	EnableEventLog string `json:"EnableEventLog" xml:"EnableEventLog"`
+}
+
+// CreateDescribeActionEventPolicyRequest creates a request to invoke DescribeActionEventPolicy API
+func CreateDescribeActionEventPolicyRequest() (request *DescribeActionEventPolicyRequest) {
+	request = &DescribeActionEventPolicyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeActionEventPolicy", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeActionEventPolicyResponse creates a response to parse from DescribeActionEventPolicy response
+func CreateDescribeActionEventPolicyResponse() (response *DescribeActionEventPolicyResponse) {
+	response = &DescribeActionEventPolicyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/rds/describe_db_instance_ip_hostname.go

@@ -0,0 +1,110 @@
+package rds
+
+//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"
+)
+
+// DescribeDBInstanceIpHostname invokes the rds.DescribeDBInstanceIpHostname API synchronously
+// api document: https://help.aliyun.com/api/rds/describedbinstanceiphostname.html
+func (client *Client) DescribeDBInstanceIpHostname(request *DescribeDBInstanceIpHostnameRequest) (response *DescribeDBInstanceIpHostnameResponse, err error) {
+	response = CreateDescribeDBInstanceIpHostnameResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDBInstanceIpHostnameWithChan invokes the rds.DescribeDBInstanceIpHostname API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbinstanceiphostname.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBInstanceIpHostnameWithChan(request *DescribeDBInstanceIpHostnameRequest) (<-chan *DescribeDBInstanceIpHostnameResponse, <-chan error) {
+	responseChan := make(chan *DescribeDBInstanceIpHostnameResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDBInstanceIpHostname(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDBInstanceIpHostnameWithCallback invokes the rds.DescribeDBInstanceIpHostname API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbinstanceiphostname.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBInstanceIpHostnameWithCallback(request *DescribeDBInstanceIpHostnameRequest, callback func(response *DescribeDBInstanceIpHostnameResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDBInstanceIpHostnameResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDBInstanceIpHostname(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDBInstanceIpHostnameRequest is the request struct for api DescribeDBInstanceIpHostname
+type DescribeDBInstanceIpHostnameRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeDBInstanceIpHostnameResponse is the response struct for api DescribeDBInstanceIpHostname
+type DescribeDBInstanceIpHostnameResponse struct {
+	*responses.BaseResponse
+	RequestId       string `json:"RequestId" xml:"RequestId"`
+	DBInstanceId    string `json:"DBInstanceId" xml:"DBInstanceId"`
+	IpHostnameInfos string `json:"IpHostnameInfos" xml:"IpHostnameInfos"`
+}
+
+// CreateDescribeDBInstanceIpHostnameRequest creates a request to invoke DescribeDBInstanceIpHostname API
+func CreateDescribeDBInstanceIpHostnameRequest() (request *DescribeDBInstanceIpHostnameRequest) {
+	request = &DescribeDBInstanceIpHostnameRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeDBInstanceIpHostname", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeDBInstanceIpHostnameResponse creates a response to parse from DescribeDBInstanceIpHostname response
+func CreateDescribeDBInstanceIpHostnameResponse() (response *DescribeDBInstanceIpHostnameResponse) {
+	response = &DescribeDBInstanceIpHostnameResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/rds/describe_dtc_security_ip_hosts_for_sql_server.go

@@ -0,0 +1,111 @@
+package rds
+
+//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"
+)
+
+// DescribeDTCSecurityIpHostsForSQLServer invokes the rds.DescribeDTCSecurityIpHostsForSQLServer API synchronously
+// api document: https://help.aliyun.com/api/rds/describedtcsecurityiphostsforsqlserver.html
+func (client *Client) DescribeDTCSecurityIpHostsForSQLServer(request *DescribeDTCSecurityIpHostsForSQLServerRequest) (response *DescribeDTCSecurityIpHostsForSQLServerResponse, err error) {
+	response = CreateDescribeDTCSecurityIpHostsForSQLServerResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDTCSecurityIpHostsForSQLServerWithChan invokes the rds.DescribeDTCSecurityIpHostsForSQLServer API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedtcsecurityiphostsforsqlserver.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDTCSecurityIpHostsForSQLServerWithChan(request *DescribeDTCSecurityIpHostsForSQLServerRequest) (<-chan *DescribeDTCSecurityIpHostsForSQLServerResponse, <-chan error) {
+	responseChan := make(chan *DescribeDTCSecurityIpHostsForSQLServerResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDTCSecurityIpHostsForSQLServer(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDTCSecurityIpHostsForSQLServerWithCallback invokes the rds.DescribeDTCSecurityIpHostsForSQLServer API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedtcsecurityiphostsforsqlserver.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDTCSecurityIpHostsForSQLServerWithCallback(request *DescribeDTCSecurityIpHostsForSQLServerRequest, callback func(response *DescribeDTCSecurityIpHostsForSQLServerResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDTCSecurityIpHostsForSQLServerResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDTCSecurityIpHostsForSQLServer(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDTCSecurityIpHostsForSQLServerRequest is the request struct for api DescribeDTCSecurityIpHostsForSQLServer
+type DescribeDTCSecurityIpHostsForSQLServerRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeDTCSecurityIpHostsForSQLServerResponse is the response struct for api DescribeDTCSecurityIpHostsForSQLServer
+type DescribeDTCSecurityIpHostsForSQLServerResponse struct {
+	*responses.BaseResponse
+	RequestId     string                                        `json:"RequestId" xml:"RequestId"`
+	DBInstanceId  string                                        `json:"DBInstanceId" xml:"DBInstanceId"`
+	IpHostPairNum string                                        `json:"IpHostPairNum" xml:"IpHostPairNum"`
+	Items         ItemsInDescribeDTCSecurityIpHostsForSQLServer `json:"Items" xml:"Items"`
+}
+
+// CreateDescribeDTCSecurityIpHostsForSQLServerRequest creates a request to invoke DescribeDTCSecurityIpHostsForSQLServer API
+func CreateDescribeDTCSecurityIpHostsForSQLServerRequest() (request *DescribeDTCSecurityIpHostsForSQLServerRequest) {
+	request = &DescribeDTCSecurityIpHostsForSQLServerRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeDTCSecurityIpHostsForSQLServer", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeDTCSecurityIpHostsForSQLServerResponse creates a response to parse from DescribeDTCSecurityIpHostsForSQLServer response
+func CreateDescribeDTCSecurityIpHostsForSQLServerResponse() (response *DescribeDTCSecurityIpHostsForSQLServerResponse) {
+	response = &DescribeDTCSecurityIpHostsForSQLServerResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/rds/describe_events.go

@@ -0,0 +1,113 @@
+package rds
+
+//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"
+)
+
+// DescribeEvents invokes the rds.DescribeEvents API synchronously
+// api document: https://help.aliyun.com/api/rds/describeevents.html
+func (client *Client) DescribeEvents(request *DescribeEventsRequest) (response *DescribeEventsResponse, err error) {
+	response = CreateDescribeEventsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeEventsWithChan invokes the rds.DescribeEvents API asynchronously
+// api document: https://help.aliyun.com/api/rds/describeevents.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventsWithChan(request *DescribeEventsRequest) (<-chan *DescribeEventsResponse, <-chan error) {
+	responseChan := make(chan *DescribeEventsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeEvents(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeEventsWithCallback invokes the rds.DescribeEvents API asynchronously
+// api document: https://help.aliyun.com/api/rds/describeevents.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventsWithCallback(request *DescribeEventsRequest, callback func(response *DescribeEventsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeEventsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeEvents(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeEventsRequest is the request struct for api DescribeEvents
+type DescribeEventsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// DescribeEventsResponse is the response struct for api DescribeEvents
+type DescribeEventsResponse struct {
+	*responses.BaseResponse
+	RequestId        string     `json:"RequestId" xml:"RequestId"`
+	TotalRecordCount int        `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	PageSize         int        `json:"PageSize" xml:"PageSize"`
+	PageNumber       int        `json:"PageNumber" xml:"PageNumber"`
+	EventItems       EventItems `json:"EventItems" xml:"EventItems"`
+}
+
+// CreateDescribeEventsRequest creates a request to invoke DescribeEvents API
+func CreateDescribeEventsRequest() (request *DescribeEventsRequest) {
+	request = &DescribeEventsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeEvents", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeEventsResponse creates a response to parse from DescribeEvents response
+func CreateDescribeEventsResponse() (response *DescribeEventsResponse) {
+	response = &DescribeEventsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/rds/describe_ha_switch_config.go

@@ -0,0 +1,108 @@
+package rds
+
+//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"
+)
+
+// DescribeHASwitchConfig invokes the rds.DescribeHASwitchConfig API synchronously
+// api document: https://help.aliyun.com/api/rds/describehaswitchconfig.html
+func (client *Client) DescribeHASwitchConfig(request *DescribeHASwitchConfigRequest) (response *DescribeHASwitchConfigResponse, err error) {
+	response = CreateDescribeHASwitchConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeHASwitchConfigWithChan invokes the rds.DescribeHASwitchConfig API asynchronously
+// api document: https://help.aliyun.com/api/rds/describehaswitchconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeHASwitchConfigWithChan(request *DescribeHASwitchConfigRequest) (<-chan *DescribeHASwitchConfigResponse, <-chan error) {
+	responseChan := make(chan *DescribeHASwitchConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeHASwitchConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeHASwitchConfigWithCallback invokes the rds.DescribeHASwitchConfig API asynchronously
+// api document: https://help.aliyun.com/api/rds/describehaswitchconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeHASwitchConfigWithCallback(request *DescribeHASwitchConfigRequest, callback func(response *DescribeHASwitchConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeHASwitchConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeHASwitchConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeHASwitchConfigRequest is the request struct for api DescribeHASwitchConfig
+type DescribeHASwitchConfigRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeHASwitchConfigResponse is the response struct for api DescribeHASwitchConfig
+type DescribeHASwitchConfigResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	HAConfig     string `json:"HAConfig" xml:"HAConfig"`
+	ManualHATime string `json:"ManualHATime" xml:"ManualHATime"`
+}
+
+// CreateDescribeHASwitchConfigRequest creates a request to invoke DescribeHASwitchConfig API
+func CreateDescribeHASwitchConfigRequest() (request *DescribeHASwitchConfigRequest) {
+	request = &DescribeHASwitchConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeHASwitchConfig", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeHASwitchConfigResponse creates a response to parse from DescribeHASwitchConfig response
+func CreateDescribeHASwitchConfigResponse() (response *DescribeHASwitchConfigResponse) {
+	response = &DescribeHASwitchConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 0
services/rds/describe_instance_cross_backup_policy.go

@@ -105,6 +105,8 @@ type DescribeInstanceCrossBackupPolicyResponse struct {
 	RetentType            int    `json:"RetentType" xml:"RetentType"`
 	RetentType            int    `json:"RetentType" xml:"RetentType"`
 	Retention             int    `json:"Retention" xml:"Retention"`
 	Retention             int    `json:"Retention" xml:"Retention"`
 	LockMode              string `json:"LockMode" xml:"LockMode"`
 	LockMode              string `json:"LockMode" xml:"LockMode"`
+	RelService            string `json:"RelService" xml:"RelService"`
+	RelServiceId          string `json:"RelServiceId" xml:"RelServiceId"`
 }
 }
 
 
 // CreateDescribeInstanceCrossBackupPolicyRequest creates a request to invoke DescribeInstanceCrossBackupPolicy API
 // CreateDescribeInstanceCrossBackupPolicyRequest creates a request to invoke DescribeInstanceCrossBackupPolicy API

+ 108 - 0
services/rds/modify_action_event_policy.go

@@ -0,0 +1,108 @@
+package rds
+
+//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"
+)
+
+// ModifyActionEventPolicy invokes the rds.ModifyActionEventPolicy API synchronously
+// api document: https://help.aliyun.com/api/rds/modifyactioneventpolicy.html
+func (client *Client) ModifyActionEventPolicy(request *ModifyActionEventPolicyRequest) (response *ModifyActionEventPolicyResponse, err error) {
+	response = CreateModifyActionEventPolicyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyActionEventPolicyWithChan invokes the rds.ModifyActionEventPolicy API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifyactioneventpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyActionEventPolicyWithChan(request *ModifyActionEventPolicyRequest) (<-chan *ModifyActionEventPolicyResponse, <-chan error) {
+	responseChan := make(chan *ModifyActionEventPolicyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyActionEventPolicy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyActionEventPolicyWithCallback invokes the rds.ModifyActionEventPolicy API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifyactioneventpolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyActionEventPolicyWithCallback(request *ModifyActionEventPolicyRequest, callback func(response *ModifyActionEventPolicyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyActionEventPolicyResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyActionEventPolicy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyActionEventPolicyRequest is the request struct for api ModifyActionEventPolicy
+type ModifyActionEventPolicyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	EnableEventLog       string           `position:"Query" name:"EnableEventLog"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ModifyActionEventPolicyResponse is the response struct for api ModifyActionEventPolicy
+type ModifyActionEventPolicyResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	RegionId       string `json:"RegionId" xml:"RegionId"`
+	EnableEventLog string `json:"EnableEventLog" xml:"EnableEventLog"`
+}
+
+// CreateModifyActionEventPolicyRequest creates a request to invoke ModifyActionEventPolicy API
+func CreateModifyActionEventPolicyRequest() (request *ModifyActionEventPolicyRequest) {
+	request = &ModifyActionEventPolicyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ModifyActionEventPolicy", "rds", "openAPI")
+	return
+}
+
+// CreateModifyActionEventPolicyResponse creates a response to parse from ModifyActionEventPolicy response
+func CreateModifyActionEventPolicyResponse() (response *ModifyActionEventPolicyResponse) {
+	response = &ModifyActionEventPolicyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/rds/modify_db_instance_auto_upgrade_minor_version.go

@@ -0,0 +1,108 @@
+package rds
+
+//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"
+)
+
+// ModifyDBInstanceAutoUpgradeMinorVersion invokes the rds.ModifyDBInstanceAutoUpgradeMinorVersion API synchronously
+// api document: https://help.aliyun.com/api/rds/modifydbinstanceautoupgrademinorversion.html
+func (client *Client) ModifyDBInstanceAutoUpgradeMinorVersion(request *ModifyDBInstanceAutoUpgradeMinorVersionRequest) (response *ModifyDBInstanceAutoUpgradeMinorVersionResponse, err error) {
+	response = CreateModifyDBInstanceAutoUpgradeMinorVersionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyDBInstanceAutoUpgradeMinorVersionWithChan invokes the rds.ModifyDBInstanceAutoUpgradeMinorVersion API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbinstanceautoupgrademinorversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBInstanceAutoUpgradeMinorVersionWithChan(request *ModifyDBInstanceAutoUpgradeMinorVersionRequest) (<-chan *ModifyDBInstanceAutoUpgradeMinorVersionResponse, <-chan error) {
+	responseChan := make(chan *ModifyDBInstanceAutoUpgradeMinorVersionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyDBInstanceAutoUpgradeMinorVersion(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyDBInstanceAutoUpgradeMinorVersionWithCallback invokes the rds.ModifyDBInstanceAutoUpgradeMinorVersion API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbinstanceautoupgrademinorversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBInstanceAutoUpgradeMinorVersionWithCallback(request *ModifyDBInstanceAutoUpgradeMinorVersionRequest, callback func(response *ModifyDBInstanceAutoUpgradeMinorVersionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyDBInstanceAutoUpgradeMinorVersionResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyDBInstanceAutoUpgradeMinorVersion(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyDBInstanceAutoUpgradeMinorVersionRequest is the request struct for api ModifyDBInstanceAutoUpgradeMinorVersion
+type ModifyDBInstanceAutoUpgradeMinorVersionRequest struct {
+	*requests.RpcRequest
+	AutoUpgradeMinorVersion string           `position:"Query" name:"AutoUpgradeMinorVersion"`
+	ResourceOwnerId         requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount    string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken             string           `position:"Query" name:"ClientToken"`
+	DBInstanceId            string           `position:"Query" name:"DBInstanceId"`
+	OwnerId                 requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ModifyDBInstanceAutoUpgradeMinorVersionResponse is the response struct for api ModifyDBInstanceAutoUpgradeMinorVersion
+type ModifyDBInstanceAutoUpgradeMinorVersionResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyDBInstanceAutoUpgradeMinorVersionRequest creates a request to invoke ModifyDBInstanceAutoUpgradeMinorVersion API
+func CreateModifyDBInstanceAutoUpgradeMinorVersionRequest() (request *ModifyDBInstanceAutoUpgradeMinorVersionRequest) {
+	request = &ModifyDBInstanceAutoUpgradeMinorVersionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ModifyDBInstanceAutoUpgradeMinorVersion", "rds", "openAPI")
+	return
+}
+
+// CreateModifyDBInstanceAutoUpgradeMinorVersionResponse creates a response to parse from ModifyDBInstanceAutoUpgradeMinorVersion response
+func CreateModifyDBInstanceAutoUpgradeMinorVersionResponse() (response *ModifyDBInstanceAutoUpgradeMinorVersionResponse) {
+	response = &ModifyDBInstanceAutoUpgradeMinorVersionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/rds/modify_db_instance_ssl.go

@@ -82,6 +82,7 @@ type ModifyDBInstanceSSLRequest struct {
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	SSLEnabled           requests.Integer `position:"Query" name:"SSLEnabled"`
 }
 }
 
 
 // ModifyDBInstanceSSLResponse is the response struct for api ModifyDBInstanceSSL
 // ModifyDBInstanceSSLResponse is the response struct for api ModifyDBInstanceSSL

+ 113 - 0
services/rds/modify_dtc_security_ip_hosts_for_sql_server.go

@@ -0,0 +1,113 @@
+package rds
+
+//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"
+)
+
+// ModifyDTCSecurityIpHostsForSQLServer invokes the rds.ModifyDTCSecurityIpHostsForSQLServer API synchronously
+// api document: https://help.aliyun.com/api/rds/modifydtcsecurityiphostsforsqlserver.html
+func (client *Client) ModifyDTCSecurityIpHostsForSQLServer(request *ModifyDTCSecurityIpHostsForSQLServerRequest) (response *ModifyDTCSecurityIpHostsForSQLServerResponse, err error) {
+	response = CreateModifyDTCSecurityIpHostsForSQLServerResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyDTCSecurityIpHostsForSQLServerWithChan invokes the rds.ModifyDTCSecurityIpHostsForSQLServer API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydtcsecurityiphostsforsqlserver.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDTCSecurityIpHostsForSQLServerWithChan(request *ModifyDTCSecurityIpHostsForSQLServerRequest) (<-chan *ModifyDTCSecurityIpHostsForSQLServerResponse, <-chan error) {
+	responseChan := make(chan *ModifyDTCSecurityIpHostsForSQLServerResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyDTCSecurityIpHostsForSQLServer(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyDTCSecurityIpHostsForSQLServerWithCallback invokes the rds.ModifyDTCSecurityIpHostsForSQLServer API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydtcsecurityiphostsforsqlserver.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDTCSecurityIpHostsForSQLServerWithCallback(request *ModifyDTCSecurityIpHostsForSQLServerRequest, callback func(response *ModifyDTCSecurityIpHostsForSQLServerResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyDTCSecurityIpHostsForSQLServerResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyDTCSecurityIpHostsForSQLServer(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyDTCSecurityIpHostsForSQLServerRequest is the request struct for api ModifyDTCSecurityIpHostsForSQLServer
+type ModifyDTCSecurityIpHostsForSQLServerRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	WhiteListGroupName   string           `position:"Query" name:"WhiteListGroupName"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	SecurityIpHosts      string           `position:"Query" name:"SecurityIpHosts"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ModifyDTCSecurityIpHostsForSQLServerResponse is the response struct for api ModifyDTCSecurityIpHostsForSQLServer
+type ModifyDTCSecurityIpHostsForSQLServerResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	DBInstanceId string `json:"DBInstanceId" xml:"DBInstanceId"`
+	DTCSetResult string `json:"DTCSetResult" xml:"DTCSetResult"`
+	TaskId       string `json:"TaskId" xml:"TaskId"`
+}
+
+// CreateModifyDTCSecurityIpHostsForSQLServerRequest creates a request to invoke ModifyDTCSecurityIpHostsForSQLServer API
+func CreateModifyDTCSecurityIpHostsForSQLServerRequest() (request *ModifyDTCSecurityIpHostsForSQLServerRequest) {
+	request = &ModifyDTCSecurityIpHostsForSQLServerRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ModifyDTCSecurityIpHostsForSQLServer", "rds", "openAPI")
+	return
+}
+
+// CreateModifyDTCSecurityIpHostsForSQLServerResponse creates a response to parse from ModifyDTCSecurityIpHostsForSQLServer response
+func CreateModifyDTCSecurityIpHostsForSQLServerResponse() (response *ModifyDTCSecurityIpHostsForSQLServerResponse) {
+	response = &ModifyDTCSecurityIpHostsForSQLServerResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/rds/modify_ha_switch_config.go

@@ -0,0 +1,108 @@
+package rds
+
+//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"
+)
+
+// ModifyHASwitchConfig invokes the rds.ModifyHASwitchConfig API synchronously
+// api document: https://help.aliyun.com/api/rds/modifyhaswitchconfig.html
+func (client *Client) ModifyHASwitchConfig(request *ModifyHASwitchConfigRequest) (response *ModifyHASwitchConfigResponse, err error) {
+	response = CreateModifyHASwitchConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyHASwitchConfigWithChan invokes the rds.ModifyHASwitchConfig API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifyhaswitchconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyHASwitchConfigWithChan(request *ModifyHASwitchConfigRequest) (<-chan *ModifyHASwitchConfigResponse, <-chan error) {
+	responseChan := make(chan *ModifyHASwitchConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyHASwitchConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyHASwitchConfigWithCallback invokes the rds.ModifyHASwitchConfig API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifyhaswitchconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyHASwitchConfigWithCallback(request *ModifyHASwitchConfigRequest, callback func(response *ModifyHASwitchConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyHASwitchConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyHASwitchConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyHASwitchConfigRequest is the request struct for api ModifyHASwitchConfig
+type ModifyHASwitchConfigRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ManualHATime         string           `position:"Query" name:"ManualHATime"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	HAConfig             string           `position:"Query" name:"HAConfig"`
+}
+
+// ModifyHASwitchConfigResponse is the response struct for api ModifyHASwitchConfig
+type ModifyHASwitchConfigResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyHASwitchConfigRequest creates a request to invoke ModifyHASwitchConfig API
+func CreateModifyHASwitchConfigRequest() (request *ModifyHASwitchConfigRequest) {
+	request = &ModifyHASwitchConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ModifyHASwitchConfig", "rds", "openAPI")
+	return
+}
+
+// CreateModifyHASwitchConfigResponse creates a response to parse from ModifyHASwitchConfig response
+func CreateModifyHASwitchConfigResponse() (response *ModifyHASwitchConfigResponse) {
+	response = &ModifyHASwitchConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/rds/modify_instance_cross_backup_policy.go

@@ -82,6 +82,7 @@ type ModifyInstanceCrossBackupPolicyRequest struct {
 	CrossBackupType      string           `position:"Query" name:"CrossBackupType"`
 	CrossBackupType      string           `position:"Query" name:"CrossBackupType"`
 	LogBackupEnabled     string           `position:"Query" name:"LogBackupEnabled"`
 	LogBackupEnabled     string           `position:"Query" name:"LogBackupEnabled"`
 	BackupEnabled        string           `position:"Query" name:"BackupEnabled"`
 	BackupEnabled        string           `position:"Query" name:"BackupEnabled"`
+	RelService           string           `position:"Query" name:"RelService"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	CrossBackupRegion    string           `position:"Query" name:"CrossBackupRegion"`
 	CrossBackupRegion    string           `position:"Query" name:"CrossBackupRegion"`
 	StorageType          string           `position:"Query" name:"StorageType"`
 	StorageType          string           `position:"Query" name:"StorageType"`

+ 1 - 0
services/rds/modify_parameter.go

@@ -77,6 +77,7 @@ func (client *Client) ModifyParameterWithCallback(request *ModifyParameterReques
 type ModifyParameterRequest struct {
 type ModifyParameterRequest struct {
 	*requests.RpcRequest
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ParameterGroupId     string           `position:"Query" name:"ParameterGroupId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`

+ 148 - 0
services/rds/pre_check_create_order.go

@@ -0,0 +1,148 @@
+package rds
+
+//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"
+)
+
+// PreCheckCreateOrder invokes the rds.PreCheckCreateOrder API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorder.html
+func (client *Client) PreCheckCreateOrder(request *PreCheckCreateOrderRequest) (response *PreCheckCreateOrderResponse, err error) {
+	response = CreatePreCheckCreateOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckCreateOrderWithChan invokes the rds.PreCheckCreateOrder API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderWithChan(request *PreCheckCreateOrderRequest) (<-chan *PreCheckCreateOrderResponse, <-chan error) {
+	responseChan := make(chan *PreCheckCreateOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckCreateOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckCreateOrderWithCallback invokes the rds.PreCheckCreateOrder API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderWithCallback(request *PreCheckCreateOrderRequest, callback func(response *PreCheckCreateOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckCreateOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckCreateOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckCreateOrderRequest is the request struct for api PreCheckCreateOrder
+type PreCheckCreateOrderRequest struct {
+	*requests.RpcRequest
+	ConnectionMode        string           `position:"Query" name:"ConnectionMode"`
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	NodeType              string           `position:"Query" name:"NodeType"`
+	SystemDBCharset       string           `position:"Query" name:"SystemDBCharset"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	CountryCode           string           `position:"Query" name:"CountryCode"`
+	ZoneIdSlave1          string           `position:"Query" name:"ZoneIdSlave1"`
+	ZoneIdSlave2          string           `position:"Query" name:"ZoneIdSlave2"`
+	EngineVersion         string           `position:"Query" name:"EngineVersion"`
+	CurrencyCode          string           `position:"Query" name:"CurrencyCode"`
+	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
+	Engine                string           `position:"Query" name:"Engine"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	BusinessInfo          string           `position:"Query" name:"BusinessInfo"`
+	DBInstanceNetType     string           `position:"Query" name:"DBInstanceNetType"`
+	AgentId               string           `position:"Query" name:"AgentId"`
+	RestoreTime           string           `position:"Query" name:"RestoreTime"`
+	Quantity              requests.Integer `position:"Query" name:"Quantity"`
+	AutoPay               requests.Boolean `position:"Query" name:"AutoPay"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	Resource              string           `position:"Query" name:"Resource"`
+	BackupId              string           `position:"Query" name:"BackupId"`
+	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	CommodityCode         string           `position:"Query" name:"CommodityCode"`
+	EncryptionKey         string           `position:"Query" name:"EncryptionKey"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime              string           `position:"Query" name:"UsedTime"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
+	SecurityIPList        string           `position:"Query" name:"SecurityIPList"`
+	VSwitchId             string           `position:"Query" name:"VSwitchId"`
+	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
+	InstanceUsedType      requests.Integer `position:"Query" name:"InstanceUsedType"`
+	AutoRenew             string           `position:"Query" name:"AutoRenew"`
+	PromotionCode         string           `position:"Query" name:"PromotionCode"`
+	RoleARN               string           `position:"Query" name:"RoleARN"`
+	VPCId                 string           `position:"Query" name:"VPCId"`
+	ZoneId                string           `position:"Query" name:"ZoneId"`
+	TimeType              string           `position:"Query" name:"TimeType"`
+	Category              string           `position:"Query" name:"Category"`
+	PayType               string           `position:"Query" name:"PayType"`
+	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
+}
+
+// PreCheckCreateOrderResponse is the response struct for api PreCheckCreateOrder
+type PreCheckCreateOrderResponse struct {
+	*responses.BaseResponse
+	RequestId      string                        `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                          `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckCreateOrder `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckCreateOrderRequest creates a request to invoke PreCheckCreateOrder API
+func CreatePreCheckCreateOrderRequest() (request *PreCheckCreateOrderRequest) {
+	request = &PreCheckCreateOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckCreateOrder", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckCreateOrderResponse creates a response to parse from PreCheckCreateOrder response
+func CreatePreCheckCreateOrderResponse() (response *PreCheckCreateOrderResponse) {
+	response = &PreCheckCreateOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 141 - 0
services/rds/pre_check_create_order_for_clone.go

@@ -0,0 +1,141 @@
+package rds
+
+//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"
+)
+
+// PreCheckCreateOrderForClone invokes the rds.PreCheckCreateOrderForClone API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderforclone.html
+func (client *Client) PreCheckCreateOrderForClone(request *PreCheckCreateOrderForCloneRequest) (response *PreCheckCreateOrderForCloneResponse, err error) {
+	response = CreatePreCheckCreateOrderForCloneResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckCreateOrderForCloneWithChan invokes the rds.PreCheckCreateOrderForClone API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderforclone.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForCloneWithChan(request *PreCheckCreateOrderForCloneRequest) (<-chan *PreCheckCreateOrderForCloneResponse, <-chan error) {
+	responseChan := make(chan *PreCheckCreateOrderForCloneResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckCreateOrderForClone(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckCreateOrderForCloneWithCallback invokes the rds.PreCheckCreateOrderForClone API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderforclone.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForCloneWithCallback(request *PreCheckCreateOrderForCloneRequest, callback func(response *PreCheckCreateOrderForCloneResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckCreateOrderForCloneResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckCreateOrderForClone(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckCreateOrderForCloneRequest is the request struct for api PreCheckCreateOrderForClone
+type PreCheckCreateOrderForCloneRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId           requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage         requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	NodeType                  string           `position:"Query" name:"NodeType"`
+	ClientToken               string           `position:"Query" name:"ClientToken"`
+	CountryCode               string           `position:"Query" name:"CountryCode"`
+	CurrencyCode              string           `position:"Query" name:"CurrencyCode"`
+	ResourceGroupId           string           `position:"Query" name:"ResourceGroupId"`
+	TableMeta                 string           `position:"Query" name:"TableMeta"`
+	DBInstanceId              string           `position:"Query" name:"DBInstanceId"`
+	DBInstanceDescription     string           `position:"Query" name:"DBInstanceDescription"`
+	DBInstanceStorageType     string           `position:"Query" name:"DBInstanceStorageType"`
+	BusinessInfo              string           `position:"Query" name:"BusinessInfo"`
+	AgentId                   string           `position:"Query" name:"AgentId"`
+	RestoreTime               string           `position:"Query" name:"RestoreTime"`
+	Quantity                  requests.Integer `position:"Query" name:"Quantity"`
+	AutoPay                   requests.Boolean `position:"Query" name:"AutoPay"`
+	ResourceOwnerAccount      string           `position:"Query" name:"ResourceOwnerAccount"`
+	Resource                  string           `position:"Query" name:"Resource"`
+	BackupId                  string           `position:"Query" name:"BackupId"`
+	OwnerAccount              string           `position:"Query" name:"OwnerAccount"`
+	RestoreTable              string           `position:"Query" name:"RestoreTable"`
+	CommodityCode             string           `position:"Query" name:"CommodityCode"`
+	OwnerId                   requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime                  string           `position:"Query" name:"UsedTime"`
+	DBInstanceClass           string           `position:"Query" name:"DBInstanceClass"`
+	DBNames                   string           `position:"Query" name:"DBNames"`
+	VSwitchId                 string           `position:"Query" name:"VSwitchId"`
+	PrivateIpAddress          string           `position:"Query" name:"PrivateIpAddress"`
+	InstanceUsedType          requests.Integer `position:"Query" name:"InstanceUsedType"`
+	AutoRenew                 string           `position:"Query" name:"AutoRenew"`
+	PromotionCode             string           `position:"Query" name:"PromotionCode"`
+	VPCId                     string           `position:"Query" name:"VPCId"`
+	ZoneId                    string           `position:"Query" name:"ZoneId"`
+	CloneInstanceDefaultValue string           `position:"Query" name:"CloneInstanceDefaultValue"`
+	TimeType                  string           `position:"Query" name:"TimeType"`
+	PayType                   string           `position:"Query" name:"PayType"`
+	InstanceNetworkType       string           `position:"Query" name:"InstanceNetworkType"`
+}
+
+// PreCheckCreateOrderForCloneResponse is the response struct for api PreCheckCreateOrderForClone
+type PreCheckCreateOrderForCloneResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                                  `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckCreateOrderForClone `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckCreateOrderForCloneRequest creates a request to invoke PreCheckCreateOrderForClone API
+func CreatePreCheckCreateOrderForCloneRequest() (request *PreCheckCreateOrderForCloneRequest) {
+	request = &PreCheckCreateOrderForCloneRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckCreateOrderForClone", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckCreateOrderForCloneResponse creates a response to parse from PreCheckCreateOrderForClone response
+func CreatePreCheckCreateOrderForCloneResponse() (response *PreCheckCreateOrderForCloneResponse) {
+	response = &PreCheckCreateOrderForCloneResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 120 - 0
services/rds/pre_check_create_order_for_defer.go

@@ -0,0 +1,120 @@
+package rds
+
+//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"
+)
+
+// PreCheckCreateOrderForDefer invokes the rds.PreCheckCreateOrderForDefer API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfordefer.html
+func (client *Client) PreCheckCreateOrderForDefer(request *PreCheckCreateOrderForDeferRequest) (response *PreCheckCreateOrderForDeferResponse, err error) {
+	response = CreatePreCheckCreateOrderForDeferResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckCreateOrderForDeferWithChan invokes the rds.PreCheckCreateOrderForDefer API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfordefer.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForDeferWithChan(request *PreCheckCreateOrderForDeferRequest) (<-chan *PreCheckCreateOrderForDeferResponse, <-chan error) {
+	responseChan := make(chan *PreCheckCreateOrderForDeferResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckCreateOrderForDefer(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckCreateOrderForDeferWithCallback invokes the rds.PreCheckCreateOrderForDefer API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfordefer.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForDeferWithCallback(request *PreCheckCreateOrderForDeferRequest, callback func(response *PreCheckCreateOrderForDeferResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckCreateOrderForDeferResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckCreateOrderForDefer(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckCreateOrderForDeferRequest is the request struct for api PreCheckCreateOrderForDefer
+type PreCheckCreateOrderForDeferRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	AutoPay               requests.Boolean `position:"Query" name:"AutoPay"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	Resource              string           `position:"Query" name:"Resource"`
+	CommodityCode         string           `position:"Query" name:"CommodityCode"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime              string           `position:"Query" name:"UsedTime"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
+	RenewChange           requests.Boolean `position:"Query" name:"RenewChange"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	TimeType              string           `position:"Query" name:"TimeType"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	PayType               string           `position:"Query" name:"PayType"`
+	BusinessInfo          string           `position:"Query" name:"BusinessInfo"`
+}
+
+// PreCheckCreateOrderForDeferResponse is the response struct for api PreCheckCreateOrderForDefer
+type PreCheckCreateOrderForDeferResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                                  `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckCreateOrderForDefer `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckCreateOrderForDeferRequest creates a request to invoke PreCheckCreateOrderForDefer API
+func CreatePreCheckCreateOrderForDeferRequest() (request *PreCheckCreateOrderForDeferRequest) {
+	request = &PreCheckCreateOrderForDeferRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckCreateOrderForDefer", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckCreateOrderForDeferResponse creates a response to parse from PreCheckCreateOrderForDefer response
+func CreatePreCheckCreateOrderForDeferResponse() (response *PreCheckCreateOrderForDeferResponse) {
+	response = &PreCheckCreateOrderForDeferResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 121 - 0
services/rds/pre_check_create_order_for_degrade.go

@@ -0,0 +1,121 @@
+package rds
+
+//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"
+)
+
+// PreCheckCreateOrderForDegrade invokes the rds.PreCheckCreateOrderForDegrade API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfordegrade.html
+func (client *Client) PreCheckCreateOrderForDegrade(request *PreCheckCreateOrderForDegradeRequest) (response *PreCheckCreateOrderForDegradeResponse, err error) {
+	response = CreatePreCheckCreateOrderForDegradeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckCreateOrderForDegradeWithChan invokes the rds.PreCheckCreateOrderForDegrade API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfordegrade.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForDegradeWithChan(request *PreCheckCreateOrderForDegradeRequest) (<-chan *PreCheckCreateOrderForDegradeResponse, <-chan error) {
+	responseChan := make(chan *PreCheckCreateOrderForDegradeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckCreateOrderForDegrade(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckCreateOrderForDegradeWithCallback invokes the rds.PreCheckCreateOrderForDegrade API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfordegrade.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForDegradeWithCallback(request *PreCheckCreateOrderForDegradeRequest, callback func(response *PreCheckCreateOrderForDegradeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckCreateOrderForDegradeResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckCreateOrderForDegrade(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckCreateOrderForDegradeRequest is the request struct for api PreCheckCreateOrderForDegrade
+type PreCheckCreateOrderForDegradeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage    requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	AutoPay              requests.Boolean `position:"Query" name:"AutoPay"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	Resource             string           `position:"Query" name:"Resource"`
+	CommodityCode        string           `position:"Query" name:"CommodityCode"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime             string           `position:"Query" name:"UsedTime"`
+	DBInstanceClass      string           `position:"Query" name:"DBInstanceClass"`
+	EffectiveTime        string           `position:"Query" name:"EffectiveTime"`
+	PromotionCode        string           `position:"Query" name:"PromotionCode"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	TimeType             string           `position:"Query" name:"TimeType"`
+	PayType              string           `position:"Query" name:"PayType"`
+	BusinessInfo         string           `position:"Query" name:"BusinessInfo"`
+}
+
+// PreCheckCreateOrderForDegradeResponse is the response struct for api PreCheckCreateOrderForDegrade
+type PreCheckCreateOrderForDegradeResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                  `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                                    `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckCreateOrderForDegrade `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckCreateOrderForDegradeRequest creates a request to invoke PreCheckCreateOrderForDegrade API
+func CreatePreCheckCreateOrderForDegradeRequest() (request *PreCheckCreateOrderForDegradeRequest) {
+	request = &PreCheckCreateOrderForDegradeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckCreateOrderForDegrade", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckCreateOrderForDegradeResponse creates a response to parse from PreCheckCreateOrderForDegrade response
+func CreatePreCheckCreateOrderForDegradeResponse() (response *PreCheckCreateOrderForDegradeResponse) {
+	response = &PreCheckCreateOrderForDegradeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 128 - 0
services/rds/pre_check_create_order_for_modify.go

@@ -0,0 +1,128 @@
+package rds
+
+//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"
+)
+
+// PreCheckCreateOrderForModify invokes the rds.PreCheckCreateOrderForModify API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderformodify.html
+func (client *Client) PreCheckCreateOrderForModify(request *PreCheckCreateOrderForModifyRequest) (response *PreCheckCreateOrderForModifyResponse, err error) {
+	response = CreatePreCheckCreateOrderForModifyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckCreateOrderForModifyWithChan invokes the rds.PreCheckCreateOrderForModify API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderformodify.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForModifyWithChan(request *PreCheckCreateOrderForModifyRequest) (<-chan *PreCheckCreateOrderForModifyResponse, <-chan error) {
+	responseChan := make(chan *PreCheckCreateOrderForModifyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckCreateOrderForModify(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckCreateOrderForModifyWithCallback invokes the rds.PreCheckCreateOrderForModify API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderformodify.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForModifyWithCallback(request *PreCheckCreateOrderForModifyRequest, callback func(response *PreCheckCreateOrderForModifyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckCreateOrderForModifyResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckCreateOrderForModify(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckCreateOrderForModifyRequest is the request struct for api PreCheckCreateOrderForModify
+type PreCheckCreateOrderForModifyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	NodeType              string           `position:"Query" name:"NodeType"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	EngineVersion         string           `position:"Query" name:"EngineVersion"`
+	EffectiveTime         string           `position:"Query" name:"EffectiveTime"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	SwitchTime            string           `position:"Query" name:"SwitchTime"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	BusinessInfo          string           `position:"Query" name:"BusinessInfo"`
+	AutoPay               requests.Boolean `position:"Query" name:"AutoPay"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	Resource              string           `position:"Query" name:"Resource"`
+	CommodityCode         string           `position:"Query" name:"CommodityCode"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime              string           `position:"Query" name:"UsedTime"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
+	VSwitchId             string           `position:"Query" name:"VSwitchId"`
+	PromotionCode         string           `position:"Query" name:"PromotionCode"`
+	VpcId                 string           `position:"Query" name:"VpcId"`
+	ZoneId                string           `position:"Query" name:"ZoneId"`
+	TimeType              string           `position:"Query" name:"TimeType"`
+	PayType               string           `position:"Query" name:"PayType"`
+	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
+}
+
+// PreCheckCreateOrderForModifyResponse is the response struct for api PreCheckCreateOrderForModify
+type PreCheckCreateOrderForModifyResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                 `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                                   `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckCreateOrderForModify `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckCreateOrderForModifyRequest creates a request to invoke PreCheckCreateOrderForModify API
+func CreatePreCheckCreateOrderForModifyRequest() (request *PreCheckCreateOrderForModifyRequest) {
+	request = &PreCheckCreateOrderForModifyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckCreateOrderForModify", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckCreateOrderForModifyResponse creates a response to parse from PreCheckCreateOrderForModify response
+func CreatePreCheckCreateOrderForModifyResponse() (response *PreCheckCreateOrderForModifyResponse) {
+	response = &PreCheckCreateOrderForModifyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 128 - 0
services/rds/pre_check_create_order_for_rebuild.go

@@ -0,0 +1,128 @@
+package rds
+
+//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"
+)
+
+// PreCheckCreateOrderForRebuild invokes the rds.PreCheckCreateOrderForRebuild API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderforrebuild.html
+func (client *Client) PreCheckCreateOrderForRebuild(request *PreCheckCreateOrderForRebuildRequest) (response *PreCheckCreateOrderForRebuildResponse, err error) {
+	response = CreatePreCheckCreateOrderForRebuildResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckCreateOrderForRebuildWithChan invokes the rds.PreCheckCreateOrderForRebuild API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderforrebuild.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForRebuildWithChan(request *PreCheckCreateOrderForRebuildRequest) (<-chan *PreCheckCreateOrderForRebuildResponse, <-chan error) {
+	responseChan := make(chan *PreCheckCreateOrderForRebuildResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckCreateOrderForRebuild(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckCreateOrderForRebuildWithCallback invokes the rds.PreCheckCreateOrderForRebuild API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderforrebuild.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForRebuildWithCallback(request *PreCheckCreateOrderForRebuildRequest, callback func(response *PreCheckCreateOrderForRebuildResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckCreateOrderForRebuildResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckCreateOrderForRebuild(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckCreateOrderForRebuildRequest is the request struct for api PreCheckCreateOrderForRebuild
+type PreCheckCreateOrderForRebuildRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
+	BusinessInfo          string           `position:"Query" name:"BusinessInfo"`
+	AgentId               string           `position:"Query" name:"AgentId"`
+	AutoPay               requests.Boolean `position:"Query" name:"AutoPay"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	Resource              string           `position:"Query" name:"Resource"`
+	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	CommodityCode         string           `position:"Query" name:"CommodityCode"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime              string           `position:"Query" name:"UsedTime"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
+	VSwitchId             string           `position:"Query" name:"VSwitchId"`
+	RebuildInstanceFlag   requests.Boolean `position:"Query" name:"RebuildInstanceFlag"`
+	AutoRenew             string           `position:"Query" name:"AutoRenew"`
+	PromotionCode         string           `position:"Query" name:"PromotionCode"`
+	VPCId                 string           `position:"Query" name:"VPCId"`
+	ZoneId                string           `position:"Query" name:"ZoneId"`
+	TimeType              string           `position:"Query" name:"TimeType"`
+	PayType               string           `position:"Query" name:"PayType"`
+	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
+}
+
+// PreCheckCreateOrderForRebuildResponse is the response struct for api PreCheckCreateOrderForRebuild
+type PreCheckCreateOrderForRebuildResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                  `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                                    `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckCreateOrderForRebuild `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckCreateOrderForRebuildRequest creates a request to invoke PreCheckCreateOrderForRebuild API
+func CreatePreCheckCreateOrderForRebuildRequest() (request *PreCheckCreateOrderForRebuildRequest) {
+	request = &PreCheckCreateOrderForRebuildRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckCreateOrderForRebuild", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckCreateOrderForRebuildResponse creates a response to parse from PreCheckCreateOrderForRebuild response
+func CreatePreCheckCreateOrderForRebuildResponse() (response *PreCheckCreateOrderForRebuildResponse) {
+	response = &PreCheckCreateOrderForRebuildResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 119 - 0
services/rds/pre_check_create_order_for_temp_upgrade.go

@@ -0,0 +1,119 @@
+package rds
+
+//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"
+)
+
+// PreCheckCreateOrderForTempUpgrade invokes the rds.PreCheckCreateOrderForTempUpgrade API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfortempupgrade.html
+func (client *Client) PreCheckCreateOrderForTempUpgrade(request *PreCheckCreateOrderForTempUpgradeRequest) (response *PreCheckCreateOrderForTempUpgradeResponse, err error) {
+	response = CreatePreCheckCreateOrderForTempUpgradeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckCreateOrderForTempUpgradeWithChan invokes the rds.PreCheckCreateOrderForTempUpgrade API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfortempupgrade.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForTempUpgradeWithChan(request *PreCheckCreateOrderForTempUpgradeRequest) (<-chan *PreCheckCreateOrderForTempUpgradeResponse, <-chan error) {
+	responseChan := make(chan *PreCheckCreateOrderForTempUpgradeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckCreateOrderForTempUpgrade(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckCreateOrderForTempUpgradeWithCallback invokes the rds.PreCheckCreateOrderForTempUpgrade API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckcreateorderfortempupgrade.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckCreateOrderForTempUpgradeWithCallback(request *PreCheckCreateOrderForTempUpgradeRequest, callback func(response *PreCheckCreateOrderForTempUpgradeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckCreateOrderForTempUpgradeResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckCreateOrderForTempUpgrade(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckCreateOrderForTempUpgradeRequest is the request struct for api PreCheckCreateOrderForTempUpgrade
+type PreCheckCreateOrderForTempUpgradeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	NodeType              string           `position:"Query" name:"NodeType"`
+	AutoPay               requests.Boolean `position:"Query" name:"AutoPay"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	Resource              string           `position:"Query" name:"Resource"`
+	CommodityCode         string           `position:"Query" name:"CommodityCode"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime              string           `position:"Query" name:"UsedTime"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
+	EffectiveTime         string           `position:"Query" name:"EffectiveTime"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	BusinessInfo          string           `position:"Query" name:"BusinessInfo"`
+}
+
+// PreCheckCreateOrderForTempUpgradeResponse is the response struct for api PreCheckCreateOrderForTempUpgrade
+type PreCheckCreateOrderForTempUpgradeResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                      `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                                        `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckCreateOrderForTempUpgrade `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckCreateOrderForTempUpgradeRequest creates a request to invoke PreCheckCreateOrderForTempUpgrade API
+func CreatePreCheckCreateOrderForTempUpgradeRequest() (request *PreCheckCreateOrderForTempUpgradeRequest) {
+	request = &PreCheckCreateOrderForTempUpgradeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckCreateOrderForTempUpgrade", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckCreateOrderForTempUpgradeResponse creates a response to parse from PreCheckCreateOrderForTempUpgrade response
+func CreatePreCheckCreateOrderForTempUpgradeResponse() (response *PreCheckCreateOrderForTempUpgradeResponse) {
+	response = &PreCheckCreateOrderForTempUpgradeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/rds/pre_check_db_instance_operation.go

@@ -0,0 +1,109 @@
+package rds
+
+//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"
+)
+
+// PreCheckDBInstanceOperation invokes the rds.PreCheckDBInstanceOperation API synchronously
+// api document: https://help.aliyun.com/api/rds/precheckdbinstanceoperation.html
+func (client *Client) PreCheckDBInstanceOperation(request *PreCheckDBInstanceOperationRequest) (response *PreCheckDBInstanceOperationResponse, err error) {
+	response = CreatePreCheckDBInstanceOperationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PreCheckDBInstanceOperationWithChan invokes the rds.PreCheckDBInstanceOperation API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckdbinstanceoperation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckDBInstanceOperationWithChan(request *PreCheckDBInstanceOperationRequest) (<-chan *PreCheckDBInstanceOperationResponse, <-chan error) {
+	responseChan := make(chan *PreCheckDBInstanceOperationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PreCheckDBInstanceOperation(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PreCheckDBInstanceOperationWithCallback invokes the rds.PreCheckDBInstanceOperation API asynchronously
+// api document: https://help.aliyun.com/api/rds/precheckdbinstanceoperation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PreCheckDBInstanceOperationWithCallback(request *PreCheckDBInstanceOperationRequest, callback func(response *PreCheckDBInstanceOperationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PreCheckDBInstanceOperationResponse
+		var err error
+		defer close(result)
+		response, err = client.PreCheckDBInstanceOperation(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PreCheckDBInstanceOperationRequest is the request struct for api PreCheckDBInstanceOperation
+type PreCheckDBInstanceOperationRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Operation            string           `position:"Query" name:"Operation"`
+}
+
+// PreCheckDBInstanceOperationResponse is the response struct for api PreCheckDBInstanceOperation
+type PreCheckDBInstanceOperationResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                `json:"RequestId" xml:"RequestId"`
+	PreCheckResult bool                                  `json:"PreCheckResult" xml:"PreCheckResult"`
+	Failures       FailuresInPreCheckDBInstanceOperation `json:"Failures" xml:"Failures"`
+}
+
+// CreatePreCheckDBInstanceOperationRequest creates a request to invoke PreCheckDBInstanceOperation API
+func CreatePreCheckDBInstanceOperationRequest() (request *PreCheckDBInstanceOperationRequest) {
+	request = &PreCheckDBInstanceOperationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "PreCheckDBInstanceOperation", "rds", "openAPI")
+	return
+}
+
+// CreatePreCheckDBInstanceOperationResponse creates a response to parse from PreCheckDBInstanceOperation response
+func CreatePreCheckDBInstanceOperationResponse() (response *PreCheckDBInstanceOperationResponse) {
+	response = &PreCheckDBInstanceOperationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 32 - 31
services/rds/struct_db_instance.go

@@ -17,35 +17,36 @@ package rds
 
 
 // DBInstance is a nested struct in rds response
 // DBInstance is a nested struct in rds response
 type DBInstance struct {
 type DBInstance struct {
-	InsId                 int                                        `json:"InsId" xml:"InsId"`
-	DBInstanceId          string                                     `json:"DBInstanceId" xml:"DBInstanceId"`
-	DBInstanceDescription string                                     `json:"DBInstanceDescription" xml:"DBInstanceDescription"`
-	PayType               string                                     `json:"PayType" xml:"PayType"`
-	DBInstanceType        string                                     `json:"DBInstanceType" xml:"DBInstanceType"`
-	RegionId              string                                     `json:"RegionId" xml:"RegionId"`
-	ExpireTime            string                                     `json:"ExpireTime" xml:"ExpireTime"`
-	DestroyTime           string                                     `json:"DestroyTime" xml:"DestroyTime"`
-	DBInstanceStatus      string                                     `json:"DBInstanceStatus" xml:"DBInstanceStatus"`
-	Engine                string                                     `json:"Engine" xml:"Engine"`
-	DBInstanceNetType     string                                     `json:"DBInstanceNetType" xml:"DBInstanceNetType"`
-	ConnectionMode        string                                     `json:"ConnectionMode" xml:"ConnectionMode"`
-	LockMode              string                                     `json:"LockMode" xml:"LockMode"`
-	Category              string                                     `json:"Category" xml:"Category"`
-	DBInstanceStorageType string                                     `json:"DBInstanceStorageType" xml:"DBInstanceStorageType"`
-	DBInstanceClass       string                                     `json:"DBInstanceClass" xml:"DBInstanceClass"`
-	InstanceNetworkType   string                                     `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
-	VpcCloudInstanceId    string                                     `json:"VpcCloudInstanceId" xml:"VpcCloudInstanceId"`
-	LockReason            string                                     `json:"LockReason" xml:"LockReason"`
-	ZoneId                string                                     `json:"ZoneId" xml:"ZoneId"`
-	MutriORsignle         bool                                       `json:"MutriORsignle" xml:"MutriORsignle"`
-	CreateTime            string                                     `json:"CreateTime" xml:"CreateTime"`
-	EngineVersion         string                                     `json:"EngineVersion" xml:"EngineVersion"`
-	GuardDBInstanceId     string                                     `json:"GuardDBInstanceId" xml:"GuardDBInstanceId"`
-	TempDBInstanceId      string                                     `json:"TempDBInstanceId" xml:"TempDBInstanceId"`
-	MasterInstanceId      string                                     `json:"MasterInstanceId" xml:"MasterInstanceId"`
-	VpcId                 string                                     `json:"VpcId" xml:"VpcId"`
-	VSwitchId             string                                     `json:"VSwitchId" xml:"VSwitchId"`
-	ReplicateId           string                                     `json:"ReplicateId" xml:"ReplicateId"`
-	ResourceGroupId       string                                     `json:"ResourceGroupId" xml:"ResourceGroupId"`
-	ReadOnlyDBInstanceIds ReadOnlyDBInstanceIdsInDescribeDBInstances `json:"ReadOnlyDBInstanceIds" xml:"ReadOnlyDBInstanceIds"`
+	InsId                   int                                        `json:"InsId" xml:"InsId"`
+	DBInstanceId            string                                     `json:"DBInstanceId" xml:"DBInstanceId"`
+	DBInstanceDescription   string                                     `json:"DBInstanceDescription" xml:"DBInstanceDescription"`
+	PayType                 string                                     `json:"PayType" xml:"PayType"`
+	DBInstanceType          string                                     `json:"DBInstanceType" xml:"DBInstanceType"`
+	RegionId                string                                     `json:"RegionId" xml:"RegionId"`
+	ExpireTime              string                                     `json:"ExpireTime" xml:"ExpireTime"`
+	DestroyTime             string                                     `json:"DestroyTime" xml:"DestroyTime"`
+	DBInstanceStatus        string                                     `json:"DBInstanceStatus" xml:"DBInstanceStatus"`
+	Engine                  string                                     `json:"Engine" xml:"Engine"`
+	DBInstanceNetType       string                                     `json:"DBInstanceNetType" xml:"DBInstanceNetType"`
+	ConnectionMode          string                                     `json:"ConnectionMode" xml:"ConnectionMode"`
+	LockMode                string                                     `json:"LockMode" xml:"LockMode"`
+	Category                string                                     `json:"Category" xml:"Category"`
+	DBInstanceStorageType   string                                     `json:"DBInstanceStorageType" xml:"DBInstanceStorageType"`
+	DBInstanceClass         string                                     `json:"DBInstanceClass" xml:"DBInstanceClass"`
+	InstanceNetworkType     string                                     `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
+	VpcCloudInstanceId      string                                     `json:"VpcCloudInstanceId" xml:"VpcCloudInstanceId"`
+	LockReason              string                                     `json:"LockReason" xml:"LockReason"`
+	ZoneId                  string                                     `json:"ZoneId" xml:"ZoneId"`
+	MutriORsignle           bool                                       `json:"MutriORsignle" xml:"MutriORsignle"`
+	CreateTime              string                                     `json:"CreateTime" xml:"CreateTime"`
+	EngineVersion           string                                     `json:"EngineVersion" xml:"EngineVersion"`
+	GuardDBInstanceId       string                                     `json:"GuardDBInstanceId" xml:"GuardDBInstanceId"`
+	TempDBInstanceId        string                                     `json:"TempDBInstanceId" xml:"TempDBInstanceId"`
+	MasterInstanceId        string                                     `json:"MasterInstanceId" xml:"MasterInstanceId"`
+	VpcId                   string                                     `json:"VpcId" xml:"VpcId"`
+	VSwitchId               string                                     `json:"VSwitchId" xml:"VSwitchId"`
+	ReplicateId             string                                     `json:"ReplicateId" xml:"ReplicateId"`
+	ResourceGroupId         string                                     `json:"ResourceGroupId" xml:"ResourceGroupId"`
+	AutoUpgradeMinorVersion string                                     `json:"AutoUpgradeMinorVersion" xml:"AutoUpgradeMinorVersion"`
+	ReadOnlyDBInstanceIds   ReadOnlyDBInstanceIdsInDescribeDBInstances `json:"ReadOnlyDBInstanceIds" xml:"ReadOnlyDBInstanceIds"`
 }
 }

+ 1 - 0
services/rds/struct_db_instance_attribute.go

@@ -85,6 +85,7 @@ type DBInstanceAttribute struct {
 	ConnectionString                  string                                             `json:"ConnectionString" xml:"ConnectionString"`
 	ConnectionString                  string                                             `json:"ConnectionString" xml:"ConnectionString"`
 	TempUpgradeRecoveryCpu            int                                                `json:"TempUpgradeRecoveryCpu" xml:"TempUpgradeRecoveryCpu"`
 	TempUpgradeRecoveryCpu            int                                                `json:"TempUpgradeRecoveryCpu" xml:"TempUpgradeRecoveryCpu"`
 	AvailabilityValue                 string                                             `json:"AvailabilityValue" xml:"AvailabilityValue"`
 	AvailabilityValue                 string                                             `json:"AvailabilityValue" xml:"AvailabilityValue"`
+	AutoUpgradeMinorVersion           string                                             `json:"AutoUpgradeMinorVersion" xml:"AutoUpgradeMinorVersion"`
 	Extra                             Extra                                              `json:"Extra" xml:"Extra"`
 	Extra                             Extra                                              `json:"Extra" xml:"Extra"`
 	ReadOnlyDBInstanceIds             ReadOnlyDBInstanceIdsInDescribeDBInstanceAttribute `json:"ReadOnlyDBInstanceIds" xml:"ReadOnlyDBInstanceIds"`
 	ReadOnlyDBInstanceIds             ReadOnlyDBInstanceIdsInDescribeDBInstanceAttribute `json:"ReadOnlyDBInstanceIds" xml:"ReadOnlyDBInstanceIds"`
 	SlaveZones                        SlaveZones                                         `json:"SlaveZones" xml:"SlaveZones"`
 	SlaveZones                        SlaveZones                                         `json:"SlaveZones" xml:"SlaveZones"`

+ 3 - 3
services/rds/struct_regions.go → services/rds/struct_event_items.go

@@ -15,7 +15,7 @@ package rds
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 
-// Regions is a nested struct in rds response
-type Regions struct {
-	RDSRegion []RDSRegion `json:"RDSRegion" xml:"RDSRegion"`
+// EventItems is a nested struct in rds response
+type EventItems struct {
+	EventItemsItem []EventItemsItem `json:"EventItemsItem" xml:"EventItemsItem"`
 }
 }

+ 31 - 0
services/rds/struct_event_items_item.go

@@ -0,0 +1,31 @@
+package rds
+
+//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.
+
+// EventItemsItem is a nested struct in rds response
+type EventItemsItem struct {
+	EventId         int    `json:"EventId" xml:"EventId"`
+	EventType       string `json:"EventType" xml:"EventType"`
+	EventName       string `json:"EventName" xml:"EventName"`
+	EventTime       string `json:"EventTime" xml:"EventTime"`
+	ResourceType    string `json:"ResourceType" xml:"ResourceType"`
+	ResourceName    string `json:"ResourceName" xml:"ResourceName"`
+	RegionId        string `json:"RegionId" xml:"RegionId"`
+	EventUserType   string `json:"EventUserType" xml:"EventUserType"`
+	EventReason     string `json:"EventReason" xml:"EventReason"`
+	EventPayload    string `json:"EventPayload" xml:"EventPayload"`
+	EventRecordTime string `json:"EventRecordTime" xml:"EventRecordTime"`
+}

+ 3 - 3
services/rds/struct_supported_engine_in_describe_available_resource.go → services/rds/struct_failures_in_pre_check_create_order.go

@@ -15,7 +15,7 @@ package rds
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 
-// SupportedEngineInDescribeAvailableResource is a nested struct in rds response
-type SupportedEngineInDescribeAvailableResource struct {
-	SupportedEngines []SupportedEngines `json:"SupportedEngines" xml:"SupportedEngines"`
+// FailuresInPreCheckCreateOrder is a nested struct in rds response
+type FailuresInPreCheckCreateOrder struct {
+	FailuresItem []FailuresItem `json:"FailuresItem" xml:"FailuresItem"`
 }
 }

+ 3 - 3
services/rds/struct_available_resource_in_describe_available_resource.go → services/rds/struct_failures_in_pre_check_create_order_for_clone.go

@@ -15,7 +15,7 @@ package rds
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 
-// AvailableResourceInDescribeAvailableResource is a nested struct in rds response
-type AvailableResourceInDescribeAvailableResource struct {
-	AvailableResources []AvailableResources `json:"AvailableResources" xml:"AvailableResources"`
+// FailuresInPreCheckCreateOrderForClone is a nested struct in rds response
+type FailuresInPreCheckCreateOrderForClone struct {
+	FailuresItem []FailuresItem `json:"FailuresItem" xml:"FailuresItem"`
 }
 }

+ 3 - 3
services/rds/struct_supported_category_in_describe_available_resource.go → services/rds/struct_failures_in_pre_check_create_order_for_defer.go

@@ -15,7 +15,7 @@ package rds
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 
-// SupportedCategoryInDescribeAvailableResource is a nested struct in rds response
-type SupportedCategoryInDescribeAvailableResource struct {
-	SupportedCategorys []SupportedCategorys `json:"SupportedCategorys" xml:"SupportedCategorys"`
+// FailuresInPreCheckCreateOrderForDefer is a nested struct in rds response
+type FailuresInPreCheckCreateOrderForDefer struct {
+	FailuresItem []FailuresItem `json:"FailuresItem" xml:"FailuresItem"`
 }
 }

+ 21 - 0
services/rds/struct_failures_in_pre_check_create_order_for_degrade.go

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

+ 21 - 0
services/rds/struct_failures_in_pre_check_create_order_for_modify.go

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

+ 21 - 0
services/rds/struct_failures_in_pre_check_create_order_for_rebuild.go

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

+ 21 - 0
services/rds/struct_failures_in_pre_check_create_order_for_temp_upgrade.go

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

+ 21 - 0
services/rds/struct_failures_in_pre_check_db_instance_operation.go

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

+ 22 - 0
services/rds/struct_failures_item.go

@@ -0,0 +1,22 @@
+package rds
+
+//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.
+
+// FailuresItem is a nested struct in rds response
+type FailuresItem struct {
+	Message string `json:"Message" xml:"Message"`
+	Code    string `json:"Code" xml:"Code"`
+}

+ 2 - 0
services/rds/struct_item.go

@@ -50,6 +50,7 @@ type Item struct {
 	BackupEndTime             string                               `json:"BackupEndTime" xml:"BackupEndTime"`
 	BackupEndTime             string                               `json:"BackupEndTime" xml:"BackupEndTime"`
 	BackupMethod              string                               `json:"BackupMethod" xml:"BackupMethod"`
 	BackupMethod              string                               `json:"BackupMethod" xml:"BackupMethod"`
 	LogBeginTime              string                               `json:"LogBeginTime" xml:"LogBeginTime"`
 	LogBeginTime              string                               `json:"LogBeginTime" xml:"LogBeginTime"`
+	RelService                string                               `json:"RelService" xml:"RelService"`
 	BackupType                string                               `json:"BackupType" xml:"BackupType"`
 	BackupType                string                               `json:"BackupType" xml:"BackupType"`
 	Retention                 int                                  `json:"Retention" xml:"Retention"`
 	Retention                 int                                  `json:"Retention" xml:"Retention"`
 	DBInstanceStatus          string                               `json:"DBInstanceStatus" xml:"DBInstanceStatus"`
 	DBInstanceStatus          string                               `json:"DBInstanceStatus" xml:"DBInstanceStatus"`
@@ -59,6 +60,7 @@ type Item struct {
 	ConsistentTime            string                               `json:"ConsistentTime" xml:"ConsistentTime"`
 	ConsistentTime            string                               `json:"ConsistentTime" xml:"ConsistentTime"`
 	CrossBackupType           string                               `json:"CrossBackupType" xml:"CrossBackupType"`
 	CrossBackupType           string                               `json:"CrossBackupType" xml:"CrossBackupType"`
 	Status                    string                               `json:"Status" xml:"Status"`
 	Status                    string                               `json:"Status" xml:"Status"`
+	RelServiceId              string                               `json:"RelServiceId" xml:"RelServiceId"`
 	LockMode                  string                               `json:"LockMode" xml:"LockMode"`
 	LockMode                  string                               `json:"LockMode" xml:"LockMode"`
 	RestoreRegions            RestoreRegions                       `json:"RestoreRegions" xml:"RestoreRegions"`
 	RestoreRegions            RestoreRegions                       `json:"RestoreRegions" xml:"RestoreRegions"`
 	LatencyTopNItems          LatencyTopNItemsInDescribeSQLReports `json:"LatencyTopNItems" xml:"LatencyTopNItems"`
 	LatencyTopNItems          LatencyTopNItemsInDescribeSQLReports `json:"LatencyTopNItems" xml:"LatencyTopNItems"`

+ 21 - 0
services/rds/struct_items_in_describe_dtc_security_ip_hosts_for_sql_server.go

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

+ 0 - 21
services/rds/struct_supported_engine_version_in_describe_available_resource.go

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

+ 0 - 21
services/rds/struct_supported_storage_type_in_describe_available_resource.go

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

+ 22 - 0
services/rds/struct_white_list_groups.go

@@ -0,0 +1,22 @@
+package rds
+
+//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.
+
+// WhiteListGroups is a nested struct in rds response
+type WhiteListGroups struct {
+	SecurityIpHosts    string `json:"SecurityIpHosts" xml:"SecurityIpHosts"`
+	WhitelistGroupName string `json:"WhitelistGroupName" xml:"WhitelistGroupName"`
+}