Browse Source

Add describeRegions.

sdk-team 6 years ago
parent
commit
7a80787513
68 changed files with 2149 additions and 37 deletions
  1. 4 0
      ChangeLog.txt
  2. 106 0
      services/elasticsearch/activate_zones.go
  3. 3 2
      services/elasticsearch/cancel_task.go
  4. 106 0
      services/elasticsearch/close_https.go
  5. 1 0
      services/elasticsearch/create_project.go
  6. 106 0
      services/elasticsearch/deactivate_zones.go
  7. 2 1
      services/elasticsearch/delete_instance.go
  8. 2 1
      services/elasticsearch/delete_project.go
  9. 107 0
      services/elasticsearch/describe_elasticsearch_health.go
  10. 105 0
      services/elasticsearch/describe_kibana_settings.go
  11. 106 0
      services/elasticsearch/install_kibana_system_plugin.go
  12. 2 1
      services/elasticsearch/install_system_plugin.go
  13. 105 0
      services/elasticsearch/install_user_plugins.go
  14. 108 0
      services/elasticsearch/list_kibana_plugins.go
  15. 2 1
      services/elasticsearch/move_resource_group.go
  16. 106 0
      services/elasticsearch/open_https.go
  17. 3 1
      services/elasticsearch/restart_instance.go
  18. 106 0
      services/elasticsearch/rollback_instance.go
  19. 3 2
      services/elasticsearch/shrink_node.go
  20. 22 0
      services/elasticsearch/struct_amount_range.go
  21. 22 0
      services/elasticsearch/struct_client_node_amount_range.go
  22. 21 0
      services/elasticsearch/struct_client_node_disk_list.go
  23. 21 0
      services/elasticsearch/struct_client_node_spec.go
  24. 1 1
      services/elasticsearch/struct_dict_list.go
  25. 1 1
      services/elasticsearch/struct_dict_list_item.go
  26. 25 0
      services/elasticsearch/struct_disk.go
  27. 21 0
      services/elasticsearch/struct_disk_list.go
  28. 23 0
      services/elasticsearch/struct_jvm_confine.go
  29. 22 0
      services/elasticsearch/struct_kibana_node_properties.go
  30. 21 0
      services/elasticsearch/struct_master_disk_list.go
  31. 21 0
      services/elasticsearch/struct_master_spec.go
  32. 25 0
      services/elasticsearch/struct_plugin_item.go
  33. 10 2
      services/elasticsearch/struct_result.go
  34. 4 0
      services/elasticsearch/struct_result_in_describe_instance.go
  35. 21 0
      services/elasticsearch/struct_result_in_install_kibana_system_plugin.go
  36. 21 0
      services/elasticsearch/struct_result_in_install_user_plugins.go
  37. 21 0
      services/elasticsearch/struct_result_in_list_kibana_plugins.go
  38. 21 0
      services/elasticsearch/struct_result_in_uninstall_kibana_plugin.go
  39. 21 0
      services/elasticsearch/struct_result_in_update_aliws_dict.go
  40. 9 5
      services/elasticsearch/struct_result_item.go
  41. 21 0
      services/elasticsearch/struct_spec_in_get_region_configuration.go
  42. 21 0
      services/elasticsearch/struct_support_es_versions.go
  43. 21 0
      services/elasticsearch/struct_support_gcs.go
  44. 1 1
      services/elasticsearch/struct_synonyms_dicts.go
  45. 1 1
      services/elasticsearch/struct_synonyms_dicts_item.go
  46. 2 2
      services/elasticsearch/struct_value_limit_set_in_get_region_configuration.go
  47. 23 0
      services/elasticsearch/struct_warm_node_properties.go
  48. 22 0
      services/elasticsearch/struct_zone_info.go
  49. 21 0
      services/elasticsearch/struct_zone_infos.go
  50. 3 2
      services/elasticsearch/transfer_node.go
  51. 106 0
      services/elasticsearch/trigger_network.go
  52. 106 0
      services/elasticsearch/uninstall_kibana_plugin.go
  53. 2 1
      services/elasticsearch/uninstall_plugin.go
  54. 2 1
      services/elasticsearch/update_admin_password.go
  55. 106 0
      services/elasticsearch/update_advanced_setting.go
  56. 106 0
      services/elasticsearch/update_aliws_dict.go
  57. 2 1
      services/elasticsearch/update_black_ips.go
  58. 2 1
      services/elasticsearch/update_description.go
  59. 2 1
      services/elasticsearch/update_dict.go
  60. 2 1
      services/elasticsearch/update_hot_ik_dicts.go
  61. 2 1
      services/elasticsearch/update_instance_settings.go
  62. 106 0
      services/elasticsearch/update_kibana_settings.go
  63. 2 1
      services/elasticsearch/update_kibana_white_ips.go
  64. 2 1
      services/elasticsearch/update_private_network_white_ips.go
  65. 2 1
      services/elasticsearch/update_public_network.go
  66. 2 1
      services/elasticsearch/update_public_white_ips.go
  67. 2 1
      services/elasticsearch/update_synonyms_dicts.go
  68. 2 1
      services/elasticsearch/update_white_ips.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-08-30 Version: 1.60.132
+- Add describeRegions.
+- Add toen.
+
 2019-08-30 Version: 1.60.131
 - Revert to 2015-09-01.
 

