瀏覽代碼

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

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 年之前
父節點
當前提交
4a943f4893
共有 40 個文件被更改,包括 2008 次插入34 次删除
  1. 3 0
      ChangeLog.txt
  2. 114 0
      services/r-kvstore/create_account.go
  3. 112 0
      services/r-kvstore/delete_account.go
  4. 110 0
      services/r-kvstore/describe_accounts.go
  5. 1 0
      services/r-kvstore/describe_instances.go
  6. 112 0
      services/r-kvstore/describe_parameter_modification_history.go
  7. 114 0
      services/r-kvstore/describe_parameter_templates.go
  8. 113 0
      services/r-kvstore/describe_parameters.go
  9. 1 0
      services/r-kvstore/describe_replicas.go
  10. 108 0
      services/r-kvstore/destroy_instance.go
  11. 112 0
      services/r-kvstore/evaluate_fail_over_switch.go
  12. 110 0
      services/r-kvstore/grant_account_privilege.go
  13. 110 0
      services/r-kvstore/modify_account_description.go
  14. 110 0
      services/r-kvstore/modify_db_instance_connection_string.go
  15. 1 0
      services/r-kvstore/modify_instance_minor_version.go
  16. 2 0
      services/r-kvstore/modify_instance_spec.go
  17. 110 0
      services/r-kvstore/reset_account.go
  18. 110 0
      services/r-kvstore/reset_account_password.go
  19. 109 0
      services/r-kvstore/revoke_account_privilege.go
  20. 27 0
      services/r-kvstore/struct_account.go
  21. 21 0
      services/r-kvstore/struct_accounts_in_describe_accounts.go
  22. 21 0
      services/r-kvstore/struct_accounts_in_evaluate_fail_over_switch.go
  23. 29 0
      services/r-kvstore/struct_accounts_item.go
  24. 21 0
      services/r-kvstore/struct_config_parameters.go
  25. 22 0
      services/r-kvstore/struct_database_privilege.go
  26. 21 0
      services/r-kvstore/struct_database_privileges.go
  27. 4 1
      services/r-kvstore/struct_db_instance_attribute.go
  28. 24 0
      services/r-kvstore/struct_historical_parameter.go
  29. 21 0
      services/r-kvstore/struct_historical_parameters.go
  30. 16 9
      services/r-kvstore/struct_items.go
  31. 21 0
      services/r-kvstore/struct_items_in_evaluate_fail_over_switch.go
  32. 32 24
      services/r-kvstore/struct_items_item.go
  33. 1 0
      services/r-kvstore/struct_kv_store_instance.go
  34. 26 0
      services/r-kvstore/struct_parameter.go
  35. 26 0
      services/r-kvstore/struct_parameter_in_describe_parameters.go
  36. 21 0
      services/r-kvstore/struct_parameters.go
  37. 21 0
      services/r-kvstore/struct_reports.go
  38. 24 0
      services/r-kvstore/struct_reports_item.go
  39. 21 0
      services/r-kvstore/struct_running_parameters.go
  40. 26 0
      services/r-kvstore/struct_template_record.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-08-27 Version: 1.27.4
+1, createInstance supported IpAddress param.
+
 2018-08-24 Version: 1.27.3
 1, Add api: DetectQRCode
 

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

