Browse Source

ESS SDK Auto Released By wujin.lhr,Version:1.43.2

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 years ago
parent
commit
6a1abda865
66 changed files with 382 additions and 58 deletions
  1. 3 0
      ChangeLog.txt
  2. 1 1
      services/ess/attach_db_instances.go
  3. 1 1
      services/ess/attach_instances.go
  4. 1 1
      services/ess/attach_load_balancers.go
  5. 113 0
      services/ess/attach_v_server_groups.go
  6. 1 1
      services/ess/complete_lifecycle_action.go
  7. 1 1
      services/ess/create_alarm.go
  8. 1 1
      services/ess/create_lifecycle_hook.go
  9. 1 1
      services/ess/create_notification_configuration.go
  10. 1 1
      services/ess/create_scaling_configuration.go
  11. 8 1
      services/ess/create_scaling_group.go
  12. 1 1
      services/ess/create_scaling_rule.go
  13. 1 1
      services/ess/create_scheduled_task.go
  14. 1 1
      services/ess/deactivate_scaling_configuration.go
  15. 1 1
      services/ess/delete_alarm.go
  16. 1 1
      services/ess/delete_lifecycle_hook.go
  17. 1 1
      services/ess/delete_notification_configuration.go
  18. 1 1
      services/ess/delete_scaling_configuration.go
  19. 1 1
      services/ess/delete_scaling_group.go
  20. 1 1
      services/ess/delete_scaling_rule.go
  21. 1 1
      services/ess/delete_scheduled_task.go
  22. 1 1
      services/ess/describe_alarms.go
  23. 1 1
      services/ess/describe_alert_config.go
  24. 1 1
      services/ess/describe_capacity_history.go
  25. 1 1
      services/ess/describe_lifecycle_hooks.go
  26. 1 1
      services/ess/describe_limitation.go
  27. 1 1
      services/ess/describe_notification_configurations.go
  28. 1 1
      services/ess/describe_notification_types.go
  29. 1 1
      services/ess/describe_regions.go
  30. 1 1
      services/ess/describe_scaling_activities.go
  31. 1 1
      services/ess/describe_scaling_activity_detail.go
  32. 1 1
      services/ess/describe_scaling_configurations.go
  33. 1 1
      services/ess/describe_scaling_groups.go
  34. 1 1
      services/ess/describe_scaling_instances.go
  35. 1 1
      services/ess/describe_scaling_rules.go
  36. 1 1
      services/ess/describe_scheduled_tasks.go
  37. 1 1
      services/ess/detach_db_instances.go
  38. 1 1
      services/ess/detach_instances.go
  39. 1 1
      services/ess/detach_load_balancers.go
  40. 113 0
      services/ess/detach_v_server_groups.go
  41. 1 1
      services/ess/disable_alarm.go
  42. 1 1
      services/ess/disable_scaling_group.go
  43. 1 1
      services/ess/enable_alarm.go
  44. 1 1
      services/ess/enable_scaling_group.go
  45. 1 1
      services/ess/enter_standby.go
  46. 1 1
      services/ess/execute_scaling_rule.go
  47. 1 1
      services/ess/exit_standby.go
  48. 1 1
      services/ess/modify_alarm.go
  49. 1 1
      services/ess/modify_alert_config.go
  50. 1 1
      services/ess/modify_lifecycle_hook.go
  51. 1 1
      services/ess/modify_notification_configuration.go
  52. 1 1
      services/ess/modify_scaling_configuration.go
  53. 1 1
      services/ess/modify_scaling_group.go
  54. 1 1
      services/ess/modify_scaling_rule.go
  55. 1 1
      services/ess/modify_scheduled_task.go
  56. 1 1
      services/ess/rebalance_instances.go
  57. 1 1
      services/ess/record_lifecycle_action_heartbeat.go
  58. 1 1
      services/ess/remove_instances.go
  59. 1 1
      services/ess/set_instances_protection.go
  60. 1 0
      services/ess/struct_scaling_group.go
  61. 22 0
      services/ess/struct_v_server_group.go
  62. 23 0
      services/ess/struct_v_server_group_attribute.go
  63. 21 0
      services/ess/struct_v_server_group_attributes.go
  64. 21 0
      services/ess/struct_v_server_groups.go
  65. 1 1
      services/ess/verify_authentication.go
  66. 1 1
      services/ess/verify_user.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-12-05 Version: 1.43.2