+ 106 - 0
services/elasticsearch/activate_zones.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// ActivateZones invokes the elasticsearch.ActivateZones API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/activatezones.html
+func (client *Client) ActivateZones(request *ActivateZonesRequest) (response *ActivateZonesResponse, err error) {
+	response = CreateActivateZonesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ActivateZonesWithChan invokes the elasticsearch.ActivateZones API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/activatezones.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ActivateZonesWithChan(request *ActivateZonesRequest) (<-chan *ActivateZonesResponse, <-chan error) {
+	responseChan := make(chan *ActivateZonesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ActivateZones(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ActivateZonesWithCallback invokes the elasticsearch.ActivateZones API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/activatezones.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ActivateZonesWithCallback(request *ActivateZonesRequest, callback func(response *ActivateZonesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ActivateZonesResponse
+		var err error
+		defer close(result)
+		response, err = client.ActivateZones(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ActivateZonesRequest is the request struct for api ActivateZones
+type ActivateZonesRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// ActivateZonesResponse is the response struct for api ActivateZones
+type ActivateZonesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateActivateZonesRequest creates a request to invoke ActivateZones API
+func CreateActivateZonesRequest() (request *ActivateZonesRequest) {
+	request = &ActivateZonesRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "ActivateZones", "/openapi/instances/[InstanceId]/actions/recover-zones", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateActivateZonesResponse creates a response to parse from ActivateZones response
+func CreateActivateZonesResponse() (response *ActivateZonesResponse) {
+	response = &ActivateZonesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 2
services/elasticsearch/cancel_task.go

@@ -76,8 +76,9 @@ func (client *Client) CancelTaskWithCallback(request *CancelTaskRequest, callbac
 // CancelTaskRequest is the request struct for api CancelTask
 type CancelTaskRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
-	TaskType   string `position:"Query" name:"taskType"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	TaskType    string `position:"Query" name:"taskType"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // CancelTaskResponse is the response struct for api CancelTask

+ 106 - 0
services/elasticsearch/close_https.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// CloseHttps invokes the elasticsearch.CloseHttps API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/closehttps.html
+func (client *Client) CloseHttps(request *CloseHttpsRequest) (response *CloseHttpsResponse, err error) {
+	response = CreateCloseHttpsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CloseHttpsWithChan invokes the elasticsearch.CloseHttps API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/closehttps.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CloseHttpsWithChan(request *CloseHttpsRequest) (<-chan *CloseHttpsResponse, <-chan error) {
+	responseChan := make(chan *CloseHttpsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CloseHttps(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CloseHttpsWithCallback invokes the elasticsearch.CloseHttps API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/closehttps.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CloseHttpsWithCallback(request *CloseHttpsRequest, callback func(response *CloseHttpsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CloseHttpsResponse
+		var err error
+		defer close(result)
+		response, err = client.CloseHttps(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CloseHttpsRequest is the request struct for api CloseHttps
+type CloseHttpsRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// CloseHttpsResponse is the response struct for api CloseHttps
+type CloseHttpsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateCloseHttpsRequest creates a request to invoke CloseHttps API
+func CreateCloseHttpsRequest() (request *CloseHttpsRequest) {
+	request = &CloseHttpsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "CloseHttps", "/openapi/instances/[InstanceId]/actions/close-https", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateCloseHttpsResponse creates a response to parse from CloseHttps response
+func CreateCloseHttpsResponse() (response *CloseHttpsResponse) {
+	response = &CloseHttpsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/elasticsearch/create_project.go

@@ -76,6 +76,7 @@ func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, c
 // CreateProjectRequest is the request struct for api CreateProject
 type CreateProjectRequest struct {
 	*requests.RoaRequest
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // CreateProjectResponse is the response struct for api CreateProject

+ 106 - 0
services/elasticsearch/deactivate_zones.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// DeactivateZones invokes the elasticsearch.DeactivateZones API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/deactivatezones.html
+func (client *Client) DeactivateZones(request *DeactivateZonesRequest) (response *DeactivateZonesResponse, err error) {
+	response = CreateDeactivateZonesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeactivateZonesWithChan invokes the elasticsearch.DeactivateZones API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/deactivatezones.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeactivateZonesWithChan(request *DeactivateZonesRequest) (<-chan *DeactivateZonesResponse, <-chan error) {
+	responseChan := make(chan *DeactivateZonesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeactivateZones(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeactivateZonesWithCallback invokes the elasticsearch.DeactivateZones API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/deactivatezones.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeactivateZonesWithCallback(request *DeactivateZonesRequest, callback func(response *DeactivateZonesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeactivateZonesResponse
+		var err error
+		defer close(result)
+		response, err = client.DeactivateZones(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeactivateZonesRequest is the request struct for api DeactivateZones
+type DeactivateZonesRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// DeactivateZonesResponse is the response struct for api DeactivateZones
+type DeactivateZonesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateDeactivateZonesRequest creates a request to invoke DeactivateZones API
+func CreateDeactivateZonesRequest() (request *DeactivateZonesRequest) {
+	request = &DeactivateZonesRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "DeactivateZones", "/openapi/instances/[InstanceId]/actions/down-zones", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateDeactivateZonesResponse creates a response to parse from DeactivateZones response
+func CreateDeactivateZonesResponse() (response *DeactivateZonesResponse) {
+	response = &DeactivateZonesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 1
services/elasticsearch/delete_instance.go

@@ -76,7 +76,8 @@ func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest,
 // DeleteInstanceRequest is the request struct for api DeleteInstance
 type DeleteInstanceRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // DeleteInstanceResponse is the response struct for api DeleteInstance

+ 2 - 1
services/elasticsearch/delete_project.go

@@ -76,7 +76,8 @@ func (client *Client) DeleteProjectWithCallback(request *DeleteProjectRequest, c
 // DeleteProjectRequest is the request struct for api DeleteProject
 type DeleteProjectRequest struct {
 	*requests.RoaRequest
-	Id string `position:"Path" name:"Id"`
+	ClientToken string `position:"Query" name:"clientToken"`
+	Id          string `position:"Path" name:"Id"`
 }
 
 // DeleteProjectResponse is the response struct for api DeleteProject

+ 107 - 0
services/elasticsearch/describe_elasticsearch_health.go

@@ -0,0 +1,107 @@
+package elasticsearch
+
+//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"
+)
+
+// DescribeElasticsearchHealth invokes the elasticsearch.DescribeElasticsearchHealth API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/describeelasticsearchhealth.html
+func (client *Client) DescribeElasticsearchHealth(request *DescribeElasticsearchHealthRequest) (response *DescribeElasticsearchHealthResponse, err error) {
+	response = CreateDescribeElasticsearchHealthResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeElasticsearchHealthWithChan invokes the elasticsearch.DescribeElasticsearchHealth API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/describeelasticsearchhealth.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeElasticsearchHealthWithChan(request *DescribeElasticsearchHealthRequest) (<-chan *DescribeElasticsearchHealthResponse, <-chan error) {
+	responseChan := make(chan *DescribeElasticsearchHealthResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeElasticsearchHealth(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeElasticsearchHealthWithCallback invokes the elasticsearch.DescribeElasticsearchHealth API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/describeelasticsearchhealth.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeElasticsearchHealthWithCallback(request *DescribeElasticsearchHealthRequest, callback func(response *DescribeElasticsearchHealthResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeElasticsearchHealthResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeElasticsearchHealth(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeElasticsearchHealthRequest is the request struct for api DescribeElasticsearchHealth
+type DescribeElasticsearchHealthRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// DescribeElasticsearchHealthResponse is the response struct for api DescribeElasticsearchHealth
+type DescribeElasticsearchHealthResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeElasticsearchHealthRequest creates a request to invoke DescribeElasticsearchHealth API
+func CreateDescribeElasticsearchHealthRequest() (request *DescribeElasticsearchHealthRequest) {
+	request = &DescribeElasticsearchHealthRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "DescribeElasticsearchHealth", "/openapi/instances/[InstanceId]/elasticsearch-health", "elasticsearch", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateDescribeElasticsearchHealthResponse creates a response to parse from DescribeElasticsearchHealth response
+func CreateDescribeElasticsearchHealthResponse() (response *DescribeElasticsearchHealthResponse) {
+	response = &DescribeElasticsearchHealthResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/elasticsearch/describe_kibana_settings.go

@@ -0,0 +1,105 @@
+package elasticsearch
+
+//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"
+)
+
+// DescribeKibanaSettings invokes the elasticsearch.DescribeKibanaSettings API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/describekibanasettings.html
+func (client *Client) DescribeKibanaSettings(request *DescribeKibanaSettingsRequest) (response *DescribeKibanaSettingsResponse, err error) {
+	response = CreateDescribeKibanaSettingsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeKibanaSettingsWithChan invokes the elasticsearch.DescribeKibanaSettings API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/describekibanasettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeKibanaSettingsWithChan(request *DescribeKibanaSettingsRequest) (<-chan *DescribeKibanaSettingsResponse, <-chan error) {
+	responseChan := make(chan *DescribeKibanaSettingsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeKibanaSettings(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeKibanaSettingsWithCallback invokes the elasticsearch.DescribeKibanaSettings API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/describekibanasettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeKibanaSettingsWithCallback(request *DescribeKibanaSettingsRequest, callback func(response *DescribeKibanaSettingsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeKibanaSettingsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeKibanaSettings(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeKibanaSettingsRequest is the request struct for api DescribeKibanaSettings
+type DescribeKibanaSettingsRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// DescribeKibanaSettingsResponse is the response struct for api DescribeKibanaSettings
+type DescribeKibanaSettingsResponse struct {
+	*responses.BaseResponse
+	RequestId string                 `json:"RequestId" xml:"RequestId"`
+	Result    map[string]interface{} `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeKibanaSettingsRequest creates a request to invoke DescribeKibanaSettings API
+func CreateDescribeKibanaSettingsRequest() (request *DescribeKibanaSettingsRequest) {
+	request = &DescribeKibanaSettingsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "DescribeKibanaSettings", "/openapi/instances/[InstanceId]/kibana-settings", "elasticsearch", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateDescribeKibanaSettingsResponse creates a response to parse from DescribeKibanaSettings response
+func CreateDescribeKibanaSettingsResponse() (response *DescribeKibanaSettingsResponse) {
+	response = &DescribeKibanaSettingsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/elasticsearch/install_kibana_system_plugin.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// InstallKibanaSystemPlugin invokes the elasticsearch.InstallKibanaSystemPlugin API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/installkibanasystemplugin.html
+func (client *Client) InstallKibanaSystemPlugin(request *InstallKibanaSystemPluginRequest) (response *InstallKibanaSystemPluginResponse, err error) {
+	response = CreateInstallKibanaSystemPluginResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InstallKibanaSystemPluginWithChan invokes the elasticsearch.InstallKibanaSystemPlugin API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/installkibanasystemplugin.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallKibanaSystemPluginWithChan(request *InstallKibanaSystemPluginRequest) (<-chan *InstallKibanaSystemPluginResponse, <-chan error) {
+	responseChan := make(chan *InstallKibanaSystemPluginResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InstallKibanaSystemPlugin(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InstallKibanaSystemPluginWithCallback invokes the elasticsearch.InstallKibanaSystemPlugin API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/installkibanasystemplugin.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallKibanaSystemPluginWithCallback(request *InstallKibanaSystemPluginRequest, callback func(response *InstallKibanaSystemPluginResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InstallKibanaSystemPluginResponse
+		var err error
+		defer close(result)
+		response, err = client.InstallKibanaSystemPlugin(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InstallKibanaSystemPluginRequest is the request struct for api InstallKibanaSystemPlugin
+type InstallKibanaSystemPluginRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// InstallKibanaSystemPluginResponse is the response struct for api InstallKibanaSystemPlugin
+type InstallKibanaSystemPluginResponse struct {
+	*responses.BaseResponse
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Result    []string `json:"Result" xml:"Result"`
+}
+
+// CreateInstallKibanaSystemPluginRequest creates a request to invoke InstallKibanaSystemPlugin API
+func CreateInstallKibanaSystemPluginRequest() (request *InstallKibanaSystemPluginRequest) {
+	request = &InstallKibanaSystemPluginRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "InstallKibanaSystemPlugin", "/openapi/instances/[InstanceId]/kibana-plugins/system/actions/install", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateInstallKibanaSystemPluginResponse creates a response to parse from InstallKibanaSystemPlugin response
+func CreateInstallKibanaSystemPluginResponse() (response *InstallKibanaSystemPluginResponse) {
+	response = &InstallKibanaSystemPluginResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 1
services/elasticsearch/install_system_plugin.go

@@ -76,7 +76,8 @@ func (client *Client) InstallSystemPluginWithCallback(request *InstallSystemPlug
 // InstallSystemPluginRequest is the request struct for api InstallSystemPlugin
 type InstallSystemPluginRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // InstallSystemPluginResponse is the response struct for api InstallSystemPlugin

+ 105 - 0
services/elasticsearch/install_user_plugins.go

@@ -0,0 +1,105 @@
+package elasticsearch
+
+//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"
+)
+
+// InstallUserPlugins invokes the elasticsearch.InstallUserPlugins API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/installuserplugins.html
+func (client *Client) InstallUserPlugins(request *InstallUserPluginsRequest) (response *InstallUserPluginsResponse, err error) {
+	response = CreateInstallUserPluginsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InstallUserPluginsWithChan invokes the elasticsearch.InstallUserPlugins API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/installuserplugins.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallUserPluginsWithChan(request *InstallUserPluginsRequest) (<-chan *InstallUserPluginsResponse, <-chan error) {
+	responseChan := make(chan *InstallUserPluginsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InstallUserPlugins(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InstallUserPluginsWithCallback invokes the elasticsearch.InstallUserPlugins API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/installuserplugins.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallUserPluginsWithCallback(request *InstallUserPluginsRequest, callback func(response *InstallUserPluginsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InstallUserPluginsResponse
+		var err error
+		defer close(result)
+		response, err = client.InstallUserPlugins(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InstallUserPluginsRequest is the request struct for api InstallUserPlugins
+type InstallUserPluginsRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// InstallUserPluginsResponse is the response struct for api InstallUserPlugins
+type InstallUserPluginsResponse struct {
+	*responses.BaseResponse
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Result    []string `json:"Result" xml:"Result"`
+}
+
+// CreateInstallUserPluginsRequest creates a request to invoke InstallUserPlugins API
+func CreateInstallUserPluginsRequest() (request *InstallUserPluginsRequest) {
+	request = &InstallUserPluginsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "InstallUserPlugins", "/openapi/instances/[InstanceId]/plugins/user/actions/install", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateInstallUserPluginsResponse creates a response to parse from InstallUserPlugins response
+func CreateInstallUserPluginsResponse() (response *InstallUserPluginsResponse) {
+	response = &InstallUserPluginsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/elasticsearch/list_kibana_plugins.go

@@ -0,0 +1,108 @@
+package elasticsearch
+
+//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"
+)
+
+// ListKibanaPlugins invokes the elasticsearch.ListKibanaPlugins API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/listkibanaplugins.html
+func (client *Client) ListKibanaPlugins(request *ListKibanaPluginsRequest) (response *ListKibanaPluginsResponse, err error) {
+	response = CreateListKibanaPluginsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListKibanaPluginsWithChan invokes the elasticsearch.ListKibanaPlugins API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/listkibanaplugins.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListKibanaPluginsWithChan(request *ListKibanaPluginsRequest) (<-chan *ListKibanaPluginsResponse, <-chan error) {
+	responseChan := make(chan *ListKibanaPluginsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListKibanaPlugins(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListKibanaPluginsWithCallback invokes the elasticsearch.ListKibanaPlugins API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/listkibanaplugins.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListKibanaPluginsWithCallback(request *ListKibanaPluginsRequest, callback func(response *ListKibanaPluginsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListKibanaPluginsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListKibanaPlugins(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListKibanaPluginsRequest is the request struct for api ListKibanaPlugins
+type ListKibanaPluginsRequest struct {
+	*requests.RoaRequest
+	InstanceId string           `position:"Path" name:"InstanceId"`
+	Size       requests.Integer `position:"Query" name:"size"`
+	Page       string           `position:"Query" name:"page"`
+}
+
+// ListKibanaPluginsResponse is the response struct for api ListKibanaPlugins
+type ListKibanaPluginsResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Headers   Headers      `json:"Headers" xml:"Headers"`
+	Result    []PluginItem `json:"Result" xml:"Result"`
+}
+
+// CreateListKibanaPluginsRequest creates a request to invoke ListKibanaPlugins API
+func CreateListKibanaPluginsRequest() (request *ListKibanaPluginsRequest) {
+	request = &ListKibanaPluginsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "ListKibanaPlugins", "/openapi/instances/[InstanceId]/kibana-plugins", "elasticsearch", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateListKibanaPluginsResponse creates a response to parse from ListKibanaPlugins response
+func CreateListKibanaPluginsResponse() (response *ListKibanaPluginsResponse) {
+	response = &ListKibanaPluginsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 1
services/elasticsearch/move_resource_group.go

@@ -76,7 +76,8 @@ func (client *Client) MoveResourceGroupWithCallback(request *MoveResourceGroupRe
 // MoveResourceGroupRequest is the request struct for api MoveResourceGroup
 type MoveResourceGroupRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // MoveResourceGroupResponse is the response struct for api MoveResourceGroup

+ 106 - 0
services/elasticsearch/open_https.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// OpenHttps invokes the elasticsearch.OpenHttps API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/openhttps.html
+func (client *Client) OpenHttps(request *OpenHttpsRequest) (response *OpenHttpsResponse, err error) {
+	response = CreateOpenHttpsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// OpenHttpsWithChan invokes the elasticsearch.OpenHttps API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/openhttps.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) OpenHttpsWithChan(request *OpenHttpsRequest) (<-chan *OpenHttpsResponse, <-chan error) {
+	responseChan := make(chan *OpenHttpsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.OpenHttps(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// OpenHttpsWithCallback invokes the elasticsearch.OpenHttps API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/openhttps.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) OpenHttpsWithCallback(request *OpenHttpsRequest, callback func(response *OpenHttpsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *OpenHttpsResponse
+		var err error
+		defer close(result)
+		response, err = client.OpenHttps(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// OpenHttpsRequest is the request struct for api OpenHttps
+type OpenHttpsRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// OpenHttpsResponse is the response struct for api OpenHttps
+type OpenHttpsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateOpenHttpsRequest creates a request to invoke OpenHttps API
+func CreateOpenHttpsRequest() (request *OpenHttpsRequest) {
+	request = &OpenHttpsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "OpenHttps", "/openapi/instances/[InstanceId]/actions/open-https", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateOpenHttpsResponse creates a response to parse from OpenHttps response
+func CreateOpenHttpsResponse() (response *OpenHttpsResponse) {
+	response = &OpenHttpsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 1
services/elasticsearch/restart_instance.go

@@ -76,7 +76,9 @@ func (client *Client) RestartInstanceWithCallback(request *RestartInstanceReques
 // RestartInstanceRequest is the request struct for api RestartInstance
 type RestartInstanceRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string           `position:"Path" name:"InstanceId"`
+	ClientToken string           `position:"Query" name:"clientToken"`
+	Force       requests.Boolean `position:"Query" name:"force"`
 }
 
 // RestartInstanceResponse is the response struct for api RestartInstance

+ 106 - 0
services/elasticsearch/rollback_instance.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// RollbackInstance invokes the elasticsearch.RollbackInstance API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/rollbackinstance.html
+func (client *Client) RollbackInstance(request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error) {
+	response = CreateRollbackInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RollbackInstanceWithChan invokes the elasticsearch.RollbackInstance API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/rollbackinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RollbackInstanceWithChan(request *RollbackInstanceRequest) (<-chan *RollbackInstanceResponse, <-chan error) {
+	responseChan := make(chan *RollbackInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RollbackInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RollbackInstanceWithCallback invokes the elasticsearch.RollbackInstance API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/rollbackinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RollbackInstanceWithCallback(request *RollbackInstanceRequest, callback func(response *RollbackInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RollbackInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.RollbackInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RollbackInstanceRequest is the request struct for api RollbackInstance
+type RollbackInstanceRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// RollbackInstanceResponse is the response struct for api RollbackInstance
+type RollbackInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateRollbackInstanceRequest creates a request to invoke RollbackInstance API
+func CreateRollbackInstanceRequest() (request *RollbackInstanceRequest) {
+	request = &RollbackInstanceRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "RollbackInstance", "/openapi/instances/[InstanceId]/actions/rollback", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateRollbackInstanceResponse creates a response to parse from RollbackInstance response
+func CreateRollbackInstanceResponse() (response *RollbackInstanceResponse) {
+	response = &RollbackInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 2
services/elasticsearch/shrink_node.go

@@ -76,8 +76,9 @@ func (client *Client) ShrinkNodeWithCallback(request *ShrinkNodeRequest, callbac
 // ShrinkNodeRequest is the request struct for api ShrinkNode
 type ShrinkNodeRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
-	NodeType   string `position:"Query" name:"nodeType"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	NodeType    string `position:"Query" name:"nodeType"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // ShrinkNodeResponse is the response struct for api ShrinkNode

+ 22 - 0
services/elasticsearch/struct_amount_range.go

@@ -0,0 +1,22 @@
+package elasticsearch
+
+//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.
+
+// AmountRange is a nested struct in elasticsearch response
+type AmountRange struct {
+	MinAmount int `json:"minAmount" xml:"minAmount"`
+	MaxAmount int `json:"maxAmount" xml:"maxAmount"`
+}

+ 22 - 0
services/elasticsearch/struct_client_node_amount_range.go

@@ -0,0 +1,22 @@
+package elasticsearch
+
+//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.
+
+// ClientNodeAmountRange is a nested struct in elasticsearch response
+type ClientNodeAmountRange struct {
+	MinAmount int `json:"minAmount" xml:"minAmount"`
+	MaxAmount int `json:"maxAmount" xml:"maxAmount"`
+}

+ 21 - 0
services/elasticsearch/struct_client_node_disk_list.go

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

+ 21 - 0
services/elasticsearch/struct_client_node_spec.go

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

+ 1 - 1
services/elasticsearch/struct_dict_list.go

@@ -18,7 +18,7 @@ package elasticsearch
 // DictList is a nested struct in elasticsearch response
 type DictList struct {
 	Type       string    `json:"type" xml:"type"`
-	FileSize   int       `json:"fileSize" xml:"fileSize"`
+	FileSize   int64     `json:"fileSize" xml:"fileSize"`
 	SourceType string    `json:"sourceType" xml:"sourceType"`
 	Name       string    `json:"name" xml:"name"`
 	OssObject  OssObject `json:"ossObject" xml:"ossObject"`

+ 1 - 1
services/elasticsearch/struct_dict_list_item.go

@@ -18,7 +18,7 @@ package elasticsearch
 // DictListItem is a nested struct in elasticsearch response
 type DictListItem struct {
 	Name       string `json:"name" xml:"name"`
-	FileSize   int    `json:"fileSize" xml:"fileSize"`
+	FileSize   int64  `json:"fileSize" xml:"fileSize"`
 	Type       string `json:"type" xml:"type"`
 	SourceType string `json:"sourceType" xml:"sourceType"`
 }

+ 25 - 0
services/elasticsearch/struct_disk.go

@@ -0,0 +1,25 @@
+package elasticsearch
+
+//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.
+
+// Disk is a nested struct in elasticsearch response
+type Disk struct {
+	MaxSize       int      `json:"maxSize" xml:"maxSize"`
+	ScaleLimit    int      `json:"scaleLimit" xml:"scaleLimit"`
+	DiskType      string   `json:"diskType" xml:"diskType"`
+	MinSize       int      `json:"minSize" xml:"minSize"`
+	ValueLimitSet []string `json:"valueLimitSet" xml:"valueLimitSet"`
+}

+ 21 - 0
services/elasticsearch/struct_disk_list.go

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

+ 23 - 0
services/elasticsearch/struct_jvm_confine.go

@@ -0,0 +1,23 @@
+package elasticsearch
+
+//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.
+
+// JvmConfine is a nested struct in elasticsearch response
+type JvmConfine struct {
+	Memory            int      `json:"memory" xml:"memory"`
+	SupportGcs        []string `json:"supportGcs" xml:"supportGcs"`
+	SupportEsVersions []string `json:"supportEsVersions" xml:"supportEsVersions"`
+}

+ 22 - 0
services/elasticsearch/struct_kibana_node_properties.go

@@ -0,0 +1,22 @@
+package elasticsearch
+
+//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.
+
+// KibanaNodeProperties is a nested struct in elasticsearch response
+type KibanaNodeProperties struct {
+	Spec        []string    `json:"spec" xml:"spec"`
+	AmountRange AmountRange `json:"amountRange" xml:"amountRange"`
+}

+ 21 - 0
services/elasticsearch/struct_master_disk_list.go

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

+ 21 - 0
services/elasticsearch/struct_master_spec.go

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

+ 25 - 0
services/elasticsearch/struct_plugin_item.go

@@ -0,0 +1,25 @@
+package elasticsearch
+
+//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.
+
+// PluginItem is a nested struct in elasticsearch response
+type PluginItem struct {
+	Name             string `json:"name" xml:"name"`
+	State            string `json:"state" xml:"state"`
+	Source           string `json:"source" xml:"source"`
+	Description      string `json:"description" xml:"description"`
+	SpecificationUrl string `json:"specificationUrl" xml:"specificationUrl"`
+}

+ 10 - 2
services/elasticsearch/struct_result.go

@@ -41,17 +41,25 @@ type Result struct {
 	KibanaIPWhitelist         []string                   `json:"kibanaIPWhitelist" xml:"kibanaIPWhitelist"`
 	PublicIpWhitelist         []string                   `json:"publicIpWhitelist" xml:"publicIpWhitelist"`
 	EsIPBlacklist             []string                   `json:"esIPBlacklist" xml:"esIPBlacklist"`
+	MasterSpec                []string                   `json:"masterSpec" xml:"masterSpec"`
 	PrivateNetworkIpWhiteList []string                   `json:"privateNetworkIpWhiteList" xml:"privateNetworkIpWhiteList"`
+	ClientNodeSpec            []string                   `json:"clientNodeSpec" xml:"clientNodeSpec"`
 	EsVersions                []string                   `json:"esVersions" xml:"esVersions"`
 	Zones                     []string                   `json:"zones" xml:"zones"`
 	NetworkConfig             NetworkConfig              `json:"networkConfig" xml:"networkConfig"`
 	Node                      Node                       `json:"node" xml:"node"`
-	MasterConfiguration       MasterConfiguration        `json:"masterConfiguration" xml:"masterConfiguration"`
 	NodeSpec                  NodeSpec                   `json:"nodeSpec" xml:"nodeSpec"`
+	MasterConfiguration       MasterConfiguration        `json:"masterConfiguration" xml:"masterConfiguration"`
+	JvmConfine                JvmConfine                 `json:"jvmConfine" xml:"jvmConfine"`
 	KibanaConfiguration       KibanaConfiguration        `json:"kibanaConfiguration" xml:"kibanaConfiguration"`
-	DataDiskList              []DataDiskListItem         `json:"dataDiskList" xml:"dataDiskList"`
+	KibanaNodeProperties      KibanaNodeProperties       `json:"kibanaNodeProperties" xml:"kibanaNodeProperties"`
+	WarmNodeProperties        WarmNodeProperties         `json:"warmNodeProperties" xml:"warmNodeProperties"`
+	ClientNodeAmountRange     ClientNodeAmountRange      `json:"clientNodeAmountRange" xml:"clientNodeAmountRange"`
+	MasterDiskList            []Disk                     `json:"masterDiskList" xml:"masterDiskList"`
 	EsVersionsLatestList      []EsVersionsLatestListItem `json:"esVersionsLatestList" xml:"esVersionsLatestList"`
 	NodeSpecList              []NodeSpecListItem         `json:"nodeSpecList" xml:"nodeSpecList"`
+	ClientNodeDiskList        []Disk                     `json:"clientNodeDiskList" xml:"clientNodeDiskList"`
 	SynonymsDicts             []SynonymsDictsItem        `json:"synonymsDicts" xml:"synonymsDicts"`
+	DataDiskList              []DataDiskListItem         `json:"dataDiskList" xml:"dataDiskList"`
 	DictList                  []DictListItem             `json:"dictList" xml:"dictList"`
 }

+ 4 - 0
services/elasticsearch/struct_result_in_describe_instance.go

@@ -39,6 +39,9 @@ type ResultInDescribeInstance struct {
 	ZoneCount                 int                     `json:"zoneCount" xml:"zoneCount"`
 	HaveClientNode            bool                    `json:"haveClientNode" xml:"haveClientNode"`
 	WarmNode                  bool                    `json:"warmNode" xml:"warmNode"`
+	Protocol                  string                  `json:"protocol" xml:"protocol"`
+	EnableKibanaPublicNetwork bool                    `json:"enableKibanaPublicNetwork" xml:"enableKibanaPublicNetwork"`
+	HaveKibana                bool                    `json:"haveKibana" xml:"haveKibana"`
 	EsIPWhitelist             []string                `json:"esIPWhitelist" xml:"esIPWhitelist"`
 	EsIPBlacklist             []string                `json:"esIPBlacklist" xml:"esIPBlacklist"`
 	KibanaIPWhitelist         []string                `json:"kibanaIPWhitelist" xml:"kibanaIPWhitelist"`
@@ -52,4 +55,5 @@ type ResultInDescribeInstance struct {
 	WarmNodeConfiguration     WarmNodeConfiguration   `json:"warmNodeConfiguration" xml:"warmNodeConfiguration"`
 	DictList                  []DictList              `json:"dictList" xml:"dictList"`
 	SynonymsDicts             []SynonymsDicts         `json:"synonymsDicts" xml:"synonymsDicts"`
+	ZoneInfos                 []ZoneInfo              `json:"zoneInfos" xml:"zoneInfos"`
 }

+ 21 - 0
services/elasticsearch/struct_result_in_install_kibana_system_plugin.go

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

+ 21 - 0
services/elasticsearch/struct_result_in_install_user_plugins.go

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

+ 21 - 0
services/elasticsearch/struct_result_in_list_kibana_plugins.go

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

+ 21 - 0
services/elasticsearch/struct_result_in_uninstall_kibana_plugin.go

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

+ 21 - 0
services/elasticsearch/struct_result_in_update_aliws_dict.go

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

+ 9 - 5
services/elasticsearch/struct_result_item.go

@@ -17,16 +17,20 @@ package elasticsearch
 
 // ResultItem is a nested struct in elasticsearch response
 type ResultItem struct {
-	Description string `json:"description" xml:"description"`
 	Content     string `json:"content" xml:"content"`
 	Port        int    `json:"port" xml:"port"`
-	Timestamp   int    `json:"timestamp" xml:"timestamp"`
+	Timestamp   int64  `json:"timestamp" xml:"timestamp"`
+	Health      string `json:"health" xml:"health"`
 	State       string `json:"state" xml:"state"`
-	Source      string `json:"source" xml:"source"`
-	Level       string `json:"level" xml:"level"`
-	Name        string `json:"name" xml:"name"`
+	LoadFiveM   string `json:"loadFiveM" xml:"loadFiveM"`
 	Host        string `json:"host" xml:"host"`
 	NodeType    string `json:"nodeType" xml:"nodeType"`
 	InstanceId  string `json:"instanceId" xml:"instanceId"`
 	ZoneId      string `json:"zoneId" xml:"zoneId"`
+	Description string `json:"description" xml:"description"`
+	CpuPercent  string `json:"cpuPercent" xml:"cpuPercent"`
+	HeapPercent string `json:"heapPercent" xml:"heapPercent"`
+	Source      string `json:"source" xml:"source"`
+	Level       string `json:"level" xml:"level"`
+	Name        string `json:"name" xml:"name"`
 }

+ 21 - 0
services/elasticsearch/struct_spec_in_get_region_configuration.go

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

+ 21 - 0
services/elasticsearch/struct_support_es_versions.go

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

+ 21 - 0
services/elasticsearch/struct_support_gcs.go

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

+ 1 - 1
services/elasticsearch/struct_synonyms_dicts.go

@@ -18,7 +18,7 @@ package elasticsearch
 // SynonymsDicts is a nested struct in elasticsearch response
 type SynonymsDicts struct {
 	Type       string `json:"type" xml:"type"`
-	FileSize   int    `json:"fileSize" xml:"fileSize"`
+	FileSize   int64  `json:"fileSize" xml:"fileSize"`
 	SourceType string `json:"sourceType" xml:"sourceType"`
 	Name       string `json:"name" xml:"name"`
 }

+ 1 - 1
services/elasticsearch/struct_synonyms_dicts_item.go

@@ -18,7 +18,7 @@ package elasticsearch
 // SynonymsDictsItem is a nested struct in elasticsearch response
 type SynonymsDictsItem struct {
 	Name       string `json:"name" xml:"name"`
-	FileSize   int    `json:"fileSize" xml:"fileSize"`
+	FileSize   int64  `json:"fileSize" xml:"fileSize"`
 	Type       string `json:"type" xml:"type"`
 	SourceType string `json:"sourceType" xml:"sourceType"`
 }

+ 2 - 2
services/elasticsearch/struct_value_limit_set.go → services/elasticsearch/struct_value_limit_set_in_get_region_configuration.go

@@ -15,7 +15,7 @@ package elasticsearch
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// ValueLimitSet is a nested struct in elasticsearch response
-type ValueLimitSet struct {
+// ValueLimitSetInGetRegionConfiguration is a nested struct in elasticsearch response
+type ValueLimitSetInGetRegionConfiguration struct {
 	ValueLimitSet []string `json:"valueLimitSet" xml:"valueLimitSet"`
 }

+ 23 - 0
services/elasticsearch/struct_warm_node_properties.go

@@ -0,0 +1,23 @@
+package elasticsearch
+
+//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.
+
+// WarmNodeProperties is a nested struct in elasticsearch response
+type WarmNodeProperties struct {
+	Spec        []string    `json:"spec" xml:"spec"`
+	AmountRange AmountRange `json:"amountRange" xml:"amountRange"`
+	DiskList    []Disk      `json:"diskList" xml:"diskList"`
+}

+ 22 - 0
services/elasticsearch/struct_zone_info.go

@@ -0,0 +1,22 @@
+package elasticsearch
+
+//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.
+
+// ZoneInfo is a nested struct in elasticsearch response
+type ZoneInfo struct {
+	ZoneId string `json:"zoneId" xml:"zoneId"`
+	Status string `json:"status" xml:"status"`
+}

+ 21 - 0
services/elasticsearch/struct_zone_infos.go

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

+ 3 - 2
services/elasticsearch/transfer_node.go

@@ -76,8 +76,9 @@ func (client *Client) TransferNodeWithCallback(request *TransferNodeRequest, cal
 // TransferNodeRequest is the request struct for api TransferNode
 type TransferNodeRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
-	NodeType   string `position:"Query" name:"nodeType"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	NodeType    string `position:"Query" name:"nodeType"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // TransferNodeResponse is the response struct for api TransferNode

+ 106 - 0
services/elasticsearch/trigger_network.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// TriggerNetwork invokes the elasticsearch.TriggerNetwork API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/triggernetwork.html
+func (client *Client) TriggerNetwork(request *TriggerNetworkRequest) (response *TriggerNetworkResponse, err error) {
+	response = CreateTriggerNetworkResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// TriggerNetworkWithChan invokes the elasticsearch.TriggerNetwork API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/triggernetwork.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) TriggerNetworkWithChan(request *TriggerNetworkRequest) (<-chan *TriggerNetworkResponse, <-chan error) {
+	responseChan := make(chan *TriggerNetworkResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.TriggerNetwork(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// TriggerNetworkWithCallback invokes the elasticsearch.TriggerNetwork API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/triggernetwork.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) TriggerNetworkWithCallback(request *TriggerNetworkRequest, callback func(response *TriggerNetworkResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *TriggerNetworkResponse
+		var err error
+		defer close(result)
+		response, err = client.TriggerNetwork(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// TriggerNetworkRequest is the request struct for api TriggerNetwork
+type TriggerNetworkRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// TriggerNetworkResponse is the response struct for api TriggerNetwork
+type TriggerNetworkResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateTriggerNetworkRequest creates a request to invoke TriggerNetwork API
+func CreateTriggerNetworkRequest() (request *TriggerNetworkRequest) {
+	request = &TriggerNetworkRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "TriggerNetwork", "/openapi/instances/[InstanceId]/actions/network-trigger", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateTriggerNetworkResponse creates a response to parse from TriggerNetwork response
+func CreateTriggerNetworkResponse() (response *TriggerNetworkResponse) {
+	response = &TriggerNetworkResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/elasticsearch/uninstall_kibana_plugin.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// UninstallKibanaPlugin invokes the elasticsearch.UninstallKibanaPlugin API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/uninstallkibanaplugin.html
+func (client *Client) UninstallKibanaPlugin(request *UninstallKibanaPluginRequest) (response *UninstallKibanaPluginResponse, err error) {
+	response = CreateUninstallKibanaPluginResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UninstallKibanaPluginWithChan invokes the elasticsearch.UninstallKibanaPlugin API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/uninstallkibanaplugin.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UninstallKibanaPluginWithChan(request *UninstallKibanaPluginRequest) (<-chan *UninstallKibanaPluginResponse, <-chan error) {
+	responseChan := make(chan *UninstallKibanaPluginResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UninstallKibanaPlugin(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UninstallKibanaPluginWithCallback invokes the elasticsearch.UninstallKibanaPlugin API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/uninstallkibanaplugin.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UninstallKibanaPluginWithCallback(request *UninstallKibanaPluginRequest, callback func(response *UninstallKibanaPluginResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UninstallKibanaPluginResponse
+		var err error
+		defer close(result)
+		response, err = client.UninstallKibanaPlugin(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UninstallKibanaPluginRequest is the request struct for api UninstallKibanaPlugin
+type UninstallKibanaPluginRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// UninstallKibanaPluginResponse is the response struct for api UninstallKibanaPlugin
+type UninstallKibanaPluginResponse struct {
+	*responses.BaseResponse
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Result    []string `json:"Result" xml:"Result"`
+}
+
+// CreateUninstallKibanaPluginRequest creates a request to invoke UninstallKibanaPlugin API
+func CreateUninstallKibanaPluginRequest() (request *UninstallKibanaPluginRequest) {
+	request = &UninstallKibanaPluginRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "UninstallKibanaPlugin", "/openapi/instances/[InstanceId]/kibana-plugins/actions/uninstall", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateUninstallKibanaPluginResponse creates a response to parse from UninstallKibanaPlugin response
+func CreateUninstallKibanaPluginResponse() (response *UninstallKibanaPluginResponse) {
+	response = &UninstallKibanaPluginResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 1
services/elasticsearch/uninstall_plugin.go

@@ -76,7 +76,8 @@ func (client *Client) UninstallPluginWithCallback(request *UninstallPluginReques
 // UninstallPluginRequest is the request struct for api UninstallPlugin
 type UninstallPluginRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UninstallPluginResponse is the response struct for api UninstallPlugin

+ 2 - 1
services/elasticsearch/update_admin_password.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateAdminPasswordWithCallback(request *UpdateAdminPasswo
 // UpdateAdminPasswordRequest is the request struct for api UpdateAdminPassword
 type UpdateAdminPasswordRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateAdminPasswordResponse is the response struct for api UpdateAdminPassword

+ 106 - 0
services/elasticsearch/update_advanced_setting.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// UpdateAdvancedSetting invokes the elasticsearch.UpdateAdvancedSetting API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updateadvancedsetting.html
+func (client *Client) UpdateAdvancedSetting(request *UpdateAdvancedSettingRequest) (response *UpdateAdvancedSettingResponse, err error) {
+	response = CreateUpdateAdvancedSettingResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UpdateAdvancedSettingWithChan invokes the elasticsearch.UpdateAdvancedSetting API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updateadvancedsetting.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateAdvancedSettingWithChan(request *UpdateAdvancedSettingRequest) (<-chan *UpdateAdvancedSettingResponse, <-chan error) {
+	responseChan := make(chan *UpdateAdvancedSettingResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpdateAdvancedSetting(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UpdateAdvancedSettingWithCallback invokes the elasticsearch.UpdateAdvancedSetting API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updateadvancedsetting.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateAdvancedSettingWithCallback(request *UpdateAdvancedSettingRequest, callback func(response *UpdateAdvancedSettingResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpdateAdvancedSettingResponse
+		var err error
+		defer close(result)
+		response, err = client.UpdateAdvancedSetting(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UpdateAdvancedSettingRequest is the request struct for api UpdateAdvancedSetting
+type UpdateAdvancedSettingRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// UpdateAdvancedSettingResponse is the response struct for api UpdateAdvancedSetting
+type UpdateAdvancedSettingResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateUpdateAdvancedSettingRequest creates a request to invoke UpdateAdvancedSetting API
+func CreateUpdateAdvancedSettingRequest() (request *UpdateAdvancedSettingRequest) {
+	request = &UpdateAdvancedSettingRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "UpdateAdvancedSetting", "/openapi/instances/[InstanceId]/actions/update-advanced-setting", "elasticsearch", "openAPI")
+	request.Method = requests.PUT
+	return
+}
+
+// CreateUpdateAdvancedSettingResponse creates a response to parse from UpdateAdvancedSetting response
+func CreateUpdateAdvancedSettingResponse() (response *UpdateAdvancedSettingResponse) {
+	response = &UpdateAdvancedSettingResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/elasticsearch/update_aliws_dict.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// UpdateAliwsDict invokes the elasticsearch.UpdateAliwsDict API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updatealiwsdict.html
+func (client *Client) UpdateAliwsDict(request *UpdateAliwsDictRequest) (response *UpdateAliwsDictResponse, err error) {
+	response = CreateUpdateAliwsDictResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UpdateAliwsDictWithChan invokes the elasticsearch.UpdateAliwsDict API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updatealiwsdict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateAliwsDictWithChan(request *UpdateAliwsDictRequest) (<-chan *UpdateAliwsDictResponse, <-chan error) {
+	responseChan := make(chan *UpdateAliwsDictResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpdateAliwsDict(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UpdateAliwsDictWithCallback invokes the elasticsearch.UpdateAliwsDict API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updatealiwsdict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateAliwsDictWithCallback(request *UpdateAliwsDictRequest, callback func(response *UpdateAliwsDictResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpdateAliwsDictResponse
+		var err error
+		defer close(result)
+		response, err = client.UpdateAliwsDict(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UpdateAliwsDictRequest is the request struct for api UpdateAliwsDict
+type UpdateAliwsDictRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// UpdateAliwsDictResponse is the response struct for api UpdateAliwsDict
+type UpdateAliwsDictResponse struct {
+	*responses.BaseResponse
+	RequestId string     `json:"RequestId" xml:"RequestId"`
+	Result    []DictList `json:"Result" xml:"Result"`
+}
+
+// CreateUpdateAliwsDictRequest creates a request to invoke UpdateAliwsDict API
+func CreateUpdateAliwsDictRequest() (request *UpdateAliwsDictRequest) {
+	request = &UpdateAliwsDictRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "UpdateAliwsDict", "/openapi/instances/[InstanceId]/aliws-dict", "elasticsearch", "openAPI")
+	request.Method = requests.PUT
+	return
+}
+
+// CreateUpdateAliwsDictResponse creates a response to parse from UpdateAliwsDict response
+func CreateUpdateAliwsDictResponse() (response *UpdateAliwsDictResponse) {
+	response = &UpdateAliwsDictResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 1
services/elasticsearch/update_black_ips.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateBlackIpsWithCallback(request *UpdateBlackIpsRequest,
 // UpdateBlackIpsRequest is the request struct for api UpdateBlackIps
 type UpdateBlackIpsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateBlackIpsResponse is the response struct for api UpdateBlackIps

+ 2 - 1
services/elasticsearch/update_description.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateDescriptionWithCallback(request *UpdateDescriptionRe
 // UpdateDescriptionRequest is the request struct for api UpdateDescription
 type UpdateDescriptionRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateDescriptionResponse is the response struct for api UpdateDescription

+ 2 - 1
services/elasticsearch/update_dict.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateDictWithCallback(request *UpdateDictRequest, callbac
 // UpdateDictRequest is the request struct for api UpdateDict
 type UpdateDictRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateDictResponse is the response struct for api UpdateDict

+ 2 - 1
services/elasticsearch/update_hot_ik_dicts.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateHotIkDictsWithCallback(request *UpdateHotIkDictsRequ
 // UpdateHotIkDictsRequest is the request struct for api UpdateHotIkDicts
 type UpdateHotIkDictsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateHotIkDictsResponse is the response struct for api UpdateHotIkDicts

+ 2 - 1
services/elasticsearch/update_instance_settings.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateInstanceSettingsWithCallback(request *UpdateInstance
 // UpdateInstanceSettingsRequest is the request struct for api UpdateInstanceSettings
 type UpdateInstanceSettingsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateInstanceSettingsResponse is the response struct for api UpdateInstanceSettings

+ 106 - 0
services/elasticsearch/update_kibana_settings.go

@@ -0,0 +1,106 @@
+package elasticsearch
+
+//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"
+)
+
+// UpdateKibanaSettings invokes the elasticsearch.UpdateKibanaSettings API synchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updatekibanasettings.html
+func (client *Client) UpdateKibanaSettings(request *UpdateKibanaSettingsRequest) (response *UpdateKibanaSettingsResponse, err error) {
+	response = CreateUpdateKibanaSettingsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UpdateKibanaSettingsWithChan invokes the elasticsearch.UpdateKibanaSettings API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updatekibanasettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateKibanaSettingsWithChan(request *UpdateKibanaSettingsRequest) (<-chan *UpdateKibanaSettingsResponse, <-chan error) {
+	responseChan := make(chan *UpdateKibanaSettingsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpdateKibanaSettings(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UpdateKibanaSettingsWithCallback invokes the elasticsearch.UpdateKibanaSettings API asynchronously
+// api document: https://help.aliyun.com/api/elasticsearch/updatekibanasettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateKibanaSettingsWithCallback(request *UpdateKibanaSettingsRequest, callback func(response *UpdateKibanaSettingsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpdateKibanaSettingsResponse
+		var err error
+		defer close(result)
+		response, err = client.UpdateKibanaSettings(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UpdateKibanaSettingsRequest is the request struct for api UpdateKibanaSettings
+type UpdateKibanaSettingsRequest struct {
+	*requests.RoaRequest
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
+}
+
+// UpdateKibanaSettingsResponse is the response struct for api UpdateKibanaSettings
+type UpdateKibanaSettingsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateUpdateKibanaSettingsRequest creates a request to invoke UpdateKibanaSettings API
+func CreateUpdateKibanaSettingsRequest() (request *UpdateKibanaSettingsRequest) {
+	request = &UpdateKibanaSettingsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("elasticsearch", "2017-06-13", "UpdateKibanaSettings", "/openapi/instances/[InstanceId]/actions/update-kibana-settings", "elasticsearch", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateUpdateKibanaSettingsResponse creates a response to parse from UpdateKibanaSettings response
+func CreateUpdateKibanaSettingsResponse() (response *UpdateKibanaSettingsResponse) {
+	response = &UpdateKibanaSettingsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 1
services/elasticsearch/update_kibana_white_ips.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateKibanaWhiteIpsWithCallback(request *UpdateKibanaWhit
 // UpdateKibanaWhiteIpsRequest is the request struct for api UpdateKibanaWhiteIps
 type UpdateKibanaWhiteIpsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateKibanaWhiteIpsResponse is the response struct for api UpdateKibanaWhiteIps

+ 2 - 1
services/elasticsearch/update_private_network_white_ips.go

@@ -76,7 +76,8 @@ func (client *Client) UpdatePrivateNetworkWhiteIpsWithCallback(request *UpdatePr
 // UpdatePrivateNetworkWhiteIpsRequest is the request struct for api UpdatePrivateNetworkWhiteIps
 type UpdatePrivateNetworkWhiteIpsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdatePrivateNetworkWhiteIpsResponse is the response struct for api UpdatePrivateNetworkWhiteIps

+ 2 - 1
services/elasticsearch/update_public_network.go

@@ -76,7 +76,8 @@ func (client *Client) UpdatePublicNetworkWithCallback(request *UpdatePublicNetwo
 // UpdatePublicNetworkRequest is the request struct for api UpdatePublicNetwork
 type UpdatePublicNetworkRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdatePublicNetworkResponse is the response struct for api UpdatePublicNetwork

+ 2 - 1
services/elasticsearch/update_public_white_ips.go

@@ -76,7 +76,8 @@ func (client *Client) UpdatePublicWhiteIpsWithCallback(request *UpdatePublicWhit
 // UpdatePublicWhiteIpsRequest is the request struct for api UpdatePublicWhiteIps
 type UpdatePublicWhiteIpsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdatePublicWhiteIpsResponse is the response struct for api UpdatePublicWhiteIps

+ 2 - 1
services/elasticsearch/update_synonyms_dicts.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateSynonymsDictsWithCallback(request *UpdateSynonymsDic
 // UpdateSynonymsDictsRequest is the request struct for api UpdateSynonymsDicts
 type UpdateSynonymsDictsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateSynonymsDictsResponse is the response struct for api UpdateSynonymsDicts

+ 2 - 1
services/elasticsearch/update_white_ips.go

@@ -76,7 +76,8 @@ func (client *Client) UpdateWhiteIpsWithCallback(request *UpdateWhiteIpsRequest,
 // UpdateWhiteIpsRequest is the request struct for api UpdateWhiteIps
 type UpdateWhiteIpsRequest struct {
 	*requests.RoaRequest
-	InstanceId string `position:"Path" name:"InstanceId"`
+	InstanceId  string `position:"Path" name:"InstanceId"`
+	ClientToken string `position:"Query" name:"clientToken"`
 }
 
 // UpdateWhiteIpsResponse is the response struct for api UpdateWhiteIps