Prechádzať zdrojové kódy

RDS SDK Auto Released By zuochao,Version:1.60.9

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 rokov pred
rodič
commit
68cbc89efa

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2019-05-16 Version: 1.60.9
+1, This is an example of release-log.
+2, Please strictly follow this format to edit in English.
+3, Format:Number + , + Space + Description
+
 2019-05-16 Version: 1.60.8
 1, Scaling configuration add security group ids 
 

+ 1 - 1
services/rds/create_db_instance_replica.go

@@ -109,7 +109,7 @@ type CreateDBInstanceReplicaResponse struct {
 	*responses.BaseResponse
 	RequestId    string `json:"RequestId" xml:"RequestId"`
 	DBInstanceId string `json:"DBInstanceId" xml:"DBInstanceId"`
-	OrderId      int    `json:"OrderId" xml:"OrderId"`
+	OrderId      int64  `json:"OrderId" xml:"OrderId"`
 	ReplicaId    string `json:"ReplicaId" xml:"ReplicaId"`
 	WorkflowId   string `json:"WorkflowId" xml:"WorkflowId"`
 }

+ 1 - 1
services/rds/describe_backups.go

@@ -98,7 +98,7 @@ type DescribeBackupsResponse struct {
 	TotalRecordCount string                 `json:"TotalRecordCount" xml:"TotalRecordCount"`
 	PageNumber       string                 `json:"PageNumber" xml:"PageNumber"`
 	PageRecordCount  string                 `json:"PageRecordCount" xml:"PageRecordCount"`
-	TotalBackupSize  int                    `json:"TotalBackupSize" xml:"TotalBackupSize"`
+	TotalBackupSize  int64                  `json:"TotalBackupSize" xml:"TotalBackupSize"`
 	Items            ItemsInDescribeBackups `json:"Items" xml:"Items"`
 }
 

+ 1 - 1
services/rds/describe_binlog_files.go

@@ -94,7 +94,7 @@ type DescribeBinlogFilesResponse struct {
 	TotalRecordCount int                        `json:"TotalRecordCount" xml:"TotalRecordCount"`
 	PageNumber       int                        `json:"PageNumber" xml:"PageNumber"`
 	PageRecordCount  int                        `json:"PageRecordCount" xml:"PageRecordCount"`
-	TotalFileSize    int                        `json:"TotalFileSize" xml:"TotalFileSize"`
+	TotalFileSize    int64                      `json:"TotalFileSize" xml:"TotalFileSize"`
 	Items            ItemsInDescribeBinlogFiles `json:"Items" xml:"Items"`
 }
 

+ 1 - 1
services/rds/describe_log_backup_files.go

@@ -94,7 +94,7 @@ type DescribeLogBackupFilesResponse struct {
 	TotalRecordCount int                           `json:"TotalRecordCount" xml:"TotalRecordCount"`
 	PageNumber       int                           `json:"PageNumber" xml:"PageNumber"`
 	PageRecordCount  int                           `json:"PageRecordCount" xml:"PageRecordCount"`
-	TotalFileSize    int                           `json:"TotalFileSize" xml:"TotalFileSize"`
+	TotalFileSize    int64                         `json:"TotalFileSize" xml:"TotalFileSize"`
 	Items            ItemsInDescribeLogBackupFiles `json:"Items" xml:"Items"`
 }
 

+ 8 - 8
services/rds/describe_resource_usage.go

@@ -90,14 +90,14 @@ type DescribeResourceUsageResponse struct {
 	RequestId         string `json:"RequestId" xml:"RequestId"`
 	DBInstanceId      string `json:"DBInstanceId" xml:"DBInstanceId"`
 	Engine            string `json:"Engine" xml:"Engine"`
-	DiskUsed          int    `json:"DiskUsed" xml:"DiskUsed"`
-	DataSize          int    `json:"DataSize" xml:"DataSize"`
-	LogSize           int    `json:"LogSize" xml:"LogSize"`
-	BackupSize        int    `json:"BackupSize" xml:"BackupSize"`
-	BackupOssDataSize int    `json:"BackupOssDataSize" xml:"BackupOssDataSize"`
-	BackupOssLogSize  int    `json:"BackupOssLogSize" xml:"BackupOssLogSize"`
-	SQLSize           int    `json:"SQLSize" xml:"SQLSize"`
-	ColdBackupSize    int    `json:"ColdBackupSize" xml:"ColdBackupSize"`
+	DiskUsed          int64  `json:"DiskUsed" xml:"DiskUsed"`
+	DataSize          int64  `json:"DataSize" xml:"DataSize"`
+	LogSize           int64  `json:"LogSize" xml:"LogSize"`
+	BackupSize        int64  `json:"BackupSize" xml:"BackupSize"`
+	BackupOssDataSize int64  `json:"BackupOssDataSize" xml:"BackupOssDataSize"`
+	BackupOssLogSize  int64  `json:"BackupOssLogSize" xml:"BackupOssLogSize"`
+	SQLSize           int64  `json:"SQLSize" xml:"SQLSize"`
+	ColdBackupSize    int64  `json:"ColdBackupSize" xml:"ColdBackupSize"`
 }
 
 // CreateDescribeResourceUsageRequest creates a request to invoke DescribeResourceUsage API

