浏览代码

R-KVSTORE SDK Auto Released By junjun.zhang,Version:1.43.5

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 年之前
父节点
当前提交
331737eebc
共有 39 个文件被更改,包括 2069 次插入34 次删除
  1. 4 0
      ChangeLog.txt
  2. 1 0
      services/r-kvstore/create_account.go
  3. 3 6
      services/r-kvstore/delete_account.go
  4. 116 0
      services/r-kvstore/describe_active_operation_task.go
  5. 109 0
      services/r-kvstore/describe_active_operation_task_count.go
  6. 110 0
      services/r-kvstore/describe_active_operation_task_region.go
  7. 109 0
      services/r-kvstore/describe_active_operation_task_type.go
  8. 124 0
      services/r-kvstore/describe_audit_records.go
  9. 121 0
      services/r-kvstore/describe_error_log_records.go
  10. 115 0
      services/r-kvstore/describe_instance_auto_renewal_attribute.go
  11. 4 0
      services/r-kvstore/describe_instances.go
  12. 2 2
      services/r-kvstore/describe_replica_initialize_progress.go
  13. 124 0
      services/r-kvstore/describe_running_log_records.go
  14. 122 0
      services/r-kvstore/describe_slow_log_records.go
  15. 110 0
      services/r-kvstore/modify_active_operation_task.go
  16. 110 0
      services/r-kvstore/modify_instance_auto_renewal_attribute.go
  17. 110 0
      services/r-kvstore/modify_instance_major_version.go
  18. 1 1
      services/r-kvstore/modify_instance_minor_version.go
  19. 4 3
      services/r-kvstore/modify_instance_spec_pre_check.go
  20. 109 0
      services/r-kvstore/modify_instance_vpc_auth_mode.go
  21. 111 0
      services/r-kvstore/restart_instance.go
  22. 25 0
      services/r-kvstore/struct_item.go
  23. 17 16
      services/r-kvstore/struct_items.go
  24. 21 0
      services/r-kvstore/struct_items_in_describe_active_operation_task.go
  25. 21 0
      services/r-kvstore/struct_items_in_describe_audit_records.go
  26. 21 0
      services/r-kvstore/struct_items_in_describe_error_log_records.go
  27. 21 0
      services/r-kvstore/struct_items_in_describe_instance_auto_renewal_attribute.go
  28. 1 1
      services/r-kvstore/struct_items_in_describe_replica_initialize_progress.go
  29. 21 0
      services/r-kvstore/struct_items_in_describe_running_log_records.go
  30. 21 0
      services/r-kvstore/struct_items_in_describe_slow_log_records.go
  31. 13 5
      services/r-kvstore/struct_items_item.go
  32. 25 0
      services/r-kvstore/struct_items_item_in_describe_replica_initialize_progress.go
  33. 2 0
      services/r-kvstore/struct_kv_store_instance.go
  34. 35 0
      services/r-kvstore/struct_log_records.go
  35. 24 0
      services/r-kvstore/struct_pre_check_result.go
  36. 21 0
      services/r-kvstore/struct_region_list.go
  37. 28 0
      services/r-kvstore/struct_sql.go
  38. 21 0
      services/r-kvstore/struct_type_list.go
  39. 112 0
      services/r-kvstore/unlink_replica_instance.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2018-12-11 Version: 1.43.5
+1, Add ModifyInstanceVpcAuthMode OpenApi.
+2, Upgrade SDK Version to 2.0.4.
+
 2018-12-06 Version: 1.43.4
 1, Add api RedeployInstance
 

+ 1 - 0
services/r-kvstore/create_account.go

