ソースを参照

Generated 2017-08-01 for polardb.

sdk-team 6 年 前
コミット
f28e2a34ef
35 ファイル変更82 行追加74 行削除
  1. 3 0
      ChangeLog.txt
  2. 1 1
      services/polardb/close_db_cluster_migration.go
  3. 4 4
      services/polardb/create_account.go
  4. 3 3
      services/polardb/create_database.go
  5. 6 6
      services/polardb/create_db_cluster.go
  6. 3 3
      services/polardb/create_db_cluster_endpoint.go
  7. 2 2
      services/polardb/create_db_endpoint_address.go
  8. 1 1
      services/polardb/create_db_nodes.go
  9. 1 1
      services/polardb/delete_database.go
  10. 1 1
      services/polardb/delete_db_cluster_endpoint.go
  11. 2 2
      services/polardb/delete_db_endpoint_address.go
  12. 1 1
      services/polardb/delete_db_nodes.go
  13. 2 2
      services/polardb/describe_auto_renew_attribute.go
  14. 3 3
      services/polardb/describe_backups.go
  15. 1 1
      services/polardb/describe_databases.go
  16. 1 1
      services/polardb/describe_db_cluster_endpoints.go
  17. 3 3
      services/polardb/describe_db_clusters.go
  18. 13 8
      services/polardb/endpoint.go
  19. 2 2
      services/polardb/grant_account_privilege.go
  20. 2 2
      services/polardb/list_tag_resources.go
  21. 1 1
      services/polardb/modify_account_description.go
  22. 3 3
      services/polardb/modify_auto_renew_attribute.go
  23. 3 3
      services/polardb/modify_backup_policy.go
  24. 3 3
      services/polardb/modify_db_cluster_access_whitelist.go
  25. 2 2
      services/polardb/modify_db_cluster_endpoint.go
  26. 1 1
      services/polardb/modify_db_cluster_maintain_time.go
  27. 1 1
      services/polardb/modify_db_cluster_migration.go
  28. 1 1
      services/polardb/modify_db_cluster_parameters.go
  29. 2 2
      services/polardb/modify_db_description.go
  30. 2 2
      services/polardb/modify_db_endpoint_address.go
  31. 3 3
      services/polardb/modify_db_node_class.go
  32. 1 1
      services/polardb/reset_account.go
  33. 1 1
      services/polardb/revoke_account_privilege.go
  34. 1 1
      services/polardb/tag_resources.go
  35. 2 2
      services/polardb/untag_resources.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-09-05 Version: 1.60.138
+- Generated 2017-08-01 for `polardb`.
+
 2019-09-05 Version: 1.60.137
 - Generated 2017-12-14 for `BssOpenApi`.
 

+ 1 - 1
services/polardb/close_db_cluster_migration.go