@@ -0,0 +1,114 @@
+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"
+)
+
+// CreateAccount invokes the r_kvstore.CreateAccount API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/createaccount.html
+func (client *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error) {
+	response = CreateCreateAccountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateAccountWithChan invokes the r_kvstore.CreateAccount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/createaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAccountWithChan(request *CreateAccountRequest) (<-chan *CreateAccountResponse, <-chan error) {
+	responseChan := make(chan *CreateAccountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateAccount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateAccountWithCallback invokes the r_kvstore.CreateAccount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/createaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAccountWithCallback(request *CreateAccountRequest, callback func(response *CreateAccountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateAccountResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateAccount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateAccountRequest is the request struct for api CreateAccount
+type CreateAccountRequest 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"`
+}
+
+// CreateAccountResponse is the response struct for api CreateAccount
+type CreateAccountResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	InstanceId string `json:"InstanceId" xml:"InstanceId"`
+	AcountName string `json:"AcountName" xml:"AcountName"`
+}
+
+// CreateCreateAccountRequest creates a request to invoke CreateAccount API
+func CreateCreateAccountRequest() (request *CreateAccountRequest) {
+	request = &CreateAccountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "CreateAccount", "redisa", "openAPI")
+	return
+}
+
+// CreateCreateAccountResponse creates a response to parse from CreateAccount response
+func CreateCreateAccountResponse() (response *CreateAccountResponse) {
+	response = &CreateAccountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/r-kvstore/delete_account.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"
+)
+
+// DeleteAccount invokes the r_kvstore.DeleteAccount API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/deleteaccount.html
+func (client *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error) {
+	response = CreateDeleteAccountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteAccountWithChan invokes the r_kvstore.DeleteAccount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/deleteaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAccountWithChan(request *DeleteAccountRequest) (<-chan *DeleteAccountResponse, <-chan error) {
+	responseChan := make(chan *DeleteAccountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteAccount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteAccountWithCallback invokes the r_kvstore.DeleteAccount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/deleteaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAccountWithCallback(request *DeleteAccountRequest, callback func(response *DeleteAccountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteAccountResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteAccount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteAccountRequest is the request struct for api DeleteAccount
+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"`
+}
+
+// DeleteAccountResponse is the response struct for api DeleteAccount
+type DeleteAccountResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteAccountRequest creates a request to invoke DeleteAccount API
+func CreateDeleteAccountRequest() (request *DeleteAccountRequest) {
+	request = &DeleteAccountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DeleteAccount", "redisa", "openAPI")
+	return
+}
+
+// CreateDeleteAccountResponse creates a response to parse from DeleteAccount response
+func CreateDeleteAccountResponse() (response *DeleteAccountResponse) {
+	response = &DeleteAccountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/describe_accounts.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"
+)
+
+// DescribeAccounts invokes the r_kvstore.DescribeAccounts API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeaccounts.html
+func (client *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error) {
+	response = CreateDescribeAccountsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAccountsWithChan invokes the r_kvstore.DescribeAccounts API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeaccounts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAccountsWithChan(request *DescribeAccountsRequest) (<-chan *DescribeAccountsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAccountsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAccounts(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAccountsWithCallback invokes the r_kvstore.DescribeAccounts API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeaccounts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAccountsWithCallback(request *DescribeAccountsRequest, callback func(response *DescribeAccountsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAccountsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAccounts(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAccountsRequest is the request struct for api DescribeAccounts
+type DescribeAccountsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
+}
+
+// DescribeAccountsResponse is the response struct for api DescribeAccounts
+type DescribeAccountsResponse struct {
+	*responses.BaseResponse
+	RequestId string                     `json:"RequestId" xml:"RequestId"`
+	Accounts  AccountsInDescribeAccounts `json:"Accounts" xml:"Accounts"`
+}
+
+// CreateDescribeAccountsRequest creates a request to invoke DescribeAccounts API
+func CreateDescribeAccountsRequest() (request *DescribeAccountsRequest) {
+	request = &DescribeAccountsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeAccounts", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeAccountsResponse creates a response to parse from DescribeAccounts response
+func CreateDescribeAccountsResponse() (response *DescribeAccountsResponse) {
+	response = &DescribeAccountsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

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

@@ -85,6 +85,7 @@ type DescribeInstancesRequest struct {
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	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"`
 	VpcId                string           `position:"Query" name:"VpcId"`

+ 112 - 0
services/r-kvstore/describe_parameter_modification_history.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"
+)
+
+// DescribeParameterModificationHistory invokes the r_kvstore.DescribeParameterModificationHistory API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparametermodificationhistory.html
+func (client *Client) DescribeParameterModificationHistory(request *DescribeParameterModificationHistoryRequest) (response *DescribeParameterModificationHistoryResponse, err error) {
+	response = CreateDescribeParameterModificationHistoryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeParameterModificationHistoryWithChan invokes the r_kvstore.DescribeParameterModificationHistory API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparametermodificationhistory.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeParameterModificationHistoryWithChan(request *DescribeParameterModificationHistoryRequest) (<-chan *DescribeParameterModificationHistoryResponse, <-chan error) {
+	responseChan := make(chan *DescribeParameterModificationHistoryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeParameterModificationHistory(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeParameterModificationHistoryWithCallback invokes the r_kvstore.DescribeParameterModificationHistory API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparametermodificationhistory.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeParameterModificationHistoryWithCallback(request *DescribeParameterModificationHistoryRequest, callback func(response *DescribeParameterModificationHistoryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeParameterModificationHistoryResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeParameterModificationHistory(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeParameterModificationHistoryRequest is the request struct for api DescribeParameterModificationHistory
+type DescribeParameterModificationHistoryRequest 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"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	NodeId               string           `position:"Query" name:"NodeId"`
+}
+
+// DescribeParameterModificationHistoryResponse is the response struct for api DescribeParameterModificationHistory
+type DescribeParameterModificationHistoryResponse struct {
+	*responses.BaseResponse
+	RequestId            string               `json:"RequestId" xml:"RequestId"`
+	HistoricalParameters HistoricalParameters `json:"HistoricalParameters" xml:"HistoricalParameters"`
+}
+
+// CreateDescribeParameterModificationHistoryRequest creates a request to invoke DescribeParameterModificationHistory API
+func CreateDescribeParameterModificationHistoryRequest() (request *DescribeParameterModificationHistoryRequest) {
+	request = &DescribeParameterModificationHistoryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeParameterModificationHistory", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeParameterModificationHistoryResponse creates a response to parse from DescribeParameterModificationHistory response
+func CreateDescribeParameterModificationHistoryResponse() (response *DescribeParameterModificationHistoryResponse) {
+	response = &DescribeParameterModificationHistoryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/r-kvstore/describe_parameter_templates.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// DescribeParameterTemplates invokes the r_kvstore.DescribeParameterTemplates API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparametertemplates.html
+func (client *Client) DescribeParameterTemplates(request *DescribeParameterTemplatesRequest) (response *DescribeParameterTemplatesResponse, err error) {
+	response = CreateDescribeParameterTemplatesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeParameterTemplatesWithChan invokes the r_kvstore.DescribeParameterTemplates API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparametertemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeParameterTemplatesWithChan(request *DescribeParameterTemplatesRequest) (<-chan *DescribeParameterTemplatesResponse, <-chan error) {
+	responseChan := make(chan *DescribeParameterTemplatesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeParameterTemplates(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeParameterTemplatesWithCallback invokes the r_kvstore.DescribeParameterTemplates API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparametertemplates.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeParameterTemplatesWithCallback(request *DescribeParameterTemplatesRequest, callback func(response *DescribeParameterTemplatesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeParameterTemplatesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeParameterTemplates(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeParameterTemplatesRequest is the request struct for api DescribeParameterTemplates
+type DescribeParameterTemplatesRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Engine               string           `position:"Query" name:"Engine"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	EngineVersion        string           `position:"Query" name:"EngineVersion"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	CharacterType        string           `position:"Query" name:"CharacterType"`
+}
+
+// DescribeParameterTemplatesResponse is the response struct for api DescribeParameterTemplates
+type DescribeParameterTemplatesResponse struct {
+	*responses.BaseResponse
+	RequestId      string     `json:"RequestId" xml:"RequestId"`
+	Engine         string     `json:"Engine" xml:"Engine"`
+	EngineVersion  string     `json:"EngineVersion" xml:"EngineVersion"`
+	ParameterCount string     `json:"ParameterCount" xml:"ParameterCount"`
+	Parameters     Parameters `json:"Parameters" xml:"Parameters"`
+}
+
+// CreateDescribeParameterTemplatesRequest creates a request to invoke DescribeParameterTemplates API
+func CreateDescribeParameterTemplatesRequest() (request *DescribeParameterTemplatesRequest) {
+	request = &DescribeParameterTemplatesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeParameterTemplates", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeParameterTemplatesResponse creates a response to parse from DescribeParameterTemplates response
+func CreateDescribeParameterTemplatesResponse() (response *DescribeParameterTemplatesResponse) {
+	response = &DescribeParameterTemplatesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/r-kvstore/describe_parameters.go

@@ -0,0 +1,113 @@
+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"
+)
+
+// DescribeParameters invokes the r_kvstore.DescribeParameters API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparameters.html
+func (client *Client) DescribeParameters(request *DescribeParametersRequest) (response *DescribeParametersResponse, err error) {
+	response = CreateDescribeParametersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeParametersWithChan invokes the r_kvstore.DescribeParameters API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparameters.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeParametersWithChan(request *DescribeParametersRequest) (<-chan *DescribeParametersResponse, <-chan error) {
+	responseChan := make(chan *DescribeParametersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeParameters(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeParametersWithCallback invokes the r_kvstore.DescribeParameters API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/describeparameters.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeParametersWithCallback(request *DescribeParametersRequest, callback func(response *DescribeParametersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeParametersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeParameters(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeParametersRequest is the request struct for api DescribeParameters
+type DescribeParametersRequest 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"`
+	DBInstanceId         string           `position:"Query" name:"DBInstanceId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	NodeId               string           `position:"Query" name:"NodeId"`
+}
+
+// DescribeParametersResponse is the response struct for api DescribeParameters
+type DescribeParametersResponse struct {
+	*responses.BaseResponse
+	RequestId         string            `json:"RequestId" xml:"RequestId"`
+	Engine            string            `json:"Engine" xml:"Engine"`
+	EngineVersion     string            `json:"EngineVersion" xml:"EngineVersion"`
+	ConfigParameters  ConfigParameters  `json:"ConfigParameters" xml:"ConfigParameters"`
+	RunningParameters RunningParameters `json:"RunningParameters" xml:"RunningParameters"`
+}
+
+// CreateDescribeParametersRequest creates a request to invoke DescribeParameters API
+func CreateDescribeParametersRequest() (request *DescribeParametersRequest) {
+	request = &DescribeParametersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DescribeParameters", "redisa", "openAPI")
+	return
+}
+
+// CreateDescribeParametersResponse creates a response to parse from DescribeParameters response
+func CreateDescribeParametersResponse() (response *DescribeParametersResponse) {
+	response = &DescribeParametersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

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

@@ -79,6 +79,7 @@ type DescribeReplicasRequest struct {
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SecurityToken        string           `position:"Query" name:"SecurityToken"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	AttachDbInstanceData requests.Boolean `position:"Query" name:"AttachDbInstanceData"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	ReplicaId            string           `position:"Query" name:"ReplicaId"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`

+ 108 - 0
services/r-kvstore/destroy_instance.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DestroyInstance invokes the r_kvstore.DestroyInstance API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/destroyinstance.html
+func (client *Client) DestroyInstance(request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error) {
+	response = CreateDestroyInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DestroyInstanceWithChan invokes the r_kvstore.DestroyInstance API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/destroyinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DestroyInstanceWithChan(request *DestroyInstanceRequest) (<-chan *DestroyInstanceResponse, <-chan error) {
+	responseChan := make(chan *DestroyInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DestroyInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DestroyInstanceWithCallback invokes the r_kvstore.DestroyInstance API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/destroyinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DestroyInstanceWithCallback(request *DestroyInstanceRequest, callback func(response *DestroyInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DestroyInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.DestroyInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DestroyInstanceRequest is the request struct for api DestroyInstance
+type DestroyInstanceRequest 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"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DestroyInstanceResponse is the response struct for api DestroyInstance
+type DestroyInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDestroyInstanceRequest creates a request to invoke DestroyInstance API
+func CreateDestroyInstanceRequest() (request *DestroyInstanceRequest) {
+	request = &DestroyInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "DestroyInstance", "redisa", "openAPI")
+	return
+}
+
+// CreateDestroyInstanceResponse creates a response to parse from DestroyInstance response
+func CreateDestroyInstanceResponse() (response *DestroyInstanceResponse) {
+	response = &DestroyInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/r-kvstore/evaluate_fail_over_switch.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"
+)
+
+// EvaluateFailOverSwitch invokes the r_kvstore.EvaluateFailOverSwitch API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/evaluatefailoverswitch.html
+func (client *Client) EvaluateFailOverSwitch(request *EvaluateFailOverSwitchRequest) (response *EvaluateFailOverSwitchResponse, err error) {
+	response = CreateEvaluateFailOverSwitchResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// EvaluateFailOverSwitchWithChan invokes the r_kvstore.EvaluateFailOverSwitch API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/evaluatefailoverswitch.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EvaluateFailOverSwitchWithChan(request *EvaluateFailOverSwitchRequest) (<-chan *EvaluateFailOverSwitchResponse, <-chan error) {
+	responseChan := make(chan *EvaluateFailOverSwitchResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.EvaluateFailOverSwitch(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// EvaluateFailOverSwitchWithCallback invokes the r_kvstore.EvaluateFailOverSwitch API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/evaluatefailoverswitch.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EvaluateFailOverSwitchWithCallback(request *EvaluateFailOverSwitchRequest, callback func(response *EvaluateFailOverSwitchResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *EvaluateFailOverSwitchResponse
+		var err error
+		defer close(result)
+		response, err = client.EvaluateFailOverSwitch(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// EvaluateFailOverSwitchRequest is the request struct for api EvaluateFailOverSwitch
+type EvaluateFailOverSwitchRequest 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"`
+	ReplicaId            string           `position:"Query" name:"ReplicaId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// EvaluateFailOverSwitchResponse is the response struct for api EvaluateFailOverSwitch
+type EvaluateFailOverSwitchResponse struct {
+	*responses.BaseResponse
+	RequestId      string        `json:"RequestId" xml:"RequestId"`
+	ReplicaId      string        `json:"ReplicaId" xml:"ReplicaId"`
+	EvaluateResult string        `json:"EvaluateResult" xml:"EvaluateResult"`
+	Items          []ItemsItem   `json:"Items" xml:"Items"`
+	Reports        []ReportsItem `json:"Reports" xml:"Reports"`
+}
+
+// CreateEvaluateFailOverSwitchRequest creates a request to invoke EvaluateFailOverSwitch API
+func CreateEvaluateFailOverSwitchRequest() (request *EvaluateFailOverSwitchRequest) {
+	request = &EvaluateFailOverSwitchRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "EvaluateFailOverSwitch", "redisa", "openAPI")
+	return
+}
+
+// CreateEvaluateFailOverSwitchResponse creates a response to parse from EvaluateFailOverSwitch response
+func CreateEvaluateFailOverSwitchResponse() (response *EvaluateFailOverSwitchResponse) {
+	response = &EvaluateFailOverSwitchResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/grant_account_privilege.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"
+)
+
+// GrantAccountPrivilege invokes the r_kvstore.GrantAccountPrivilege API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/grantaccountprivilege.html
+func (client *Client) GrantAccountPrivilege(request *GrantAccountPrivilegeRequest) (response *GrantAccountPrivilegeResponse, err error) {
+	response = CreateGrantAccountPrivilegeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GrantAccountPrivilegeWithChan invokes the r_kvstore.GrantAccountPrivilege API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/grantaccountprivilege.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GrantAccountPrivilegeWithChan(request *GrantAccountPrivilegeRequest) (<-chan *GrantAccountPrivilegeResponse, <-chan error) {
+	responseChan := make(chan *GrantAccountPrivilegeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GrantAccountPrivilege(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GrantAccountPrivilegeWithCallback invokes the r_kvstore.GrantAccountPrivilege API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/grantaccountprivilege.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GrantAccountPrivilegeWithCallback(request *GrantAccountPrivilegeRequest, callback func(response *GrantAccountPrivilegeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GrantAccountPrivilegeResponse
+		var err error
+		defer close(result)
+		response, err = client.GrantAccountPrivilege(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GrantAccountPrivilegeRequest is the request struct for api GrantAccountPrivilege
+type GrantAccountPrivilegeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
+	AccountPrivilege     string           `position:"Query" name:"AccountPrivilege"`
+}
+
+// GrantAccountPrivilegeResponse is the response struct for api GrantAccountPrivilege
+type GrantAccountPrivilegeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateGrantAccountPrivilegeRequest creates a request to invoke GrantAccountPrivilege API
+func CreateGrantAccountPrivilegeRequest() (request *GrantAccountPrivilegeRequest) {
+	request = &GrantAccountPrivilegeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "GrantAccountPrivilege", "redisa", "openAPI")
+	return
+}
+
+// CreateGrantAccountPrivilegeResponse creates a response to parse from GrantAccountPrivilege response
+func CreateGrantAccountPrivilegeResponse() (response *GrantAccountPrivilegeResponse) {
+	response = &GrantAccountPrivilegeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/modify_account_description.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"
+)
+
+// ModifyAccountDescription invokes the r_kvstore.ModifyAccountDescription API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyaccountdescription.html
+func (client *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error) {
+	response = CreateModifyAccountDescriptionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyAccountDescriptionWithChan invokes the r_kvstore.ModifyAccountDescription API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyaccountdescription.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyAccountDescriptionWithChan(request *ModifyAccountDescriptionRequest) (<-chan *ModifyAccountDescriptionResponse, <-chan error) {
+	responseChan := make(chan *ModifyAccountDescriptionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyAccountDescription(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyAccountDescriptionWithCallback invokes the r_kvstore.ModifyAccountDescription API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifyaccountdescription.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyAccountDescriptionWithCallback(request *ModifyAccountDescriptionRequest, callback func(response *ModifyAccountDescriptionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyAccountDescriptionResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyAccountDescription(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyAccountDescriptionRequest is the request struct for api ModifyAccountDescription
+type ModifyAccountDescriptionRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
+	AccountDescription   string           `position:"Query" name:"AccountDescription"`
+}
+
+// ModifyAccountDescriptionResponse is the response struct for api ModifyAccountDescription
+type ModifyAccountDescriptionResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyAccountDescriptionRequest creates a request to invoke ModifyAccountDescription API
+func CreateModifyAccountDescriptionRequest() (request *ModifyAccountDescriptionRequest) {
+	request = &ModifyAccountDescriptionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ModifyAccountDescription", "redisa", "openAPI")
+	return
+}
+
+// CreateModifyAccountDescriptionResponse creates a response to parse from ModifyAccountDescription response
+func CreateModifyAccountDescriptionResponse() (response *ModifyAccountDescriptionResponse) {
+	response = &ModifyAccountDescriptionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/modify_db_instance_connection_string.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"
+)
+
+// ModifyDBInstanceConnectionString invokes the r_kvstore.ModifyDBInstanceConnectionString API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifydbinstanceconnectionstring.html
+func (client *Client) ModifyDBInstanceConnectionString(request *ModifyDBInstanceConnectionStringRequest) (response *ModifyDBInstanceConnectionStringResponse, err error) {
+	response = CreateModifyDBInstanceConnectionStringResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyDBInstanceConnectionStringWithChan invokes the r_kvstore.ModifyDBInstanceConnectionString API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifydbinstanceconnectionstring.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBInstanceConnectionStringWithChan(request *ModifyDBInstanceConnectionStringRequest) (<-chan *ModifyDBInstanceConnectionStringResponse, <-chan error) {
+	responseChan := make(chan *ModifyDBInstanceConnectionStringResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyDBInstanceConnectionString(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyDBInstanceConnectionStringWithCallback invokes the r_kvstore.ModifyDBInstanceConnectionString API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/modifydbinstanceconnectionstring.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyDBInstanceConnectionStringWithCallback(request *ModifyDBInstanceConnectionStringRequest, callback func(response *ModifyDBInstanceConnectionStringResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyDBInstanceConnectionStringResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyDBInstanceConnectionString(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyDBInstanceConnectionStringRequest is the request struct for api ModifyDBInstanceConnectionString
+type ModifyDBInstanceConnectionStringRequest 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"`
+	DBInstanceId            string           `position:"Query" name:"DBInstanceId"`
+	NewConnectionString     string           `position:"Query" name:"newConnectionString"`
+	OwnerId                 requests.Integer `position:"Query" name:"OwnerId"`
+	CurrentConnectionString string           `position:"Query" name:"currentConnectionString"`
+}
+
+// ModifyDBInstanceConnectionStringResponse is the response struct for api ModifyDBInstanceConnectionString
+type ModifyDBInstanceConnectionStringResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyDBInstanceConnectionStringRequest creates a request to invoke ModifyDBInstanceConnectionString API
+func CreateModifyDBInstanceConnectionStringRequest() (request *ModifyDBInstanceConnectionStringRequest) {
+	request = &ModifyDBInstanceConnectionStringRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ModifyDBInstanceConnectionString", "redisa", "openAPI")
+	return
+}
+
+// CreateModifyDBInstanceConnectionStringResponse creates a response to parse from ModifyDBInstanceConnectionString response
+func CreateModifyDBInstanceConnectionStringResponse() (response *ModifyDBInstanceConnectionStringResponse) {
+	response = &ModifyDBInstanceConnectionStringResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

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

@@ -76,6 +76,7 @@ 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"`

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

@@ -77,6 +77,7 @@ func (client *Client) ModifyInstanceSpecWithCallback(request *ModifyInstanceSpec
 type ModifyInstanceSpecRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	AutoPay              requests.Boolean `position:"Query" name:"AutoPay"`
 	FromApp              string           `position:"Query" name:"FromApp"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
@@ -85,6 +86,7 @@ type ModifyInstanceSpecRequest struct {
 	InstanceClass        string           `position:"Query" name:"InstanceClass"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
 	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	EffectiveTime        string           `position:"Query" name:"EffectiveTime"`
 	ForceUpgrade         requests.Boolean `position:"Query" name:"ForceUpgrade"`
 	BusinessInfo         string           `position:"Query" name:"BusinessInfo"`
 }

+ 110 - 0
services/r-kvstore/reset_account.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"
+)
+
+// ResetAccount invokes the r_kvstore.ResetAccount API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/resetaccount.html
+func (client *Client) ResetAccount(request *ResetAccountRequest) (response *ResetAccountResponse, err error) {
+	response = CreateResetAccountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ResetAccountWithChan invokes the r_kvstore.ResetAccount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/resetaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetAccountWithChan(request *ResetAccountRequest) (<-chan *ResetAccountResponse, <-chan error) {
+	responseChan := make(chan *ResetAccountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ResetAccount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ResetAccountWithCallback invokes the r_kvstore.ResetAccount API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/resetaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetAccountWithCallback(request *ResetAccountRequest, callback func(response *ResetAccountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ResetAccountResponse
+		var err error
+		defer close(result)
+		response, err = client.ResetAccount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ResetAccountRequest is the request struct for api ResetAccount
+type ResetAccountRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
+}
+
+// ResetAccountResponse is the response struct for api ResetAccount
+type ResetAccountResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateResetAccountRequest creates a request to invoke ResetAccount API
+func CreateResetAccountRequest() (request *ResetAccountRequest) {
+	request = &ResetAccountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ResetAccount", "redisa", "openAPI")
+	return
+}
+
+// CreateResetAccountResponse creates a response to parse from ResetAccount response
+func CreateResetAccountResponse() (response *ResetAccountResponse) {
+	response = &ResetAccountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/r-kvstore/reset_account_password.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"
+)
+
+// ResetAccountPassword invokes the r_kvstore.ResetAccountPassword API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/resetaccountpassword.html
+func (client *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error) {
+	response = CreateResetAccountPasswordResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ResetAccountPasswordWithChan invokes the r_kvstore.ResetAccountPassword API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/resetaccountpassword.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetAccountPasswordWithChan(request *ResetAccountPasswordRequest) (<-chan *ResetAccountPasswordResponse, <-chan error) {
+	responseChan := make(chan *ResetAccountPasswordResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ResetAccountPassword(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ResetAccountPasswordWithCallback invokes the r_kvstore.ResetAccountPassword API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/resetaccountpassword.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ResetAccountPasswordWithCallback(request *ResetAccountPasswordRequest, callback func(response *ResetAccountPasswordResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ResetAccountPasswordResponse
+		var err error
+		defer close(result)
+		response, err = client.ResetAccountPassword(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ResetAccountPasswordRequest is the request struct for api ResetAccountPassword
+type ResetAccountPasswordRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
+}
+
+// ResetAccountPasswordResponse is the response struct for api ResetAccountPassword
+type ResetAccountPasswordResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateResetAccountPasswordRequest creates a request to invoke ResetAccountPassword API
+func CreateResetAccountPasswordRequest() (request *ResetAccountPasswordRequest) {
+	request = &ResetAccountPasswordRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "ResetAccountPassword", "redisa", "openAPI")
+	return
+}
+
+// CreateResetAccountPasswordResponse creates a response to parse from ResetAccountPassword response
+func CreateResetAccountPasswordResponse() (response *ResetAccountPasswordResponse) {
+	response = &ResetAccountPasswordResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/r-kvstore/revoke_account_privilege.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"
+)
+
+// RevokeAccountPrivilege invokes the r_kvstore.RevokeAccountPrivilege API synchronously
+// api document: https://help.aliyun.com/api/r-kvstore/revokeaccountprivilege.html
+func (client *Client) RevokeAccountPrivilege(request *RevokeAccountPrivilegeRequest) (response *RevokeAccountPrivilegeResponse, err error) {
+	response = CreateRevokeAccountPrivilegeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RevokeAccountPrivilegeWithChan invokes the r_kvstore.RevokeAccountPrivilege API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/revokeaccountprivilege.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RevokeAccountPrivilegeWithChan(request *RevokeAccountPrivilegeRequest) (<-chan *RevokeAccountPrivilegeResponse, <-chan error) {
+	responseChan := make(chan *RevokeAccountPrivilegeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RevokeAccountPrivilege(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RevokeAccountPrivilegeWithCallback invokes the r_kvstore.RevokeAccountPrivilege API asynchronously
+// api document: https://help.aliyun.com/api/r-kvstore/revokeaccountprivilege.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RevokeAccountPrivilegeWithCallback(request *RevokeAccountPrivilegeRequest, callback func(response *RevokeAccountPrivilegeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RevokeAccountPrivilegeResponse
+		var err error
+		defer close(result)
+		response, err = client.RevokeAccountPrivilege(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RevokeAccountPrivilegeRequest is the request struct for api RevokeAccountPrivilege
+type RevokeAccountPrivilegeRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	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"`
+}
+
+// RevokeAccountPrivilegeResponse is the response struct for api RevokeAccountPrivilege
+type RevokeAccountPrivilegeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateRevokeAccountPrivilegeRequest creates a request to invoke RevokeAccountPrivilege API
+func CreateRevokeAccountPrivilegeRequest() (request *RevokeAccountPrivilegeRequest) {
+	request = &RevokeAccountPrivilegeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("R-kvstore", "2015-01-01", "RevokeAccountPrivilege", "redisa", "openAPI")
+	return
+}
+
+// CreateRevokeAccountPrivilegeResponse creates a response to parse from RevokeAccountPrivilege response
+func CreateRevokeAccountPrivilegeResponse() (response *RevokeAccountPrivilegeResponse) {
+	response = &RevokeAccountPrivilegeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 27 - 0
services/r-kvstore/struct_account.go

@@ -0,0 +1,27 @@
+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.
+
+// Account is a nested struct in r_kvstore response
+type Account struct {
+	InstanceId         int                `json:"InstanceId" xml:"InstanceId"`
+	AccountName        string             `json:"AccountName" xml:"AccountName"`
+	AccountStatus      string             `json:"AccountStatus" xml:"AccountStatus"`
+	AccountType        string             `json:"AccountType" xml:"AccountType"`
+	AccountDescription string             `json:"AccountDescription" xml:"AccountDescription"`
+	PrivExceeded       string             `json:"PrivExceeded" xml:"PrivExceeded"`
+	DatabasePrivileges DatabasePrivileges `json:"DatabasePrivileges" xml:"DatabasePrivileges"`
+}

+ 21 - 0
services/r-kvstore/struct_accounts_in_describe_accounts.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.
+
+// AccountsInDescribeAccounts is a nested struct in r_kvstore response
+type AccountsInDescribeAccounts struct {
+	Account []Account `json:"Account" xml:"Account"`
+}

+ 21 - 0
services/r-kvstore/struct_accounts_in_evaluate_fail_over_switch.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.
+
+// AccountsInEvaluateFailOverSwitch is a nested struct in r_kvstore response
+type AccountsInEvaluateFailOverSwitch struct {
+	AccountsItem []AccountsItem `json:"AccountsItem" xml:"AccountsItem"`
+}

+ 29 - 0
services/r-kvstore/struct_accounts_item.go

@@ -0,0 +1,29 @@
+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.
+
+// AccountsItem is a nested struct in r_kvstore response
+type AccountsItem struct {
+	AccountPrivilege       string `json:"AccountPrivilege" xml:"AccountPrivilege"`
+	AccountStatus          string `json:"AccountStatus" xml:"AccountStatus"`
+	AccountPrivilegeDetail string `json:"AccountPrivilegeDetail" xml:"AccountPrivilegeDetail"`
+	AccountDescription     string `json:"AccountDescription" xml:"AccountDescription"`
+	AccountID              string `json:"AccountID" xml:"AccountID"`
+	AccountName            string `json:"AccountName" xml:"AccountName"`
+	PrivExceeded           string `json:"PrivExceeded" xml:"PrivExceeded"`
+	Engine                 string `json:"Engine" xml:"Engine"`
+	AccountType            string `json:"AccountType" xml:"AccountType"`
+}

+ 21 - 0
services/r-kvstore/struct_config_parameters.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.
+
+// ConfigParameters is a nested struct in r_kvstore response
+type ConfigParameters struct {
+	Parameter []Parameter `json:"Parameter" xml:"Parameter"`
+}

+ 22 - 0
services/r-kvstore/struct_database_privilege.go

@@ -0,0 +1,22 @@
+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.
+
+// DatabasePrivilege is a nested struct in r_kvstore response
+type DatabasePrivilege struct {
+	AccountPrivilege       string `json:"AccountPrivilege" xml:"AccountPrivilege"`
+	AccountPrivilegeDetail string `json:"AccountPrivilegeDetail" xml:"AccountPrivilegeDetail"`
+}

+ 21 - 0
services/r-kvstore/struct_database_privileges.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.
+
+// DatabasePrivileges is a nested struct in r_kvstore response
+type DatabasePrivileges struct {
+	DatabasePrivilege []DatabasePrivilege `json:"DatabasePrivilege" xml:"DatabasePrivilege"`
+}

+ 4 - 1
services/r-kvstore/struct_db_instance_attribute.go

@@ -49,5 +49,8 @@ type DBInstanceAttribute struct {
 	InstanceType        string `json:"InstanceType" xml:"InstanceType"`
 	ArchitectureType    string `json:"ArchitectureType" xml:"ArchitectureType"`
 	PackageType         string `json:"PackageType" xml:"PackageType"`
-	ReplacateId         string `json:"ReplacateId" xml:"ReplacateId"`
+	ReplicaId           string `json:"ReplicaId" xml:"ReplicaId"`
+	VpcAuthMode         string `json:"VpcAuthMode" xml:"VpcAuthMode"`
+	ReplicationMode     string `json:"ReplicationMode" xml:"ReplicationMode"`
+	LuaStatus           string `json:"LuaStatus" xml:"LuaStatus"`
 }

+ 24 - 0
services/r-kvstore/struct_historical_parameter.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.
+
+// HistoricalParameter is a nested struct in r_kvstore response
+type HistoricalParameter struct {
+	ParameterName     string `json:"ParameterName" xml:"ParameterName"`
+	ModifyTime        string `json:"ModifyTime" xml:"ModifyTime"`
+	OldParameterValue string `json:"OldParameterValue" xml:"OldParameterValue"`
+	NewParameterValue string `json:"NewParameterValue" xml:"NewParameterValue"`
+}

+ 21 - 0
services/r-kvstore/struct_historical_parameters.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.
+
+// HistoricalParameters is a nested struct in r_kvstore response
+type HistoricalParameters struct {
+	HistoricalParameter []HistoricalParameter `json:"HistoricalParameter" xml:"HistoricalParameter"`
+}

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

@@ -17,13 +17,20 @@ package r_kvstore
 
 // Items is a nested struct in r_kvstore response
 type Items struct {
-	ReplicaMode        string  `json:"ReplicaMode" xml:"ReplicaMode"`
-	Role               string  `json:"Role" xml:"Role"`
-	ReadWriteType      string  `json:"ReadWriteType" xml:"ReadWriteType"`
-	DomainMode         string  `json:"DomainMode" xml:"DomainMode"`
-	ReplicaDescription string  `json:"ReplicaDescription" xml:"ReplicaDescription"`
-	DBInstanceId       string  `json:"DBInstanceId" xml:"DBInstanceId"`
-	ReplicaStatus      string  `json:"ReplicaStatus" xml:"ReplicaStatus"`
-	ReplicaId          string  `json:"ReplicaId" xml:"ReplicaId"`
-	DBInstances        []Items `json:"DBInstances" xml:"DBInstances"`
+	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"`
 }

+ 21 - 0
services/r-kvstore/struct_items_in_evaluate_fail_over_switch.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.
+
+// ItemsInEvaluateFailOverSwitch is a nested struct in r_kvstore response
+type ItemsInEvaluateFailOverSwitch struct {
+	ItemsItem []ItemsItem `json:"ItemsItem" xml:"ItemsItem"`
+}

+ 32 - 24
services/r-kvstore/struct_items_item.go

@@ -17,28 +17,36 @@ package r_kvstore
 
 // ItemsItem is a nested struct in r_kvstore response
 type ItemsItem struct {
-	Schema                string `json:"Schema" xml:"Schema"`
-	ConfictReason         string `json:"ConfictReason" xml:"ConfictReason"`
-	SourceDetail          string `json:"SourceDetail" xml:"SourceDetail"`
-	InconsistentFields    string `json:"InconsistentFields" xml:"InconsistentFields"`
-	InstanceIdA           string `json:"InstanceIdA" xml:"InstanceIdA"`
-	DestinationInstanceId string `json:"DestinationInstanceId" xml:"DestinationInstanceId"`
-	ConflictGtid          string `json:"ConflictGtid" xml:"ConflictGtid"`
-	DestinationDetail     string `json:"DestinationDetail" xml:"DestinationDetail"`
-	FinishTime            string `json:"FinishTime" xml:"FinishTime"`
-	OccurTime             string `json:"OccurTime" xml:"OccurTime"`
-	Key                   string `json:"Key" xml:"Key"`
-	Progress              string `json:"Progress" xml:"Progress"`
-	InstanceIdB           string `json:"InstanceIdB" xml:"InstanceIdB"`
-	CurrentStep           string `json:"CurrentStep" xml:"CurrentStep"`
-	SourceInstanceId      string `json:"SourceInstanceId" xml:"SourceInstanceId"`
-	RecoveryMode          string `json:"RecoveryMode" xml:"RecoveryMode"`
-	AbnormalType          string `json:"AbnormalType" xml:"AbnormalType"`
-	InconsistentType      string `json:"InconsistentType" xml:"InconsistentType"`
-	ConfictKey            string `json:"ConfictKey" xml:"ConfictKey"`
-	KeyType               string `json:"KeyType" xml:"KeyType"`
-	Status                string `json:"Status" xml:"Status"`
-	DatabaseName          string `json:"DatabaseName" xml:"DatabaseName"`
-	ReplicaId             string `json:"ReplicaId" xml:"ReplicaId"`
-	DetailInfo            string `json:"DetailInfo" xml:"DetailInfo"`
+	InternetIP            string         `json:"InternetIP" xml:"InternetIP"`
+	ConfictReason         string         `json:"ConfictReason" xml:"ConfictReason"`
+	SourceDetail          string         `json:"SourceDetail" xml:"SourceDetail"`
+	InconsistentFields    string         `json:"InconsistentFields" xml:"InconsistentFields"`
+	InstanceIdA           string         `json:"InstanceIdA" xml:"InstanceIdA"`
+	ConflictGtid          string         `json:"ConflictGtid" xml:"ConflictGtid"`
+	DestinationDetail     string         `json:"DestinationDetail" xml:"DestinationDetail"`
+	Key                   string         `json:"Key" xml:"Key"`
+	RegionId              string         `json:"RegionId" xml:"RegionId"`
+	InstanceNetworkType   string         `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
+	RecoveryMode          string         `json:"RecoveryMode" xml:"RecoveryMode"`
+	AbnormalType          string         `json:"AbnormalType" xml:"AbnormalType"`
+	DBInstanceId          string         `json:"DBInstanceId" xml:"DBInstanceId"`
+	DatabaseName          string         `json:"DatabaseName" xml:"DatabaseName"`
+	SecurityIPList        string         `json:"SecurityIPList" xml:"SecurityIPList"`
+	DetailInfo            string         `json:"DetailInfo" xml:"DetailInfo"`
+	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"`
+	OccurTime             string         `json:"OccurTime" xml:"OccurTime"`
+	Progress              string         `json:"Progress" xml:"Progress"`
+	InstanceIdB           string         `json:"InstanceIdB" xml:"InstanceIdB"`
+	CurrentStep           string         `json:"CurrentStep" xml:"CurrentStep"`
+	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"`
+	Accounts              []AccountsItem `json:"Accounts" xml:"Accounts"`
 }

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

@@ -24,6 +24,7 @@ type KVStoreInstance struct {
 	CreateTime          string `json:"CreateTime" xml:"CreateTime"`
 	HasRenewChangeOrder string `json:"HasRenewChangeOrder" xml:"HasRenewChangeOrder"`
 	InstanceType        string `json:"InstanceType" xml:"InstanceType"`
+	DestroyTime         string `json:"DestroyTime" xml:"DestroyTime"`
 	RegionId            string `json:"RegionId" xml:"RegionId"`
 	PrivateIp           string `json:"PrivateIp" xml:"PrivateIp"`
 	InstanceId          string `json:"InstanceId" xml:"InstanceId"`

+ 26 - 0
services/r-kvstore/struct_parameter.go

@@ -0,0 +1,26 @@
+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.
+
+// Parameter is a nested struct in r_kvstore response
+type Parameter struct {
+	ParameterName        string `json:"ParameterName" xml:"ParameterName"`
+	ModifiableStatus     bool   `json:"ModifiableStatus" xml:"ModifiableStatus"`
+	ParameterDescription string `json:"ParameterDescription" xml:"ParameterDescription"`
+	CheckingCode         string `json:"CheckingCode" xml:"CheckingCode"`
+	ForceRestart         bool   `json:"ForceRestart" xml:"ForceRestart"`
+	ParameterValue       string `json:"ParameterValue" xml:"ParameterValue"`
+}

+ 26 - 0
services/r-kvstore/struct_parameter_in_describe_parameters.go

@@ -0,0 +1,26 @@
+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.
+
+// ParameterInDescribeParameters is a nested struct in r_kvstore response
+type ParameterInDescribeParameters struct {
+	ParameterName        string `json:"ParameterName" xml:"ParameterName"`
+	ParameterValue       string `json:"ParameterValue" xml:"ParameterValue"`
+	ModifiableStatus     string `json:"ModifiableStatus" xml:"ModifiableStatus"`
+	ForceRestart         string `json:"ForceRestart" xml:"ForceRestart"`
+	CheckingCode         string `json:"CheckingCode" xml:"CheckingCode"`
+	ParameterDescription string `json:"ParameterDescription" xml:"ParameterDescription"`
+}

+ 21 - 0
services/r-kvstore/struct_parameters.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.
+
+// Parameters is a nested struct in r_kvstore response
+type Parameters struct {
+	TemplateRecord []TemplateRecord `json:"TemplateRecord" xml:"TemplateRecord"`
+}

+ 21 - 0
services/r-kvstore/struct_reports.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.
+
+// Reports is a nested struct in r_kvstore response
+type Reports struct {
+	ReportsItem []ReportsItem `json:"ReportsItem" xml:"ReportsItem"`
+}

+ 24 - 0
services/r-kvstore/struct_reports_item.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.
+
+// ReportsItem is a nested struct in r_kvstore response
+type ReportsItem struct {
+	CheckType     string `json:"CheckType" xml:"CheckType"`
+	Severity      string `json:"Severity" xml:"Severity"`
+	ReasonCode    string `json:"ReasonCode" xml:"ReasonCode"`
+	ReasonMessage string `json:"ReasonMessage" xml:"ReasonMessage"`
+}

+ 21 - 0
services/r-kvstore/struct_running_parameters.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.
+
+// RunningParameters is a nested struct in r_kvstore response
+type RunningParameters struct {
+	Parameter []ParameterInDescribeParameters `json:"Parameter" xml:"Parameter"`
+}

+ 26 - 0
services/r-kvstore/struct_template_record.go

@@ -0,0 +1,26 @@
+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.
+
+// TemplateRecord is a nested struct in r_kvstore response
+type TemplateRecord struct {
+	ParameterName        string `json:"ParameterName" xml:"ParameterName"`
+	ParameterValue       string `json:"ParameterValue" xml:"ParameterValue"`
+	ForceModify          bool   `json:"ForceModify" xml:"ForceModify"`
+	ForceRestart         bool   `json:"ForceRestart" xml:"ForceRestart"`
+	CheckingCode         string `json:"CheckingCode" xml:"CheckingCode"`
+	ParameterDescription string `json:"ParameterDescription" xml:"ParameterDescription"`
+}