瀏覽代碼

Add ListTagResources OpenApi.

sdk-team 6 年之前
父節點
當前提交
de9b736160
共有 100 個文件被更改,包括 2307 次插入484 次删除
  1. 6 0
      ChangeLog.txt
  2. 12 12
      services/rds/add_tags_to_resource.go
  3. 4 4
      services/rds/allocate_instance_private_connection.go
  4. 4 4
      services/rds/allocate_instance_public_connection.go
  5. 6 6
      services/rds/allocate_instance_vpc_network_type.go
  6. 7 7
      services/rds/allocate_read_write_splitting_connection.go
  7. 2 2
      services/rds/calculate_db_instance_weight.go
  8. 4 4
      services/rds/cancel_import.go
  9. 3 3
      services/rds/check_account_name_available.go
  10. 12 12
      services/rds/check_create_ddr_db_instance.go
  11. 2 2
      services/rds/check_instance_exist.go
  12. 4 4
      services/rds/check_recovery_conditions.go
  13. 6 6
      services/rds/check_resource.go
  14. 109 0
      services/rds/clear_dedicated_host.go
  15. 25 0
      services/rds/client.go
  16. 19 19
      services/rds/clone_db_instance.go
  17. 109 0
      services/rds/clone_parameter_group.go
  18. 2 2
      services/rds/copy_database.go
  19. 8 8
      services/rds/copy_database_between_instances.go
  20. 6 6
      services/rds/create_account.go
  21. 5 5
      services/rds/create_backup.go
  22. 4 4
      services/rds/create_database.go
  23. 36 32
      services/rds/create_db_instance.go
  24. 18 18
      services/rds/create_db_instance_replica.go
  25. 23 23
      services/rds/create_ddr_instance.go
  26. 118 0
      services/rds/create_dedicated_host.go
  27. 114 0
      services/rds/create_dedicated_host_group.go
  28. 2 2
      services/rds/create_diagnostic_report.go
  29. 6 6
      services/rds/create_migrate_task.go
  30. 4 4
      services/rds/create_migrate_task_for_sql_server.go
  31. 4 4
      services/rds/create_online_database_task.go
  32. 110 0
      services/rds/create_parameter_group.go
  33. 12 12
      services/rds/create_read_only_db_instance.go
  34. 3 3
      services/rds/create_temp_db_instance.go
  35. 4 4
      services/rds/delete_account.go
  36. 3 3
      services/rds/delete_backup.go
  37. 4 4
      services/rds/delete_database.go
  38. 3 3
      services/rds/delete_db_instance.go
  39. 106 0
      services/rds/delete_dedicated_host.go
  40. 106 0
      services/rds/delete_dedicated_host_group.go
  41. 106 0
      services/rds/delete_parameter_group.go
  42. 7 7
      services/rds/descibe_imports_from_database.go
  43. 5 5
      services/rds/describe_accounts.go
  44. 2 2
      services/rds/describe_action_event_policy.go
  45. 2 2
      services/rds/describe_available_cross_region.go
  46. 6 6
      services/rds/describe_available_instance_class.go
  47. 2 2
      services/rds/describe_available_recovery_time.go
  48. 12 11
      services/rds/describe_available_resource.go
  49. 3 3
      services/rds/describe_backup_database.go
  50. 2 2
      services/rds/describe_backup_policy.go
  51. 6 6
      services/rds/describe_backup_tasks.go
  52. 8 8
      services/rds/describe_backups.go
  53. 5 5
      services/rds/describe_binlog_files.go
  54. 3 3
      services/rds/describe_character_set_name.go
  55. 5 5
      services/rds/describe_cloud_db_expert_service.go
  56. 2 2
      services/rds/describe_collation_time_zones.go
  57. 6 4
      services/rds/describe_cross_region_backup_db_instance.go
  58. 6 6
      services/rds/describe_cross_region_backups.go
  59. 6 6
      services/rds/describe_cross_region_log_backup_files.go
  60. 6 6
      services/rds/describe_databases.go
  61. 4 4
      services/rds/describe_db_instance_attribute.go
  62. 5 5
      services/rds/describe_db_instance_by_tags.go
  63. 3 3
      services/rds/describe_db_instance_ha_config.go
  64. 3 3
      services/rds/describe_db_instance_ip_array_list.go
  65. 3 3
      services/rds/describe_db_instance_ip_hostname.go
  66. 3 3
      services/rds/describe_db_instance_monitor.go
  67. 4 4
      services/rds/describe_db_instance_net_info.go
  68. 10 10
      services/rds/describe_db_instance_performance.go
  69. 2 2
      services/rds/describe_db_instance_proxy_configuration.go
  70. 3 3
      services/rds/describe_db_instance_ssl.go
  71. 3 3
      services/rds/describe_db_instance_tde.go
  72. 28 27
      services/rds/describe_db_instances.go
  73. 2 2
      services/rds/describe_db_instances_as_csv.go
  74. 6 6
      services/rds/describe_db_instances_by_expire_time.go
  75. 15 15
      services/rds/describe_db_instances_by_performance.go
  76. 111 0
      services/rds/describe_db_proxy.go
  77. 116 0
      services/rds/describe_db_proxy_endpoint.go
  78. 114 0
      services/rds/describe_db_proxy_performance.go
  79. 135 0
      services/rds/describe_dedicated_host_attribute.go
  80. 107 0
      services/rds/describe_dedicated_host_groups.go
  81. 109 0
      services/rds/describe_dedicated_hosts.go
  82. 3 3
      services/rds/describe_dtc_security_ip_hosts_for_sql_server.go
  83. 5 5
      services/rds/describe_error_logs.go
  84. 4 4
      services/rds/describe_events.go
  85. 2 2
      services/rds/describe_ha_switch_config.go
  86. 5 5
      services/rds/describe_instance_auto_renewal_attribute.go
  87. 2 2
      services/rds/describe_instance_cross_backup_policy.go
  88. 3 3
      services/rds/describe_instance_vpc_migrate_info.go
  89. 5 5
      services/rds/describe_log_backup_files.go
  90. 7 7
      services/rds/describe_meta_list.go
  91. 5 5
      services/rds/describe_migrate_tasks.go
  92. 5 5
      services/rds/describe_migrate_tasks_for_sql_server.go
  93. 5 5
      services/rds/describe_modify_parameter_log.go
  94. 3 3
      services/rds/describe_oss_downloads.go
  95. 3 3
      services/rds/describe_oss_downloads_for_sql_server.go
  96. 107 0
      services/rds/describe_parameter_group.go
  97. 106 0
      services/rds/describe_parameter_groups.go
  98. 4 3
      services/rds/describe_parameter_templates.go
  99. 3 3
      services/rds/describe_parameters.go
  100. 9 9
      services/rds/describe_price.go

+ 6 - 0
ChangeLog.txt

@@ -1,3 +1,9 @@
+2019-10-16 Version: 1.60.198
+- Add ListTagResources OpenApi.
+- Add TagResources OpenApi.
+- Add UntagResources OpenApi.
+- Add ModifyDBInstanceAutoUpgradeMinorVersion OpenApi.
+
 2019-10-14 Version: 1.60.197
 - Optimize instance relevant interface.
 

+ 12 - 12
services/rds/add_tags_to_resource.go

@@ -76,24 +76,24 @@ func (client *Client) AddTagsToResourceWithCallback(request *AddTagsToResourceRe
 // AddTagsToResourceRequest is the request struct for api AddTagsToResource
 type AddTagsToResourceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ProxyId              string           `position:"Query" name:"proxyId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	Tags                 string           `position:"Query" name:"Tags"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.key"`
 	Tag2Key              string           `position:"Query" name:"Tag.2.key"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
 	Tag3Key              string           `position:"Query" name:"Tag.3.key"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.key"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.key"`
 	Tag1Value            string           `position:"Query" name:"Tag.1.value"`
-	Tag2Value            string           `position:"Query" name:"Tag.2.value"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	Tag3Value            string           `position:"Query" name:"Tag.3.value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.value"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.value"`
+	ProxyId              string           `position:"Query" name:"proxyId"`
+	Tag5Key              string           `position:"Query" name:"Tag.5.key"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tag5Value            string           `position:"Query" name:"Tag.5.value"`
+	Tags                 string           `position:"Query" name:"Tags"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.key"`
+	Tag2Value            string           `position:"Query" name:"Tag.2.value"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.key"`
 }
 
 // AddTagsToResourceResponse is the response struct for api AddTagsToResource

+ 4 - 4
services/rds/allocate_instance_private_connection.go