+1, Scaling group support vServerGroup.
+
 2018-12-05 Version: 1.43.1
 1, Add image async job.
 2, Fix group bug.

+ 1 - 1
services/ess/attach_db_instances.go

@@ -94,7 +94,7 @@ func CreateAttachDBInstancesRequest() (request *AttachDBInstancesRequest) {
 	request = &AttachDBInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "AttachDBInstances", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "AttachDBInstances", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/attach_instances.go

@@ -135,7 +135,7 @@ func CreateAttachInstancesRequest() (request *AttachInstancesRequest) {
 	request = &AttachInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "AttachInstances", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "AttachInstances", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/attach_load_balancers.go

@@ -94,7 +94,7 @@ func CreateAttachLoadBalancersRequest() (request *AttachLoadBalancersRequest) {
 	request = &AttachLoadBalancersRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "AttachLoadBalancers", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "AttachLoadBalancers", "ess", "openAPI")
 	return
 }
 

+ 113 - 0
services/ess/attach_v_server_groups.go

@@ -0,0 +1,113 @@
+package ess
+
+//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"
+)
+
+// AttachVServerGroups invokes the ess.AttachVServerGroups API synchronously
+// api document: https://help.aliyun.com/api/ess/attachvservergroups.html
+func (client *Client) AttachVServerGroups(request *AttachVServerGroupsRequest) (response *AttachVServerGroupsResponse, err error) {
+	response = CreateAttachVServerGroupsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AttachVServerGroupsWithChan invokes the ess.AttachVServerGroups API asynchronously
+// api document: https://help.aliyun.com/api/ess/attachvservergroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AttachVServerGroupsWithChan(request *AttachVServerGroupsRequest) (<-chan *AttachVServerGroupsResponse, <-chan error) {
+	responseChan := make(chan *AttachVServerGroupsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AttachVServerGroups(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AttachVServerGroupsWithCallback invokes the ess.AttachVServerGroups API asynchronously
+// api document: https://help.aliyun.com/api/ess/attachvservergroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AttachVServerGroupsWithCallback(request *AttachVServerGroupsRequest, callback func(response *AttachVServerGroupsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AttachVServerGroupsResponse
+		var err error
+		defer close(result)
+		response, err = client.AttachVServerGroups(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AttachVServerGroupsRequest is the request struct for api AttachVServerGroups
+type AttachVServerGroupsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerAccount string                             `position:"Query" name:"ResourceOwnerAccount"`
+	ScalingGroupId       string                             `position:"Query" name:"ScalingGroupId"`
+	ForceAttach          requests.Boolean                   `position:"Query" name:"ForceAttach"`
+	OwnerId              requests.Integer                   `position:"Query" name:"OwnerId"`
+	VServerGroup         *[]AttachVServerGroupsVServerGroup `position:"Query" name:"VServerGroup"  type:"Repeated"`
+}
+
+// AttachVServerGroupsVServerGroup is a repeated param struct in AttachVServerGroupsRequest
+type AttachVServerGroupsVServerGroup struct {
+	LoadBalancerId        string    `name:"LoadBalancerId"`
+	VServerGroupAttribute *[]string `name:"VServerGroupAttribute" type:"Repeated"`
+}
+
+// AttachVServerGroupsResponse is the response struct for api AttachVServerGroups
+type AttachVServerGroupsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateAttachVServerGroupsRequest creates a request to invoke AttachVServerGroups API
+func CreateAttachVServerGroupsRequest() (request *AttachVServerGroupsRequest) {
+	request = &AttachVServerGroupsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ess", "2014-08-28", "AttachVServerGroups", "ess", "openAPI")
+	return
+}
+
+// CreateAttachVServerGroupsResponse creates a response to parse from AttachVServerGroups response
+func CreateAttachVServerGroupsResponse() (response *AttachVServerGroupsResponse) {
+	response = &AttachVServerGroupsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ess/complete_lifecycle_action.go

@@ -95,7 +95,7 @@ func CreateCompleteLifecycleActionRequest() (request *CompleteLifecycleActionReq
 	request = &CompleteLifecycleActionRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CompleteLifecycleAction", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CompleteLifecycleAction", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/create_alarm.go

@@ -111,7 +111,7 @@ func CreateCreateAlarmRequest() (request *CreateAlarmRequest) {
 	request = &CreateAlarmRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CreateAlarm", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CreateAlarm", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/create_lifecycle_hook.go

@@ -111,7 +111,7 @@ func CreateCreateLifecycleHookRequest() (request *CreateLifecycleHookRequest) {
 	request = &CreateLifecycleHookRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CreateLifecycleHook", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CreateLifecycleHook", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/create_notification_configuration.go

@@ -94,7 +94,7 @@ func CreateCreateNotificationConfigurationRequest() (request *CreateNotification
 	request = &CreateNotificationConfigurationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CreateNotificationConfiguration", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CreateNotificationConfiguration", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/create_scaling_configuration.go

@@ -137,7 +137,7 @@ func CreateCreateScalingConfigurationRequest() (request *CreateScalingConfigurat
 	request = &CreateScalingConfigurationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScalingConfiguration", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScalingConfiguration", "ess", "openAPI")
 	return
 }
 

+ 8 - 1
services/ess/create_scaling_group.go

@@ -94,6 +94,7 @@ type CreateScalingGroupRequest struct {
 	LifecycleHook         *[]CreateScalingGroupLifecycleHook `position:"Query" name:"LifecycleHook"  type:"Repeated"`
 	DefaultCooldown       requests.Integer                   `position:"Query" name:"DefaultCooldown"`
 	RemovalPolicy1        string                             `position:"Query" name:"RemovalPolicy.1"`
+	VServerGroup          *[]CreateScalingGroupVServerGroup  `position:"Query" name:"VServerGroup"  type:"Repeated"`
 	RemovalPolicy2        string                             `position:"Query" name:"RemovalPolicy.2"`
 }
 
@@ -107,6 +108,12 @@ type CreateScalingGroupLifecycleHook struct {
 	LifecycleTransition  string `name:"LifecycleTransition"`
 }
 
+// CreateScalingGroupVServerGroup is a repeated param struct in CreateScalingGroupRequest
+type CreateScalingGroupVServerGroup struct {
+	LoadBalancerId        string    `name:"LoadBalancerId"`
+	VServerGroupAttribute *[]string `name:"VServerGroupAttribute" type:"Repeated"`
+}
+
 // CreateScalingGroupResponse is the response struct for api CreateScalingGroup
 type CreateScalingGroupResponse struct {
 	*responses.BaseResponse
@@ -119,7 +126,7 @@ func CreateCreateScalingGroupRequest() (request *CreateScalingGroupRequest) {
 	request = &CreateScalingGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScalingGroup", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScalingGroup", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/create_scaling_rule.go

@@ -99,7 +99,7 @@ func CreateCreateScalingRuleRequest() (request *CreateScalingRuleRequest) {
 	request = &CreateScalingRuleRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScalingRule", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScalingRule", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/create_scheduled_task.go

@@ -102,7 +102,7 @@ func CreateCreateScheduledTaskRequest() (request *CreateScheduledTaskRequest) {
 	request = &CreateScheduledTaskRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScheduledTask", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "CreateScheduledTask", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/deactivate_scaling_configuration.go

@@ -93,7 +93,7 @@ func CreateDeactivateScalingConfigurationRequest() (request *DeactivateScalingCo
 	request = &DeactivateScalingConfigurationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeactivateScalingConfiguration", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeactivateScalingConfiguration", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/delete_alarm.go

@@ -93,7 +93,7 @@ func CreateDeleteAlarmRequest() (request *DeleteAlarmRequest) {
 	request = &DeleteAlarmRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteAlarm", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteAlarm", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/delete_lifecycle_hook.go

@@ -95,7 +95,7 @@ func CreateDeleteLifecycleHookRequest() (request *DeleteLifecycleHookRequest) {
 	request = &DeleteLifecycleHookRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteLifecycleHook", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteLifecycleHook", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/delete_notification_configuration.go

@@ -93,7 +93,7 @@ func CreateDeleteNotificationConfigurationRequest() (request *DeleteNotification
 	request = &DeleteNotificationConfigurationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteNotificationConfiguration", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteNotificationConfiguration", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/delete_scaling_configuration.go

@@ -93,7 +93,7 @@ func CreateDeleteScalingConfigurationRequest() (request *DeleteScalingConfigurat
 	request = &DeleteScalingConfigurationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScalingConfiguration", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScalingConfiguration", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/delete_scaling_group.go

@@ -94,7 +94,7 @@ func CreateDeleteScalingGroupRequest() (request *DeleteScalingGroupRequest) {
 	request = &DeleteScalingGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScalingGroup", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScalingGroup", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/delete_scaling_rule.go

@@ -93,7 +93,7 @@ func CreateDeleteScalingRuleRequest() (request *DeleteScalingRuleRequest) {
 	request = &DeleteScalingRuleRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScalingRule", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScalingRule", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/delete_scheduled_task.go

@@ -93,7 +93,7 @@ func CreateDeleteScheduledTaskRequest() (request *DeleteScheduledTaskRequest) {
 	request = &DeleteScheduledTaskRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScheduledTask", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DeleteScheduledTask", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_alarms.go

@@ -102,7 +102,7 @@ func CreateDescribeAlarmsRequest() (request *DescribeAlarmsRequest) {
 	request = &DescribeAlarmsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeAlarms", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeAlarms", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_alert_config.go

@@ -95,7 +95,7 @@ func CreateDescribeAlertConfigRequest() (request *DescribeAlertConfigRequest) {
 	request = &DescribeAlertConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeAlertConfig", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeAlertConfig", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_capacity_history.go

@@ -100,7 +100,7 @@ func CreateDescribeCapacityHistoryRequest() (request *DescribeCapacityHistoryReq
 	request = &DescribeCapacityHistoryRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeCapacityHistory", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeCapacityHistory", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_lifecycle_hooks.go

@@ -101,7 +101,7 @@ func CreateDescribeLifecycleHooksRequest() (request *DescribeLifecycleHooksReque
 	request = &DescribeLifecycleHooksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeLifecycleHooks", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeLifecycleHooks", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_limitation.go

@@ -99,7 +99,7 @@ func CreateDescribeLimitationRequest() (request *DescribeLimitationRequest) {
 	request = &DescribeLimitationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeLimitation", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeLimitation", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_notification_configurations.go

@@ -93,7 +93,7 @@ func CreateDescribeNotificationConfigurationsRequest() (request *DescribeNotific
 	request = &DescribeNotificationConfigurationsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeNotificationConfigurations", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeNotificationConfigurations", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_notification_types.go

@@ -92,7 +92,7 @@ func CreateDescribeNotificationTypesRequest() (request *DescribeNotificationType
 	request = &DescribeNotificationTypesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeNotificationTypes", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeNotificationTypes", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_regions.go

@@ -92,7 +92,7 @@ func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest) {
 	request = &DescribeRegionsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeRegions", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeRegions", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_scaling_activities.go

@@ -121,7 +121,7 @@ func CreateDescribeScalingActivitiesRequest() (request *DescribeScalingActivitie
 	request = &DescribeScalingActivitiesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingActivities", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingActivities", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_scaling_activity_detail.go

@@ -94,7 +94,7 @@ func CreateDescribeScalingActivityDetailRequest() (request *DescribeScalingActiv
 	request = &DescribeScalingActivityDetailRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingActivityDetail", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingActivityDetail", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_scaling_configurations.go

@@ -120,7 +120,7 @@ func CreateDescribeScalingConfigurationsRequest() (request *DescribeScalingConfi
 	request = &DescribeScalingConfigurationsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingConfigurations", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingConfigurations", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_scaling_groups.go

@@ -139,7 +139,7 @@ func CreateDescribeScalingGroupsRequest() (request *DescribeScalingGroupsRequest
 	request = &DescribeScalingGroupsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingGroups", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingGroups", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_scaling_instances.go

@@ -124,7 +124,7 @@ func CreateDescribeScalingInstancesRequest() (request *DescribeScalingInstancesR
 	request = &DescribeScalingInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingInstances", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingInstances", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_scaling_rules.go

@@ -130,7 +130,7 @@ func CreateDescribeScalingRulesRequest() (request *DescribeScalingRulesRequest)
 	request = &DescribeScalingRulesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingRules", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScalingRules", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/describe_scheduled_tasks.go

@@ -159,7 +159,7 @@ func CreateDescribeScheduledTasksRequest() (request *DescribeScheduledTasksReque
 	request = &DescribeScheduledTasksRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScheduledTasks", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DescribeScheduledTasks", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/detach_db_instances.go

@@ -94,7 +94,7 @@ func CreateDetachDBInstancesRequest() (request *DetachDBInstancesRequest) {
 	request = &DetachDBInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DetachDBInstances", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DetachDBInstances", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/detach_instances.go

@@ -96,7 +96,7 @@ func CreateDetachInstancesRequest() (request *DetachInstancesRequest) {
 	request = &DetachInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DetachInstances", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DetachInstances", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/detach_load_balancers.go

@@ -94,7 +94,7 @@ func CreateDetachLoadBalancersRequest() (request *DetachLoadBalancersRequest) {
 	request = &DetachLoadBalancersRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DetachLoadBalancers", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DetachLoadBalancers", "ess", "openAPI")
 	return
 }
 

+ 113 - 0
services/ess/detach_v_server_groups.go

@@ -0,0 +1,113 @@
+package ess
+
+//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"
+)
+
+// DetachVServerGroups invokes the ess.DetachVServerGroups API synchronously
+// api document: https://help.aliyun.com/api/ess/detachvservergroups.html
+func (client *Client) DetachVServerGroups(request *DetachVServerGroupsRequest) (response *DetachVServerGroupsResponse, err error) {
+	response = CreateDetachVServerGroupsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DetachVServerGroupsWithChan invokes the ess.DetachVServerGroups API asynchronously
+// api document: https://help.aliyun.com/api/ess/detachvservergroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetachVServerGroupsWithChan(request *DetachVServerGroupsRequest) (<-chan *DetachVServerGroupsResponse, <-chan error) {
+	responseChan := make(chan *DetachVServerGroupsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DetachVServerGroups(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DetachVServerGroupsWithCallback invokes the ess.DetachVServerGroups API asynchronously
+// api document: https://help.aliyun.com/api/ess/detachvservergroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetachVServerGroupsWithCallback(request *DetachVServerGroupsRequest, callback func(response *DetachVServerGroupsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DetachVServerGroupsResponse
+		var err error
+		defer close(result)
+		response, err = client.DetachVServerGroups(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DetachVServerGroupsRequest is the request struct for api DetachVServerGroups
+type DetachVServerGroupsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerAccount string                             `position:"Query" name:"ResourceOwnerAccount"`
+	ScalingGroupId       string                             `position:"Query" name:"ScalingGroupId"`
+	ForceDetach          requests.Boolean                   `position:"Query" name:"ForceDetach"`
+	OwnerId              requests.Integer                   `position:"Query" name:"OwnerId"`
+	VServerGroup         *[]DetachVServerGroupsVServerGroup `position:"Query" name:"VServerGroup"  type:"Repeated"`
+}
+
+// DetachVServerGroupsVServerGroup is a repeated param struct in DetachVServerGroupsRequest
+type DetachVServerGroupsVServerGroup struct {
+	LoadBalancerId        string    `name:"LoadBalancerId"`
+	VServerGroupAttribute *[]string `name:"VServerGroupAttribute" type:"Repeated"`
+}
+
+// DetachVServerGroupsResponse is the response struct for api DetachVServerGroups
+type DetachVServerGroupsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDetachVServerGroupsRequest creates a request to invoke DetachVServerGroups API
+func CreateDetachVServerGroupsRequest() (request *DetachVServerGroupsRequest) {
+	request = &DetachVServerGroupsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ess", "2014-08-28", "DetachVServerGroups", "ess", "openAPI")
+	return
+}
+
+// CreateDetachVServerGroupsResponse creates a response to parse from DetachVServerGroups response
+func CreateDetachVServerGroupsResponse() (response *DetachVServerGroupsResponse) {
+	response = &DetachVServerGroupsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ess/disable_alarm.go

@@ -92,7 +92,7 @@ func CreateDisableAlarmRequest() (request *DisableAlarmRequest) {
 	request = &DisableAlarmRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DisableAlarm", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DisableAlarm", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/disable_scaling_group.go

@@ -94,7 +94,7 @@ func CreateDisableScalingGroupRequest() (request *DisableScalingGroupRequest) {
 	request = &DisableScalingGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "DisableScalingGroup", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "DisableScalingGroup", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/enable_alarm.go

@@ -92,7 +92,7 @@ func CreateEnableAlarmRequest() (request *EnableAlarmRequest) {
 	request = &EnableAlarmRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "EnableAlarm", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "EnableAlarm", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/enable_scaling_group.go

@@ -137,7 +137,7 @@ func CreateEnableScalingGroupRequest() (request *EnableScalingGroupRequest) {
 	request = &EnableScalingGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "EnableScalingGroup", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "EnableScalingGroup", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/enter_standby.go

@@ -93,7 +93,7 @@ func CreateEnterStandbyRequest() (request *EnterStandbyRequest) {
 	request = &EnterStandbyRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "EnterStandby", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "EnterStandby", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/execute_scaling_rule.go

@@ -96,7 +96,7 @@ func CreateExecuteScalingRuleRequest() (request *ExecuteScalingRuleRequest) {
 	request = &ExecuteScalingRuleRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ExecuteScalingRule", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ExecuteScalingRule", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/exit_standby.go

@@ -93,7 +93,7 @@ func CreateExitStandbyRequest() (request *ExitStandbyRequest) {
 	request = &ExitStandbyRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ExitStandby", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ExitStandby", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_alarm.go

@@ -96,7 +96,7 @@ func CreateModifyAlarmRequest() (request *ModifyAlarmRequest) {
 	request = &ModifyAlarmRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyAlarm", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyAlarm", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_alert_config.go

@@ -95,7 +95,7 @@ func CreateModifyAlertConfigRequest() (request *ModifyAlertConfigRequest) {
 	request = &ModifyAlertConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyAlertConfig", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyAlertConfig", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_lifecycle_hook.go

@@ -100,7 +100,7 @@ func CreateModifyLifecycleHookRequest() (request *ModifyLifecycleHookRequest) {
 	request = &ModifyLifecycleHookRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyLifecycleHook", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyLifecycleHook", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_notification_configuration.go

@@ -94,7 +94,7 @@ func CreateModifyNotificationConfigurationRequest() (request *ModifyNotification
 	request = &ModifyNotificationConfigurationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyNotificationConfiguration", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyNotificationConfiguration", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_scaling_configuration.go

@@ -133,7 +133,7 @@ func CreateModifyScalingConfigurationRequest() (request *ModifyScalingConfigurat
 	request = &ModifyScalingConfigurationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScalingConfiguration", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScalingConfiguration", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_scaling_group.go

@@ -104,7 +104,7 @@ func CreateModifyScalingGroupRequest() (request *ModifyScalingGroupRequest) {
 	request = &ModifyScalingGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScalingGroup", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScalingGroup", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_scaling_rule.go

@@ -98,7 +98,7 @@ func CreateModifyScalingRuleRequest() (request *ModifyScalingRuleRequest) {
 	request = &ModifyScalingRuleRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScalingRule", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScalingRule", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/modify_scheduled_task.go

@@ -103,7 +103,7 @@ func CreateModifyScheduledTaskRequest() (request *ModifyScheduledTaskRequest) {
 	request = &ModifyScheduledTaskRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScheduledTask", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "ModifyScheduledTask", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/rebalance_instances.go

@@ -95,7 +95,7 @@ func CreateRebalanceInstancesRequest() (request *RebalanceInstancesRequest) {
 	request = &RebalanceInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "RebalanceInstances", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "RebalanceInstances", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/record_lifecycle_action_heartbeat.go

@@ -95,7 +95,7 @@ func CreateRecordLifecycleActionHeartbeatRequest() (request *RecordLifecycleActi
 	request = &RecordLifecycleActionHeartbeatRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "RecordLifecycleActionHeartbeat", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "RecordLifecycleActionHeartbeat", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/remove_instances.go

@@ -116,7 +116,7 @@ func CreateRemoveInstancesRequest() (request *RemoveInstancesRequest) {
 	request = &RemoveInstancesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "RemoveInstances", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "RemoveInstances", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/set_instances_protection.go

@@ -94,7 +94,7 @@ func CreateSetInstancesProtectionRequest() (request *SetInstancesProtectionReque
 	request = &SetInstancesProtectionRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "SetInstancesProtection", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "SetInstancesProtection", "ess", "openAPI")
 	return
 }
 

+ 1 - 0
services/ess/struct_scaling_group.go

@@ -47,4 +47,5 @@ type ScalingGroup struct {
 	RemovalPolicies              RemovalPolicies `json:"RemovalPolicies" xml:"RemovalPolicies"`
 	DBInstanceIds                DBInstanceIds   `json:"DBInstanceIds" xml:"DBInstanceIds"`
 	LoadBalancerIds              LoadBalancerIds `json:"LoadBalancerIds" xml:"LoadBalancerIds"`
+	VServerGroups                VServerGroups   `json:"VServerGroups" xml:"VServerGroups"`
 }

+ 22 - 0
services/ess/struct_v_server_group.go

@@ -0,0 +1,22 @@
+package ess
+
+//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.
+
+// VServerGroup is a nested struct in ess response
+type VServerGroup struct {
+	LoadBalancerId         string                 `json:"LoadBalancerId" xml:"LoadBalancerId"`
+	VServerGroupAttributes VServerGroupAttributes `json:"VServerGroupAttributes" xml:"VServerGroupAttributes"`
+}

+ 23 - 0
services/ess/struct_v_server_group_attribute.go

@@ -0,0 +1,23 @@
+package ess
+
+//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.
+
+// VServerGroupAttribute is a nested struct in ess response
+type VServerGroupAttribute struct {
+	VServerGroupId string `json:"VServerGroupId" xml:"VServerGroupId"`
+	Port           int    `json:"Port" xml:"Port"`
+	Weight         int    `json:"Weight" xml:"Weight"`
+}

+ 21 - 0
services/ess/struct_v_server_group_attributes.go

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

+ 21 - 0
services/ess/struct_v_server_groups.go

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

+ 1 - 1
services/ess/verify_authentication.go

@@ -93,7 +93,7 @@ func CreateVerifyAuthenticationRequest() (request *VerifyAuthenticationRequest)
 	request = &VerifyAuthenticationRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "VerifyAuthentication", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "VerifyAuthentication", "ess", "openAPI")
 	return
 }
 

+ 1 - 1
services/ess/verify_user.go

@@ -91,7 +91,7 @@ func CreateVerifyUserRequest() (request *VerifyUserRequest) {
 	request = &VerifyUserRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Ess", "2014-08-28", "VerifyUser", "", "")
+	request.InitWithApiInfo("Ess", "2014-08-28", "VerifyUser", "ess", "openAPI")
 	return
 }