Ver código fonte

Generated 2014-08-15 for Rds.

sdk-team 6 anos atrás
pai
commit
faeff27b7e

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-12-31 Version: v1.60.311
+- Generated 2014-08-15 for `Rds`.
+- Supported SQL SERVER support delete backup set according to time range.
+
 2019-12-31 Version: v1.60.310
 - Generated 2016-01-20 for `Kms`.
 - Support asymmetric keys.

+ 110 - 0
services/rds/delete_backup_file.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"
+)
+
+// DeleteBackupFile invokes the rds.DeleteBackupFile API synchronously
+// api document: https://help.aliyun.com/api/rds/deletebackupfile.html
+func (client *Client) DeleteBackupFile(request *DeleteBackupFileRequest) (response *DeleteBackupFileResponse, err error) {
+	response = CreateDeleteBackupFileResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteBackupFileWithChan invokes the rds.DeleteBackupFile API asynchronously
+// api document: https://help.aliyun.com/api/rds/deletebackupfile.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteBackupFileWithChan(request *DeleteBackupFileRequest) (<-chan *DeleteBackupFileResponse, <-chan error) {
+	responseChan := make(chan *DeleteBackupFileResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteBackupFile(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteBackupFileWithCallback invokes the rds.DeleteBackupFile API asynchronously
+// api document: https://help.aliyun.com/api/rds/deletebackupfile.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteBackupFileWithCallback(request *DeleteBackupFileRequest, callback func(response *DeleteBackupFileResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteBackupFileResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteBackupFile(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteBackupFileRequest is the request struct for api DeleteBackupFile
+type DeleteBackupFileRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupId             string           `position:"Query" name:"BackupId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	BackupTime           string           `position:"Query" name:"BackupTime"`
+	DBName               string           `position:"Query" name:"DBName"`
+}
+
+// DeleteBackupFileResponse is the response struct for api DeleteBackupFile
+type DeleteBackupFileResponse struct {
+	*responses.BaseResponse
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	DeletedBaksetIds DeletedBaksetIds `json:"DeletedBaksetIds" xml:"DeletedBaksetIds"`
+}
+
+// CreateDeleteBackupFileRequest creates a request to invoke DeleteBackupFile API
+func CreateDeleteBackupFileRequest() (request *DeleteBackupFileRequest) {
+	request = &DeleteBackupFileRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DeleteBackupFile", "rds", "openAPI")
+	return
+}
+
+// CreateDeleteBackupFileResponse creates a response to parse from DeleteBackupFile response
+func CreateDeleteBackupFileResponse() (response *DeleteBackupFileResponse) {
+	response = &DeleteBackupFileResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 4 - 2
services/rds/describe_accounts.go

@@ -89,8 +89,10 @@ type DescribeAccountsRequest struct {
 // DescribeAccountsResponse is the response struct for api DescribeAccounts
 type DescribeAccountsResponse struct {
 	*responses.BaseResponse
-	RequestId string                     `json:"RequestId" xml:"RequestId"`
-	Accounts  AccountsInDescribeAccounts `json:"Accounts" xml:"Accounts"`
+	RequestId                             string                     `json:"RequestId" xml:"RequestId"`
+	SystemAdminAccountStatus              string                     `json:"SystemAdminAccountStatus" xml:"SystemAdminAccountStatus"`
+	SystemAdminAccountFirstActivationTime string                     `json:"SystemAdminAccountFirstActivationTime" xml:"SystemAdminAccountFirstActivationTime"`
+	Accounts                              AccountsInDescribeAccounts `json:"Accounts" xml:"Accounts"`
 }
 
 // CreateDescribeAccountsRequest creates a request to invoke DescribeAccounts API

+ 21 - 20
services/rds/describe_backup_policy.go

@@ -88,26 +88,27 @@ type DescribeBackupPolicyRequest struct {
 // DescribeBackupPolicyResponse is the response struct for api DescribeBackupPolicy
 type DescribeBackupPolicyResponse struct {
 	*responses.BaseResponse
-	RequestId                    string              `json:"RequestId" xml:"RequestId"`
-	BackupRetentionPeriod        int                 `json:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"`
-	PreferredNextBackupTime      string              `json:"PreferredNextBackupTime" xml:"PreferredNextBackupTime"`
-	PreferredBackupTime          string              `json:"PreferredBackupTime" xml:"PreferredBackupTime"`
-	PreferredBackupPeriod        string              `json:"PreferredBackupPeriod" xml:"PreferredBackupPeriod"`
-	BackupLog                    string              `json:"BackupLog" xml:"BackupLog"`
-	LogBackupRetentionPeriod     int                 `json:"LogBackupRetentionPeriod" xml:"LogBackupRetentionPeriod"`
-	EnableBackupLog              string              `json:"EnableBackupLog" xml:"EnableBackupLog"`
-	LocalLogRetentionHours       int                 `json:"LocalLogRetentionHours" xml:"LocalLogRetentionHours"`
-	LocalLogRetentionSpace       string              `json:"LocalLogRetentionSpace" xml:"LocalLogRetentionSpace"`
-	Duplication                  string              `json:"Duplication" xml:"Duplication"`
-	DuplicationContent           string              `json:"DuplicationContent" xml:"DuplicationContent"`
-	HighSpaceUsageProtection     string              `json:"HighSpaceUsageProtection" xml:"HighSpaceUsageProtection"`
-	LogBackupFrequency           string              `json:"LogBackupFrequency" xml:"LogBackupFrequency"`
-	CompressType                 string              `json:"CompressType" xml:"CompressType"`
-	ArchiveBackupRetentionPeriod string              `json:"ArchiveBackupRetentionPeriod" xml:"ArchiveBackupRetentionPeriod"`
-	ArchiveBackupKeepPolicy      string              `json:"ArchiveBackupKeepPolicy" xml:"ArchiveBackupKeepPolicy"`
-	ArchiveBackupKeepCount       string              `json:"ArchiveBackupKeepCount" xml:"ArchiveBackupKeepCount"`
-	ReleasedKeepPolicy           string              `json:"ReleasedKeepPolicy" xml:"ReleasedKeepPolicy"`
-	DuplicationLocation          DuplicationLocation `json:"DuplicationLocation" xml:"DuplicationLocation"`
+	RequestId                     string              `json:"RequestId" xml:"RequestId"`
+	BackupRetentionPeriod         int                 `json:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"`
+	PreferredNextBackupTime       string              `json:"PreferredNextBackupTime" xml:"PreferredNextBackupTime"`
+	PreferredBackupTime           string              `json:"PreferredBackupTime" xml:"PreferredBackupTime"`
+	PreferredBackupPeriod         string              `json:"PreferredBackupPeriod" xml:"PreferredBackupPeriod"`
+	BackupLog                     string              `json:"BackupLog" xml:"BackupLog"`
+	LogBackupRetentionPeriod      int                 `json:"LogBackupRetentionPeriod" xml:"LogBackupRetentionPeriod"`
+	EnableBackupLog               string              `json:"EnableBackupLog" xml:"EnableBackupLog"`
+	LocalLogRetentionHours        int                 `json:"LocalLogRetentionHours" xml:"LocalLogRetentionHours"`
+	LocalLogRetentionSpace        string              `json:"LocalLogRetentionSpace" xml:"LocalLogRetentionSpace"`
+	Duplication                   string              `json:"Duplication" xml:"Duplication"`
+	DuplicationContent            string              `json:"DuplicationContent" xml:"DuplicationContent"`
+	HighSpaceUsageProtection      string              `json:"HighSpaceUsageProtection" xml:"HighSpaceUsageProtection"`
+	LogBackupFrequency            string              `json:"LogBackupFrequency" xml:"LogBackupFrequency"`
+	CompressType                  string              `json:"CompressType" xml:"CompressType"`
+	ArchiveBackupRetentionPeriod  string              `json:"ArchiveBackupRetentionPeriod" xml:"ArchiveBackupRetentionPeriod"`
+	ArchiveBackupKeepPolicy       string              `json:"ArchiveBackupKeepPolicy" xml:"ArchiveBackupKeepPolicy"`
+	ArchiveBackupKeepCount        string              `json:"ArchiveBackupKeepCount" xml:"ArchiveBackupKeepCount"`
+	ReleasedKeepPolicy            string              `json:"ReleasedKeepPolicy" xml:"ReleasedKeepPolicy"`
+	LogBackupLocalRetentionNumber int                 `json:"LogBackupLocalRetentionNumber" xml:"LogBackupLocalRetentionNumber"`
+	DuplicationLocation           DuplicationLocation `json:"DuplicationLocation" xml:"DuplicationLocation"`
 }
 
 // CreateDescribeBackupPolicyRequest creates a request to invoke DescribeBackupPolicy API

+ 6 - 6
services/rds/describe_db_instance_performance.go

@@ -89,12 +89,12 @@ type DescribeDBInstancePerformanceRequest struct {
 // DescribeDBInstancePerformanceResponse is the response struct for api DescribeDBInstancePerformance
 type DescribeDBInstancePerformanceResponse struct {
 	*responses.BaseResponse
-	RequestId       string          `json:"RequestId" xml:"RequestId"`
-	DBInstanceId    string          `json:"DBInstanceId" xml:"DBInstanceId"`
-	Engine          string          `json:"Engine" xml:"Engine"`
-	StartTime       string          `json:"StartTime" xml:"StartTime"`
-	EndTime         string          `json:"EndTime" xml:"EndTime"`
-	PerformanceKeys PerformanceKeys `json:"PerformanceKeys" xml:"PerformanceKeys"`
+	RequestId       string                                         `json:"RequestId" xml:"RequestId"`
+	DBInstanceId    string                                         `json:"DBInstanceId" xml:"DBInstanceId"`
+	Engine          string                                         `json:"Engine" xml:"Engine"`
+	StartTime       string                                         `json:"StartTime" xml:"StartTime"`
+	EndTime         string                                         `json:"EndTime" xml:"EndTime"`
+	PerformanceKeys PerformanceKeysInDescribeDBInstancePerformance `json:"PerformanceKeys" xml:"PerformanceKeys"`
 }
 
 // CreateDescribeDBInstancePerformanceRequest creates a request to invoke DescribeDBInstancePerformance API

+ 111 - 0
services/rds/describe_db_proxy.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"
+)
+
+// DescribeDBProxy invokes the rds.DescribeDBProxy API synchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxy.html
+func (client *Client) DescribeDBProxy(request *DescribeDBProxyRequest) (response *DescribeDBProxyResponse, err error) {
+	response = CreateDescribeDBProxyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDBProxyWithChan invokes the rds.DescribeDBProxy API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBProxyWithChan(request *DescribeDBProxyRequest) (<-chan *DescribeDBProxyResponse, <-chan error) {
+	responseChan := make(chan *DescribeDBProxyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDBProxy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDBProxyWithCallback invokes the rds.DescribeDBProxy API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBProxyWithCallback(request *DescribeDBProxyRequest, callback func(response *DescribeDBProxyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDBProxyResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDBProxy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDBProxyRequest is the request struct for api DescribeDBProxy
+type DescribeDBProxyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+}
+
+// DescribeDBProxyResponse is the response struct for api DescribeDBProxy
+type DescribeDBProxyResponse struct {
+	*responses.BaseResponse
+	RequestId                 string                    `json:"RequestId" xml:"RequestId"`
+	DBProxyServiceStatus      string                    `json:"DBProxyServiceStatus" xml:"DBProxyServiceStatus"`
+	DBProxyInstanceType       string                    `json:"DBProxyInstanceType" xml:"DBProxyInstanceType"`
+	DBProxyInstanceNum        int                       `json:"DBProxyInstanceNum" xml:"DBProxyInstanceNum"`
+	DBProxyInstanceStatus     string                    `json:"DBProxyInstanceStatus" xml:"DBProxyInstanceStatus"`
+	DBProxyConnectStringItems DBProxyConnectStringItems `json:"DBProxyConnectStringItems" xml:"DBProxyConnectStringItems"`
+}
+
+// CreateDescribeDBProxyRequest creates a request to invoke DescribeDBProxy API
+func CreateDescribeDBProxyRequest() (request *DescribeDBProxyRequest) {
+	request = &DescribeDBProxyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeDBProxy", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeDBProxyResponse creates a response to parse from DescribeDBProxy response
+func CreateDescribeDBProxyResponse() (response *DescribeDBProxyResponse) {
+	response = &DescribeDBProxyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/rds/describe_db_proxy_endpoint.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// DescribeDBProxyEndpoint invokes the rds.DescribeDBProxyEndpoint API synchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxyendpoint.html
+func (client *Client) DescribeDBProxyEndpoint(request *DescribeDBProxyEndpointRequest) (response *DescribeDBProxyEndpointResponse, err error) {
+	response = CreateDescribeDBProxyEndpointResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDBProxyEndpointWithChan invokes the rds.DescribeDBProxyEndpoint API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxyendpoint.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBProxyEndpointWithChan(request *DescribeDBProxyEndpointRequest) (<-chan *DescribeDBProxyEndpointResponse, <-chan error) {
+	responseChan := make(chan *DescribeDBProxyEndpointResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDBProxyEndpoint(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDBProxyEndpointWithCallback invokes the rds.DescribeDBProxyEndpoint API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxyendpoint.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBProxyEndpointWithCallback(request *DescribeDBProxyEndpointRequest, callback func(response *DescribeDBProxyEndpointResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDBProxyEndpointResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDBProxyEndpoint(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDBProxyEndpointRequest is the request struct for api DescribeDBProxyEndpoint
+type DescribeDBProxyEndpointRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBProxyConnectString string           `position:"Query" name:"DBProxyConnectString"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBProxyEndpointId    string           `position:"Query" name:"DBProxyEndpointId"`
+}
+
+// DescribeDBProxyEndpointResponse is the response struct for api DescribeDBProxyEndpoint
+type DescribeDBProxyEndpointResponse struct {
+	*responses.BaseResponse
+	RequestId                        string `json:"RequestId" xml:"RequestId"`
+	DBProxyEndpointId                string `json:"DBProxyEndpointId" xml:"DBProxyEndpointId"`
+	DBProxyConnectString             string `json:"DBProxyConnectString" xml:"DBProxyConnectString"`
+	DBProxyConnectStringPort         string `json:"DBProxyConnectStringPort" xml:"DBProxyConnectStringPort"`
+	DBProxyConnectStringNetType      string `json:"DBProxyConnectStringNetType" xml:"DBProxyConnectStringNetType"`
+	DBProxyFeatures                  string `json:"DBProxyFeatures" xml:"DBProxyFeatures"`
+	ReadOnlyInstanceMaxDelayTime     string `json:"ReadOnlyInstanceMaxDelayTime" xml:"ReadOnlyInstanceMaxDelayTime"`
+	ReadOnlyInstanceDistributionType string `json:"ReadOnlyInstanceDistributionType" xml:"ReadOnlyInstanceDistributionType"`
+	ReadOnlyInstanceWeight           string `json:"ReadOnlyInstanceWeight" xml:"ReadOnlyInstanceWeight"`
+}
+
+// CreateDescribeDBProxyEndpointRequest creates a request to invoke DescribeDBProxyEndpoint API
+func CreateDescribeDBProxyEndpointRequest() (request *DescribeDBProxyEndpointRequest) {
+	request = &DescribeDBProxyEndpointRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeDBProxyEndpoint", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeDBProxyEndpointResponse creates a response to parse from DescribeDBProxyEndpoint response
+func CreateDescribeDBProxyEndpointResponse() (response *DescribeDBProxyEndpointResponse) {
+	response = &DescribeDBProxyEndpointResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/rds/describe_db_proxy_performance.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// DescribeDBProxyPerformance invokes the rds.DescribeDBProxyPerformance API synchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxyperformance.html
+func (client *Client) DescribeDBProxyPerformance(request *DescribeDBProxyPerformanceRequest) (response *DescribeDBProxyPerformanceResponse, err error) {
+	response = CreateDescribeDBProxyPerformanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDBProxyPerformanceWithChan invokes the rds.DescribeDBProxyPerformance API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxyperformance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBProxyPerformanceWithChan(request *DescribeDBProxyPerformanceRequest) (<-chan *DescribeDBProxyPerformanceResponse, <-chan error) {
+	responseChan := make(chan *DescribeDBProxyPerformanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDBProxyPerformance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDBProxyPerformanceWithCallback invokes the rds.DescribeDBProxyPerformance API asynchronously
+// api document: https://help.aliyun.com/api/rds/describedbproxyperformance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBProxyPerformanceWithCallback(request *DescribeDBProxyPerformanceRequest, callback func(response *DescribeDBProxyPerformanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDBProxyPerformanceResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDBProxyPerformance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDBProxyPerformanceRequest is the request struct for api DescribeDBProxyPerformance
+type DescribeDBProxyPerformanceRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	MetricsName          string           `position:"Query" name:"MetricsName"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBProxyInstanceType  string           `position:"Query" name:"DBProxyInstanceType"`
+}
+
+// DescribeDBProxyPerformanceResponse is the response struct for api DescribeDBProxyPerformance
+type DescribeDBProxyPerformanceResponse struct {
+	*responses.BaseResponse
+	RequestId       string                                      `json:"RequestId" xml:"RequestId"`
+	DBInstanceId    string                                      `json:"DBInstanceId" xml:"DBInstanceId"`
+	StartTime       string                                      `json:"StartTime" xml:"StartTime"`
+	EndTime         string                                      `json:"EndTime" xml:"EndTime"`
+	PerformanceKeys PerformanceKeysInDescribeDBProxyPerformance `json:"PerformanceKeys" xml:"PerformanceKeys"`
+}
+
+// CreateDescribeDBProxyPerformanceRequest creates a request to invoke DescribeDBProxyPerformance API
+func CreateDescribeDBProxyPerformanceRequest() (request *DescribeDBProxyPerformanceRequest) {
+	request = &DescribeDBProxyPerformanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeDBProxyPerformance", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeDBProxyPerformanceResponse creates a response to parse from DescribeDBProxyPerformance response
+func CreateDescribeDBProxyPerformanceResponse() (response *DescribeDBProxyPerformanceResponse) {
+	response = &DescribeDBProxyPerformanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/rds/describe_migrate_task_by_id.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// DescribeMigrateTaskById invokes the rds.DescribeMigrateTaskById API synchronously
+// api document: https://help.aliyun.com/api/rds/describemigratetaskbyid.html
+func (client *Client) DescribeMigrateTaskById(request *DescribeMigrateTaskByIdRequest) (response *DescribeMigrateTaskByIdResponse, err error) {
+	response = CreateDescribeMigrateTaskByIdResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMigrateTaskByIdWithChan invokes the rds.DescribeMigrateTaskById API asynchronously
+// api document: https://help.aliyun.com/api/rds/describemigratetaskbyid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMigrateTaskByIdWithChan(request *DescribeMigrateTaskByIdRequest) (<-chan *DescribeMigrateTaskByIdResponse, <-chan error) {
+	responseChan := make(chan *DescribeMigrateTaskByIdResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMigrateTaskById(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMigrateTaskByIdWithCallback invokes the rds.DescribeMigrateTaskById API asynchronously
+// api document: https://help.aliyun.com/api/rds/describemigratetaskbyid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMigrateTaskByIdWithCallback(request *DescribeMigrateTaskByIdRequest, callback func(response *DescribeMigrateTaskByIdResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMigrateTaskByIdResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMigrateTaskById(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMigrateTaskByIdRequest is the request struct for api DescribeMigrateTaskById
+type DescribeMigrateTaskByIdRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	MigrateTaskId        string           `position:"Query" name:"MigrateTaskId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+}
+
+// DescribeMigrateTaskByIdResponse is the response struct for api DescribeMigrateTaskById
+type DescribeMigrateTaskByIdResponse struct {
+	*responses.BaseResponse
+	RequestId      string `json:"RequestId" xml:"RequestId"`
+	DBInstanceName string `json:"DBInstanceName" xml:"DBInstanceName"`
+	DBName         string `json:"DBName" xml:"DBName"`
+	MigrateTaskId  string `json:"MigrateTaskId" xml:"MigrateTaskId"`
+	CreateTime     string `json:"CreateTime" xml:"CreateTime"`
+	EndTime        string `json:"EndTime" xml:"EndTime"`
+	BackupMode     string `json:"BackupMode" xml:"BackupMode"`
+	Status         string `json:"Status" xml:"Status"`
+	IsDBReplaced   string `json:"IsDBReplaced" xml:"IsDBReplaced"`
+	Description    string `json:"Description" xml:"Description"`
+}
+
+// CreateDescribeMigrateTaskByIdRequest creates a request to invoke DescribeMigrateTaskById API
+func CreateDescribeMigrateTaskByIdRequest() (request *DescribeMigrateTaskByIdRequest) {
+	request = &DescribeMigrateTaskByIdRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeMigrateTaskById", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeMigrateTaskByIdResponse creates a response to parse from DescribeMigrateTaskById response
+func CreateDescribeMigrateTaskByIdResponse() (response *DescribeMigrateTaskByIdResponse) {
+	response = &DescribeMigrateTaskByIdResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 33 - 31
services/rds/modify_backup_policy.go

@@ -76,42 +76,44 @@ func (client *Client) ModifyBackupPolicyWithCallback(request *ModifyBackupPolicy
 // ModifyBackupPolicyRequest is the request struct for api ModifyBackupPolicy
 type ModifyBackupPolicyRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId              requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	LocalLogRetentionHours       string           `position:"Query" name:"LocalLogRetentionHours"`
-	LogBackupFrequency           string           `position:"Query" name:"LogBackupFrequency"`
-	ArchiveBackupKeepCount       string           `position:"Query" name:"ArchiveBackupKeepCount"`
-	BackupLog                    string           `position:"Query" name:"BackupLog"`
-	DuplicationContent           string           `position:"Query" name:"DuplicationContent"`
-	HighSpaceUsageProtection     string           `position:"Query" name:"HighSpaceUsageProtection"`
-	DBInstanceId                 string           `position:"Query" name:"DBInstanceId"`
-	EnableBackupLog              string           `position:"Query" name:"EnableBackupLog"`
-	BackupPolicyMode             string           `position:"Query" name:"BackupPolicyMode"`
-	PreferredBackupPeriod        string           `position:"Query" name:"PreferredBackupPeriod"`
-	ReleasedKeepPolicy           string           `position:"Query" name:"ReleasedKeepPolicy"`
-	ResourceOwnerAccount         string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerAccount                 string           `position:"Query" name:"OwnerAccount"`
-	CompressType                 string           `position:"Query" name:"CompressType"`
-	LocalLogRetentionSpace       string           `position:"Query" name:"LocalLogRetentionSpace"`
-	OwnerId                      requests.Integer `position:"Query" name:"OwnerId"`
-	ArchiveBackupKeepPolicy      string           `position:"Query" name:"ArchiveBackupKeepPolicy"`
-	Duplication                  string           `position:"Query" name:"Duplication"`
-	PreferredBackupTime          string           `position:"Query" name:"PreferredBackupTime"`
-	BackupRetentionPeriod        string           `position:"Query" name:"BackupRetentionPeriod"`
-	DuplicationLocation          string           `position:"Query" name:"DuplicationLocation"`
-	ArchiveBackupRetentionPeriod string           `position:"Query" name:"ArchiveBackupRetentionPeriod"`
-	LogBackupRetentionPeriod     string           `position:"Query" name:"LogBackupRetentionPeriod"`
+	ResourceOwnerId               requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	LocalLogRetentionHours        string           `position:"Query" name:"LocalLogRetentionHours"`
+	LogBackupFrequency            string           `position:"Query" name:"LogBackupFrequency"`
+	ArchiveBackupKeepCount        string           `position:"Query" name:"ArchiveBackupKeepCount"`
+	BackupLog                     string           `position:"Query" name:"BackupLog"`
+	DuplicationContent            string           `position:"Query" name:"DuplicationContent"`
+	HighSpaceUsageProtection      string           `position:"Query" name:"HighSpaceUsageProtection"`
+	LogBackupLocalRetentionNumber requests.Integer `position:"Query" name:"LogBackupLocalRetentionNumber"`
+	DBInstanceId                  string           `position:"Query" name:"DBInstanceId"`
+	EnableBackupLog               string           `position:"Query" name:"EnableBackupLog"`
+	BackupPolicyMode              string           `position:"Query" name:"BackupPolicyMode"`
+	PreferredBackupPeriod         string           `position:"Query" name:"PreferredBackupPeriod"`
+	ReleasedKeepPolicy            string           `position:"Query" name:"ReleasedKeepPolicy"`
+	ResourceOwnerAccount          string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                  string           `position:"Query" name:"OwnerAccount"`
+	CompressType                  string           `position:"Query" name:"CompressType"`
+	LocalLogRetentionSpace        string           `position:"Query" name:"LocalLogRetentionSpace"`
+	OwnerId                       requests.Integer `position:"Query" name:"OwnerId"`
+	ArchiveBackupKeepPolicy       string           `position:"Query" name:"ArchiveBackupKeepPolicy"`
+	Duplication                   string           `position:"Query" name:"Duplication"`
+	PreferredBackupTime           string           `position:"Query" name:"PreferredBackupTime"`
+	BackupRetentionPeriod         string           `position:"Query" name:"BackupRetentionPeriod"`
+	DuplicationLocation           string           `position:"Query" name:"DuplicationLocation"`
+	ArchiveBackupRetentionPeriod  string           `position:"Query" name:"ArchiveBackupRetentionPeriod"`
+	LogBackupRetentionPeriod      string           `position:"Query" name:"LogBackupRetentionPeriod"`
 }
 
 // ModifyBackupPolicyResponse is the response struct for api ModifyBackupPolicy
 type ModifyBackupPolicyResponse struct {
 	*responses.BaseResponse
-	RequestId                string `json:"RequestId" xml:"RequestId"`
-	DBInstanceID             string `json:"DBInstanceID" xml:"DBInstanceID"`
-	EnableBackupLog          string `json:"EnableBackupLog" xml:"EnableBackupLog"`
-	LocalLogRetentionHours   int    `json:"LocalLogRetentionHours" xml:"LocalLogRetentionHours"`
-	LocalLogRetentionSpace   string `json:"LocalLogRetentionSpace" xml:"LocalLogRetentionSpace"`
-	HighSpaceUsageProtection string `json:"HighSpaceUsageProtection" xml:"HighSpaceUsageProtection"`
-	CompressType             string `json:"CompressType" xml:"CompressType"`
+	RequestId                     string `json:"RequestId" xml:"RequestId"`
+	DBInstanceID                  string `json:"DBInstanceID" xml:"DBInstanceID"`
+	EnableBackupLog               string `json:"EnableBackupLog" xml:"EnableBackupLog"`
+	LocalLogRetentionHours        int    `json:"LocalLogRetentionHours" xml:"LocalLogRetentionHours"`
+	LocalLogRetentionSpace        string `json:"LocalLogRetentionSpace" xml:"LocalLogRetentionSpace"`
+	HighSpaceUsageProtection      string `json:"HighSpaceUsageProtection" xml:"HighSpaceUsageProtection"`
+	CompressType                  string `json:"CompressType" xml:"CompressType"`
+	LogBackupLocalRetentionNumber int    `json:"LogBackupLocalRetentionNumber" xml:"LogBackupLocalRetentionNumber"`
 }
 
 // CreateModifyBackupPolicyRequest creates a request to invoke ModifyBackupPolicy API

+ 1 - 1
services/rds/modify_db_instance_pay_type.go

@@ -82,7 +82,7 @@ type ModifyDBInstancePayTypeRequest struct {
 	BusinessInfo         string           `position:"Query" name:"BusinessInfo"`
 	Period               string           `position:"Query" name:"Period"`
 	AgentId              string           `position:"Query" name:"AgentId"`
-	AutoPay              string           `position:"Query" name:"AutoPay"`
+	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"`

+ 111 - 0
services/rds/modify_db_proxy.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"
+)
+
+// ModifyDBProxy invokes the rds.ModifyDBProxy API synchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxy.html
+func (client *Client) ModifyDBProxy(request *ModifyDBProxyRequest) (response *ModifyDBProxyResponse, err error) {
+	response = CreateModifyDBProxyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyDBProxyWithChan invokes the rds.ModifyDBProxy API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBProxyWithChan(request *ModifyDBProxyRequest) (<-chan *ModifyDBProxyResponse, <-chan error) {
+	responseChan := make(chan *ModifyDBProxyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyDBProxy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyDBProxyWithCallback invokes the rds.ModifyDBProxy API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBProxyWithCallback(request *ModifyDBProxyRequest, callback func(response *ModifyDBProxyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyDBProxyResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyDBProxy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyDBProxyRequest is the request struct for api ModifyDBProxy
+type ModifyDBProxyRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBProxyInstanceNum   string           `position:"Query" name:"DBProxyInstanceNum"`
+	ConfigDBProxyService string           `position:"Query" name:"ConfigDBProxyService"`
+	VSwitchId            string           `position:"Query" name:"VSwitchId"`
+	VPCId                string           `position:"Query" name:"VPCId"`
+	InstanceNetworkType  string           `position:"Query" name:"InstanceNetworkType"`
+}
+
+// ModifyDBProxyResponse is the response struct for api ModifyDBProxy
+type ModifyDBProxyResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyDBProxyRequest creates a request to invoke ModifyDBProxy API
+func CreateModifyDBProxyRequest() (request *ModifyDBProxyRequest) {
+	request = &ModifyDBProxyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ModifyDBProxy", "rds", "openAPI")
+	return
+}
+
+// CreateModifyDBProxyResponse creates a response to parse from ModifyDBProxy response
+func CreateModifyDBProxyResponse() (response *ModifyDBProxyResponse) {
+	response = &ModifyDBProxyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/rds/modify_db_proxy_endpoint.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"
+)
+
+// ModifyDBProxyEndpoint invokes the rds.ModifyDBProxyEndpoint API synchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxyendpoint.html
+func (client *Client) ModifyDBProxyEndpoint(request *ModifyDBProxyEndpointRequest) (response *ModifyDBProxyEndpointResponse, err error) {
+	response = CreateModifyDBProxyEndpointResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyDBProxyEndpointWithChan invokes the rds.ModifyDBProxyEndpoint API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxyendpoint.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBProxyEndpointWithChan(request *ModifyDBProxyEndpointRequest) (<-chan *ModifyDBProxyEndpointResponse, <-chan error) {
+	responseChan := make(chan *ModifyDBProxyEndpointResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyDBProxyEndpoint(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyDBProxyEndpointWithCallback invokes the rds.ModifyDBProxyEndpoint API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxyendpoint.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBProxyEndpointWithCallback(request *ModifyDBProxyEndpointRequest, callback func(response *ModifyDBProxyEndpointResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyDBProxyEndpointResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyDBProxyEndpoint(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyDBProxyEndpointRequest is the request struct for api ModifyDBProxyEndpoint
+type ModifyDBProxyEndpointRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId                  requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ConfigDBProxyFeatures            string           `position:"Query" name:"ConfigDBProxyFeatures"`
+	DBInstanceId                     string           `position:"Query" name:"DBInstanceId"`
+	ReadOnlyInstanceWeight           string           `position:"Query" name:"ReadOnlyInstanceWeight"`
+	ReadOnlyInstanceMaxDelayTime     string           `position:"Query" name:"ReadOnlyInstanceMaxDelayTime"`
+	ResourceOwnerAccount             string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId                          requests.Integer `position:"Query" name:"OwnerId"`
+	DBProxyEndpointId                string           `position:"Query" name:"DBProxyEndpointId"`
+	ReadOnlyInstanceDistributionType string           `position:"Query" name:"ReadOnlyInstanceDistributionType"`
+}
+
+// ModifyDBProxyEndpointResponse is the response struct for api ModifyDBProxyEndpoint
+type ModifyDBProxyEndpointResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyDBProxyEndpointRequest creates a request to invoke ModifyDBProxyEndpoint API
+func CreateModifyDBProxyEndpointRequest() (request *ModifyDBProxyEndpointRequest) {
+	request = &ModifyDBProxyEndpointRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ModifyDBProxyEndpoint", "rds", "openAPI")
+	return
+}
+
+// CreateModifyDBProxyEndpointResponse creates a response to parse from ModifyDBProxyEndpoint response
+func CreateModifyDBProxyEndpointResponse() (response *ModifyDBProxyEndpointResponse) {
+	response = &ModifyDBProxyEndpointResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/rds/modify_db_proxy_instance.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"
+)
+
+// ModifyDBProxyInstance invokes the rds.ModifyDBProxyInstance API synchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxyinstance.html
+func (client *Client) ModifyDBProxyInstance(request *ModifyDBProxyInstanceRequest) (response *ModifyDBProxyInstanceResponse, err error) {
+	response = CreateModifyDBProxyInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyDBProxyInstanceWithChan invokes the rds.ModifyDBProxyInstance API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxyinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBProxyInstanceWithChan(request *ModifyDBProxyInstanceRequest) (<-chan *ModifyDBProxyInstanceResponse, <-chan error) {
+	responseChan := make(chan *ModifyDBProxyInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyDBProxyInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyDBProxyInstanceWithCallback invokes the rds.ModifyDBProxyInstance API asynchronously
+// api document: https://help.aliyun.com/api/rds/modifydbproxyinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBProxyInstanceWithCallback(request *ModifyDBProxyInstanceRequest, callback func(response *ModifyDBProxyInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyDBProxyInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyDBProxyInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyDBProxyInstanceRequest is the request struct for api ModifyDBProxyInstance
+type ModifyDBProxyInstanceRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EffectiveTime         string           `position:"Query" name:"EffectiveTime"`
+	EffectiveSpecificTime string           `position:"Query" name:"EffectiveSpecificTime"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	DBProxyInstanceNum    string           `position:"Query" name:"DBProxyInstanceNum"`
+	DBProxyInstanceType   string           `position:"Query" name:"DBProxyInstanceType"`
+}
+
+// ModifyDBProxyInstanceResponse is the response struct for api ModifyDBProxyInstance
+type ModifyDBProxyInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyDBProxyInstanceRequest creates a request to invoke ModifyDBProxyInstance API
+func CreateModifyDBProxyInstanceRequest() (request *ModifyDBProxyInstanceRequest) {
+	request = &ModifyDBProxyInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ModifyDBProxyInstance", "rds", "openAPI")
+	return
+}
+
+// CreateModifyDBProxyInstanceResponse creates a response to parse from ModifyDBProxyInstance response
+func CreateModifyDBProxyInstanceResponse() (response *ModifyDBProxyInstanceResponse) {
+	response = &ModifyDBProxyInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/rds/struct_db_instance_attribute.go

@@ -74,6 +74,7 @@ type DBInstanceAttribute struct {
 	TempUpgradeRecoveryMemory         int                                                `json:"TempUpgradeRecoveryMemory" xml:"TempUpgradeRecoveryMemory"`
 	DispenseMode                      string                                             `json:"DispenseMode" xml:"DispenseMode"`
 	OriginConfiguration               string                                             `json:"OriginConfiguration" xml:"OriginConfiguration"`
+	DedicatedHostGroupId              string                                             `json:"DedicatedHostGroupId" xml:"DedicatedHostGroupId"`
 	ProxyType                         int                                                `json:"ProxyType" xml:"ProxyType"`
 	AccountMaxQuantity                int                                                `json:"AccountMaxQuantity" xml:"AccountMaxQuantity"`
 	TempUpgradeRecoveryMaxConnections string                                             `json:"TempUpgradeRecoveryMaxConnections" xml:"TempUpgradeRecoveryMaxConnections"`

+ 21 - 0
services/rds/struct_db_proxy_connect_string_items.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.
+
+// DBProxyConnectStringItems is a nested struct in rds response
+type DBProxyConnectStringItems struct {
+	DBProxyConnectStringItemsItem []DBProxyConnectStringItemsItem `json:"DBProxyConnectStringItems" xml:"DBProxyConnectStringItems"`
+}

+ 25 - 0
services/rds/struct_db_proxy_connect_string_items_item.go

@@ -0,0 +1,25 @@
+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.
+
+// DBProxyConnectStringItemsItem is a nested struct in rds response
+type DBProxyConnectStringItemsItem struct {
+	DBProxyEndpointId           string `json:"DBProxyEndpointId" xml:"DBProxyEndpointId"`
+	DBProxyConnectString        string `json:"DBProxyConnectString" xml:"DBProxyConnectString"`
+	DBProxyConnectStringPort    string `json:"DBProxyConnectStringPort" xml:"DBProxyConnectStringPort"`
+	DBProxyConnectStringNetType string `json:"DBProxyConnectStringNetType" xml:"DBProxyConnectStringNetType"`
+	DBProxyVpcInstanceId        string `json:"DBProxyVpcInstanceId" xml:"DBProxyVpcInstanceId"`
+}

+ 21 - 0
services/rds/struct_deleted_bakset_ids.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.
+
+// DeletedBaksetIds is a nested struct in rds response
+type DeletedBaksetIds struct {
+	DeletedBaksetIds []int `json:"DeletedBaksetIds" xml:"DeletedBaksetIds"`
+}

+ 4 - 4
services/rds/struct_performance_key.go

@@ -17,8 +17,8 @@ package rds
 
 // PerformanceKey is a nested struct in rds response
 type PerformanceKey struct {
-	Key         string `json:"Key" xml:"Key"`
-	Unit        string `json:"Unit" xml:"Unit"`
-	ValueFormat string `json:"ValueFormat" xml:"ValueFormat"`
-	Values      Values `json:"Values" xml:"Values"`
+	Key         string                                `json:"Key" xml:"Key"`
+	Unit        string                                `json:"Unit" xml:"Unit"`
+	ValueFormat string                                `json:"ValueFormat" xml:"ValueFormat"`
+	Values      ValuesInDescribeDBInstancePerformance `json:"Values" xml:"Values"`
 }

+ 21 - 0
services/rds/struct_performance_keys_in_describe_db_instance_performance.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.
+
+// PerformanceKeysInDescribeDBInstancePerformance is a nested struct in rds response
+type PerformanceKeysInDescribeDBInstancePerformance struct {
+	PerformanceKey []PerformanceKey `json:"PerformanceKey" xml:"PerformanceKey"`
+}

+ 2 - 2
services/rds/struct_performance_keys.go → services/rds/struct_performance_keys_in_describe_db_proxy_performance.go

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

+ 21 - 0
services/rds/struct_values_in_describe_db_instance_performance.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.
+
+// ValuesInDescribeDBInstancePerformance is a nested struct in rds response
+type ValuesInDescribeDBInstancePerformance struct {
+	PerformanceValue []PerformanceValue `json:"PerformanceValue" xml:"PerformanceValue"`
+}

+ 2 - 2
services/rds/struct_values.go → services/rds/struct_values_in_describe_db_proxy_performance.go

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