@@ -82,6 +82,7 @@ type CreateAccountRequest struct {
 	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"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
 	AccountName          string           `position:"Query" name:"AccountName"`

+ 3 - 6
services/r-kvstore/delete_account.go

@@ -77,15 +77,12 @@ func (client *Client) DeleteAccountWithCallback(request *DeleteAccountRequest, c
 type DeleteAccountRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	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"`
-	AccountPassword      string           `position:"Query" name:"AccountPassword"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
 	AccountName          string           `position:"Query" name:"AccountName"`
 	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteAccountResponse is the response struct for api DeleteAccount

+ 116 - 0
services/r-kvstore/describe_active_operation_task.go

@@ -0,0 +1,116 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeActiveOperationTask invokes the r_kvstore.DescribeActiveOperationTask API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtask.html
+func (client *Client) DescribeActiveOperationTask(request *DescribeActiveOperationTaskRequest) (response *DescribeActiveOperationTaskResponse, err error) {
+	response = CreateDescribeActiveOperationTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeActiveOperationTaskWithChan invokes the r_kvstore.DescribeActiveOperationTask API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskWithChan(request *DescribeActiveOperationTaskRequest) (<-chan *DescribeActiveOperationTaskResponse, <-chan error) {
+	responseChan := make(chan *DescribeActiveOperationTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeActiveOperationTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeActiveOperationTaskWithCallback invokes the r_kvstore.DescribeActiveOperationTask API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskWithCallback(request *DescribeActiveOperationTaskRequest, callback func(response *DescribeActiveOperationTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeActiveOperationTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeActiveOperationTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeActiveOperationTaskRequest is the request struct for api DescribeActiveOperationTask
+type DescribeActiveOperationTaskRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	TaskType             string           `position:"Query" name:"TaskType"`
+	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"`
+	IsHistory            requests.Integer `position:"Query" name:"IsHistory"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	Region               string           `position:"Query" name:"Region"`
+}
+
+// DescribeActiveOperationTaskResponse is the response struct for api DescribeActiveOperationTask
+type DescribeActiveOperationTaskResponse struct {
+	*responses.BaseResponse
+	RequestId        string      `json:"RequestId" xml:"RequestId"`
+	TotalRecordCount int         `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	PageSize         int         `json:"PageSize" xml:"PageSize"`
+	PageNumber       int         `json:"PageNumber" xml:"PageNumber"`
+	Items            []ItemsItem `json:"Items" xml:"Items"`
+}
+
+// CreateDescribeActiveOperationTaskRequest creates a request to invoke DescribeActiveOperationTask API
+func CreateDescribeActiveOperationTaskRequest() (request *DescribeActiveOperationTaskRequest) {
+	request = &DescribeActiveOperationTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeActiveOperationTask", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeActiveOperationTaskResponse creates a response to parse from DescribeActiveOperationTask response
+func CreateDescribeActiveOperationTaskResponse() (response *DescribeActiveOperationTaskResponse) {
+	response = &DescribeActiveOperationTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/r-kvstore/describe_active_operation_task_count.go

@@ -0,0 +1,109 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeActiveOperationTaskCount invokes the r_kvstore.DescribeActiveOperationTaskCount API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtaskcount.html
+func (client *Client) DescribeActiveOperationTaskCount(request *DescribeActiveOperationTaskCountRequest) (response *DescribeActiveOperationTaskCountResponse, err error) {
+	response = CreateDescribeActiveOperationTaskCountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeActiveOperationTaskCountWithChan invokes the r_kvstore.DescribeActiveOperationTaskCount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtaskcount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskCountWithChan(request *DescribeActiveOperationTaskCountRequest) (<-chan *DescribeActiveOperationTaskCountResponse, <-chan error) {
+	responseChan := make(chan *DescribeActiveOperationTaskCountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeActiveOperationTaskCount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeActiveOperationTaskCountWithCallback invokes the r_kvstore.DescribeActiveOperationTaskCount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtaskcount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskCountWithCallback(request *DescribeActiveOperationTaskCountRequest, callback func(response *DescribeActiveOperationTaskCountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeActiveOperationTaskCountResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeActiveOperationTaskCount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeActiveOperationTaskCountRequest is the request struct for api DescribeActiveOperationTaskCount
+type DescribeActiveOperationTaskCountRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeActiveOperationTaskCountResponse is the response struct for api DescribeActiveOperationTaskCount
+type DescribeActiveOperationTaskCountResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskCount int    `json:"TaskCount" xml:"TaskCount"`
+	NeedPop   int    `json:"NeedPop" xml:"NeedPop"`
+}
+
+// CreateDescribeActiveOperationTaskCountRequest creates a request to invoke DescribeActiveOperationTaskCount API
+func CreateDescribeActiveOperationTaskCountRequest() (request *DescribeActiveOperationTaskCountRequest) {
+	request = &DescribeActiveOperationTaskCountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeActiveOperationTaskCount", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeActiveOperationTaskCountResponse creates a response to parse from DescribeActiveOperationTaskCount response
+func CreateDescribeActiveOperationTaskCountResponse() (response *DescribeActiveOperationTaskCountResponse) {
+	response = &DescribeActiveOperationTaskCountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/describe_active_operation_task_region.go

@@ -0,0 +1,110 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeActiveOperationTaskRegion invokes the r_kvstore.DescribeActiveOperationTaskRegion API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtaskregion.html
+func (client *Client) DescribeActiveOperationTaskRegion(request *DescribeActiveOperationTaskRegionRequest) (response *DescribeActiveOperationTaskRegionResponse, err error) {
+	response = CreateDescribeActiveOperationTaskRegionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeActiveOperationTaskRegionWithChan invokes the r_kvstore.DescribeActiveOperationTaskRegion API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtaskregion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskRegionWithChan(request *DescribeActiveOperationTaskRegionRequest) (<-chan *DescribeActiveOperationTaskRegionResponse, <-chan error) {
+	responseChan := make(chan *DescribeActiveOperationTaskRegionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeActiveOperationTaskRegion(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeActiveOperationTaskRegionWithCallback invokes the r_kvstore.DescribeActiveOperationTaskRegion API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtaskregion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskRegionWithCallback(request *DescribeActiveOperationTaskRegionRequest, callback func(response *DescribeActiveOperationTaskRegionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeActiveOperationTaskRegionResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeActiveOperationTaskRegion(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeActiveOperationTaskRegionRequest is the request struct for api DescribeActiveOperationTaskRegion
+type DescribeActiveOperationTaskRegionRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IsHistory            requests.Integer `position:"Query" name:"IsHistory"`
+	TaskType             string           `position:"Query" name:"TaskType"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeActiveOperationTaskRegionResponse is the response struct for api DescribeActiveOperationTaskRegion
+type DescribeActiveOperationTaskRegionResponse struct {
+	*responses.BaseResponse
+	RequestId  string  `json:"RequestId" xml:"RequestId"`
+	RegionList []Items `json:"RegionList" xml:"RegionList"`
+}
+
+// CreateDescribeActiveOperationTaskRegionRequest creates a request to invoke DescribeActiveOperationTaskRegion API
+func CreateDescribeActiveOperationTaskRegionRequest() (request *DescribeActiveOperationTaskRegionRequest) {
+	request = &DescribeActiveOperationTaskRegionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeActiveOperationTaskRegion", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeActiveOperationTaskRegionResponse creates a response to parse from DescribeActiveOperationTaskRegion response
+func CreateDescribeActiveOperationTaskRegionResponse() (response *DescribeActiveOperationTaskRegionResponse) {
+	response = &DescribeActiveOperationTaskRegionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/r-kvstore/describe_active_operation_task_type.go

@@ -0,0 +1,109 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeActiveOperationTaskType invokes the r_kvstore.DescribeActiveOperationTaskType API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtasktype.html
+func (client *Client) DescribeActiveOperationTaskType(request *DescribeActiveOperationTaskTypeRequest) (response *DescribeActiveOperationTaskTypeResponse, err error) {
+	response = CreateDescribeActiveOperationTaskTypeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeActiveOperationTaskTypeWithChan invokes the r_kvstore.DescribeActiveOperationTaskType API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtasktype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskTypeWithChan(request *DescribeActiveOperationTaskTypeRequest) (<-chan *DescribeActiveOperationTaskTypeResponse, <-chan error) {
+	responseChan := make(chan *DescribeActiveOperationTaskTypeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeActiveOperationTaskType(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeActiveOperationTaskTypeWithCallback invokes the r_kvstore.DescribeActiveOperationTaskType API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeactiveoperationtasktype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveOperationTaskTypeWithCallback(request *DescribeActiveOperationTaskTypeRequest, callback func(response *DescribeActiveOperationTaskTypeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeActiveOperationTaskTypeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeActiveOperationTaskType(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeActiveOperationTaskTypeRequest is the request struct for api DescribeActiveOperationTaskType
+type DescribeActiveOperationTaskTypeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IsHistory            requests.Integer `position:"Query" name:"IsHistory"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeActiveOperationTaskTypeResponse is the response struct for api DescribeActiveOperationTaskType
+type DescribeActiveOperationTaskTypeResponse struct {
+	*responses.BaseResponse
+	RequestId string  `json:"RequestId" xml:"RequestId"`
+	TypeList  []Items `json:"TypeList" xml:"TypeList"`
+}
+
+// CreateDescribeActiveOperationTaskTypeRequest creates a request to invoke DescribeActiveOperationTaskType API
+func CreateDescribeActiveOperationTaskTypeRequest() (request *DescribeActiveOperationTaskTypeRequest) {
+	request = &DescribeActiveOperationTaskTypeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeActiveOperationTaskType", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeActiveOperationTaskTypeResponse creates a response to parse from DescribeActiveOperationTaskType response
+func CreateDescribeActiveOperationTaskTypeResponse() (response *DescribeActiveOperationTaskTypeResponse) {
+	response = &DescribeActiveOperationTaskTypeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 124 - 0
services/r-kvstore/describe_audit_records.go

@@ -0,0 +1,124 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeAuditRecords invokes the r_kvstore.DescribeAuditRecords API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeauditrecords.html
+func (client *Client) DescribeAuditRecords(request *DescribeAuditRecordsRequest) (response *DescribeAuditRecordsResponse, err error) {
+	response = CreateDescribeAuditRecordsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAuditRecordsWithChan invokes the r_kvstore.DescribeAuditRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeauditrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAuditRecordsWithChan(request *DescribeAuditRecordsRequest) (<-chan *DescribeAuditRecordsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAuditRecordsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAuditRecords(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAuditRecordsWithCallback invokes the r_kvstore.DescribeAuditRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeauditrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAuditRecordsWithCallback(request *DescribeAuditRecordsRequest, callback func(response *DescribeAuditRecordsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAuditRecordsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAuditRecords(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAuditRecordsRequest is the request struct for api DescribeAuditRecords
+type DescribeAuditRecordsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	QueryKeywords        string           `position:"Query" name:"QueryKeywords"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	HostAddress          string           `position:"Query" name:"HostAddress"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	AccountName          string           `position:"Query" name:"AccountName"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	DatabaseName         string           `position:"Query" name:"DatabaseName"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	NodeId               string           `position:"Query" name:"NodeId"`
+}
+
+// DescribeAuditRecordsResponse is the response struct for api DescribeAuditRecords
+type DescribeAuditRecordsResponse struct {
+	*responses.BaseResponse
+	RequestId        string                      `json:"RequestId" xml:"RequestId"`
+	PageNumber       int                         `json:"PageNumber" xml:"PageNumber"`
+	PageSize         int                         `json:"PageSize" xml:"PageSize"`
+	TotalRecordCount int                         `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	InstanceName     string                      `json:"InstanceName" xml:"InstanceName"`
+	StartTime        string                      `json:"StartTime" xml:"StartTime"`
+	EndTime          string                      `json:"EndTime" xml:"EndTime"`
+	Items            ItemsInDescribeAuditRecords `json:"Items" xml:"Items"`
+}
+
+// CreateDescribeAuditRecordsRequest creates a request to invoke DescribeAuditRecords API
+func CreateDescribeAuditRecordsRequest() (request *DescribeAuditRecordsRequest) {
+	request = &DescribeAuditRecordsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeAuditRecords", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeAuditRecordsResponse creates a response to parse from DescribeAuditRecords response
+func CreateDescribeAuditRecordsResponse() (response *DescribeAuditRecordsResponse) {
+	response = &DescribeAuditRecordsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 121 - 0
services/r-kvstore/describe_error_log_records.go

@@ -0,0 +1,121 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeErrorLogRecords invokes the r_kvstore.DescribeErrorLogRecords API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeerrorlogrecords.html
+func (client *Client) DescribeErrorLogRecords(request *DescribeErrorLogRecordsRequest) (response *DescribeErrorLogRecordsResponse, err error) {
+	response = CreateDescribeErrorLogRecordsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeErrorLogRecordsWithChan invokes the r_kvstore.DescribeErrorLogRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeerrorlogrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeErrorLogRecordsWithChan(request *DescribeErrorLogRecordsRequest) (<-chan *DescribeErrorLogRecordsResponse, <-chan error) {
+	responseChan := make(chan *DescribeErrorLogRecordsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeErrorLogRecords(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeErrorLogRecordsWithCallback invokes the r_kvstore.DescribeErrorLogRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeerrorlogrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeErrorLogRecordsWithCallback(request *DescribeErrorLogRecordsRequest, callback func(response *DescribeErrorLogRecordsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeErrorLogRecordsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeErrorLogRecords(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeErrorLogRecordsRequest is the request struct for api DescribeErrorLogRecords
+type DescribeErrorLogRecordsRequest struct {
+	*requests.RpcRequest
+	SQLId                requests.Integer `position:"Query" name:"SQLId"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	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"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	DBName               string           `position:"Query" name:"DBName"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	RoleType             string           `position:"Query" name:"RoleType"`
+	NodeId               string           `position:"Query" name:"NodeId"`
+}
+
+// DescribeErrorLogRecordsResponse is the response struct for api DescribeErrorLogRecords
+type DescribeErrorLogRecordsResponse struct {
+	*responses.BaseResponse
+	RequestId        string                         `json:"RequestId" xml:"RequestId"`
+	Engine           string                         `json:"Engine" xml:"Engine"`
+	TotalRecordCount int                            `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	PageNumber       int                            `json:"PageNumber" xml:"PageNumber"`
+	PageRecordCount  int                            `json:"PageRecordCount" xml:"PageRecordCount"`
+	Items            ItemsInDescribeErrorLogRecords `json:"Items" xml:"Items"`
+}
+
+// CreateDescribeErrorLogRecordsRequest creates a request to invoke DescribeErrorLogRecords API
+func CreateDescribeErrorLogRecordsRequest() (request *DescribeErrorLogRecordsRequest) {
+	request = &DescribeErrorLogRecordsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeErrorLogRecords", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeErrorLogRecordsResponse creates a response to parse from DescribeErrorLogRecords response
+func CreateDescribeErrorLogRecordsResponse() (response *DescribeErrorLogRecordsResponse) {
+	response = &DescribeErrorLogRecordsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/r-kvstore/describe_instance_auto_renewal_attribute.go

@@ -0,0 +1,115 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeInstanceAutoRenewalAttribute invokes the r_kvstore.DescribeInstanceAutoRenewalAttribute API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeinstanceautorenewalattribute.html
+func (client *Client) DescribeInstanceAutoRenewalAttribute(request *DescribeInstanceAutoRenewalAttributeRequest) (response *DescribeInstanceAutoRenewalAttributeResponse, err error) {
+	response = CreateDescribeInstanceAutoRenewalAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInstanceAutoRenewalAttributeWithChan invokes the r_kvstore.DescribeInstanceAutoRenewalAttribute API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeinstanceautorenewalattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceAutoRenewalAttributeWithChan(request *DescribeInstanceAutoRenewalAttributeRequest) (<-chan *DescribeInstanceAutoRenewalAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeInstanceAutoRenewalAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInstanceAutoRenewalAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInstanceAutoRenewalAttributeWithCallback invokes the r_kvstore.DescribeInstanceAutoRenewalAttribute API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeinstanceautorenewalattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceAutoRenewalAttributeWithCallback(request *DescribeInstanceAutoRenewalAttributeRequest, callback func(response *DescribeInstanceAutoRenewalAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInstanceAutoRenewalAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInstanceAutoRenewalAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInstanceAutoRenewalAttributeRequest is the request struct for api DescribeInstanceAutoRenewalAttribute
+type DescribeInstanceAutoRenewalAttributeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	ProxyId              string           `position:"Query" name:"proxyId"`
+}
+
+// DescribeInstanceAutoRenewalAttributeResponse is the response struct for api DescribeInstanceAutoRenewalAttribute
+type DescribeInstanceAutoRenewalAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId        string                                      `json:"RequestId" xml:"RequestId"`
+	PageNumber       int                                         `json:"PageNumber" xml:"PageNumber"`
+	TotalRecordCount int                                         `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	PageRecordCount  int                                         `json:"PageRecordCount" xml:"PageRecordCount"`
+	Items            ItemsInDescribeInstanceAutoRenewalAttribute `json:"Items" xml:"Items"`
+}
+
+// CreateDescribeInstanceAutoRenewalAttributeRequest creates a request to invoke DescribeInstanceAutoRenewalAttribute API
+func CreateDescribeInstanceAutoRenewalAttributeRequest() (request *DescribeInstanceAutoRenewalAttributeRequest) {
+	request = &DescribeInstanceAutoRenewalAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeInstanceAutoRenewalAttribute", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeInstanceAutoRenewalAttributeResponse creates a response to parse from DescribeInstanceAutoRenewalAttribute response
+func CreateDescribeInstanceAutoRenewalAttributeResponse() (response *DescribeInstanceAutoRenewalAttributeResponse) {
+	response = &DescribeInstanceAutoRenewalAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 4 - 0
services/r-kvstore/describe_instances.go

@@ -82,15 +82,19 @@ type DescribeInstancesRequest struct {
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	SearchKey            string           `position:"Query" name:"SearchKey"`
 	NetworkType          string           `position:"Query" name:"NetworkType"`
+	EngineVersion        string           `position:"Query" name:"EngineVersion"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	InstanceClass        string           `position:"Query" name:"InstanceClass"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
 	VSwitchId            string           `position:"Query" name:"VSwitchId"`
 	Expired              string           `position:"Query" name:"Expired"`
 	SecurityToken        string           `position:"Query" name:"SecurityToken"`
 	InstanceIds          string           `position:"Query" name:"InstanceIds"`
+	ArchitectureType     string           `position:"Query" name:"ArchitectureType"`
 	VpcId                string           `position:"Query" name:"VpcId"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	InstanceType         string           `position:"Query" name:"InstanceType"`
+	ZoneId               string           `position:"Query" name:"ZoneId"`
 	ChargeType           string           `position:"Query" name:"ChargeType"`
 }
 

+ 2 - 2
services/r-kvstore/describe_replica_initialize_progress.go

@@ -87,8 +87,8 @@ type DescribeReplicaInitializeProgressRequest struct {
 // DescribeReplicaInitializeProgressResponse is the response struct for api DescribeReplicaInitializeProgress
 type DescribeReplicaInitializeProgressResponse struct {
 	*responses.BaseResponse
-	RequestId string      `json:"RequestId" xml:"RequestId"`
-	Items     []ItemsItem `json:"Items" xml:"Items"`
+	RequestId string                                         `json:"RequestId" xml:"RequestId"`
+	Items     []ItemsItemInDescribeReplicaInitializeProgress `json:"Items" xml:"Items"`
 }
 
 // CreateDescribeReplicaInitializeProgressRequest creates a request to invoke DescribeReplicaInitializeProgress API

+ 124 - 0
services/r-kvstore/describe_running_log_records.go

@@ -0,0 +1,124 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeRunningLogRecords invokes the r_kvstore.DescribeRunningLogRecords API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describerunninglogrecords.html
+func (client *Client) DescribeRunningLogRecords(request *DescribeRunningLogRecordsRequest) (response *DescribeRunningLogRecordsResponse, err error) {
+	response = CreateDescribeRunningLogRecordsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRunningLogRecordsWithChan invokes the r_kvstore.DescribeRunningLogRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describerunninglogrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRunningLogRecordsWithChan(request *DescribeRunningLogRecordsRequest) (<-chan *DescribeRunningLogRecordsResponse, <-chan error) {
+	responseChan := make(chan *DescribeRunningLogRecordsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRunningLogRecords(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRunningLogRecordsWithCallback invokes the r_kvstore.DescribeRunningLogRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describerunninglogrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRunningLogRecordsWithCallback(request *DescribeRunningLogRecordsRequest, callback func(response *DescribeRunningLogRecordsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRunningLogRecordsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRunningLogRecords(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRunningLogRecordsRequest is the request struct for api DescribeRunningLogRecords
+type DescribeRunningLogRecordsRequest struct {
+	*requests.RpcRequest
+	SQLId                requests.Integer `position:"Query" name:"SQLId"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	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"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	DBName               string           `position:"Query" name:"DBName"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	RoleType             string           `position:"Query" name:"RoleType"`
+	NodeId               string           `position:"Query" name:"NodeId"`
+}
+
+// DescribeRunningLogRecordsResponse is the response struct for api DescribeRunningLogRecords
+type DescribeRunningLogRecordsResponse struct {
+	*responses.BaseResponse
+	RequestId        string                           `json:"RequestId" xml:"RequestId"`
+	InstanceId       string                           `json:"InstanceId" xml:"InstanceId"`
+	StartTime        string                           `json:"StartTime" xml:"StartTime"`
+	Engine           string                           `json:"Engine" xml:"Engine"`
+	TotalRecordCount int                              `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	PageNumber       int                              `json:"PageNumber" xml:"PageNumber"`
+	PageSize         int                              `json:"PageSize" xml:"PageSize"`
+	PageRecordCount  int                              `json:"PageRecordCount" xml:"PageRecordCount"`
+	Items            ItemsInDescribeRunningLogRecords `json:"Items" xml:"Items"`
+}
+
+// CreateDescribeRunningLogRecordsRequest creates a request to invoke DescribeRunningLogRecords API
+func CreateDescribeRunningLogRecordsRequest() (request *DescribeRunningLogRecordsRequest) {
+	request = &DescribeRunningLogRecordsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeRunningLogRecords", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeRunningLogRecordsResponse creates a response to parse from DescribeRunningLogRecords response
+func CreateDescribeRunningLogRecordsResponse() (response *DescribeRunningLogRecordsResponse) {
+	response = &DescribeRunningLogRecordsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 122 - 0
services/r-kvstore/describe_slow_log_records.go

@@ -0,0 +1,122 @@
+package r_kvstore
+
+//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"
+)
+
+// DescribeSlowLogRecords invokes the r_kvstore.DescribeSlowLogRecords API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeslowlogrecords.html
+func (client *Client) DescribeSlowLogRecords(request *DescribeSlowLogRecordsRequest) (response *DescribeSlowLogRecordsResponse, err error) {
+	response = CreateDescribeSlowLogRecordsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSlowLogRecordsWithChan invokes the r_kvstore.DescribeSlowLogRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeslowlogrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSlowLogRecordsWithChan(request *DescribeSlowLogRecordsRequest) (<-chan *DescribeSlowLogRecordsResponse, <-chan error) {
+	responseChan := make(chan *DescribeSlowLogRecordsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSlowLogRecords(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSlowLogRecordsWithCallback invokes the r_kvstore.DescribeSlowLogRecords API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeslowlogrecords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSlowLogRecordsWithCallback(request *DescribeSlowLogRecordsRequest, callback func(response *DescribeSlowLogRecordsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSlowLogRecordsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSlowLogRecords(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSlowLogRecordsRequest is the request struct for api DescribeSlowLogRecords
+type DescribeSlowLogRecordsRequest struct {
+	*requests.RpcRequest
+	SQLId                requests.Integer `position:"Query" name:"SQLId"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	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"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	DBName               string           `position:"Query" name:"DBName"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	NodeId               string           `position:"Query" name:"NodeId"`
+}
+
+// DescribeSlowLogRecordsResponse is the response struct for api DescribeSlowLogRecords
+type DescribeSlowLogRecordsResponse struct {
+	*responses.BaseResponse
+	RequestId        string                        `json:"RequestId" xml:"RequestId"`
+	InstanceId       string                        `json:"InstanceId" xml:"InstanceId"`
+	StartTime        string                        `json:"StartTime" xml:"StartTime"`
+	Engine           string                        `json:"Engine" xml:"Engine"`
+	TotalRecordCount int                           `json:"TotalRecordCount" xml:"TotalRecordCount"`
+	PageNumber       int                           `json:"PageNumber" xml:"PageNumber"`
+	PageRecordCount  int                           `json:"PageRecordCount" xml:"PageRecordCount"`
+	Items            ItemsInDescribeSlowLogRecords `json:"Items" xml:"Items"`
+}
+
+// CreateDescribeSlowLogRecordsRequest creates a request to invoke DescribeSlowLogRecords API
+func CreateDescribeSlowLogRecordsRequest() (request *DescribeSlowLogRecordsRequest) {
+	request = &DescribeSlowLogRecordsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeSlowLogRecords", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeSlowLogRecordsResponse creates a response to parse from DescribeSlowLogRecords response
+func CreateDescribeSlowLogRecordsResponse() (response *DescribeSlowLogRecordsResponse) {
+	response = &DescribeSlowLogRecordsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/modify_active_operation_task.go

@@ -0,0 +1,110 @@
+package r_kvstore
+
+//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"
+)
+
+// ModifyActiveOperationTask invokes the r_kvstore.ModifyActiveOperationTask API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyactiveoperationtask.html
+func (client *Client) ModifyActiveOperationTask(request *ModifyActiveOperationTaskRequest) (response *ModifyActiveOperationTaskResponse, err error) {
+	response = CreateModifyActiveOperationTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyActiveOperationTaskWithChan invokes the r_kvstore.ModifyActiveOperationTask API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyactiveoperationtask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyActiveOperationTaskWithChan(request *ModifyActiveOperationTaskRequest) (<-chan *ModifyActiveOperationTaskResponse, <-chan error) {
+	responseChan := make(chan *ModifyActiveOperationTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyActiveOperationTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyActiveOperationTaskWithCallback invokes the r_kvstore.ModifyActiveOperationTask API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyactiveoperationtask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyActiveOperationTaskWithCallback(request *ModifyActiveOperationTaskRequest, callback func(response *ModifyActiveOperationTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyActiveOperationTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyActiveOperationTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyActiveOperationTaskRequest is the request struct for api ModifyActiveOperationTask
+type ModifyActiveOperationTaskRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	Ids                  string           `position:"Query" name:"Ids"`
+	SwitchTime           string           `position:"Query" name:"SwitchTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ModifyActiveOperationTaskResponse is the response struct for api ModifyActiveOperationTask
+type ModifyActiveOperationTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Ids       string `json:"Ids" xml:"Ids"`
+}
+
+// CreateModifyActiveOperationTaskRequest creates a request to invoke ModifyActiveOperationTask API
+func CreateModifyActiveOperationTaskRequest() (request *ModifyActiveOperationTaskRequest) {
+	request = &ModifyActiveOperationTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ModifyActiveOperationTask", "redisa", "openAPI")
+	return
+}
+
+// CreateModifyActiveOperationTaskResponse creates a response to parse from ModifyActiveOperationTask response
+func CreateModifyActiveOperationTaskResponse() (response *ModifyActiveOperationTaskResponse) {
+	response = &ModifyActiveOperationTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/modify_instance_auto_renewal_attribute.go

@@ -0,0 +1,110 @@
+package r_kvstore
+
+//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"
+)
+
+// ModifyInstanceAutoRenewalAttribute invokes the r_kvstore.ModifyInstanceAutoRenewalAttribute API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstanceautorenewalattribute.html
+func (client *Client) ModifyInstanceAutoRenewalAttribute(request *ModifyInstanceAutoRenewalAttributeRequest) (response *ModifyInstanceAutoRenewalAttributeResponse, err error) {
+	response = CreateModifyInstanceAutoRenewalAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyInstanceAutoRenewalAttributeWithChan invokes the r_kvstore.ModifyInstanceAutoRenewalAttribute API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstanceautorenewalattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceAutoRenewalAttributeWithChan(request *ModifyInstanceAutoRenewalAttributeRequest) (<-chan *ModifyInstanceAutoRenewalAttributeResponse, <-chan error) {
+	responseChan := make(chan *ModifyInstanceAutoRenewalAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyInstanceAutoRenewalAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyInstanceAutoRenewalAttributeWithCallback invokes the r_kvstore.ModifyInstanceAutoRenewalAttribute API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstanceautorenewalattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceAutoRenewalAttributeWithCallback(request *ModifyInstanceAutoRenewalAttributeRequest, callback func(response *ModifyInstanceAutoRenewalAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyInstanceAutoRenewalAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyInstanceAutoRenewalAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyInstanceAutoRenewalAttributeRequest is the request struct for api ModifyInstanceAutoRenewalAttribute
+type ModifyInstanceAutoRenewalAttributeRequest struct {
+	*requests.RpcRequest
+	Duration             string           `position:"Query" name:"Duration"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	AutoRenew            string           `position:"Query" name:"AutoRenew"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ClientToken          string           `position:"Query" name:"ClientToken"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ModifyInstanceAutoRenewalAttributeResponse is the response struct for api ModifyInstanceAutoRenewalAttribute
+type ModifyInstanceAutoRenewalAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyInstanceAutoRenewalAttributeRequest creates a request to invoke ModifyInstanceAutoRenewalAttribute API
+func CreateModifyInstanceAutoRenewalAttributeRequest() (request *ModifyInstanceAutoRenewalAttributeRequest) {
+	request = &ModifyInstanceAutoRenewalAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ModifyInstanceAutoRenewalAttribute", "redisa", "openAPI")
+	return
+}
+
+// CreateModifyInstanceAutoRenewalAttributeResponse creates a response to parse from ModifyInstanceAutoRenewalAttribute response
+func CreateModifyInstanceAutoRenewalAttributeResponse() (response *ModifyInstanceAutoRenewalAttributeResponse) {
+	response = &ModifyInstanceAutoRenewalAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/modify_instance_major_version.go

@@ -0,0 +1,110 @@
+package r_kvstore
+
+//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"
+)
+
+// ModifyInstanceMajorVersion invokes the r_kvstore.ModifyInstanceMajorVersion API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstancemajorversion.html
+func (client *Client) ModifyInstanceMajorVersion(request *ModifyInstanceMajorVersionRequest) (response *ModifyInstanceMajorVersionResponse, err error) {
+	response = CreateModifyInstanceMajorVersionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyInstanceMajorVersionWithChan invokes the r_kvstore.ModifyInstanceMajorVersion API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstancemajorversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceMajorVersionWithChan(request *ModifyInstanceMajorVersionRequest) (<-chan *ModifyInstanceMajorVersionResponse, <-chan error) {
+	responseChan := make(chan *ModifyInstanceMajorVersionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyInstanceMajorVersion(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyInstanceMajorVersionWithCallback invokes the r_kvstore.ModifyInstanceMajorVersion API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstancemajorversion.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceMajorVersionWithCallback(request *ModifyInstanceMajorVersionRequest, callback func(response *ModifyInstanceMajorVersionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyInstanceMajorVersionResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyInstanceMajorVersion(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyInstanceMajorVersionRequest is the request struct for api ModifyInstanceMajorVersion
+type ModifyInstanceMajorVersionRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	MajorVersion         string           `position:"Query" name:"MajorVersion"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	EffectTime           string           `position:"Query" name:"EffectTime"`
+}
+
+// ModifyInstanceMajorVersionResponse is the response struct for api ModifyInstanceMajorVersion
+type ModifyInstanceMajorVersionResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyInstanceMajorVersionRequest creates a request to invoke ModifyInstanceMajorVersion API
+func CreateModifyInstanceMajorVersionRequest() (request *ModifyInstanceMajorVersionRequest) {
+	request = &ModifyInstanceMajorVersionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ModifyInstanceMajorVersion", "redisa", "openAPI")
+	return
+}
+
+// CreateModifyInstanceMajorVersionResponse creates a response to parse from ModifyInstanceMajorVersion response
+func CreateModifyInstanceMajorVersionResponse() (response *ModifyInstanceMajorVersionResponse) {
+	response = &ModifyInstanceMajorVersionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/r-kvstore/modify_instance_minor_version.go

@@ -76,7 +76,6 @@ func (client *Client) ModifyInstanceMinorVersionWithCallback(request *ModifyInst
 // ModifyInstanceMinorVersionRequest is the request struct for api ModifyInstanceMinorVersion
 type ModifyInstanceMinorVersionRequest struct {
 	*requests.RpcRequest
-	ExecuteMode          string           `position:"Query" name:"ExecuteMode"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
 	SecurityToken        string           `position:"Query" name:"SecurityToken"`
@@ -84,6 +83,7 @@ type ModifyInstanceMinorVersionRequest struct {
 	Minorversion         string           `position:"Query" name:"Minorversion"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	EffectTime           string           `position:"Query" name:"EffectTime"`
 }
 
 // ModifyInstanceMinorVersionResponse is the response struct for api ModifyInstanceMinorVersion

+ 4 - 3
services/r-kvstore/modify_instance_spec_pre_check.go

@@ -88,9 +88,10 @@ type ModifyInstanceSpecPreCheckRequest struct {
 // ModifyInstanceSpecPreCheckResponse is the response struct for api ModifyInstanceSpecPreCheck
 type ModifyInstanceSpecPreCheckResponse struct {
 	*responses.BaseResponse
-	RequestId       string `json:"RequestId" xml:"RequestId"`
-	IsAllowModify   bool   `json:"IsAllowModify" xml:"IsAllowModify"`
-	DisableCommands string `json:"DisableCommands" xml:"DisableCommands"`
+	RequestId       string         `json:"RequestId" xml:"RequestId"`
+	IsAllowModify   bool           `json:"IsAllowModify" xml:"IsAllowModify"`
+	DisableCommands string         `json:"DisableCommands" xml:"DisableCommands"`
+	PreCheckResult  PreCheckResult `json:"PreCheckResult" xml:"PreCheckResult"`
 }
 
 // CreateModifyInstanceSpecPreCheckRequest creates a request to invoke ModifyInstanceSpecPreCheck API

+ 109 - 0
services/r-kvstore/modify_instance_vpc_auth_mode.go

@@ -0,0 +1,109 @@
+package r_kvstore
+
+//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"
+)
+
+// ModifyInstanceVpcAuthMode invokes the r_kvstore.ModifyInstanceVpcAuthMode API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstancevpcauthmode.html
+func (client *Client) ModifyInstanceVpcAuthMode(request *ModifyInstanceVpcAuthModeRequest) (response *ModifyInstanceVpcAuthModeResponse, err error) {
+	response = CreateModifyInstanceVpcAuthModeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyInstanceVpcAuthModeWithChan invokes the r_kvstore.ModifyInstanceVpcAuthMode API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstancevpcauthmode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceVpcAuthModeWithChan(request *ModifyInstanceVpcAuthModeRequest) (<-chan *ModifyInstanceVpcAuthModeResponse, <-chan error) {
+	responseChan := make(chan *ModifyInstanceVpcAuthModeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyInstanceVpcAuthMode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyInstanceVpcAuthModeWithCallback invokes the r_kvstore.ModifyInstanceVpcAuthMode API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyinstancevpcauthmode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceVpcAuthModeWithCallback(request *ModifyInstanceVpcAuthModeRequest, callback func(response *ModifyInstanceVpcAuthModeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyInstanceVpcAuthModeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyInstanceVpcAuthMode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyInstanceVpcAuthModeRequest is the request struct for api ModifyInstanceVpcAuthMode
+type ModifyInstanceVpcAuthModeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	VpcAuthMode          string           `position:"Query" name:"VpcAuthMode"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ModifyInstanceVpcAuthModeResponse is the response struct for api ModifyInstanceVpcAuthMode
+type ModifyInstanceVpcAuthModeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyInstanceVpcAuthModeRequest creates a request to invoke ModifyInstanceVpcAuthMode API
+func CreateModifyInstanceVpcAuthModeRequest() (request *ModifyInstanceVpcAuthModeRequest) {
+	request = &ModifyInstanceVpcAuthModeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ModifyInstanceVpcAuthMode", "redisa", "openAPI")
+	return
+}
+
+// CreateModifyInstanceVpcAuthModeResponse creates a response to parse from ModifyInstanceVpcAuthMode response
+func CreateModifyInstanceVpcAuthModeResponse() (response *ModifyInstanceVpcAuthModeResponse) {
+	response = &ModifyInstanceVpcAuthModeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/r-kvstore/restart_instance.go

@@ -0,0 +1,111 @@
+package r_kvstore
+
+//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"
+)
+
+// RestartInstance invokes the r_kvstore.RestartInstance API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/restartinstance.html
+func (client *Client) RestartInstance(request *RestartInstanceRequest) (response *RestartInstanceResponse, err error) {
+	response = CreateRestartInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RestartInstanceWithChan invokes the r_kvstore.RestartInstance API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/restartinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RestartInstanceWithChan(request *RestartInstanceRequest) (<-chan *RestartInstanceResponse, <-chan error) {
+	responseChan := make(chan *RestartInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RestartInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RestartInstanceWithCallback invokes the r_kvstore.RestartInstance API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/restartinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RestartInstanceWithCallback(request *RestartInstanceRequest, callback func(response *RestartInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RestartInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.RestartInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RestartInstanceRequest is the request struct for api RestartInstance
+type RestartInstanceRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	EffectiveTime        string           `position:"Query" name:"EffectiveTime"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// RestartInstanceResponse is the response struct for api RestartInstance
+type RestartInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	InstanceId string `json:"InstanceId" xml:"InstanceId"`
+	TaskId     string `json:"TaskId" xml:"TaskId"`
+}
+
+// CreateRestartInstanceRequest creates a request to invoke RestartInstance API
+func CreateRestartInstanceRequest() (request *RestartInstanceRequest) {
+	request = &RestartInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "RestartInstance", "redisa", "openAPI")
+	return
+}
+
+// CreateRestartInstanceResponse creates a response to parse from RestartInstance response
+func CreateRestartInstanceResponse() (response *RestartInstanceResponse) {
+	response = &RestartInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 25 - 0
services/r-kvstore/struct_item.go

@@ -0,0 +1,25 @@
+package r_kvstore
+
+//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.
+
+// Item is a nested struct in r_kvstore response
+type Item struct {
+	DBInstanceId string `json:"DBInstanceId" xml:"DBInstanceId"`
+	RegionId     string `json:"RegionId" xml:"RegionId"`
+	Duration     int    `json:"Duration" xml:"Duration"`
+	Status       string `json:"Status" xml:"Status"`
+	AutoRenew    string `json:"AutoRenew" xml:"AutoRenew"`
+}

+ 17 - 16
services/r-kvstore/struct_items.go

@@ -17,20 +17,21 @@ package r_kvstore
 
 // Items is a nested struct in r_kvstore response
 type Items struct {
-	DBInstanceDescription    string  `json:"DBInstanceDescription" xml:"DBInstanceDescription"`
-	Engine                   string  `json:"Engine" xml:"Engine"`
-	ReadWriteType            string  `json:"ReadWriteType" xml:"ReadWriteType"`
-	DomainMode               string  `json:"DomainMode" xml:"DomainMode"`
-	ReplicaStatus            string  `json:"ReplicaStatus" xml:"ReplicaStatus"`
-	ReplicaMode              string  `json:"ReplicaMode" xml:"ReplicaMode"`
-	ReplicationClusterStatus string  `json:"ReplicationClusterStatus" xml:"ReplicationClusterStatus"`
-	DBInstanceStatus         string  `json:"DBInstanceStatus" xml:"DBInstanceStatus"`
-	RegionId                 string  `json:"RegionId" xml:"RegionId"`
-	Role                     string  `json:"Role" xml:"Role"`
-	InstanceNetworkType      string  `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
-	ZoneId                   string  `json:"ZoneId" xml:"ZoneId"`
-	ReplicaDescription       string  `json:"ReplicaDescription" xml:"ReplicaDescription"`
-	DBInstanceId             string  `json:"DBInstanceId" xml:"DBInstanceId"`
-	ReplicaId                string  `json:"ReplicaId" xml:"ReplicaId"`
-	DBInstances              []Items `json:"DBInstances" xml:"DBInstances"`
+	Region                string  `json:"Region" xml:"Region"`
+	Count                 int     `json:"Count" xml:"Count"`
+	DBInstanceDescription string  `json:"DBInstanceDescription" xml:"DBInstanceDescription"`
+	Engine                string  `json:"Engine" xml:"Engine"`
+	ReadWriteType         string  `json:"ReadWriteType" xml:"ReadWriteType"`
+	DomainMode            string  `json:"DomainMode" xml:"DomainMode"`
+	ReplicaStatus         string  `json:"ReplicaStatus" xml:"ReplicaStatus"`
+	ReplicaMode           string  `json:"ReplicaMode" xml:"ReplicaMode"`
+	DBInstanceStatus      string  `json:"DBInstanceStatus" xml:"DBInstanceStatus"`
+	RegionId              string  `json:"RegionId" xml:"RegionId"`
+	Role                  string  `json:"Role" xml:"Role"`
+	InstanceNetworkType   string  `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
+	ReplicaDescription    string  `json:"ReplicaDescription" xml:"ReplicaDescription"`
+	DBInstanceId          string  `json:"DBInstanceId" xml:"DBInstanceId"`
+	TaskType              string  `json:"TaskType" xml:"TaskType"`
+	ReplicaId             string  `json:"ReplicaId" xml:"ReplicaId"`
+	DBInstances           []Items `json:"DBInstances" xml:"DBInstances"`
 }

+ 21 - 0
services/r-kvstore/struct_items_in_describe_active_operation_task.go

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

+ 21 - 0
services/r-kvstore/struct_items_in_describe_audit_records.go

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

+ 21 - 0
services/r-kvstore/struct_items_in_describe_error_log_records.go

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

+ 21 - 0
services/r-kvstore/struct_items_in_describe_instance_auto_renewal_attribute.go

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

+ 1 - 1
services/r-kvstore/struct_items_in_describe_replica_initialize_progress.go

@@ -17,5 +17,5 @@ package r_kvstore
 
 // ItemsInDescribeReplicaInitializeProgress is a nested struct in r_kvstore response
 type ItemsInDescribeReplicaInitializeProgress struct {
-	ItemsItem []ItemsItem `json:"ItemsItem" xml:"ItemsItem"`
+	ItemsItem []ItemsItemInDescribeReplicaInitializeProgress `json:"ItemsItem" xml:"ItemsItem"`
 }

+ 21 - 0
services/r-kvstore/struct_items_in_describe_running_log_records.go

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

+ 21 - 0
services/r-kvstore/struct_items_in_describe_slow_log_records.go

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

+ 13 - 5
services/r-kvstore/struct_items_item.go

@@ -17,36 +17,44 @@ package r_kvstore
 
 // ItemsItem is a nested struct in r_kvstore response
 type ItemsItem struct {
+	ResultInfo            string         `json:"ResultInfo" xml:"ResultInfo"`
+	InsName               string         `json:"InsName" xml:"InsName"`
 	InternetIP            string         `json:"InternetIP" xml:"InternetIP"`
 	ConfictReason         string         `json:"ConfictReason" xml:"ConfictReason"`
 	SourceDetail          string         `json:"SourceDetail" xml:"SourceDetail"`
+	TaskParams            string         `json:"TaskParams" xml:"TaskParams"`
 	InconsistentFields    string         `json:"InconsistentFields" xml:"InconsistentFields"`
 	InstanceIdA           string         `json:"InstanceIdA" xml:"InstanceIdA"`
+	Deadline              string         `json:"Deadline" xml:"Deadline"`
 	ConflictGtid          string         `json:"ConflictGtid" xml:"ConflictGtid"`
 	DestinationDetail     string         `json:"DestinationDetail" xml:"DestinationDetail"`
+	DbType                string         `json:"DbType" xml:"DbType"`
 	Key                   string         `json:"Key" xml:"Key"`
+	ModifiedTime          string         `json:"ModifiedTime" xml:"ModifiedTime"`
+	CreatedTime           string         `json:"CreatedTime" xml:"CreatedTime"`
 	RegionId              string         `json:"RegionId" xml:"RegionId"`
 	InstanceNetworkType   string         `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
 	RecoveryMode          string         `json:"RecoveryMode" xml:"RecoveryMode"`
 	AbnormalType          string         `json:"AbnormalType" xml:"AbnormalType"`
+	SwitchTime            string         `json:"SwitchTime" xml:"SwitchTime"`
 	DBInstanceId          string         `json:"DBInstanceId" xml:"DBInstanceId"`
 	DatabaseName          string         `json:"DatabaseName" xml:"DatabaseName"`
 	SecurityIPList        string         `json:"SecurityIPList" xml:"SecurityIPList"`
 	DetailInfo            string         `json:"DetailInfo" xml:"DetailInfo"`
+	Id                    int            `json:"Id" xml:"Id"`
+	Status                int            `json:"Status" xml:"Status"`
 	Schema                string         `json:"Schema" xml:"Schema"`
 	ReadWriteType         string         `json:"ReadWriteType" xml:"ReadWriteType"`
 	HasInternetIP         bool           `json:"HasInternetIP" xml:"HasInternetIP"`
 	DestinationInstanceId string         `json:"DestinationInstanceId" xml:"DestinationInstanceId"`
-	FinishTime            string         `json:"FinishTime" xml:"FinishTime"`
+	PrepareInterval       string         `json:"PrepareInterval" xml:"PrepareInterval"`
 	OccurTime             string         `json:"OccurTime" xml:"OccurTime"`
-	Progress              string         `json:"Progress" xml:"Progress"`
 	InstanceIdB           string         `json:"InstanceIdB" xml:"InstanceIdB"`
-	CurrentStep           string         `json:"CurrentStep" xml:"CurrentStep"`
+	StartTime             string         `json:"StartTime" xml:"StartTime"`
 	SourceInstanceId      string         `json:"SourceInstanceId" xml:"SourceInstanceId"`
 	InconsistentType      string         `json:"InconsistentType" xml:"InconsistentType"`
 	ConfictKey            string         `json:"ConfictKey" xml:"ConfictKey"`
 	KeyType               string         `json:"KeyType" xml:"KeyType"`
-	Status                string         `json:"Status" xml:"Status"`
-	ReplicaId             string         `json:"ReplicaId" xml:"ReplicaId"`
+	TaskType              string         `json:"TaskType" xml:"TaskType"`
 	Accounts              []AccountsItem `json:"Accounts" xml:"Accounts"`
 }

+ 25 - 0
services/r-kvstore/struct_items_item_in_describe_replica_initialize_progress.go

@@ -0,0 +1,25 @@
+package r_kvstore
+
+//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.
+
+// ItemsItemInDescribeReplicaInitializeProgress is a nested struct in r_kvstore response
+type ItemsItemInDescribeReplicaInitializeProgress struct {
+	ReplicaId   string `json:"ReplicaId" xml:"ReplicaId"`
+	Status      string `json:"Status" xml:"Status"`
+	Progress    string `json:"Progress" xml:"Progress"`
+	FinishTime  string `json:"FinishTime" xml:"FinishTime"`
+	CurrentStep string `json:"CurrentStep" xml:"CurrentStep"`
+}

+ 2 - 0
services/r-kvstore/struct_kv_store_instance.go

@@ -21,6 +21,7 @@ type KVStoreInstance struct {
 	PackageType         string `json:"PackageType" xml:"PackageType"`
 	ChargeType          string `json:"ChargeType" xml:"ChargeType"`
 	ConnectionDomain    string `json:"ConnectionDomain" xml:"ConnectionDomain"`
+	SearchKey           string `json:"SearchKey" xml:"SearchKey"`
 	CreateTime          string `json:"CreateTime" xml:"CreateTime"`
 	HasRenewChangeOrder string `json:"HasRenewChangeOrder" xml:"HasRenewChangeOrder"`
 	InstanceType        string `json:"InstanceType" xml:"InstanceType"`
@@ -47,4 +48,5 @@ type KVStoreInstance struct {
 	UserName            string `json:"UserName" xml:"UserName"`
 	Config              string `json:"Config" xml:"Config"`
 	IsRds               bool   `json:"IsRds" xml:"IsRds"`
+	ConnectionMode      string `json:"ConnectionMode" xml:"ConnectionMode"`
 }

+ 35 - 0
services/r-kvstore/struct_log_records.go

@@ -0,0 +1,35 @@
+package r_kvstore
+
+//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.
+
+// LogRecords is a nested struct in r_kvstore response
+type LogRecords struct {
+	Account      string `json:"Account" xml:"Account"`
+	Category     string `json:"Category" xml:"Category"`
+	Id           int    `json:"Id" xml:"Id"`
+	Level        string `json:"Level" xml:"Level"`
+	CreateTime   string `json:"CreateTime" xml:"CreateTime"`
+	IPAddress    string `json:"IPAddress" xml:"IPAddress"`
+	DataBaseName string `json:"DataBaseName" xml:"DataBaseName"`
+	ElapsedTime  int    `json:"ElapsedTime" xml:"ElapsedTime"`
+	ConnInfo     string `json:"ConnInfo" xml:"ConnInfo"`
+	Content      int    `json:"Content" xml:"Content"`
+	Command      string `json:"Command" xml:"Command"`
+	ExecuteTime  string `json:"ExecuteTime" xml:"ExecuteTime"`
+	NodeId       string `json:"NodeId" xml:"NodeId"`
+	AccountName  string `json:"AccountName" xml:"AccountName"`
+	DBName       string `json:"DBName" xml:"DBName"`
+}

+ 24 - 0
services/r-kvstore/struct_pre_check_result.go

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

+ 21 - 0
services/r-kvstore/struct_region_list.go

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

+ 28 - 0
services/r-kvstore/struct_sql.go

@@ -0,0 +1,28 @@
+package r_kvstore
+
+//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.
+
+// SQL is a nested struct in r_kvstore response
+type SQL struct {
+	HostAddress         int    `json:"HostAddress" xml:"HostAddress"`
+	DatabaseName        string `json:"DatabaseName" xml:"DatabaseName"`
+	IPAddress           string `json:"IPAddress" xml:"IPAddress"`
+	SQLText             string `json:"SQLText" xml:"SQLText"`
+	SQLType             string `json:"SQLType" xml:"SQLType"`
+	TotalExecutionTimes string `json:"TotalExecutionTimes" xml:"TotalExecutionTimes"`
+	ExecuteTime         string `json:"ExecuteTime" xml:"ExecuteTime"`
+	AccountName         string `json:"AccountName" xml:"AccountName"`
+}

+ 21 - 0
services/r-kvstore/struct_type_list.go

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

+ 112 - 0
services/r-kvstore/unlink_replica_instance.go

@@ -0,0 +1,112 @@
+package r_kvstore
+
+//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"
+)
+
+// UnlinkReplicaInstance invokes the r_kvstore.UnlinkReplicaInstance API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/unlinkreplicainstance.html
+func (client *Client) UnlinkReplicaInstance(request *UnlinkReplicaInstanceRequest) (response *UnlinkReplicaInstanceResponse, err error) {
+	response = CreateUnlinkReplicaInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UnlinkReplicaInstanceWithChan invokes the r_kvstore.UnlinkReplicaInstance API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/unlinkreplicainstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UnlinkReplicaInstanceWithChan(request *UnlinkReplicaInstanceRequest) (<-chan *UnlinkReplicaInstanceResponse, <-chan error) {
+	responseChan := make(chan *UnlinkReplicaInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UnlinkReplicaInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UnlinkReplicaInstanceWithCallback invokes the r_kvstore.UnlinkReplicaInstance API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/unlinkreplicainstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UnlinkReplicaInstanceWithCallback(request *UnlinkReplicaInstanceRequest, callback func(response *UnlinkReplicaInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UnlinkReplicaInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.UnlinkReplicaInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UnlinkReplicaInstanceRequest is the request struct for api UnlinkReplicaInstance
+type UnlinkReplicaInstanceRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	ReplicaId            string           `position:"Query" name:"ReplicaId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// UnlinkReplicaInstanceResponse is the response struct for api UnlinkReplicaInstance
+type UnlinkReplicaInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	InstanceId string `json:"InstanceId" xml:"InstanceId"`
+	WorkflowId string `json:"WorkflowId" xml:"WorkflowId"`
+	ReplicaId  string `json:"ReplicaId" xml:"ReplicaId"`
+}
+
+// CreateUnlinkReplicaInstanceRequest creates a request to invoke UnlinkReplicaInstance API
+func CreateUnlinkReplicaInstanceRequest() (request *UnlinkReplicaInstanceRequest) {
+	request = &UnlinkReplicaInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "UnlinkReplicaInstance", "redisa", "openAPI")
+	return
+}
+
+// CreateUnlinkReplicaInstanceResponse creates a response to parse from UnlinkReplicaInstance response
+func CreateUnlinkReplicaInstanceResponse() (response *UnlinkReplicaInstanceResponse) {
+	response = &UnlinkReplicaInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}