@@ -76,13 +76,13 @@ func (client *Client) AllocateInstancePrivateConnectionWithCallback(request *All
 // AllocateInstancePrivateConnectionRequest is the request struct for api AllocateInstancePrivateConnection
 type AllocateInstancePrivateConnectionRequest struct {
 	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId           string           `position:"Query" name:"DBInstanceId"`
 	ConnectionStringPrefix string           `position:"Query" name:"ConnectionStringPrefix"`
-	Port                   string           `position:"Query" name:"Port"`
+	DBInstanceId           string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
+	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	Port                   string           `position:"Query" name:"Port"`
 }
 
 // AllocateInstancePrivateConnectionResponse is the response struct for api AllocateInstancePrivateConnection

+ 4 - 4
services/rds/allocate_instance_public_connection.go

@@ -76,13 +76,13 @@ func (client *Client) AllocateInstancePublicConnectionWithCallback(request *Allo
 // AllocateInstancePublicConnectionRequest is the request struct for api AllocateInstancePublicConnection
 type AllocateInstancePublicConnectionRequest struct {
 	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId           string           `position:"Query" name:"DBInstanceId"`
 	ConnectionStringPrefix string           `position:"Query" name:"ConnectionStringPrefix"`
-	Port                   string           `position:"Query" name:"Port"`
+	DBInstanceId           string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
+	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	Port                   string           `position:"Query" name:"Port"`
 }
 
 // AllocateInstancePublicConnectionResponse is the response struct for api AllocateInstancePublicConnection

+ 6 - 6
services/rds/allocate_instance_vpc_network_type.go

@@ -76,15 +76,15 @@ func (client *Client) AllocateInstanceVpcNetworkTypeWithCallback(request *Alloca
 // AllocateInstanceVpcNetworkTypeRequest is the request struct for api AllocateInstanceVpcNetworkType
 type AllocateInstanceVpcNetworkTypeRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	TargetRegionId       string           `position:"Query" name:"TargetRegionId"`
-	TargetZoneId         string           `position:"Query" name:"TargetZoneId"`
 	TargetVpcId          string           `position:"Query" name:"TargetVpcId"`
+	TargetZoneId         string           `position:"Query" name:"TargetZoneId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	TargetVSwitchId      string           `position:"Query" name:"TargetVSwitchId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	TargetRegionId       string           `position:"Query" name:"TargetRegionId"`
 }
 
 // AllocateInstanceVpcNetworkTypeResponse is the response struct for api AllocateInstanceVpcNetworkType

+ 7 - 7
services/rds/allocate_read_write_splitting_connection.go

@@ -76,17 +76,17 @@ func (client *Client) AllocateReadWriteSplittingConnectionWithCallback(request *
 // AllocateReadWriteSplittingConnectionRequest is the request struct for api AllocateReadWriteSplittingConnection
 type AllocateReadWriteSplittingConnectionRequest struct {
 	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	DBInstanceId           string           `position:"Query" name:"DBInstanceId"`
 	ConnectionStringPrefix string           `position:"Query" name:"ConnectionStringPrefix"`
-	Port                   string           `position:"Query" name:"Port"`
-	MaxDelayTime           string           `position:"Query" name:"MaxDelayTime"`
-	NetType                string           `position:"Query" name:"NetType"`
 	DistributionType       string           `position:"Query" name:"DistributionType"`
+	DBInstanceId           string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
 	Weight                 string           `position:"Query" name:"Weight"`
+	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	Port                   string           `position:"Query" name:"Port"`
+	NetType                string           `position:"Query" name:"NetType"`
+	MaxDelayTime           string           `position:"Query" name:"MaxDelayTime"`
 }
 
 // AllocateReadWriteSplittingConnectionResponse is the response struct for api AllocateReadWriteSplittingConnection

+ 2 - 2
services/rds/calculate_db_instance_weight.go

@@ -76,10 +76,10 @@ func (client *Client) CalculateDBInstanceWeightWithCallback(request *CalculateDB
 // CalculateDBInstanceWeightRequest is the request struct for api CalculateDBInstanceWeight
 type CalculateDBInstanceWeightRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 

+ 4 - 4
services/rds/cancel_import.go

@@ -76,12 +76,12 @@ func (client *Client) CancelImportWithCallback(request *CancelImportRequest, cal
 // CancelImportRequest is the request struct for api CancelImport
 type CancelImportRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	ImportId             requests.Integer `position:"Query" name:"ImportId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ImportId             requests.Integer `position:"Query" name:"ImportId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // CancelImportResponse is the response struct for api CancelImport

+ 3 - 3
services/rds/check_account_name_available.go

@@ -76,13 +76,13 @@ func (client *Client) CheckAccountNameAvailableWithCallback(request *CheckAccoun
 // CheckAccountNameAvailableRequest is the request struct for api CheckAccountNameAvailable
 type CheckAccountNameAvailableRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	AccountName          string           `position:"Query" name:"AccountName"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CheckAccountNameAvailableResponse is the response struct for api CheckAccountNameAvailable

+ 12 - 12
services/rds/check_create_ddr_db_instance.go

@@ -76,23 +76,23 @@ func (client *Client) CheckCreateDdrDBInstanceWithCallback(request *CheckCreateD
 // CheckCreateDdrDBInstanceRequest is the request struct for api CheckCreateDdrDBInstance
 type CheckCreateDdrDBInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Engine               string           `position:"Query" name:"Engine"`
-	EngineVersion        string           `position:"Query" name:"EngineVersion"`
-	DBInstanceClass      string           `position:"Query" name:"DBInstanceClass"`
 	DBInstanceStorage    requests.Integer `position:"Query" name:"DBInstanceStorage"`
-	RestoreType          string           `position:"Query" name:"RestoreType"`
-	BackupSetId          string           `position:"Query" name:"BackupSetId"`
-	BackupSetType        string           `position:"Query" name:"BackupSetType"`
-	BackupSetRegion      string           `position:"Query" name:"BackupSetRegion"`
-	RestoreTime          string           `position:"Query" name:"RestoreTime"`
-	SourceRegion         string           `position:"Query" name:"SourceRegion"`
 	SourceDBInstanceName string           `position:"Query" name:"SourceDBInstanceName"`
+	HostType             string           `position:"Query" name:"HostType"`
+	EngineVersion        string           `position:"Query" name:"EngineVersion"`
 	UserBakSetURL        string           `position:"Query" name:"UserBakSetURL"`
+	Engine               string           `position:"Query" name:"Engine"`
+	BackupSetRegion      string           `position:"Query" name:"BackupSetRegion"`
+	BackupSetType        string           `position:"Query" name:"BackupSetType"`
+	RestoreTime          string           `position:"Query" name:"RestoreTime"`
 	BakSetName           string           `position:"Query" name:"BakSetName"`
-	HostType             string           `position:"Query" name:"HostType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupSetId          string           `position:"Query" name:"BackupSetId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceClass      string           `position:"Query" name:"DBInstanceClass"`
+	RestoreType          string           `position:"Query" name:"RestoreType"`
+	SourceRegion         string           `position:"Query" name:"SourceRegion"`
 }
 
 // CheckCreateDdrDBInstanceResponse is the response struct for api CheckCreateDdrDBInstance

+ 2 - 2
services/rds/check_instance_exist.go

@@ -76,9 +76,9 @@ func (client *Client) CheckInstanceExistWithCallback(request *CheckInstanceExist
 // CheckInstanceExistRequest is the request struct for api CheckInstanceExist
 type CheckInstanceExistRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 }
 

+ 4 - 4
services/rds/check_recovery_conditions.go

@@ -76,14 +76,14 @@ func (client *Client) CheckRecoveryConditionsWithCallback(request *CheckRecovery
 // CheckRecoveryConditionsRequest is the request struct for api CheckRecoveryConditions
 type CheckRecoveryConditionsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	BackupId             string           `position:"Query" name:"BackupId"`
-	BackupFile           string           `position:"Query" name:"BackupFile"`
 	RestoreTime          string           `position:"Query" name:"RestoreTime"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupFile           string           `position:"Query" name:"BackupFile"`
+	BackupId             string           `position:"Query" name:"BackupId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CheckRecoveryConditionsResponse is the response struct for api CheckRecoveryConditions

+ 6 - 6
services/rds/check_resource.go

@@ -76,17 +76,17 @@ func (client *Client) CheckResourceWithCallback(request *CheckResourceRequest, c
 // CheckResourceRequest is the request struct for api CheckResource
 type CheckResourceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SpecifyCount         string           `position:"Query" name:"SpecifyCount"`
+	EngineVersion        string           `position:"Query" name:"EngineVersion"`
 	Engine               string           `position:"Query" name:"Engine"`
+	DBInstanceUseType    string           `position:"Query" name:"DBInstanceUseType"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	DBInstanceClass      string           `position:"Query" name:"DBInstanceClass"`
 	ZoneId               string           `position:"Query" name:"ZoneId"`
-	DBInstanceUseType    string           `position:"Query" name:"DBInstanceUseType"`
-	SpecifyCount         string           `position:"Query" name:"SpecifyCount"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 }
 
 // CheckResourceResponse is the response struct for api CheckResource

+ 109 - 0
services/rds/clear_dedicated_host.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"
+)
+
+// ClearDedicatedHost invokes the rds.ClearDedicatedHost API synchronously
+// api document: https://help.aliyun.com/api/rds/cleardedicatedhost.html
+func (client *Client) ClearDedicatedHost(request *ClearDedicatedHostRequest) (response *ClearDedicatedHostResponse, err error) {
+	response = CreateClearDedicatedHostResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ClearDedicatedHostWithChan invokes the rds.ClearDedicatedHost API asynchronously
+// api document: https://help.aliyun.com/api/rds/cleardedicatedhost.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ClearDedicatedHostWithChan(request *ClearDedicatedHostRequest) (<-chan *ClearDedicatedHostResponse, <-chan error) {
+	responseChan := make(chan *ClearDedicatedHostResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ClearDedicatedHost(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ClearDedicatedHostWithCallback invokes the rds.ClearDedicatedHost API asynchronously
+// api document: https://help.aliyun.com/api/rds/cleardedicatedhost.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ClearDedicatedHostWithCallback(request *ClearDedicatedHostRequest, callback func(response *ClearDedicatedHostResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ClearDedicatedHostResponse
+		var err error
+		defer close(result)
+		response, err = client.ClearDedicatedHost(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ClearDedicatedHostRequest is the request struct for api ClearDedicatedHost
+type ClearDedicatedHostRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	DedicatedHostId      string           `position:"Query" name:"DedicatedHostId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	FailoverMode         string           `position:"Query" name:"FailoverMode"`
+}
+
+// ClearDedicatedHostResponse is the response struct for api ClearDedicatedHost
+type ClearDedicatedHostResponse struct {
+	*responses.BaseResponse
+	RequestId       string `json:"RequestId" xml:"RequestId"`
+	TaskId          string `json:"TaskId" xml:"TaskId"`
+	DedicatedHostId string `json:"DedicatedHostId" xml:"DedicatedHostId"`
+}
+
+// CreateClearDedicatedHostRequest creates a request to invoke ClearDedicatedHost API
+func CreateClearDedicatedHostRequest() (request *ClearDedicatedHostRequest) {
+	request = &ClearDedicatedHostRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "ClearDedicatedHost", "rds", "openAPI")
+	return
+}
+
+// CreateClearDedicatedHostResponse creates a response to parse from ClearDedicatedHost response
+func CreateClearDedicatedHostResponse() (response *ClearDedicatedHostResponse) {
+	response = &ClearDedicatedHostResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 25 - 0
services/rds/client.go

@@ -16,6 +16,8 @@ package rds
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
@@ -26,10 +28,25 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -44,6 +61,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 		pc = provider.NewProviderChain(providers)
 	}
 	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -52,6 +70,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -60,6 +79,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -68,6 +88,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -76,6 +97,7 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -84,6 +106,7 @@ func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, role
 func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -92,6 +115,7 @@ func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySec
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -100,5 +124,6 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	return
 }

+ 19 - 19
services/rds/clone_db_instance.go

@@ -76,33 +76,33 @@ func (client *Client) CloneDBInstanceWithCallback(request *CloneDBInstanceReques
 // CloneDBInstanceRequest is the request struct for api CloneDBInstance
 type CloneDBInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ClientToken           string           `position:"Query" name:"ClientToken"`
-	ZoneId                string           `position:"Query" name:"ZoneId"`
-	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	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"`
-	DbNames               string           `position:"Query" name:"DbNames"`
-	PayType               string           `position:"Query" name:"PayType"`
-	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
-	BackupId              string           `position:"Query" name:"BackupId"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
 	RestoreTime           string           `position:"Query" name:"RestoreTime"`
-	VPCId                 string           `position:"Query" name:"VPCId"`
-	VSwitchId             string           `position:"Query" name:"VSwitchId"`
-	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
+	Period                string           `position:"Query" name:"Period"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupId              string           `position:"Query" name:"BackupId"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	RestoreTable          string           `position:"Query" name:"RestoreTable"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
 	UsedTime              string           `position:"Query" name:"UsedTime"`
-	Period                string           `position:"Query" name:"Period"`
-	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
+	DbNames               string           `position:"Query" name:"DbNames"`
+	VSwitchId             string           `position:"Query" name:"VSwitchId"`
+	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
+	VPCId                 string           `position:"Query" name:"VPCId"`
+	ZoneId                string           `position:"Query" name:"ZoneId"`
 	Category              string           `position:"Query" name:"Category"`
-	ZoneIdSlave1          string           `position:"Query" name:"ZoneIdSlave1"`
-	ZoneIdSlave2          string           `position:"Query" name:"ZoneIdSlave2"`
-	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
-	RestoreTable          string           `position:"Query" name:"RestoreTable"`
-	TableMeta             string           `position:"Query" name:"TableMeta"`
+	PayType               string           `position:"Query" name:"PayType"`
+	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 }
 
 // CloneDBInstanceResponse is the response struct for api CloneDBInstance

+ 109 - 0
services/rds/clone_parameter_group.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"
+)
+
+// CloneParameterGroup invokes the rds.CloneParameterGroup API synchronously
+// api document: https://help.aliyun.com/api/rds/cloneparametergroup.html
+func (client *Client) CloneParameterGroup(request *CloneParameterGroupRequest) (response *CloneParameterGroupResponse, err error) {
+	response = CreateCloneParameterGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CloneParameterGroupWithChan invokes the rds.CloneParameterGroup API asynchronously
+// api document: https://help.aliyun.com/api/rds/cloneparametergroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CloneParameterGroupWithChan(request *CloneParameterGroupRequest) (<-chan *CloneParameterGroupResponse, <-chan error) {
+	responseChan := make(chan *CloneParameterGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CloneParameterGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CloneParameterGroupWithCallback invokes the rds.CloneParameterGroup API asynchronously
+// api document: https://help.aliyun.com/api/rds/cloneparametergroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CloneParameterGroupWithCallback(request *CloneParameterGroupRequest, callback func(response *CloneParameterGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CloneParameterGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.CloneParameterGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CloneParameterGroupRequest is the request struct for api CloneParameterGroup
+type CloneParameterGroupRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ParameterGroupId     string           `position:"Query" name:"ParameterGroupId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	TargetRegionId       string           `position:"Query" name:"TargetRegionId"`
+	ParameterGroupName   string           `position:"Query" name:"ParameterGroupName"`
+	ParameterGroupDesc   string           `position:"Query" name:"ParameterGroupDesc"`
+}
+
+// CloneParameterGroupResponse is the response struct for api CloneParameterGroup
+type CloneParameterGroupResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateCloneParameterGroupRequest creates a request to invoke CloneParameterGroup API
+func CreateCloneParameterGroupRequest() (request *CloneParameterGroupRequest) {
+	request = &CloneParameterGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "CloneParameterGroup", "rds", "openAPI")
+	return
+}
+
+// CreateCloneParameterGroupResponse creates a response to parse from CloneParameterGroup response
+func CreateCloneParameterGroupResponse() (response *CloneParameterGroupResponse) {
+	response = &CloneParameterGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/rds/copy_database.go

@@ -76,9 +76,9 @@ func (client *Client) CopyDatabaseWithCallback(request *CopyDatabaseRequest, cal
 // CopyDatabaseRequest is the request struct for api CopyDatabase
 type CopyDatabaseRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CopyDatabaseResponse is the response struct for api CopyDatabase

+ 8 - 8
services/rds/copy_database_between_instances.go

@@ -76,19 +76,19 @@ func (client *Client) CopyDatabaseBetweenInstancesWithCallback(request *CopyData
 // CopyDatabaseBetweenInstancesRequest is the request struct for api CopyDatabaseBetweenInstances
 type CopyDatabaseBetweenInstancesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	PayType              string           `position:"Query" name:"PayType"`
+	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	TargetDBInstanceId   string           `position:"Query" name:"TargetDBInstanceId"`
-	DbNames              string           `position:"Query" name:"DbNames"`
-	BackupId             string           `position:"Query" name:"BackupId"`
 	RestoreTime          string           `position:"Query" name:"RestoreTime"`
-	SyncUserPrivilege    string           `position:"Query" name:"SyncUserPrivilege"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupId             string           `position:"Query" name:"BackupId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	SyncUserPrivilege    string           `position:"Query" name:"SyncUserPrivilege"`
+	DbNames              string           `position:"Query" name:"DbNames"`
+	TargetDBInstanceId   string           `position:"Query" name:"TargetDBInstanceId"`
+	PayType              string           `position:"Query" name:"PayType"`
 }
 
 // CopyDatabaseBetweenInstancesResponse is the response struct for api CopyDatabaseBetweenInstances

+ 6 - 6
services/rds/create_account.go

@@ -76,15 +76,15 @@ func (client *Client) CreateAccountWithCallback(request *CreateAccountRequest, c
 // CreateAccountRequest is the request struct for api CreateAccount
 type CreateAccountRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	AccountName          string           `position:"Query" name:"AccountName"`
-	AccountPassword      string           `position:"Query" name:"AccountPassword"`
-	AccountDescription   string           `position:"Query" name:"AccountDescription"`
 	AccountType          string           `position:"Query" name:"AccountType"`
+	AccountDescription   string           `position:"Query" name:"AccountDescription"`
+	AccountName          string           `position:"Query" name:"AccountName"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AccountPassword      string           `position:"Query" name:"AccountPassword"`
 }
 
 // CreateAccountResponse is the response struct for api CreateAccount

+ 5 - 5
services/rds/create_backup.go

@@ -76,15 +76,15 @@ func (client *Client) CreateBackupWithCallback(request *CreateBackupRequest, cal
 // CreateBackupRequest is the request struct for api CreateBackup
 type CreateBackupRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	DBName               string           `position:"Query" name:"DBName"`
 	BackupStrategy       string           `position:"Query" name:"BackupStrategy"`
-	BackupMethod         string           `position:"Query" name:"BackupMethod"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	BackupType           string           `position:"Query" name:"BackupType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	BackupMethod         string           `position:"Query" name:"BackupMethod"`
+	DBName               string           `position:"Query" name:"DBName"`
 }
 
 // CreateBackupResponse is the response struct for api CreateBackup

+ 4 - 4
services/rds/create_database.go

@@ -76,14 +76,14 @@ func (client *Client) CreateDatabaseWithCallback(request *CreateDatabaseRequest,
 // CreateDatabaseRequest is the request struct for api CreateDatabase
 type CreateDatabaseRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	DBName               string           `position:"Query" name:"DBName"`
-	CharacterSetName     string           `position:"Query" name:"CharacterSetName"`
 	DBDescription        string           `position:"Query" name:"DBDescription"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBName               string           `position:"Query" name:"DBName"`
+	CharacterSetName     string           `position:"Query" name:"CharacterSetName"`
 }
 
 // CreateDatabaseResponse is the response struct for api CreateDatabase

+ 36 - 32
services/rds/create_db_instance.go

@@ -76,38 +76,42 @@ func (client *Client) CreateDBInstanceWithCallback(request *CreateDBInstanceRequ
 // CreateDBInstanceRequest is the request struct for api CreateDBInstance
 type CreateDBInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Engine                string           `position:"Query" name:"Engine"`
-	EngineVersion         string           `position:"Query" name:"EngineVersion"`
-	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
-	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
-	SystemDBCharset       string           `position:"Query" name:"SystemDBCharset"`
-	DBInstanceNetType     string           `position:"Query" name:"DBInstanceNetType"`
-	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
-	SecurityIPList        string           `position:"Query" name:"SecurityIPList"`
-	ClientToken           string           `position:"Query" name:"ClientToken"`
-	PayType               string           `position:"Query" name:"PayType"`
-	ZoneId                string           `position:"Query" name:"ZoneId"`
-	ZoneIdSlave1          string           `position:"Query" name:"ZoneIdSlave1"`
-	ZoneIdSlave2          string           `position:"Query" name:"ZoneIdSlave2"`
-	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
-	ConnectionMode        string           `position:"Query" name:"ConnectionMode"`
-	VPCId                 string           `position:"Query" name:"VPCId"`
-	VSwitchId             string           `position:"Query" name:"VSwitchId"`
-	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
-	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
-	UsedTime              string           `position:"Query" name:"UsedTime"`
-	Period                string           `position:"Query" name:"Period"`
-	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
-	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
-	TunnelId              string           `position:"Query" name:"TunnelId"`
-	BusinessInfo          string           `position:"Query" name:"BusinessInfo"`
-	EncryptionKey         string           `position:"Query" name:"EncryptionKey"`
-	RoleARN               string           `position:"Query" name:"RoleARN"`
-	AutoRenew             string           `position:"Query" name:"AutoRenew"`
-	Category              string           `position:"Query" name:"Category"`
+	ResourceOwnerId                requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage              requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	SystemDBCharset                string           `position:"Query" name:"SystemDBCharset"`
+	EngineVersion                  string           `position:"Query" name:"EngineVersion"`
+	ResourceGroupId                string           `position:"Query" name:"ResourceGroupId"`
+	TargetDedicatedHostIdForMaster string           `position:"Query" name:"TargetDedicatedHostIdForMaster"`
+	DBInstanceDescription          string           `position:"Query" name:"DBInstanceDescription"`
+	BusinessInfo                   string           `position:"Query" name:"BusinessInfo"`
+	Period                         string           `position:"Query" name:"Period"`
+	EncryptionKey                  string           `position:"Query" name:"EncryptionKey"`
+	OwnerId                        requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceClass                string           `position:"Query" name:"DBInstanceClass"`
+	SecurityIPList                 string           `position:"Query" name:"SecurityIPList"`
+	VSwitchId                      string           `position:"Query" name:"VSwitchId"`
+	PrivateIpAddress               string           `position:"Query" name:"PrivateIpAddress"`
+	TargetDedicatedHostIdForLog    string           `position:"Query" name:"TargetDedicatedHostIdForLog"`
+	AutoRenew                      string           `position:"Query" name:"AutoRenew"`
+	RoleARN                        string           `position:"Query" name:"RoleARN"`
+	TunnelId                       string           `position:"Query" name:"TunnelId"`
+	ZoneId                         string           `position:"Query" name:"ZoneId"`
+	InstanceNetworkType            string           `position:"Query" name:"InstanceNetworkType"`
+	ConnectionMode                 string           `position:"Query" name:"ConnectionMode"`
+	ClientToken                    string           `position:"Query" name:"ClientToken"`
+	TargetDedicatedHostIdForSlave  string           `position:"Query" name:"TargetDedicatedHostIdForSlave"`
+	ZoneIdSlave1                   string           `position:"Query" name:"ZoneIdSlave1"`
+	ZoneIdSlave2                   string           `position:"Query" name:"ZoneIdSlave2"`
+	Engine                         string           `position:"Query" name:"Engine"`
+	DBInstanceStorageType          string           `position:"Query" name:"DBInstanceStorageType"`
+	DedicatedHostGroupId           string           `position:"Query" name:"DedicatedHostGroupId"`
+	DBInstanceNetType              string           `position:"Query" name:"DBInstanceNetType"`
+	ResourceOwnerAccount           string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount                   string           `position:"Query" name:"OwnerAccount"`
+	UsedTime                       string           `position:"Query" name:"UsedTime"`
+	VPCId                          string           `position:"Query" name:"VPCId"`
+	Category                       string           `position:"Query" name:"Category"`
+	PayType                        string           `position:"Query" name:"PayType"`
 }
 
 // CreateDBInstanceResponse is the response struct for api CreateDBInstance

+ 18 - 18
services/rds/create_db_instance_replica.go

@@ -76,32 +76,32 @@ func (client *Client) CreateDBInstanceReplicaWithCallback(request *CreateDBInsta
 // CreateDBInstanceReplicaRequest is the request struct for api CreateDBInstanceReplica
 type CreateDBInstanceReplicaRequest struct {
 	*requests.RpcRequest
-	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	ConnectionMode        string           `position:"Query" name:"ConnectionMode"`
+	DomainMode            string           `position:"Query" name:"DomainMode"`
+	ReplicaDescription    string           `position:"Query" name:"ReplicaDescription"`
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceDBInstanceId    string           `position:"Query" name:"SourceDBInstanceId"`
-	Engine                string           `position:"Query" name:"Engine"`
-	EngineVersion         string           `position:"Query" name:"EngineVersion"`
-	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
 	SystemDBCharset       string           `position:"Query" name:"SystemDBCharset"`
-	DBInstanceNetType     string           `position:"Query" name:"DBInstanceNetType"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	EngineVersion         string           `position:"Query" name:"EngineVersion"`
+	Engine                string           `position:"Query" name:"Engine"`
 	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
+	DBInstanceNetType     string           `position:"Query" name:"DBInstanceNetType"`
+	Period                string           `position:"Query" name:"Period"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	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"`
-	ClientToken           string           `position:"Query" name:"ClientToken"`
-	PayType               string           `position:"Query" name:"PayType"`
-	ZoneId                string           `position:"Query" name:"ZoneId"`
-	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
-	ConnectionMode        string           `position:"Query" name:"ConnectionMode"`
-	VPCId                 string           `position:"Query" name:"VPCId"`
 	VSwitchId             string           `position:"Query" name:"VSwitchId"`
 	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
-	ReplicaDescription    string           `position:"Query" name:"ReplicaDescription"`
-	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
-	UsedTime              string           `position:"Query" name:"UsedTime"`
-	Period                string           `position:"Query" name:"Period"`
+	SourceDBInstanceId    string           `position:"Query" name:"SourceDBInstanceId"`
 	ReplicaMode           string           `position:"Query" name:"ReplicaMode"`
-	DomainMode            string           `position:"Query" name:"DomainMode"`
+	VPCId                 string           `position:"Query" name:"VPCId"`
+	ZoneId                string           `position:"Query" name:"ZoneId"`
+	PayType               string           `position:"Query" name:"PayType"`
+	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 }
 
 // CreateDBInstanceReplicaResponse is the response struct for api CreateDBInstanceReplica

+ 23 - 23
services/rds/create_ddr_instance.go

@@ -76,41 +76,41 @@ func (client *Client) CreateDdrInstanceWithCallback(request *CreateDdrInstanceRe
 // CreateDdrInstanceRequest is the request struct for api CreateDdrInstance
 type CreateDdrInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Engine                string           `position:"Query" name:"Engine"`
-	EngineVersion         string           `position:"Query" name:"EngineVersion"`
-	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
 	SystemDBCharset       string           `position:"Query" name:"SystemDBCharset"`
-	DBInstanceNetType     string           `position:"Query" name:"DBInstanceNetType"`
+	EngineVersion         string           `position:"Query" name:"EngineVersion"`
+	UserBakSetURL         string           `position:"Query" name:"UserBakSetURL"`
+	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
 	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
+	BackupSetRegion       string           `position:"Query" name:"BackupSetRegion"`
+	Period                string           `position:"Query" name:"Period"`
+	BackupSetId           string           `position:"Query" name:"BackupSetId"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	SecurityIPList        string           `position:"Query" name:"SecurityIPList"`
-	ClientToken           string           `position:"Query" name:"ClientToken"`
-	PayType               string           `position:"Query" name:"PayType"`
+	VSwitchId             string           `position:"Query" name:"VSwitchId"`
+	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
+	TunnelId              string           `position:"Query" name:"TunnelId"`
 	ZoneId                string           `position:"Query" name:"ZoneId"`
 	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 	ConnectionMode        string           `position:"Query" name:"ConnectionMode"`
-	VPCId                 string           `position:"Query" name:"VPCId"`
-	VSwitchId             string           `position:"Query" name:"VSwitchId"`
-	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
+	SourceDBInstanceName  string           `position:"Query" name:"SourceDBInstanceName"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
+	HostType              string           `position:"Query" name:"HostType"`
+	Engine                string           `position:"Query" name:"Engine"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	DBInstanceNetType     string           `position:"Query" name:"DBInstanceNetType"`
+	BackupSetType         string           `position:"Query" name:"BackupSetType"`
+	RestoreTime           string           `position:"Query" name:"RestoreTime"`
+	BakSetName            string           `position:"Query" name:"BakSetName"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
 	UsedTime              string           `position:"Query" name:"UsedTime"`
-	Period                string           `position:"Query" name:"Period"`
-	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
-	TunnelId              string           `position:"Query" name:"TunnelId"`
 	RestoreType           string           `position:"Query" name:"RestoreType"`
-	BackupSetId           string           `position:"Query" name:"BackupSetId"`
-	BackupSetType         string           `position:"Query" name:"BackupSetType"`
-	BackupSetRegion       string           `position:"Query" name:"BackupSetRegion"`
-	RestoreTime           string           `position:"Query" name:"RestoreTime"`
+	VPCId                 string           `position:"Query" name:"VPCId"`
+	PayType               string           `position:"Query" name:"PayType"`
 	SourceRegion          string           `position:"Query" name:"SourceRegion"`
-	SourceDBInstanceName  string           `position:"Query" name:"SourceDBInstanceName"`
-	UserBakSetURL         string           `position:"Query" name:"UserBakSetURL"`
-	BakSetName            string           `position:"Query" name:"BakSetName"`
-	HostType              string           `position:"Query" name:"HostType"`
-	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
 }
 
 // CreateDdrInstanceResponse is the response struct for api CreateDdrInstance

+ 118 - 0
services/rds/create_dedicated_host.go

@@ -0,0 +1,118 @@
+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"
+)
+
+// CreateDedicatedHost invokes the rds.CreateDedicatedHost API synchronously
+// api document: https://help.aliyun.com/api/rds/creatededicatedhost.html
+func (client *Client) CreateDedicatedHost(request *CreateDedicatedHostRequest) (response *CreateDedicatedHostResponse, err error) {
+	response = CreateCreateDedicatedHostResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateDedicatedHostWithChan invokes the rds.CreateDedicatedHost API asynchronously
+// api document: https://help.aliyun.com/api/rds/creatededicatedhost.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateDedicatedHostWithChan(request *CreateDedicatedHostRequest) (<-chan *CreateDedicatedHostResponse, <-chan error) {
+	responseChan := make(chan *CreateDedicatedHostResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateDedicatedHost(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateDedicatedHostWithCallback invokes the rds.CreateDedicatedHost API asynchronously
+// api document: https://help.aliyun.com/api/rds/creatededicatedhost.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateDedicatedHostWithCallback(request *CreateDedicatedHostRequest, callback func(response *CreateDedicatedHostResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateDedicatedHostResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateDedicatedHost(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateDedicatedHostRequest is the request struct for api CreateDedicatedHost
+type CreateDedicatedHostRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	HostName             string           `position:"Query" name:"HostName"`
+	HostCount            requests.Integer `position:"Query" name:"HostCount"`
+	DedicatedHostGroupId string           `position:"Query" name:"DedicatedHostGroupId"`
+	Period               string           `position:"Query" name:"Period"`
+	HostClass            string           `position:"Query" name:"HostClass"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime             string           `position:"Query" name:"UsedTime"`
+	VSwitchId            string           `position:"Query" name:"VSwitchId"`
+	AutoRenew            string           `position:"Query" name:"AutoRenew"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
+	PayType              string           `position:"Query" name:"PayType"`
+}
+
+// CreateDedicatedHostResponse is the response struct for api CreateDedicatedHost
+type CreateDedicatedHostResponse struct {
+	*responses.BaseResponse
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	OrderId          int64            `json:"OrderId" xml:"OrderId"`
+	DedicateHostList DedicateHostList `json:"DedicateHostList" xml:"DedicateHostList"`
+}
+
+// CreateCreateDedicatedHostRequest creates a request to invoke CreateDedicatedHost API
+func CreateCreateDedicatedHostRequest() (request *CreateDedicatedHostRequest) {
+	request = &CreateDedicatedHostRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "CreateDedicatedHost", "rds", "openAPI")
+	return
+}
+
+// CreateCreateDedicatedHostResponse creates a response to parse from CreateDedicatedHost response
+func CreateCreateDedicatedHostResponse() (response *CreateDedicatedHostResponse) {
+	response = &CreateDedicatedHostResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/rds/create_dedicated_host_group.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"
+)
+
+// CreateDedicatedHostGroup invokes the rds.CreateDedicatedHostGroup API synchronously
+// api document: https://help.aliyun.com/api/rds/creatededicatedhostgroup.html
+func (client *Client) CreateDedicatedHostGroup(request *CreateDedicatedHostGroupRequest) (response *CreateDedicatedHostGroupResponse, err error) {
+	response = CreateCreateDedicatedHostGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateDedicatedHostGroupWithChan invokes the rds.CreateDedicatedHostGroup API asynchronously
+// api document: https://help.aliyun.com/api/rds/creatededicatedhostgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateDedicatedHostGroupWithChan(request *CreateDedicatedHostGroupRequest) (<-chan *CreateDedicatedHostGroupResponse, <-chan error) {
+	responseChan := make(chan *CreateDedicatedHostGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateDedicatedHostGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateDedicatedHostGroupWithCallback invokes the rds.CreateDedicatedHostGroup API asynchronously
+// api document: https://help.aliyun.com/api/rds/creatededicatedhostgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateDedicatedHostGroupWithCallback(request *CreateDedicatedHostGroupRequest, callback func(response *CreateDedicatedHostGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateDedicatedHostGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateDedicatedHostGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateDedicatedHostGroupRequest is the request struct for api CreateDedicatedHostGroup
+type CreateDedicatedHostGroupRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	CpuAllocationRatio   requests.Integer `position:"Query" name:"CpuAllocationRatio"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	Engine               string           `position:"Query" name:"Engine"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	DiskAllocationRatio  requests.Integer `position:"Query" name:"DiskAllocationRatio"`
+	MemAllocationRatio   requests.Integer `position:"Query" name:"MemAllocationRatio"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	HostReplacePolicy    string           `position:"Query" name:"HostReplacePolicy"`
+	AllocationPolicy     string           `position:"Query" name:"AllocationPolicy"`
+	VPCId                string           `position:"Query" name:"VPCId"`
+}
+
+// CreateDedicatedHostGroupResponse is the response struct for api CreateDedicatedHostGroup
+type CreateDedicatedHostGroupResponse struct {
+	*responses.BaseResponse
+	RequestId            string `json:"RequestId" xml:"RequestId"`
+	DedicatedHostGroupId string `json:"DedicatedHostGroupId" xml:"DedicatedHostGroupId"`
+}
+
+// CreateCreateDedicatedHostGroupRequest creates a request to invoke CreateDedicatedHostGroup API
+func CreateCreateDedicatedHostGroupRequest() (request *CreateDedicatedHostGroupRequest) {
+	request = &CreateDedicatedHostGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "CreateDedicatedHostGroup", "rds", "openAPI")
+	return
+}
+
+// CreateCreateDedicatedHostGroupResponse creates a response to parse from CreateDedicatedHostGroup response
+func CreateCreateDedicatedHostGroupResponse() (response *CreateDedicatedHostGroupResponse) {
+	response = &CreateDedicatedHostGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/rds/create_diagnostic_report.go

@@ -76,9 +76,9 @@ func (client *Client) CreateDiagnosticReportWithCallback(request *CreateDiagnost
 // CreateDiagnosticReportRequest is the request struct for api CreateDiagnosticReport
 type CreateDiagnosticReportRequest struct {
 	*requests.RpcRequest
-	DBInstanceId string `position:"Query" name:"DBInstanceId"`
-	StartTime    string `position:"Query" name:"StartTime"`
 	EndTime      string `position:"Query" name:"EndTime"`
+	StartTime    string `position:"Query" name:"StartTime"`
+	DBInstanceId string `position:"Query" name:"DBInstanceId"`
 }
 
 // CreateDiagnosticReportResponse is the response struct for api CreateDiagnosticReport

+ 6 - 6
services/rds/create_migrate_task.go

@@ -76,17 +76,17 @@ func (client *Client) CreateMigrateTaskWithCallback(request *CreateMigrateTaskRe
 // CreateMigrateTaskRequest is the request struct for api CreateMigrateTask
 type CreateMigrateTaskRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IsOnlineDB           string           `position:"Query" name:"IsOnlineDB"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	MigrateTaskId        string           `position:"Query" name:"MigrateTaskId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	OssObjectPositions   string           `position:"Query" name:"OssObjectPositions"`
+	OSSUrls              string           `position:"Query" name:"OSSUrls"`
 	DBName               string           `position:"Query" name:"DBName"`
 	BackupMode           string           `position:"Query" name:"BackupMode"`
-	IsOnlineDB           string           `position:"Query" name:"IsOnlineDB"`
 	CheckDBMode          string           `position:"Query" name:"CheckDBMode"`
-	OssObjectPositions   string           `position:"Query" name:"OssObjectPositions"`
-	OSSUrls              string           `position:"Query" name:"OSSUrls"`
-	MigrateTaskId        string           `position:"Query" name:"MigrateTaskId"`
 }
 
 // CreateMigrateTaskResponse is the response struct for api CreateMigrateTask

+ 4 - 4
services/rds/create_migrate_task_for_sql_server.go

@@ -76,14 +76,14 @@ func (client *Client) CreateMigrateTaskForSQLServerWithCallback(request *CreateM
 // CreateMigrateTaskForSQLServerRequest is the request struct for api CreateMigrateTaskForSQLServer
 type CreateMigrateTaskForSQLServerRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IsOnlineDB           string           `position:"Query" name:"IsOnlineDB"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	DBName               string           `position:"Query" name:"DBName"`
 	TaskType             string           `position:"Query" name:"TaskType"`
-	IsOnlineDB           string           `position:"Query" name:"IsOnlineDB"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	OSSUrls              string           `position:"Query" name:"OSSUrls"`
+	DBName               string           `position:"Query" name:"DBName"`
 }
 
 // CreateMigrateTaskForSQLServerResponse is the response struct for api CreateMigrateTaskForSQLServer

+ 4 - 4
services/rds/create_online_database_task.go

@@ -76,15 +76,15 @@ func (client *Client) CreateOnlineDatabaseTaskWithCallback(request *CreateOnline
 // CreateOnlineDatabaseTaskRequest is the request struct for api CreateOnlineDatabaseTask
 type CreateOnlineDatabaseTaskRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	DBName               string           `position:"Query" name:"DBName"`
 	MigrateTaskId        string           `position:"Query" name:"MigrateTaskId"`
-	CheckDBMode          string           `position:"Query" name:"CheckDBMode"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBName               string           `position:"Query" name:"DBName"`
+	CheckDBMode          string           `position:"Query" name:"CheckDBMode"`
 }
 
 // CreateOnlineDatabaseTaskResponse is the response struct for api CreateOnlineDatabaseTask

+ 110 - 0
services/rds/create_parameter_group.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"
+)
+
+// CreateParameterGroup invokes the rds.CreateParameterGroup API synchronously
+// api document: https://help.aliyun.com/api/rds/createparametergroup.html
+func (client *Client) CreateParameterGroup(request *CreateParameterGroupRequest) (response *CreateParameterGroupResponse, err error) {
+	response = CreateCreateParameterGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateParameterGroupWithChan invokes the rds.CreateParameterGroup API asynchronously
+// api document: https://help.aliyun.com/api/rds/createparametergroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateParameterGroupWithChan(request *CreateParameterGroupRequest) (<-chan *CreateParameterGroupResponse, <-chan error) {
+	responseChan := make(chan *CreateParameterGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateParameterGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateParameterGroupWithCallback invokes the rds.CreateParameterGroup API asynchronously
+// api document: https://help.aliyun.com/api/rds/createparametergroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateParameterGroupWithCallback(request *CreateParameterGroupRequest, callback func(response *CreateParameterGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateParameterGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateParameterGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateParameterGroupRequest is the request struct for api CreateParameterGroup
+type CreateParameterGroupRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	Engine               string           `position:"Query" name:"Engine"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ParameterGroupName   string           `position:"Query" name:"ParameterGroupName"`
+	Parameters           string           `position:"Query" name:"Parameters"`
+	ParameterGroupDesc   string           `position:"Query" name:"ParameterGroupDesc"`
+}
+
+// CreateParameterGroupResponse is the response struct for api CreateParameterGroup
+type CreateParameterGroupResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateCreateParameterGroupRequest creates a request to invoke CreateParameterGroup API
+func CreateCreateParameterGroupRequest() (request *CreateParameterGroupRequest) {
+	request = &CreateParameterGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "CreateParameterGroup", "rds", "openAPI")
+	return
+}
+
+// CreateCreateParameterGroupResponse creates a response to parse from CreateParameterGroup response
+func CreateCreateParameterGroupResponse() (response *CreateParameterGroupResponse) {
+	response = &CreateParameterGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 12 - 12
services/rds/create_read_only_db_instance.go

@@ -76,25 +76,25 @@ func (client *Client) CreateReadOnlyDBInstanceWithCallback(request *CreateReadOn
 // CreateReadOnlyDBInstanceRequest is the request struct for api CreateReadOnlyDBInstance
 type CreateReadOnlyDBInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ClientToken           string           `position:"Query" name:"ClientToken"`
-	ZoneId                string           `position:"Query" name:"ZoneId"`
-	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
-	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	DBInstanceStorage     requests.Integer `position:"Query" name:"DBInstanceStorage"`
+	ClientToken           string           `position:"Query" name:"ClientToken"`
 	EngineVersion         string           `position:"Query" name:"EngineVersion"`
-	PayType               string           `position:"Query" name:"PayType"`
+	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
 	DBInstanceDescription string           `position:"Query" name:"DBInstanceDescription"`
-	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
-	VPCId                 string           `position:"Query" name:"VPCId"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
 	VSwitchId             string           `position:"Query" name:"VSwitchId"`
 	PrivateIpAddress      string           `position:"Query" name:"PrivateIpAddress"`
-	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
-	ResourceGroupId       string           `position:"Query" name:"ResourceGroupId"`
+	VPCId                 string           `position:"Query" name:"VPCId"`
+	ZoneId                string           `position:"Query" name:"ZoneId"`
 	Category              string           `position:"Query" name:"Category"`
-	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	PayType               string           `position:"Query" name:"PayType"`
+	InstanceNetworkType   string           `position:"Query" name:"InstanceNetworkType"`
 }
 
 // CreateReadOnlyDBInstanceResponse is the response struct for api CreateReadOnlyDBInstance

+ 3 - 3
services/rds/create_temp_db_instance.go

@@ -76,13 +76,13 @@ func (client *Client) CreateTempDBInstanceWithCallback(request *CreateTempDBInst
 // CreateTempDBInstanceRequest is the request struct for api CreateTempDBInstance
 type CreateTempDBInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	BackupId             requests.Integer `position:"Query" name:"BackupId"`
 	RestoreTime          string           `position:"Query" name:"RestoreTime"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupId             requests.Integer `position:"Query" name:"BackupId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // CreateTempDBInstanceResponse is the response struct for api CreateTempDBInstance

+ 4 - 4
services/rds/delete_account.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteAccountWithCallback(request *DeleteAccountRequest, c
 // DeleteAccountRequest is the request struct for api DeleteAccount
 type DeleteAccountRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	AccountName          string           `position:"Query" name:"AccountName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AccountName          string           `position:"Query" name:"AccountName"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DeleteAccountResponse is the response struct for api DeleteAccount

+ 3 - 3
services/rds/delete_backup.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteBackupWithCallback(request *DeleteBackupRequest, cal
 // DeleteBackupRequest is the request struct for api DeleteBackup
 type DeleteBackupRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DeleteBackupResponse is the response struct for api DeleteBackup

+ 4 - 4
services/rds/delete_database.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteDatabaseWithCallback(request *DeleteDatabaseRequest,
 // DeleteDatabaseRequest is the request struct for api DeleteDatabase
 type DeleteDatabaseRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	DBName               string           `position:"Query" name:"DBName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBName               string           `position:"Query" name:"DBName"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DeleteDatabaseResponse is the response struct for api DeleteDatabase

+ 3 - 3
services/rds/delete_db_instance.go

@@ -76,12 +76,12 @@ func (client *Client) DeleteDBInstanceWithCallback(request *DeleteDBInstanceRequ
 // DeleteDBInstanceRequest is the request struct for api DeleteDBInstance
 type DeleteDBInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DeleteDBInstanceResponse is the response struct for api DeleteDBInstance

+ 106 - 0
services/rds/delete_dedicated_host.go

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

+ 106 - 0
services/rds/delete_dedicated_host_group.go

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

+ 106 - 0
services/rds/delete_parameter_group.go

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

+ 7 - 7
services/rds/descibe_imports_from_database.go

@@ -76,18 +76,18 @@ func (client *Client) DescibeImportsFromDatabaseWithCallback(request *DescibeImp
 // DescibeImportsFromDatabaseRequest is the request struct for api DescibeImportsFromDatabase
 type DescibeImportsFromDatabaseRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	Engine               string           `position:"Query" name:"Engine"`
-	ImportId             requests.Integer `position:"Query" name:"ImportId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	ImportId             requests.Integer `position:"Query" name:"ImportId"`
+	Engine               string           `position:"Query" name:"Engine"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescibeImportsFromDatabaseResponse is the response struct for api DescibeImportsFromDatabase

+ 5 - 5
services/rds/describe_accounts.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeAccountsWithCallback(request *DescribeAccountsRequ
 // DescribeAccountsRequest is the request struct for api DescribeAccounts
 type DescribeAccountsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 	AccountName          string           `position:"Query" name:"AccountName"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeAccountsResponse is the response struct for api DescribeAccounts

+ 2 - 2
services/rds/describe_action_event_policy.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeActionEventPolicyWithCallback(request *DescribeAct
 // DescribeActionEventPolicyRequest is the request struct for api DescribeActionEventPolicy
 type DescribeActionEventPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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

+ 2 - 2
services/rds/describe_available_cross_region.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeAvailableCrossRegionWithCallback(request *Describe
 // DescribeAvailableCrossRegionRequest is the request struct for api DescribeAvailableCrossRegion
 type DescribeAvailableCrossRegionRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeAvailableCrossRegionResponse is the response struct for api DescribeAvailableCrossRegion

+ 6 - 6
services/rds/describe_available_instance_class.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeAvailableInstanceClassWithCallback(request *Descri
 // DescribeAvailableInstanceClassRequest is the request struct for api DescribeAvailableInstanceClass
 type DescribeAvailableInstanceClassRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
-	InstanceChargeType   string           `position:"Query" name:"InstanceChargeType"`
-	Engine               string           `position:"Query" name:"Engine"`
 	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	Engine               string           `position:"Query" name:"Engine"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	OrderType            string           `position:"Query" name:"OrderType"`
+	InstanceChargeType   string           `position:"Query" name:"InstanceChargeType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
+	OrderType            string           `position:"Query" name:"OrderType"`
 }
 
 // DescribeAvailableInstanceClassResponse is the response struct for api DescribeAvailableInstanceClass

+ 2 - 2
services/rds/describe_available_recovery_time.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeAvailableRecoveryTimeWithCallback(request *Describ
 // DescribeAvailableRecoveryTimeRequest is the request struct for api DescribeAvailableRecoveryTime
 type DescribeAvailableRecoveryTimeRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	CrossBackupId        requests.Integer `position:"Query" name:"CrossBackupId"`
 }
 

+ 12 - 11
services/rds/describe_available_resource.go

@@ -76,17 +76,18 @@ func (client *Client) DescribeAvailableResourceWithCallback(request *DescribeAva
 // DescribeAvailableResourceRequest is the request struct for api DescribeAvailableResource
 type DescribeAvailableResourceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
-	InstanceChargeType   string           `position:"Query" name:"InstanceChargeType"`
-	Engine               string           `position:"Query" name:"Engine"`
-	EngineVersion        string           `position:"Query" name:"EngineVersion"`
-	DBInstanceClass      string           `position:"Query" name:"DBInstanceClass"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	OrderType            string           `position:"Query" name:"OrderType"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EngineVersion         string           `position:"Query" name:"EngineVersion"`
+	Engine                string           `position:"Query" name:"Engine"`
+	DBInstanceId          string           `position:"Query" name:"DBInstanceId"`
+	DBInstanceStorageType string           `position:"Query" name:"DBInstanceStorageType"`
+	InstanceChargeType    string           `position:"Query" name:"InstanceChargeType"`
+	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceClass       string           `position:"Query" name:"DBInstanceClass"`
+	ZoneId                string           `position:"Query" name:"ZoneId"`
+	OrderType             string           `position:"Query" name:"OrderType"`
 }
 
 // DescribeAvailableResourceResponse is the response struct for api DescribeAvailableResource

+ 3 - 3
services/rds/describe_backup_database.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeBackupDatabaseWithCallback(request *DescribeBackup
 // DescribeBackupDatabaseRequest is the request struct for api DescribeBackupDatabase
 type DescribeBackupDatabaseRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DescribeBackupDatabaseResponse is the response struct for api DescribeBackupDatabase

+ 2 - 2
services/rds/describe_backup_policy.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeBackupPolicyWithCallback(request *DescribeBackupPo
 // DescribeBackupPolicyRequest is the request struct for api DescribeBackupPolicy
 type DescribeBackupPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	BackupPolicyMode     string           `position:"Query" name:"BackupPolicyMode"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	CompressType         string           `position:"Query" name:"CompressType"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeBackupPolicyResponse is the response struct for api DescribeBackupPolicy

+ 6 - 6
services/rds/describe_backup_tasks.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeBackupTasksWithCallback(request *DescribeBackupTas
 // DescribeBackupTasksRequest is the request struct for api DescribeBackupTasks
 type DescribeBackupTasksRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupJobId          string           `position:"Query" name:"BackupJobId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
 	Flag                 string           `position:"Query" name:"Flag"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	BackupJobId          string           `position:"Query" name:"BackupJobId"`
-	BackupMode           string           `position:"Query" name:"BackupMode"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	BackupJobStatus      string           `position:"Query" name:"BackupJobStatus"`
+	BackupMode           string           `position:"Query" name:"BackupMode"`
 }
 
 // DescribeBackupTasksResponse is the response struct for api DescribeBackupTasks

+ 8 - 8
services/rds/describe_backups.go

@@ -76,19 +76,19 @@ func (client *Client) DescribeBackupsWithCallback(request *DescribeBackupsReques
 // DescribeBackupsRequest is the request struct for api DescribeBackups
 type DescribeBackupsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	BackupLocation       string           `position:"Query" name:"BackupLocation"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	BackupId             string           `position:"Query" name:"BackupId"`
-	BackupLocation       string           `position:"Query" name:"BackupLocation"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	BackupStatus         string           `position:"Query" name:"BackupStatus"`
 	BackupMode           string           `position:"Query" name:"BackupMode"`
-	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 }
 
 // DescribeBackupsResponse is the response struct for api DescribeBackups

+ 5 - 5
services/rds/describe_binlog_files.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeBinlogFilesWithCallback(request *DescribeBinlogFil
 // DescribeBinlogFilesRequest is the request struct for api DescribeBinlogFiles
 type DescribeBinlogFilesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeBinlogFilesResponse is the response struct for api DescribeBinlogFiles

+ 3 - 3
services/rds/describe_character_set_name.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeCharacterSetNameWithCallback(request *DescribeChar
 // DescribeCharacterSetNameRequest is the request struct for api DescribeCharacterSetName
 type DescribeCharacterSetNameRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Engine               string           `position:"Query" name:"Engine"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Engine               string           `position:"Query" name:"Engine"`
 }
 
 // DescribeCharacterSetNameResponse is the response struct for api DescribeCharacterSetName

+ 5 - 5
services/rds/describe_cloud_db_expert_service.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeCloudDbExpertServiceWithCallback(request *Describe
 // DescribeCloudDbExpertServiceRequest is the request struct for api DescribeCloudDbExpertService
 type DescribeCloudDbExpertServiceRequest struct {
 	*requests.RpcRequest
-	SecurityToken        string           `position:"Query" name:"SecurityToken"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	ServiceRequestType   string           `position:"Query" name:"ServiceRequestType"`
 	ServiceRequestParam  string           `position:"Query" name:"ServiceRequestParam"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeCloudDbExpertServiceResponse is the response struct for api DescribeCloudDbExpertService

+ 2 - 2
services/rds/describe_collation_time_zones.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeCollationTimeZonesWithCallback(request *DescribeCo
 // DescribeCollationTimeZonesRequest is the request struct for api DescribeCollationTimeZones
 type DescribeCollationTimeZonesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeCollationTimeZonesResponse is the response struct for api DescribeCollationTimeZones

+ 6 - 4
services/rds/describe_cross_region_backup_db_instance.go

@@ -76,12 +76,14 @@ func (client *Client) DescribeCrossRegionBackupDBInstanceWithCallback(request *D
 // DescribeCrossRegionBackupDBInstanceRequest is the request struct for api DescribeCrossRegionBackupDBInstance
 type DescribeCrossRegionBackupDBInstanceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	NotEnabled           requests.Integer `position:"Query" name:"NotEnabled"`
+	Product              string           `position:"Query" name:"Product"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeCrossRegionBackupDBInstanceResponse is the response struct for api DescribeCrossRegionBackupDBInstance

+ 6 - 6
services/rds/describe_cross_region_backups.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeCrossRegionBackupsWithCallback(request *DescribeCr
 // DescribeCrossRegionBackupsRequest is the request struct for api DescribeCrossRegionBackups
 type DescribeCrossRegionBackupsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	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"`
 	CrossBackupRegion    string           `position:"Query" name:"CrossBackupRegion"`
 	CrossBackupId        requests.Integer `position:"Query" name:"CrossBackupId"`
-	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeCrossRegionBackupsResponse is the response struct for api DescribeCrossRegionBackups

+ 6 - 6
services/rds/describe_cross_region_log_backup_files.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeCrossRegionLogBackupFilesWithCallback(request *Des
 // DescribeCrossRegionLogBackupFilesRequest is the request struct for api DescribeCrossRegionLogBackupFiles
 type DescribeCrossRegionLogBackupFilesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	CrossBackupRegion    string           `position:"Query" name:"CrossBackupRegion"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	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"`
+	CrossBackupRegion    string           `position:"Query" name:"CrossBackupRegion"`
 }
 
 // DescribeCrossRegionLogBackupFilesResponse is the response struct for api DescribeCrossRegionLogBackupFiles

+ 6 - 6
services/rds/describe_databases.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeDatabasesWithCallback(request *DescribeDatabasesRe
 // DescribeDatabasesRequest is the request struct for api DescribeDatabases
 type DescribeDatabasesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	DBName               string           `position:"Query" name:"DBName"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 	DBStatus             string           `position:"Query" name:"DBStatus"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBName               string           `position:"Query" name:"DBName"`
 }
 
 // DescribeDatabasesResponse is the response struct for api DescribeDatabases

+ 4 - 4
services/rds/describe_db_instance_attribute.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeDBInstanceAttributeWithCallback(request *DescribeD
 // DescribeDBInstanceAttributeRequest is the request struct for api DescribeDBInstanceAttribute
 type DescribeDBInstanceAttributeRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
 	Expired              string           `position:"Query" name:"Expired"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDBInstanceAttributeResponse is the response struct for api DescribeDBInstanceAttribute

+ 5 - 5
services/rds/describe_db_instance_by_tags.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeDBInstanceByTagsWithCallback(request *DescribeDBIn
 // DescribeDBInstanceByTagsRequest is the request struct for api DescribeDBInstanceByTags
 type DescribeDBInstanceByTagsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ProxyId              string           `position:"Query" name:"proxyId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ProxyId              string           `position:"Query" name:"proxyId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeDBInstanceByTagsResponse is the response struct for api DescribeDBInstanceByTags

+ 3 - 3
services/rds/describe_db_instance_ha_config.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeDBInstanceHAConfigWithCallback(request *DescribeDB
 // DescribeDBInstanceHAConfigRequest is the request struct for api DescribeDBInstanceHAConfig
 type DescribeDBInstanceHAConfigRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DescribeDBInstanceHAConfigResponse is the response struct for api DescribeDBInstanceHAConfig

+ 3 - 3
services/rds/describe_db_instance_ip_array_list.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeDBInstanceIPArrayListWithCallback(request *Describ
 // DescribeDBInstanceIPArrayListRequest is the request struct for api DescribeDBInstanceIPArrayList
 type DescribeDBInstanceIPArrayListRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	WhitelistNetworkType string           `position:"Query" name:"WhitelistNetworkType"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DescribeDBInstanceIPArrayListResponse is the response struct for api DescribeDBInstanceIPArrayList

+ 3 - 3
services/rds/describe_db_instance_ip_hostname.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeDBInstanceIpHostnameWithCallback(request *Describe
 // 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"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	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

+ 3 - 3
services/rds/describe_db_instance_monitor.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeDBInstanceMonitorWithCallback(request *DescribeDBI
 // DescribeDBInstanceMonitorRequest is the request struct for api DescribeDBInstanceMonitor
 type DescribeDBInstanceMonitorRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DescribeDBInstanceMonitorResponse is the response struct for api DescribeDBInstanceMonitor

+ 4 - 4
services/rds/describe_db_instance_net_info.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeDBInstanceNetInfoWithCallback(request *DescribeDBI
 // DescribeDBInstanceNetInfoRequest is the request struct for api DescribeDBInstanceNetInfo
 type DescribeDBInstanceNetInfoRequest struct {
 	*requests.RpcRequest
-	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Flag                     string           `position:"Query" name:"Flag"`
 	ClientToken              string           `position:"Query" name:"ClientToken"`
 	DBInstanceId             string           `position:"Query" name:"DBInstanceId"`
-	Flag                     string           `position:"Query" name:"Flag"`
-	DBInstanceNetRWSplitType string           `position:"Query" name:"DBInstanceNetRWSplitType"`
+	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount             string           `position:"Query" name:"OwnerAccount"`
+	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceNetRWSplitType string           `position:"Query" name:"DBInstanceNetRWSplitType"`
 }
 
 // DescribeDBInstanceNetInfoResponse is the response struct for api DescribeDBInstanceNetInfo

+ 10 - 10
services/rds/describe_db_instance_performance.go

@@ -76,25 +76,25 @@ func (client *Client) DescribeDBInstancePerformanceWithCallback(request *Describ
 // DescribeDBInstancePerformanceRequest is the request struct for api DescribeDBInstancePerformance
 type DescribeDBInstancePerformanceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	Key                  string           `position:"Query" name:"Key"`
-	StartTime            string           `position:"Query" name:"StartTime"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // 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

+ 2 - 2
services/rds/describe_db_instance_proxy_configuration.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeDBInstanceProxyConfigurationWithCallback(request *
 // DescribeDBInstanceProxyConfigurationRequest is the request struct for api DescribeDBInstanceProxyConfiguration
 type DescribeDBInstanceProxyConfigurationRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 }
 

+ 3 - 3
services/rds/describe_db_instance_ssl.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeDBInstanceSSLWithCallback(request *DescribeDBInsta
 // DescribeDBInstanceSSLRequest is the request struct for api DescribeDBInstanceSSL
 type DescribeDBInstanceSSLRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DescribeDBInstanceSSLResponse is the response struct for api DescribeDBInstanceSSL

+ 3 - 3
services/rds/describe_db_instance_tde.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeDBInstanceTDEWithCallback(request *DescribeDBInsta
 // DescribeDBInstanceTDERequest is the request struct for api DescribeDBInstanceTDE
 type DescribeDBInstanceTDERequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DescribeDBInstanceTDEResponse is the response struct for api DescribeDBInstanceTDE

+ 28 - 27
services/rds/describe_db_instances.go

@@ -76,40 +76,41 @@ func (client *Client) DescribeDBInstancesWithCallback(request *DescribeDBInstanc
 // DescribeDBInstancesRequest is the request struct for api DescribeDBInstances
 type DescribeDBInstancesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ProxyId              string           `position:"Query" name:"proxyId"`
-	Engine               string           `position:"Query" name:"Engine"`
-	ZoneId               string           `position:"Query" name:"ZoneId"`
+	Tag2Key              string           `position:"Query" name:"Tag.2.key"`
+	Tag3Key              string           `position:"Query" name:"Tag.3.key"`
+	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	Tag1Value            string           `position:"Query" name:"Tag.1.value"`
 	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
-	DBInstanceStatus     string           `position:"Query" name:"DBInstanceStatus"`
-	Expired              string           `position:"Query" name:"Expired"`
-	SearchKey            string           `position:"Query" name:"SearchKey"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ProxyId              string           `position:"Query" name:"proxyId"`
+	Tag5Key              string           `position:"Query" name:"Tag.5.key"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	DBInstanceType       string           `position:"Query" name:"DBInstanceType"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	InstanceNetworkType  string           `position:"Query" name:"InstanceNetworkType"`
-	VpcId                string           `position:"Query" name:"VpcId"`
-	VSwitchId            string           `position:"Query" name:"VSwitchId"`
 	DBInstanceClass      string           `position:"Query" name:"DBInstanceClass"`
-	EngineVersion        string           `position:"Query" name:"EngineVersion"`
-	PayType              string           `position:"Query" name:"PayType"`
-	ConnectionMode       string           `position:"Query" name:"ConnectionMode"`
-	Tag1Key              string           `position:"Query" name:"Tag.1.key"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.key"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.key"`
+	Tags                 string           `position:"Query" name:"Tags"`
+	VSwitchId            string           `position:"Query" name:"VSwitchId"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
 	Tag4Key              string           `position:"Query" name:"Tag.4.key"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.key"`
-	Tag1Value            string           `position:"Query" name:"Tag.1.value"`
-	Tag2Value            string           `position:"Query" name:"Tag.2.value"`
+	InstanceNetworkType  string           `position:"Query" name:"InstanceNetworkType"`
+	ConnectionMode       string           `position:"Query" name:"ConnectionMode"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	SearchKey            string           `position:"Query" name:"SearchKey"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	Expired              string           `position:"Query" name:"Expired"`
+	Engine               string           `position:"Query" name:"Engine"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceStatus     string           `position:"Query" name:"DBInstanceStatus"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	DedicatedHostGroupId string           `position:"Query" name:"DedicatedHostGroupId"`
 	Tag3Value            string           `position:"Query" name:"Tag.3.value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.value"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.value"`
-	Tags                 string           `position:"Query" name:"Tags"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Tag5Value            string           `position:"Query" name:"Tag.5.value"`
+	Tag1Key              string           `position:"Query" name:"Tag.1.key"`
+	VpcId                string           `position:"Query" name:"VpcId"`
+	Tag2Value            string           `position:"Query" name:"Tag.2.value"`
+	PayType              string           `position:"Query" name:"PayType"`
 }
 
 // DescribeDBInstancesResponse is the response struct for api DescribeDBInstances

+ 2 - 2
services/rds/describe_db_instances_as_csv.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeDBInstancesAsCsvWithCallback(request *DescribeDBIn
 // DescribeDBInstancesAsCsvRequest is the request struct for api DescribeDBInstancesAsCsv
 type DescribeDBInstancesAsCsvRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 }
 

+ 6 - 6
services/rds/describe_db_instances_by_expire_time.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeDBInstancesByExpireTimeWithCallback(request *Descr
 // DescribeDBInstancesByExpireTimeRequest is the request struct for api DescribeDBInstancesByExpireTime
 type DescribeDBInstancesByExpireTimeRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ProxyId              string           `position:"Query" name:"proxyId"`
-	ExpirePeriod         requests.Integer `position:"Query" name:"ExpirePeriod"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 	Expired              requests.Boolean `position:"Query" name:"Expired"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	Tags                 string           `position:"Query" name:"Tags"`
+	ExpirePeriod         requests.Integer `position:"Query" name:"ExpirePeriod"`
+	ProxyId              string           `position:"Query" name:"proxyId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tags                 string           `position:"Query" name:"Tags"`
 }
 
 // DescribeDBInstancesByExpireTimeResponse is the response struct for api DescribeDBInstancesByExpireTime

+ 15 - 15
services/rds/describe_db_instances_by_performance.go

@@ -76,28 +76,28 @@ func (client *Client) DescribeDBInstancesByPerformanceWithCallback(request *Desc
 // DescribeDBInstancesByPerformanceRequest is the request struct for api DescribeDBInstancesByPerformance
 type DescribeDBInstancesByPerformanceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Tag4Value            string           `position:"Query" name:"Tag.4.value"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Tag2Key              string           `position:"Query" name:"Tag.2.key"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ProxyId              string           `position:"Query" name:"proxyId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	Tag3Key              string           `position:"Query" name:"Tag.3.key"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	SortMethod           string           `position:"Query" name:"SortMethod"`
+	Tag1Value            string           `position:"Query" name:"Tag.1.value"`
 	SortKey              string           `position:"Query" name:"SortKey"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	Tag3Value            string           `position:"Query" name:"Tag.3.value"`
+	ProxyId              string           `position:"Query" name:"proxyId"`
+	Tag5Key              string           `position:"Query" name:"Tag.5.key"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tag5Value            string           `position:"Query" name:"Tag.5.value"`
 	Tags                 string           `position:"Query" name:"Tags"`
 	Tag1Key              string           `position:"Query" name:"Tag.1.key"`
-	Tag2Key              string           `position:"Query" name:"Tag.2.key"`
-	Tag3Key              string           `position:"Query" name:"Tag.3.key"`
-	Tag4Key              string           `position:"Query" name:"Tag.4.key"`
-	Tag5Key              string           `position:"Query" name:"Tag.5.key"`
-	Tag1Value            string           `position:"Query" name:"Tag.1.value"`
+	SortMethod           string           `position:"Query" name:"SortMethod"`
 	Tag2Value            string           `position:"Query" name:"Tag.2.value"`
-	Tag3Value            string           `position:"Query" name:"Tag.3.value"`
-	Tag4Value            string           `position:"Query" name:"Tag.4.value"`
-	Tag5Value            string           `position:"Query" name:"Tag.5.value"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Tag4Key              string           `position:"Query" name:"Tag.4.key"`
 }
 
 // DescribeDBInstancesByPerformanceResponse is the response struct for api DescribeDBInstancesByPerformance

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

+ 135 - 0
services/rds/describe_dedicated_host_attribute.go

@@ -0,0 +1,135 @@
+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"
+)
+
+// DescribeDedicatedHostAttribute invokes the rds.DescribeDedicatedHostAttribute API synchronously
+// api document: https://help.aliyun.com/api/rds/describededicatedhostattribute.html
+func (client *Client) DescribeDedicatedHostAttribute(request *DescribeDedicatedHostAttributeRequest) (response *DescribeDedicatedHostAttributeResponse, err error) {
+	response = CreateDescribeDedicatedHostAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDedicatedHostAttributeWithChan invokes the rds.DescribeDedicatedHostAttribute API asynchronously
+// api document: https://help.aliyun.com/api/rds/describededicatedhostattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDedicatedHostAttributeWithChan(request *DescribeDedicatedHostAttributeRequest) (<-chan *DescribeDedicatedHostAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeDedicatedHostAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDedicatedHostAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDedicatedHostAttributeWithCallback invokes the rds.DescribeDedicatedHostAttribute API asynchronously
+// api document: https://help.aliyun.com/api/rds/describededicatedhostattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDedicatedHostAttributeWithCallback(request *DescribeDedicatedHostAttributeRequest, callback func(response *DescribeDedicatedHostAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDedicatedHostAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDedicatedHostAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDedicatedHostAttributeRequest is the request struct for api DescribeDedicatedHostAttribute
+type DescribeDedicatedHostAttributeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	DedicatedHostId      string           `position:"Query" name:"DedicatedHostId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DedicatedHostGroupId string           `position:"Query" name:"DedicatedHostGroupId"`
+}
+
+// DescribeDedicatedHostAttributeResponse is the response struct for api DescribeDedicatedHostAttribute
+type DescribeDedicatedHostAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId              string `json:"RequestId" xml:"RequestId"`
+	DedicatedHostGroupId   string `json:"DedicatedHostGroupId" xml:"DedicatedHostGroupId"`
+	DedicatedHostId        string `json:"DedicatedHostId" xml:"DedicatedHostId"`
+	RegionId               string `json:"RegionId" xml:"RegionId"`
+	ZoneId                 string `json:"ZoneId" xml:"ZoneId"`
+	VPCId                  string `json:"VPCId" xml:"VPCId"`
+	VSwitchId              string `json:"VSwitchId" xml:"VSwitchId"`
+	IPAddress              string `json:"IPAddress" xml:"IPAddress"`
+	HostName               string `json:"HostName" xml:"HostName"`
+	HostStatus             string `json:"HostStatus" xml:"HostStatus"`
+	HostClass              string `json:"HostClass" xml:"HostClass"`
+	HostCPU                int    `json:"HostCPU" xml:"HostCPU"`
+	HostMem                int    `json:"HostMem" xml:"HostMem"`
+	HostStorage            int    `json:"HostStorage" xml:"HostStorage"`
+	CPUAllocationRatio     string `json:"CPUAllocationRatio" xml:"CPUAllocationRatio"`
+	MemAllocationRatio     string `json:"MemAllocationRatio" xml:"MemAllocationRatio"`
+	DiskAllocationRatio    string `json:"DiskAllocationRatio" xml:"DiskAllocationRatio"`
+	InstanceNumber         int    `json:"InstanceNumber" xml:"InstanceNumber"`
+	InstanceNumberMaster   int    `json:"InstanceNumberMaster" xml:"InstanceNumberMaster"`
+	InstanceNumberSlave    int    `json:"InstanceNumberSlave" xml:"InstanceNumberSlave"`
+	InstanceNumberROMaster int    `json:"InstanceNumberROMaster" xml:"InstanceNumberROMaster"`
+	InstanceNumberROSlave  int    `json:"InstanceNumberROSlave" xml:"InstanceNumberROSlave"`
+	CreatedTime            string `json:"CreatedTime" xml:"CreatedTime"`
+	ExpiredTime            string `json:"ExpiredTime" xml:"ExpiredTime"`
+	AutoRenew              string `json:"AutoRenew" xml:"AutoRenew"`
+	AllocationStatus       string `json:"AllocationStatus" xml:"AllocationStatus"`
+	CpuUsed                string `json:"CpuUsed" xml:"CpuUsed"`
+	MemoryUsed             string `json:"MemoryUsed" xml:"MemoryUsed"`
+	StorageUsed            string `json:"StorageUsed" xml:"StorageUsed"`
+}
+
+// CreateDescribeDedicatedHostAttributeRequest creates a request to invoke DescribeDedicatedHostAttribute API
+func CreateDescribeDedicatedHostAttributeRequest() (request *DescribeDedicatedHostAttributeRequest) {
+	request = &DescribeDedicatedHostAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeDedicatedHostAttribute", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeDedicatedHostAttributeResponse creates a response to parse from DescribeDedicatedHostAttribute response
+func CreateDescribeDedicatedHostAttributeResponse() (response *DescribeDedicatedHostAttributeResponse) {
+	response = &DescribeDedicatedHostAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

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

+ 109 - 0
services/rds/describe_dedicated_hosts.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"
+)
+
+// DescribeDedicatedHosts invokes the rds.DescribeDedicatedHosts API synchronously
+// api document: https://help.aliyun.com/api/rds/describededicatedhosts.html
+func (client *Client) DescribeDedicatedHosts(request *DescribeDedicatedHostsRequest) (response *DescribeDedicatedHostsResponse, err error) {
+	response = CreateDescribeDedicatedHostsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDedicatedHostsWithChan invokes the rds.DescribeDedicatedHosts API asynchronously
+// api document: https://help.aliyun.com/api/rds/describededicatedhosts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDedicatedHostsWithChan(request *DescribeDedicatedHostsRequest) (<-chan *DescribeDedicatedHostsResponse, <-chan error) {
+	responseChan := make(chan *DescribeDedicatedHostsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDedicatedHosts(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDedicatedHostsWithCallback invokes the rds.DescribeDedicatedHosts API asynchronously
+// api document: https://help.aliyun.com/api/rds/describededicatedhosts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDedicatedHostsWithCallback(request *DescribeDedicatedHostsRequest, callback func(response *DescribeDedicatedHostsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDedicatedHostsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDedicatedHosts(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDedicatedHostsRequest is the request struct for api DescribeDedicatedHosts
+type DescribeDedicatedHostsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OrderId              requests.Integer `position:"Query" name:"OrderId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DedicatedHostGroupId string           `position:"Query" name:"DedicatedHostGroupId"`
+}
+
+// DescribeDedicatedHostsResponse is the response struct for api DescribeDedicatedHosts
+type DescribeDedicatedHostsResponse struct {
+	*responses.BaseResponse
+	RequestId            string         `json:"RequestId" xml:"RequestId"`
+	DedicatedHostGroupId string         `json:"DedicatedHostGroupId" xml:"DedicatedHostGroupId"`
+	DedicatedHosts       DedicatedHosts `json:"DedicatedHosts" xml:"DedicatedHosts"`
+}
+
+// CreateDescribeDedicatedHostsRequest creates a request to invoke DescribeDedicatedHosts API
+func CreateDescribeDedicatedHostsRequest() (request *DescribeDedicatedHostsRequest) {
+	request = &DescribeDedicatedHostsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Rds", "2014-08-15", "DescribeDedicatedHosts", "rds", "openAPI")
+	return
+}
+
+// CreateDescribeDedicatedHostsResponse creates a response to parse from DescribeDedicatedHosts response
+func CreateDescribeDedicatedHostsResponse() (response *DescribeDedicatedHostsResponse) {
+	response = &DescribeDedicatedHostsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/rds/describe_dtc_security_ip_hosts_for_sql_server.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeDTCSecurityIpHostsForSQLServerWithCallback(request
 // 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"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	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

+ 5 - 5
services/rds/describe_error_logs.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeErrorLogsWithCallback(request *DescribeErrorLogsRe
 // DescribeErrorLogsRequest is the request struct for api DescribeErrorLogs
 type DescribeErrorLogsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeErrorLogsResponse is the response struct for api DescribeErrorLogs

+ 4 - 4
services/rds/describe_events.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeEventsWithCallback(request *DescribeEventsRequest,
 // DescribeEventsRequest is the request struct for api DescribeEvents
 type DescribeEventsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeEventsResponse is the response struct for api DescribeEvents

+ 2 - 2
services/rds/describe_ha_switch_config.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeHASwitchConfigWithCallback(request *DescribeHASwit
 // DescribeHASwitchConfigRequest is the request struct for api DescribeHASwitchConfig
 type DescribeHASwitchConfigRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 }
 

+ 5 - 5
services/rds/describe_instance_auto_renewal_attribute.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeInstanceAutoRenewalAttributeWithCallback(request *
 // DescribeInstanceAutoRenewalAttributeRequest is the request struct for api DescribeInstanceAutoRenewalAttribute
 type DescribeInstanceAutoRenewalAttributeRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	ProxyId              string           `position:"Query" name:"proxyId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ProxyId              string           `position:"Query" name:"proxyId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeInstanceAutoRenewalAttributeResponse is the response struct for api DescribeInstanceAutoRenewalAttribute

+ 2 - 2
services/rds/describe_instance_cross_backup_policy.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeInstanceCrossBackupPolicyWithCallback(request *Des
 // DescribeInstanceCrossBackupPolicyRequest is the request struct for api DescribeInstanceCrossBackupPolicy
 type DescribeInstanceCrossBackupPolicyRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 }
 

+ 3 - 3
services/rds/describe_instance_vpc_migrate_info.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeInstanceVpcMigrateInfoWithCallback(request *Descri
 // DescribeInstanceVpcMigrateInfoRequest is the request struct for api DescribeInstanceVpcMigrateInfo
 type DescribeInstanceVpcMigrateInfoRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	VpcId                string           `position:"Query" name:"VpcId"`
 }
 

+ 5 - 5
services/rds/describe_log_backup_files.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeLogBackupFilesWithCallback(request *DescribeLogBac
 // DescribeLogBackupFilesRequest is the request struct for api DescribeLogBackupFiles
 type DescribeLogBackupFilesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLogBackupFilesResponse is the response struct for api DescribeLogBackupFiles

+ 7 - 7
services/rds/describe_meta_list.go

@@ -76,18 +76,18 @@ func (client *Client) DescribeMetaListWithCallback(request *DescribeMetaListRequ
 // DescribeMetaListRequest is the request struct for api DescribeMetaList
 type DescribeMetaListRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
-	RestoreType          string           `position:"Query" name:"RestoreType"`
-	BackupSetID          string           `position:"Query" name:"BackupSetID"`
-	RestoreTime          string           `position:"Query" name:"RestoreTime"`
-	GetDbName            string           `position:"Query" name:"GetDbName"`
 	Pattern              string           `position:"Query" name:"Pattern"`
 	PageSize             string           `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	PageIndex            string           `position:"Query" name:"PageIndex"`
+	RestoreTime          string           `position:"Query" name:"RestoreTime"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	BackupSetID          string           `position:"Query" name:"BackupSetID"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	GetDbName            string           `position:"Query" name:"GetDbName"`
+	RestoreType          string           `position:"Query" name:"RestoreType"`
 }
 
 // DescribeMetaListResponse is the response struct for api DescribeMetaList

+ 5 - 5
services/rds/describe_migrate_tasks.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeMigrateTasksWithCallback(request *DescribeMigrateT
 // DescribeMigrateTasksRequest is the request struct for api DescribeMigrateTasks
 type DescribeMigrateTasksRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	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"`
 }
 
 // DescribeMigrateTasksResponse is the response struct for api DescribeMigrateTasks

+ 5 - 5
services/rds/describe_migrate_tasks_for_sql_server.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeMigrateTasksForSQLServerWithCallback(request *Desc
 // DescribeMigrateTasksForSQLServerRequest is the request struct for api DescribeMigrateTasksForSQLServer
 type DescribeMigrateTasksForSQLServerRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	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"`
 }
 
 // DescribeMigrateTasksForSQLServerResponse is the response struct for api DescribeMigrateTasksForSQLServer

+ 5 - 5
services/rds/describe_modify_parameter_log.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeModifyParameterLogWithCallback(request *DescribeMo
 // DescribeModifyParameterLogRequest is the request struct for api DescribeModifyParameterLog
 type DescribeModifyParameterLogRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	StartTime            string           `position:"Query" name:"StartTime"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeModifyParameterLogResponse is the response struct for api DescribeModifyParameterLog

+ 3 - 3
services/rds/describe_oss_downloads.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeOssDownloadsWithCallback(request *DescribeOssDownl
 // DescribeOssDownloadsRequest is the request struct for api DescribeOssDownloads
 type DescribeOssDownloadsRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	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"`
 }
 
 // DescribeOssDownloadsResponse is the response struct for api DescribeOssDownloads

+ 3 - 3
services/rds/describe_oss_downloads_for_sql_server.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeOssDownloadsForSQLServerWithCallback(request *Desc
 // DescribeOssDownloadsForSQLServerRequest is the request struct for api DescribeOssDownloadsForSQLServer
 type DescribeOssDownloadsForSQLServerRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 	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"`
 }
 
 // DescribeOssDownloadsForSQLServerResponse is the response struct for api DescribeOssDownloadsForSQLServer

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

+ 106 - 0
services/rds/describe_parameter_groups.go

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

+ 4 - 3
services/rds/describe_parameter_templates.go

@@ -76,13 +76,14 @@ func (client *Client) DescribeParameterTemplatesWithCallback(request *DescribePa
 // DescribeParameterTemplatesRequest is the request struct for api DescribeParameterTemplates
 type DescribeParameterTemplatesRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
-	Engine               string           `position:"Query" name:"Engine"`
 	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	Engine               string           `position:"Query" name:"Engine"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Category             string           `position:"Query" name:"Category"`
 }
 

+ 3 - 3
services/rds/describe_parameters.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeParametersWithCallback(request *DescribeParameters
 // DescribeParametersRequest is the request struct for api DescribeParameters
 type DescribeParametersRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
 }
 
 // DescribeParametersResponse is the response struct for api DescribeParameters

+ 9 - 9
services/rds/describe_price.go

@@ -76,22 +76,22 @@ func (client *Client) DescribePriceWithCallback(request *DescribePriceRequest, c
 // DescribePriceRequest is the request struct for api DescribePrice
 type DescribePriceRequest struct {
 	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBInstanceStorage    requests.Integer `position:"Query" name:"DBInstanceStorage"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	Engine               string           `position:"Query" name:"Engine"`
+	Quantity             requests.Integer `position:"Query" name:"Quantity"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	CommodityCode        string           `position:"Query" name:"CommodityCode"`
-	Engine               string           `position:"Query" name:"Engine"`
-	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	UsedTime             requests.Integer `position:"Query" name:"UsedTime"`
 	DBInstanceClass      string           `position:"Query" name:"DBInstanceClass"`
-	DBInstanceStorage    requests.Integer `position:"Query" name:"DBInstanceStorage"`
-	PayType              string           `position:"Query" name:"PayType"`
+	InstanceUsedType     requests.Integer `position:"Query" name:"InstanceUsedType"`
 	ZoneId               string           `position:"Query" name:"ZoneId"`
-	UsedTime             string           `position:"Query" name:"UsedTime"`
 	TimeType             string           `position:"Query" name:"TimeType"`
-	Quantity             requests.Integer `position:"Query" name:"Quantity"`
-	InstanceUsedType     requests.Integer `position:"Query" name:"InstanceUsedType"`
+	PayType              string           `position:"Query" name:"PayType"`
 	OrderType            string           `position:"Query" name:"OrderType"`
 }
 

部分文件因文件數量過多而無法顯示