+ 1 - 1
services/rds/describe_sql_log_records.go

@@ -97,7 +97,7 @@ type DescribeSQLLogRecordsRequest struct {
 type DescribeSQLLogRecordsResponse struct {
 	*responses.BaseResponse
 	RequestId        string                       `json:"RequestId" xml:"RequestId"`
-	TotalRecordCount int                          `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	TotalRecordCount int64                        `json:"TotalRecordCount" xml:"TotalRecordCount"`
 	PageNumber       int                          `json:"PageNumber" xml:"PageNumber"`
 	PageRecordCount  int                          `json:"PageRecordCount" xml:"PageRecordCount"`
 	Items            ItemsInDescribeSQLLogRecords `json:"Items" xml:"Items"`

+ 1 - 1
services/rds/renew_instance.go

@@ -90,7 +90,7 @@ type RenewInstanceRequest struct {
 type RenewInstanceResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	OrderId   int    `json:"OrderId" xml:"OrderId"`
+	OrderId   int64  `json:"OrderId" xml:"OrderId"`
 }
 
 // CreateRenewInstanceRequest creates a request to invoke RenewInstance API

+ 5 - 5
services/rds/struct_available_zone.go

@@ -17,9 +17,9 @@ package rds
 
 // AvailableZone is a nested struct in rds response
 type AvailableZone struct {
-	RegionId        string                                     `json:"RegionId" xml:"RegionId"`
-	ZoneId          string                                     `json:"ZoneId" xml:"ZoneId"`
-	Status          string                                     `json:"Status" xml:"Status"`
-	NetworkTypes    string                                     `json:"NetworkTypes" xml:"NetworkTypes"`
-	SupportedEngine SupportedEngineInDescribeAvailableResource `json:"SupportedEngine" xml:"SupportedEngine"`
+	RegionId        string             `json:"RegionId" xml:"RegionId"`
+	ZoneId          string             `json:"ZoneId" xml:"ZoneId"`
+	Status          string             `json:"Status" xml:"Status"`
+	NetworkTypes    string             `json:"NetworkTypes" xml:"NetworkTypes"`
+	SupportedEngine []SupportedEngines `json:"SupportedEngine" xml:"SupportedEngine"`
 }

+ 2 - 2
services/rds/struct_backup.go

@@ -31,8 +31,8 @@ type Backup struct {
 	BackupExtractionStatus    string `json:"BackupExtractionStatus" xml:"BackupExtractionStatus"`
 	BackupScale               string `json:"BackupScale" xml:"BackupScale"`
 	BackupDBNames             string `json:"BackupDBNames" xml:"BackupDBNames"`
-	TotalBackupSize           int    `json:"TotalBackupSize" xml:"TotalBackupSize"`
-	BackupSize                int    `json:"BackupSize" xml:"BackupSize"`
+	TotalBackupSize           int64  `json:"TotalBackupSize" xml:"TotalBackupSize"`
+	BackupSize                int64  `json:"BackupSize" xml:"BackupSize"`
 	HostInstanceID            string `json:"HostInstanceID" xml:"HostInstanceID"`
 	StoreStatus               string `json:"StoreStatus" xml:"StoreStatus"`
 	MetaStatus                string `json:"MetaStatus" xml:"MetaStatus"`

+ 1 - 1
services/rds/struct_bin_log_file.go

@@ -20,7 +20,7 @@ type BinLogFile struct {
 	HostInstanceID       string `json:"HostInstanceID" xml:"HostInstanceID"`
 	LogEndTime           string `json:"LogEndTime" xml:"LogEndTime"`
 	IntranetDownloadLink string `json:"IntranetDownloadLink" xml:"IntranetDownloadLink"`
-	FileSize             int    `json:"FileSize" xml:"FileSize"`
+	FileSize             int64  `json:"FileSize" xml:"FileSize"`
 	Checksum             string `json:"Checksum" xml:"Checksum"`
 	LinkExpiredTime      string `json:"LinkExpiredTime" xml:"LinkExpiredTime"`
 	LogFileName          string `json:"LogFileName" xml:"LogFileName"`

+ 1 - 1
services/rds/struct_db_instance_attribute.go

@@ -35,7 +35,7 @@ type DBInstanceAttribute struct {
 	DBInstanceType                    string                                             `json:"DBInstanceType" xml:"DBInstanceType"`
 	TempUpgradeRecoveryClass          string                                             `json:"TempUpgradeRecoveryClass" xml:"TempUpgradeRecoveryClass"`
 	DBInstanceId                      string                                             `json:"DBInstanceId" xml:"DBInstanceId"`
-	DBInstanceMemory                  int                                                `json:"DBInstanceMemory" xml:"DBInstanceMemory"`
+	DBInstanceMemory                  int64                                              `json:"DBInstanceMemory" xml:"DBInstanceMemory"`
 	VpcId                             string                                             `json:"VpcId" xml:"VpcId"`
 	DBInstanceStorageType             string                                             `json:"DBInstanceStorageType" xml:"DBInstanceStorageType"`
 	SecurityIPList                    string                                             `json:"SecurityIPList" xml:"SecurityIPList"`

+ 4 - 4
services/rds/struct_items_item.go

@@ -17,15 +17,15 @@ package rds
 
 // ItemsItem is a nested struct in rds response
 type ItemsItem struct {
-	TotalUpdateRows       int                   `json:"TotalUpdateRows" xml:"TotalUpdateRows"`
+	TotalUpdateRows       int64                 `json:"TotalUpdateRows" xml:"TotalUpdateRows"`
 	TemplateHash          string                `json:"TemplateHash" xml:"TemplateHash"`
 	AvgConsume            float64               `json:"AvgConsume" xml:"AvgConsume"`
 	AvgScanRows           float64               `json:"AvgScanRows" xml:"AvgScanRows"`
-	TotalConsume          int                   `json:"TotalConsume" xml:"TotalConsume"`
+	TotalConsume          int64                 `json:"TotalConsume" xml:"TotalConsume"`
 	SqlType               string                `json:"SqlType" xml:"SqlType"`
 	Template              string                `json:"Template" xml:"Template"`
-	TotalCounts           int                   `json:"TotalCounts" xml:"TotalCounts"`
-	TotalScanRows         int                   `json:"TotalScanRows" xml:"TotalScanRows"`
+	TotalCounts           int64                 `json:"TotalCounts" xml:"TotalCounts"`
+	TotalScanRows         int64                 `json:"TotalScanRows" xml:"TotalScanRows"`
 	AvgUpdateRows         float64               `json:"AvgUpdateRows" xml:"AvgUpdateRows"`
 	DBInstanceId          string                `json:"DBInstanceId" xml:"DBInstanceId"`
 	ReadDBInstanceNames   ReadDBInstanceNames   `json:"ReadDBInstanceNames" xml:"ReadDBInstanceNames"`

+ 2 - 2
services/rds/struct_latency_top_n_item.go

@@ -17,7 +17,7 @@ package rds
 
 // LatencyTopNItem is a nested struct in rds response
 type LatencyTopNItem struct {
-	SQLExecuteTimes int    `json:"SQLExecuteTimes" xml:"SQLExecuteTimes"`
-	AvgLatency      int    `json:"AvgLatency" xml:"AvgLatency"`
+	SQLExecuteTimes int64  `json:"SQLExecuteTimes" xml:"SQLExecuteTimes"`
+	AvgLatency      int64  `json:"AvgLatency" xml:"AvgLatency"`
 	SQLText         string `json:"SQLText" xml:"SQLText"`
 }

+ 1 - 1
services/rds/struct_qps_top_n_item.go

@@ -17,6 +17,6 @@ package rds
 
 // QPSTopNItem is a nested struct in rds response
 type QPSTopNItem struct {
-	SQLExecuteTimes int    `json:"SQLExecuteTimes" xml:"SQLExecuteTimes"`
+	SQLExecuteTimes int64  `json:"SQLExecuteTimes" xml:"SQLExecuteTimes"`
 	SQLText         string `json:"SQLText" xml:"SQLText"`
 }

+ 1 - 1
services/rds/struct_rule.go

@@ -18,6 +18,6 @@ package rds
 // Rule is a nested struct in rds response
 type Rule struct {
 	Name        string `json:"Name" xml:"Name"`
-	RuleId      int    `json:"RuleId" xml:"RuleId"`
+	RuleId      int64  `json:"RuleId" xml:"RuleId"`
 	Description string `json:"Description" xml:"Description"`
 }

+ 2 - 2
services/rds/struct_sql_record.go

@@ -21,8 +21,8 @@ type SQLRecord struct {
 	AccountName         string `json:"AccountName" xml:"AccountName"`
 	HostAddress         string `json:"HostAddress" xml:"HostAddress"`
 	SQLText             string `json:"SQLText" xml:"SQLText"`
-	TotalExecutionTimes int    `json:"TotalExecutionTimes" xml:"TotalExecutionTimes"`
-	ReturnRowCounts     int    `json:"ReturnRowCounts" xml:"ReturnRowCounts"`
+	TotalExecutionTimes int64  `json:"TotalExecutionTimes" xml:"TotalExecutionTimes"`
+	ReturnRowCounts     int64  `json:"ReturnRowCounts" xml:"ReturnRowCounts"`
 	ExecuteTime         string `json:"ExecuteTime" xml:"ExecuteTime"`
 	ThreadID            string `json:"ThreadID" xml:"ThreadID"`
 }

+ 15 - 15
services/rds/struct_sql_slow_log.go

@@ -17,25 +17,25 @@ package rds
 
 // SQLSlowLog is a nested struct in rds response
 type SQLSlowLog struct {
-	SlowLogId                     int    `json:"SlowLogId" xml:"SlowLogId"`
+	SlowLogId                     int64  `json:"SlowLogId" xml:"SlowLogId"`
 	SQLHASH                       string `json:"SQLHASH" xml:"SQLHASH"`
 	SQLIdStr                      string `json:"SQLIdStr" xml:"SQLIdStr"`
 	DBName                        string `json:"DBName" xml:"DBName"`
 	SQLText                       string `json:"SQLText" xml:"SQLText"`
-	MySQLTotalExecutionCounts     int    `json:"MySQLTotalExecutionCounts" xml:"MySQLTotalExecutionCounts"`
-	MySQLTotalExecutionTimes      int    `json:"MySQLTotalExecutionTimes" xml:"MySQLTotalExecutionTimes"`
-	TotalLockTimes                int    `json:"TotalLockTimes" xml:"TotalLockTimes"`
-	MaxLockTime                   int    `json:"MaxLockTime" xml:"MaxLockTime"`
-	ParseTotalRowCounts           int    `json:"ParseTotalRowCounts" xml:"ParseTotalRowCounts"`
-	ParseMaxRowCount              int    `json:"ParseMaxRowCount" xml:"ParseMaxRowCount"`
-	ReturnTotalRowCounts          int    `json:"ReturnTotalRowCounts" xml:"ReturnTotalRowCounts"`
-	ReturnMaxRowCount             int    `json:"ReturnMaxRowCount" xml:"ReturnMaxRowCount"`
+	MySQLTotalExecutionCounts     int64  `json:"MySQLTotalExecutionCounts" xml:"MySQLTotalExecutionCounts"`
+	MySQLTotalExecutionTimes      int64  `json:"MySQLTotalExecutionTimes" xml:"MySQLTotalExecutionTimes"`
+	TotalLockTimes                int64  `json:"TotalLockTimes" xml:"TotalLockTimes"`
+	MaxLockTime                   int64  `json:"MaxLockTime" xml:"MaxLockTime"`
+	ParseTotalRowCounts           int64  `json:"ParseTotalRowCounts" xml:"ParseTotalRowCounts"`
+	ParseMaxRowCount              int64  `json:"ParseMaxRowCount" xml:"ParseMaxRowCount"`
+	ReturnTotalRowCounts          int64  `json:"ReturnTotalRowCounts" xml:"ReturnTotalRowCounts"`
+	ReturnMaxRowCount             int64  `json:"ReturnMaxRowCount" xml:"ReturnMaxRowCount"`
 	CreateTime                    string `json:"CreateTime" xml:"CreateTime"`
-	SQLServerTotalExecutionCounts int    `json:"SQLServerTotalExecutionCounts" xml:"SQLServerTotalExecutionCounts"`
-	SQLServerTotalExecutionTimes  int    `json:"SQLServerTotalExecutionTimes" xml:"SQLServerTotalExecutionTimes"`
-	TotalLogicalReadCounts        int    `json:"TotalLogicalReadCounts" xml:"TotalLogicalReadCounts"`
-	TotalPhysicalReadCounts       int    `json:"TotalPhysicalReadCounts" xml:"TotalPhysicalReadCounts"`
+	SQLServerTotalExecutionCounts int64  `json:"SQLServerTotalExecutionCounts" xml:"SQLServerTotalExecutionCounts"`
+	SQLServerTotalExecutionTimes  int64  `json:"SQLServerTotalExecutionTimes" xml:"SQLServerTotalExecutionTimes"`
+	TotalLogicalReadCounts        int64  `json:"TotalLogicalReadCounts" xml:"TotalLogicalReadCounts"`
+	TotalPhysicalReadCounts       int64  `json:"TotalPhysicalReadCounts" xml:"TotalPhysicalReadCounts"`
 	ReportTime                    string `json:"ReportTime" xml:"ReportTime"`
-	MaxExecutionTime              int    `json:"MaxExecutionTime" xml:"MaxExecutionTime"`
-	AvgExecutionTime              int    `json:"AvgExecutionTime" xml:"AvgExecutionTime"`
+	MaxExecutionTime              int64  `json:"MaxExecutionTime" xml:"MaxExecutionTime"`
+	AvgExecutionTime              int64  `json:"AvgExecutionTime" xml:"AvgExecutionTime"`
 }

+ 4 - 4
services/rds/struct_sql_slow_record.go

@@ -20,9 +20,9 @@ type SQLSlowRecord struct {
 	HostAddress        string `json:"HostAddress" xml:"HostAddress"`
 	DBName             string `json:"DBName" xml:"DBName"`
 	SQLText            string `json:"SQLText" xml:"SQLText"`
-	QueryTimes         int    `json:"QueryTimes" xml:"QueryTimes"`
-	LockTimes          int    `json:"LockTimes" xml:"LockTimes"`
-	ParseRowCounts     int    `json:"ParseRowCounts" xml:"ParseRowCounts"`
-	ReturnRowCounts    int    `json:"ReturnRowCounts" xml:"ReturnRowCounts"`
+	QueryTimes         int64  `json:"QueryTimes" xml:"QueryTimes"`
+	LockTimes          int64  `json:"LockTimes" xml:"LockTimes"`
+	ParseRowCounts     int64  `json:"ParseRowCounts" xml:"ParseRowCounts"`
+	ReturnRowCounts    int64  `json:"ReturnRowCounts" xml:"ReturnRowCounts"`
 	ExecutionStartTime string `json:"ExecutionStartTime" xml:"ExecutionStartTime"`
 }

+ 2 - 2
services/rds/struct_supported_categorys.go

@@ -17,6 +17,6 @@ package rds
 
 // SupportedCategorys is a nested struct in rds response
 type SupportedCategorys struct {
-	Category             string                                          `json:"Category" xml:"Category"`
-	SupportedStorageType SupportedStorageTypeInDescribeAvailableResource `json:"SupportedStorageType" xml:"SupportedStorageType"`
+	Category             string                  `json:"Category" xml:"Category"`
+	SupportedStorageType []SupportedStorageTypes `json:"SupportedStorageType" xml:"SupportedStorageType"`
 }

+ 2 - 2
services/rds/struct_supported_engine_versions.go

@@ -17,6 +17,6 @@ package rds
 
 // SupportedEngineVersions is a nested struct in rds response
 type SupportedEngineVersions struct {
-	Version           string                                       `json:"Version" xml:"Version"`
-	SupportedCategory SupportedCategoryInDescribeAvailableResource `json:"SupportedCategory" xml:"SupportedCategory"`
+	Version           string               `json:"Version" xml:"Version"`
+	SupportedCategory []SupportedCategorys `json:"SupportedCategory" xml:"SupportedCategory"`
 }

+ 2 - 2
services/rds/struct_supported_engines.go

@@ -17,6 +17,6 @@ package rds
 
 // SupportedEngines is a nested struct in rds response
 type SupportedEngines struct {
-	Engine                 string                                            `json:"Engine" xml:"Engine"`
-	SupportedEngineVersion SupportedEngineVersionInDescribeAvailableResource `json:"SupportedEngineVersion" xml:"SupportedEngineVersion"`
+	Engine                 string                    `json:"Engine" xml:"Engine"`
+	SupportedEngineVersion []SupportedEngineVersions `json:"SupportedEngineVersion" xml:"SupportedEngineVersion"`
 }

+ 2 - 2
services/rds/struct_supported_storage_types.go

@@ -17,6 +17,6 @@ package rds
 
 // SupportedStorageTypes is a nested struct in rds response
 type SupportedStorageTypes struct {
-	StorageType       string                                       `json:"StorageType" xml:"StorageType"`
-	AvailableResource AvailableResourceInDescribeAvailableResource `json:"AvailableResource" xml:"AvailableResource"`
+	StorageType       string               `json:"StorageType" xml:"StorageType"`
+	AvailableResource []AvailableResources `json:"AvailableResource" xml:"AvailableResource"`
 }