@@ -77,12 +77,12 @@ func (client *Client) CloseDBClusterMigrationWithCallback(request *CloseDBCluste
 type CloseDBClusterMigrationRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ContinueEnableBinlog requests.Boolean `position:"Query" name:"ContinueEnableBinlog"`
 	SecurityToken        string           `position:"Query" name:"SecurityToken"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ContinueEnableBinlog requests.Boolean `position:"Query" name:"ContinueEnableBinlog"`
 }
 
 // CloseDBClusterMigrationResponse is the response struct for api CloseDBClusterMigration

+ 4 - 4
services/polardb/create_account.go

@@ -77,15 +77,15 @@ func (client *Client) CreateAccountWithCallback(request *CreateAccountRequest, c
 type CreateAccountRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	AccountType          string           `position:"Query" name:"AccountType"`
+	AccountDescription   string           `position:"Query" name:"AccountDescription"`
+	AccountPrivilege     string           `position:"Query" name:"AccountPrivilege"`
+	AccountName          string           `position:"Query" name:"AccountName"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	AccountType          string           `position:"Query" name:"AccountType"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	AccountDescription   string           `position:"Query" name:"AccountDescription"`
-	AccountPrivilege     string           `position:"Query" name:"AccountPrivilege"`
 	AccountPassword      string           `position:"Query" name:"AccountPassword"`
-	AccountName          string           `position:"Query" name:"AccountName"`
 	DBName               string           `position:"Query" name:"DBName"`
 }
 

+ 3 - 3
services/polardb/create_database.go

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

+ 6 - 6
services/polardb/create_db_cluster.go

@@ -78,23 +78,23 @@ type CreateDBClusterRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DBClusterDescription string           `position:"Query" name:"DBClusterDescription"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	ClusterNetworkType   string           `position:"Query" name:"ClusterNetworkType"`
+	DBNodeClass          string           `position:"Query" name:"DBNodeClass"`
+	Engine               string           `position:"Query" name:"Engine"`
+	CreationOption       string           `position:"Query" name:"CreationOption"`
+	SourceResourceId     string           `position:"Query" name:"SourceResourceId"`
 	Period               string           `position:"Query" name:"Period"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ClientToken          string           `position:"Query" name:"ClientToken"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	UsedTime             string           `position:"Query" name:"UsedTime"`
-	ClusterNetworkType   string           `position:"Query" name:"ClusterNetworkType"`
 	VSwitchId            string           `position:"Query" name:"VSwitchId"`
-	DBNodeClass          string           `position:"Query" name:"DBNodeClass"`
 	AutoRenew            requests.Boolean `position:"Query" name:"AutoRenew"`
-	Engine               string           `position:"Query" name:"Engine"`
 	VPCId                string           `position:"Query" name:"VPCId"`
 	DBType               string           `position:"Query" name:"DBType"`
 	ZoneId               string           `position:"Query" name:"ZoneId"`
 	DBVersion            string           `position:"Query" name:"DBVersion"`
-	CreationOption       string           `position:"Query" name:"CreationOption"`
-	SourceResourceId     string           `position:"Query" name:"SourceResourceId"`
 	CloneDataPoint       string           `position:"Query" name:"CloneDataPoint"`
 	PayType              string           `position:"Query" name:"PayType"`
 }

+ 3 - 3
services/polardb/create_db_cluster_endpoint.go

@@ -78,15 +78,15 @@ type CreateDBClusterEndpointRequest struct {
 	*requests.RpcRequest
 	AutoAddNewNodes      string           `position:"Query" name:"AutoAddNewNodes"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	ReadWriteMode        string           `position:"Query" name:"ReadWriteMode"`
+	EndpointType         string           `position:"Query" name:"EndpointType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	EndpointConfig       string           `position:"Query" name:"EndpointConfig"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Nodes                string           `position:"Query" name:"Nodes"`
-	ReadWriteMode        string           `position:"Query" name:"ReadWriteMode"`
-	EndpointType         string           `position:"Query" name:"EndpointType"`
 }
 
 // CreateDBClusterEndpointResponse is the response struct for api CreateDBClusterEndpoint

+ 2 - 2
services/polardb/create_db_endpoint_address.go

@@ -78,12 +78,12 @@ type CreateDBEndpointAddressRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ConnectionStringPrefix string           `position:"Query" name:"ConnectionStringPrefix"`
+	DBEndpointId           string           `position:"Query" name:"DBEndpointId"`
 	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId            string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	NetType                string           `position:"Query" name:"NetType"`
-	DBEndpointId           string           `position:"Query" name:"DBEndpointId"`
 	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	NetType                string           `position:"Query" name:"NetType"`
 }
 
 // CreateDBEndpointAddressResponse is the response struct for api CreateDBEndpointAddress

+ 1 - 1
services/polardb/create_db_nodes.go

@@ -77,8 +77,8 @@ func (client *Client) CreateDBNodesWithCallback(request *CreateDBNodesRequest, c
 type CreateDBNodesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer       `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string                 `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string                 `position:"Query" name:"ClientToken"`
+	ResourceOwnerAccount string                 `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string                 `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string                 `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer       `position:"Query" name:"OwnerId"`

+ 1 - 1
services/polardb/delete_database.go

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

+ 1 - 1
services/polardb/delete_db_cluster_endpoint.go

@@ -77,10 +77,10 @@ func (client *Client) DeleteDBClusterEndpointWithCallback(request *DeleteDBClust
 type DeleteDBClusterEndpointRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 2 - 2
services/polardb/delete_db_endpoint_address.go

@@ -77,12 +77,12 @@ func (client *Client) DeleteDBEndpointAddressWithCallback(request *DeleteDBEndpo
 type DeleteDBEndpointAddressRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	NetType              string           `position:"Query" name:"NetType"`
-	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	NetType              string           `position:"Query" name:"NetType"`
 }
 
 // DeleteDBEndpointAddressResponse is the response struct for api DeleteDBEndpointAddress

+ 1 - 1
services/polardb/delete_db_nodes.go

@@ -78,8 +78,8 @@ type DeleteDBNodesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DBNodeId             *[]string        `position:"Query" name:"DBNodeId"  type:"Repeated"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`

+ 2 - 2
services/polardb/describe_auto_renew_attribute.go

@@ -77,11 +77,11 @@ func (client *Client) DescribeAutoRenewAttributeWithCallback(request *DescribeAu
 type DescribeAutoRenewAttributeRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 	DBClusterIds         string           `position:"Query" name:"DBClusterIds"`
 }
 

+ 3 - 3
services/polardb/describe_backups.go

@@ -77,16 +77,16 @@ func (client *Client) DescribeBackupsWithCallback(request *DescribeBackupsReques
 type DescribeBackupsRequest struct {
 	*requests.RpcRequest
 	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"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	BackupId             string           `position:"Query" name:"BackupId"`
 	EndTime              string           `position:"Query" name:"EndTime"`
-	StartTime            string           `position:"Query" name:"StartTime"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 	BackupStatus         string           `position:"Query" name:"BackupStatus"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	BackupMode           string           `position:"Query" name:"BackupMode"`
 }
 

+ 1 - 1
services/polardb/describe_databases.go

@@ -77,11 +77,11 @@ func (client *Client) DescribeDatabasesWithCallback(request *DescribeDatabasesRe
 type DescribeDatabasesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBName               string           `position:"Query" name:"DBName"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	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

+ 1 - 1
services/polardb/describe_db_cluster_endpoints.go

@@ -77,10 +77,10 @@ func (client *Client) DescribeDBClusterEndpointsWithCallback(request *DescribeDB
 type DescribeDBClusterEndpointsRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 3 - 3
services/polardb/describe_db_clusters.go

@@ -79,13 +79,13 @@ type DescribeDBClustersRequest struct {
 	ResourceOwnerId      requests.Integer         `position:"Query" name:"ResourceOwnerId"`
 	DBClusterDescription string                   `position:"Query" name:"DBClusterDescription"`
 	DBClusterStatus      string                   `position:"Query" name:"DBClusterStatus"`
+	PageNumber           requests.Integer         `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer         `position:"Query" name:"PageSize"`
+	Tag                  *[]DescribeDBClustersTag `position:"Query" name:"Tag"  type:"Repeated"`
 	ResourceOwnerAccount string                   `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string                   `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer         `position:"Query" name:"OwnerId"`
-	PageNumber           requests.Integer         `position:"Query" name:"PageNumber"`
 	DBType               string                   `position:"Query" name:"DBType"`
-	PageSize             requests.Integer         `position:"Query" name:"PageSize"`
-	Tag                  *[]DescribeDBClustersTag `position:"Query" name:"Tag"  type:"Repeated"`
 	DBClusterIds         string                   `position:"Query" name:"DBClusterIds"`
 }
 

+ 13 - 8
services/polardb/endpoint.go

@@ -10,14 +10,19 @@ var EndpointType = "regional"
 func GetEndpointMap() map[string]string {
 	if EndpointMap == nil {
 		EndpointMap = map[string]string{
-			"cn-shenzhen":    "polardb.aliyuncs.com",
-			"cn-qingdao":     "polardb.aliyuncs.com",
-			"cn-beijing":     "polardb.aliyuncs.com",
-			"cn-shanghai":    "polardb.aliyuncs.com",
-			"cn-hongkong":    "polardb.aliyuncs.com",
-			"ap-southeast-1": "polardb.aliyuncs.com",
-			"us-east-1":      "polardb.ap-northeast-1.aliyuncs.com",
-			"cn-hangzhou":    "polardb.aliyuncs.com",
+			"cn-shenzhen":           "polardb.aliyuncs.com",
+			"cn-beijing":            "polardb.aliyuncs.com",
+			"cn-shenzhen-finance-1": "polardb.aliyuncs.com",
+			"cn-north-2-gov-1":      "polardb.aliyuncs.com",
+			"cn-qingdao":            "polardb.aliyuncs.com",
+			"cn-shanghai":           "polardb.aliyuncs.com",
+			"cn-shanghai-finance-1": "polardb.aliyuncs.com",
+			"cn-hongkong":           "polardb.aliyuncs.com",
+			"cn-hangzhou-finance":   "polardb.aliyuncs.com",
+			"ap-southeast-1":        "polardb.aliyuncs.com",
+			"us-east-1":             "polardb.ap-northeast-1.aliyuncs.com",
+			"us-west-1":             "polardb.aliyuncs.com",
+			"cn-hangzhou":           "polardb.aliyuncs.com",
 		}
 	}
 	return EndpointMap

+ 2 - 2
services/polardb/grant_account_privilege.go

@@ -77,13 +77,13 @@ func (client *Client) GrantAccountPrivilegeWithCallback(request *GrantAccountPri
 type GrantAccountPrivilegeRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	AccountPrivilege     string           `position:"Query" name:"AccountPrivilege"`
 	AccountName          string           `position:"Query" name:"AccountName"`
-	DBName               string           `position:"Query" name:"DBName"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	AccountPrivilege     string           `position:"Query" name:"AccountPrivilege"`
+	DBName               string           `position:"Query" name:"DBName"`
 }
 
 // GrantAccountPrivilegeResponse is the response struct for api GrantAccountPrivilege

+ 2 - 2
services/polardb/list_tag_resources.go

@@ -77,11 +77,11 @@ func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequ
 type ListTagResourcesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer       `position:"Query" name:"ResourceOwnerId"`
+	NextToken            string                 `position:"Query" name:"NextToken"`
+	Tag                  *[]ListTagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
 	ResourceId           *[]string              `position:"Query" name:"ResourceId"  type:"Repeated"`
 	ResourceOwnerAccount string                 `position:"Query" name:"ResourceOwnerAccount"`
-	NextToken            string                 `position:"Query" name:"NextToken"`
 	OwnerAccount         string                 `position:"Query" name:"OwnerAccount"`
-	Tag                  *[]ListTagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
 	OwnerId              requests.Integer       `position:"Query" name:"OwnerId"`
 	ResourceType         string                 `position:"Query" name:"ResourceType"`
 }

+ 1 - 1
services/polardb/modify_account_description.go

@@ -77,12 +77,12 @@ func (client *Client) ModifyAccountDescriptionWithCallback(request *ModifyAccoun
 type ModifyAccountDescriptionRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	AccountDescription   string           `position:"Query" name:"AccountDescription"`
 	AccountName          string           `position:"Query" name:"AccountName"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	AccountDescription   string           `position:"Query" name:"AccountDescription"`
 }
 
 // ModifyAccountDescriptionResponse is the response struct for api ModifyAccountDescription

+ 3 - 3
services/polardb/modify_auto_renew_attribute.go

@@ -76,13 +76,13 @@ func (client *Client) ModifyAutoRenewAttributeWithCallback(request *ModifyAutoRe
 // ModifyAutoRenewAttributeRequest is the request struct for api ModifyAutoRenewAttribute
 type ModifyAutoRenewAttributeRequest struct {
 	*requests.RpcRequest
-	Duration             string           `position:"Query" name:"Duration"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	PeriodUnit           string           `position:"Query" name:"PeriodUnit"`
+	Duration             string           `position:"Query" name:"Duration"`
+	RenewalStatus        string           `position:"Query" name:"RenewalStatus"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	RenewalStatus        string           `position:"Query" name:"RenewalStatus"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PeriodUnit           string           `position:"Query" name:"PeriodUnit"`
 	DBClusterIds         string           `position:"Query" name:"DBClusterIds"`
 }
 

+ 3 - 3
services/polardb/modify_backup_policy.go

@@ -76,14 +76,14 @@ func (client *Client) ModifyBackupPolicyWithCallback(request *ModifyBackupPolicy
 // ModifyBackupPolicyRequest is the request struct for api ModifyBackupPolicy
 type ModifyBackupPolicyRequest struct {
 	*requests.RpcRequest
-	PreferredBackupTime   string           `position:"Query" name:"PreferredBackupTime"`
-	PreferredBackupPeriod string           `position:"Query" name:"PreferredBackupPeriod"`
-	BackupRetentionPeriod string           `position:"Query" name:"BackupRetentionPeriod"`
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PreferredBackupPeriod string           `position:"Query" name:"PreferredBackupPeriod"`
 	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId           string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
 	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	PreferredBackupTime   string           `position:"Query" name:"PreferredBackupTime"`
+	BackupRetentionPeriod string           `position:"Query" name:"BackupRetentionPeriod"`
 }
 
 // ModifyBackupPolicyResponse is the response struct for api ModifyBackupPolicy

+ 3 - 3
services/polardb/modify_db_cluster_access_whitelist.go

@@ -77,13 +77,13 @@ func (client *Client) ModifyDBClusterAccessWhitelistWithCallback(request *Modify
 type ModifyDBClusterAccessWhitelistRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId           requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SecurityIps               string           `position:"Query" name:"SecurityIps"`
+	DBClusterIPArrayAttribute string           `position:"Query" name:"DBClusterIPArrayAttribute"`
 	ResourceOwnerAccount      string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId               string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount              string           `position:"Query" name:"OwnerAccount"`
-	SecurityIps               string           `position:"Query" name:"SecurityIps"`
-	DBClusterIPArrayName      string           `position:"Query" name:"DBClusterIPArrayName"`
 	OwnerId                   requests.Integer `position:"Query" name:"OwnerId"`
-	DBClusterIPArrayAttribute string           `position:"Query" name:"DBClusterIPArrayAttribute"`
+	DBClusterIPArrayName      string           `position:"Query" name:"DBClusterIPArrayName"`
 }
 
 // ModifyDBClusterAccessWhitelistResponse is the response struct for api ModifyDBClusterAccessWhitelist

+ 2 - 2
services/polardb/modify_db_cluster_endpoint.go

@@ -78,14 +78,14 @@ type ModifyDBClusterEndpointRequest struct {
 	*requests.RpcRequest
 	AutoAddNewNodes      string           `position:"Query" name:"AutoAddNewNodes"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Nodes                string           `position:"Query" name:"Nodes"`
+	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	ReadWriteMode        string           `position:"Query" name:"ReadWriteMode"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	DBEndpointId         string           `position:"Query" name:"DBEndpointId"`
 	EndpointConfig       string           `position:"Query" name:"EndpointConfig"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Nodes                string           `position:"Query" name:"Nodes"`
 }
 
 // ModifyDBClusterEndpointResponse is the response struct for api ModifyDBClusterEndpoint

+ 1 - 1
services/polardb/modify_db_cluster_maintain_time.go

@@ -76,8 +76,8 @@ func (client *Client) ModifyDBClusterMaintainTimeWithCallback(request *ModifyDBC
 // ModifyDBClusterMaintainTimeRequest is the request struct for api ModifyDBClusterMaintainTime
 type ModifyDBClusterMaintainTimeRequest struct {
 	*requests.RpcRequest
-	MaintainTime         string           `position:"Query" name:"MaintainTime"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	MaintainTime         string           `position:"Query" name:"MaintainTime"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`

+ 1 - 1
services/polardb/modify_db_cluster_migration.go

@@ -78,11 +78,11 @@ type ModifyDBClusterMigrationRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SecurityToken         string           `position:"Query" name:"SecurityToken"`
+	NewMasterInstanceId   string           `position:"Query" name:"NewMasterInstanceId"`
 	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId           string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
 	SourceRDSDBInstanceId string           `position:"Query" name:"SourceRDSDBInstanceId"`
-	NewMasterInstanceId   string           `position:"Query" name:"NewMasterInstanceId"`
 	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 1 - 1
services/polardb/modify_db_cluster_parameters.go

@@ -77,8 +77,8 @@ func (client *Client) ModifyDBClusterParametersWithCallback(request *ModifyDBClu
 type ModifyDBClusterParametersRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	EffectiveTime        string           `position:"Query" name:"EffectiveTime"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`

+ 2 - 2
services/polardb/modify_db_description.go

@@ -77,12 +77,12 @@ func (client *Client) ModifyDBDescriptionWithCallback(request *ModifyDBDescripti
 type ModifyDBDescriptionRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DBName               string           `position:"Query" name:"DBName"`
+	DBDescription        string           `position:"Query" name:"DBDescription"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	DBDescription        string           `position:"Query" name:"DBDescription"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBName               string           `position:"Query" name:"DBName"`
 }
 
 // ModifyDBDescriptionResponse is the response struct for api ModifyDBDescription

+ 2 - 2
services/polardb/modify_db_endpoint_address.go

@@ -78,12 +78,12 @@ type ModifyDBEndpointAddressRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ConnectionStringPrefix string           `position:"Query" name:"ConnectionStringPrefix"`
+	DBEndpointId           string           `position:"Query" name:"DBEndpointId"`
 	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId            string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	NetType                string           `position:"Query" name:"NetType"`
-	DBEndpointId           string           `position:"Query" name:"DBEndpointId"`
 	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
+	NetType                string           `position:"Query" name:"NetType"`
 }
 
 // ModifyDBEndpointAddressResponse is the response struct for api ModifyDBEndpointAddress

+ 3 - 3
services/polardb/modify_db_node_class.go

@@ -77,13 +77,13 @@ func (client *Client) ModifyDBNodeClassWithCallback(request *ModifyDBNodeClassRe
 type ModifyDBNodeClassRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	DBNodeTargetClass    string           `position:"Query" name:"DBNodeTargetClass"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ModifyType           string           `position:"Query" name:"ModifyType"`
-	DBNodeTargetClass    string           `position:"Query" name:"DBNodeTargetClass"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ModifyType           string           `position:"Query" name:"ModifyType"`
 }
 
 // ModifyDBNodeClassResponse is the response struct for api ModifyDBNodeClass

+ 1 - 1
services/polardb/reset_account.go

@@ -77,12 +77,12 @@ func (client *Client) ResetAccountWithCallback(request *ResetAccountRequest, cal
 type ResetAccountRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	AccountPassword      string           `position:"Query" name:"AccountPassword"`
 	AccountName          string           `position:"Query" name:"AccountName"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AccountPassword      string           `position:"Query" name:"AccountPassword"`
 }
 
 // ResetAccountResponse is the response struct for api ResetAccount

+ 1 - 1
services/polardb/revoke_account_privilege.go

@@ -78,11 +78,11 @@ type RevokeAccountPrivilegeRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	AccountName          string           `position:"Query" name:"AccountName"`
-	DBName               string           `position:"Query" name:"DBName"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId          string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	DBName               string           `position:"Query" name:"DBName"`
 }
 
 // RevokeAccountPrivilegeResponse is the response struct for api RevokeAccountPrivilege

+ 1 - 1
services/polardb/tag_resources.go

@@ -77,10 +77,10 @@ func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, cal
 type TagResourcesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer   `position:"Query" name:"ResourceOwnerId"`
+	Tag                  *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
 	ResourceId           *[]string          `position:"Query" name:"ResourceId"  type:"Repeated"`
 	ResourceOwnerAccount string             `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string             `position:"Query" name:"OwnerAccount"`
-	Tag                  *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
 	OwnerId              requests.Integer   `position:"Query" name:"OwnerId"`
 	ResourceType         string             `position:"Query" name:"ResourceType"`
 }

+ 2 - 2
services/polardb/untag_resources.go

@@ -76,14 +76,14 @@ func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest,
 // UntagResourcesRequest is the request struct for api UntagResources
 type UntagResourcesRequest struct {
 	*requests.RpcRequest
-	All                  requests.Boolean `position:"Query" name:"All"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	All                  requests.Boolean `position:"Query" name:"All"`
 	ResourceId           *[]string        `position:"Query" name:"ResourceId"  type:"Repeated"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	TagKey               *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
 	ResourceType         string           `position:"Query" name:"ResourceType"`
+	TagKey               *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
 }
 
 // UntagResourcesResponse is the response struct for api UntagResources