Browse Source

Generated 2016-04-08 for Emr.

sdk-team 6 years ago
parent
commit
725b98695f
100 changed files with 980 additions and 6793 deletions
  1. 4 0
      ChangeLog.txt
  2. 3 2
      services/emr/add_cluster_service.go
  3. 0 107
      services/emr/add_cluster_service_for_admin.go
  4. 0 131
      services/emr/add_hp_host.go
  5. 0 109
      services/emr/add_resource_to_users.go
  6. 0 109
      services/emr/add_user_resource_role.go
  7. 0 105
      services/emr/attach_cluster_for_note.go
  8. 0 105
      services/emr/attach_pub_ip.go
  9. 2 2
      services/emr/authorize_security_group.go
  10. 0 105
      services/emr/cancel_etl_job_release.go
  11. 0 107
      services/emr/check_data_source.go
  12. 105 0
      services/emr/cleanup_flow_entity_snapshot.go
  13. 1 0
      services/emr/clone_flow_job.go
  14. 107 0
      services/emr/commit_flow_entity_snapshot.go
  15. 0 104
      services/emr/common_api_white_list.go
  16. 0 116
      services/emr/context_query_log.go
  17. 0 108
      services/emr/create_alert_contact.go
  18. 0 106
      services/emr/create_alert_ding_ding_group.go
  19. 0 106
      services/emr/create_alert_user_group.go
  20. 0 114
      services/emr/create_backup_rule.go
  21. 0 117
      services/emr/create_batch_users.go
  22. 0 109
      services/emr/create_cluster_host_group.go
  23. 0 109
      services/emr/create_cluster_script.go
  24. 10 10
      services/emr/create_cluster_template.go
  25. 28 13
      services/emr/create_cluster_v2.go
  26. 0 156
      services/emr/create_cluster_with_host_pool.go
  27. 2 2
      services/emr/create_data_source.go
  28. 0 110
      services/emr/create_etl_job.go
  29. 13 13
      services/emr/create_execution_plan.go
  30. 6 6
      services/emr/create_flow.go
  31. 2 2
      services/emr/create_flow_category.go
  32. 110 0
      services/emr/create_flow_edit_lock.go
  33. 6 6
      services/emr/create_flow_for_web.go
  34. 20 18
      services/emr/create_flow_job.go
  35. 1 1
      services/emr/create_flow_project.go
  36. 2 2
      services/emr/create_flow_project_cluster_setting.go
  37. 0 116
      services/emr/create_host_pool.go
  38. 3 3
      services/emr/create_job.go
  39. 109 0
      services/emr/create_meta_table_preview_task.go
  40. 0 110
      services/emr/create_nav_node.go
  41. 1 1
      services/emr/create_note.go
  42. 1 1
      services/emr/create_resource_pool.go
  43. 2 2
      services/emr/create_resource_queue.go
  44. 5 5
      services/emr/create_scaling_rule.go
  45. 0 158
      services/emr/create_scaling_task_group.go
  46. 29 27
      services/emr/create_tag.go
  47. 0 109
      services/emr/create_user_group.go
  48. 0 114
      services/emr/create_user_password.go
  49. 0 102
      services/emr/create_user_statistics.go
  50. 0 105
      services/emr/create_verification_code.go
  51. 0 104
      services/emr/delete_alert_contacts.go
  52. 0 104
      services/emr/delete_alert_ding_ding_groups.go
  53. 0 104
      services/emr/delete_alert_user_groups.go
  54. 0 108
      services/emr/delete_batch_resource_users.go
  55. 0 105
      services/emr/delete_cluster_host_group.go
  56. 0 104
      services/emr/delete_cluster_script.go
  57. 0 104
      services/emr/delete_etl_job.go
  58. 105 0
      services/emr/delete_flow_edit_lock.go
  59. 0 104
      services/emr/delete_flow_project_by_id.go
  60. 0 105
      services/emr/delete_nav_node.go
  61. 0 105
      services/emr/delete_paragraph.go
  62. 1 1
      services/emr/delete_resource_queue.go
  63. 0 108
      services/emr/delete_resource_user.go
  64. 1 1
      services/emr/delete_scaling_rule.go
  65. 0 106
      services/emr/delete_scaling_task_group.go
  66. 29 28
      services/emr/delete_tag.go
  67. 0 106
      services/emr/delete_user_group.go
  68. 0 109
      services/emr/delete_user_resource_role.go
  69. 0 105
      services/emr/describe_available_instance_type.go
  70. 107 0
      services/emr/describe_cluster_meta_collect.go
  71. 0 110
      services/emr/describe_cluster_op_log.go
  72. 1 1
      services/emr/describe_cluster_operation_host_task_log.go
  73. 0 108
      services/emr/describe_cluster_resource_pool_scheduler_type_for_admin.go
  74. 0 105
      services/emr/describe_cluster_script.go
  75. 1 1
      services/emr/describe_cluster_service.go
  76. 1 1
      services/emr/describe_cluster_service_config.go
  77. 0 111
      services/emr/describe_cluster_service_config_for_admin.go
  78. 1 1
      services/emr/describe_cluster_service_config_history.go
  79. 3 3
      services/emr/describe_cluster_service_config_tag.go
  80. 0 108
      services/emr/describe_cluster_service_config_tag_for_admin.go
  81. 0 106
      services/emr/describe_cluster_statistics.go
  82. 0 112
      services/emr/describe_data_source_command.go
  83. 0 107
      services/emr/describe_data_source_schema_database.go
  84. 0 108
      services/emr/describe_data_source_schema_table.go
  85. 0 114
      services/emr/describe_etl_job.go
  86. 0 115
      services/emr/describe_etl_job_instance.go
  87. 0 105
      services/emr/describe_etl_job_sql_schema.go
  88. 0 106
      services/emr/describe_etl_job_stage_output_schema.go
  89. 1 0
      services/emr/describe_flow.go
  90. 5 2
      services/emr/describe_flow_category_tree.go
  91. 125 0
      services/emr/describe_flow_entity_snapshot.go
  92. 24 22
      services/emr/describe_flow_job.go
  93. 0 105
      services/emr/describe_flow_job_statistic.go
  94. 2 2
      services/emr/describe_flow_node_instance_container_log.go
  95. 1 1
      services/emr/describe_flow_node_instance_launcher_log.go
  96. 0 104
      services/emr/describe_flow_variable_collection.go
  97. 0 112
      services/emr/describe_host_pool.go
  98. 0 118
      services/emr/describe_hp_host.go
  99. 0 119
      services/emr/describe_kafka_broker.go
  100. 0 112
      services/emr/describe_kafka_reassign.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-12-23 Version: v1.60.302
+- Generated 2016-04-08 for `Emr`.
+- Bugfix.
+
 2019-12-20 Version: v1.60.301
 - Generated 2018-11-01 for `dms-enterprise`.
 - Supported Authorization API, includes GrantUserPermission, RevokeUserPermission, ListDatabaseUserPermssions, ListUserPermissions.

+ 3 - 2
services/emr/add_cluster_service.go

@@ -77,14 +77,15 @@ func (client *Client) AddClusterServiceWithCallback(request *AddClusterServiceRe
 type AddClusterServiceRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer            `position:"Query" name:"ResourceOwnerId"`
+	ClusterId       string                      `position:"Query" name:"ClusterId"`
 	Service         *[]AddClusterServiceService `position:"Query" name:"Service"  type:"Repeated"`
 	Comment         string                      `position:"Query" name:"Comment"`
-	ClusterId       string                      `position:"Query" name:"ClusterId"`
 }
 
 // AddClusterServiceService is a repeated param struct in AddClusterServiceRequest
 type AddClusterServiceService struct {
-	ServiceName string `name:"ServiceName"`
+	ServiceVersion string `name:"ServiceVersion"`
+	ServiceName    string `name:"ServiceName"`
 }
 
 // AddClusterServiceResponse is the response struct for api AddClusterService

+ 0 - 107
services/emr/add_cluster_service_for_admin.go

@@ -1,107 +0,0 @@
-package emr
-
-//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"
-)
-
-// AddClusterServiceForAdmin invokes the emr.AddClusterServiceForAdmin API synchronously
-// api document: https://help.aliyun.com/api/emr/addclusterserviceforadmin.html
-func (client *Client) AddClusterServiceForAdmin(request *AddClusterServiceForAdminRequest) (response *AddClusterServiceForAdminResponse, err error) {
-	response = CreateAddClusterServiceForAdminResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddClusterServiceForAdminWithChan invokes the emr.AddClusterServiceForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/addclusterserviceforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddClusterServiceForAdminWithChan(request *AddClusterServiceForAdminRequest) (<-chan *AddClusterServiceForAdminResponse, <-chan error) {
-	responseChan := make(chan *AddClusterServiceForAdminResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddClusterServiceForAdmin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddClusterServiceForAdminWithCallback invokes the emr.AddClusterServiceForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/addclusterserviceforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddClusterServiceForAdminWithCallback(request *AddClusterServiceForAdminRequest, callback func(response *AddClusterServiceForAdminResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddClusterServiceForAdminResponse
-		var err error
-		defer close(result)
-		response, err = client.AddClusterServiceForAdmin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddClusterServiceForAdminRequest is the request struct for api AddClusterServiceForAdmin
-type AddClusterServiceForAdminRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ServiceList     string           `position:"Query" name:"ServiceList"`
-	Comment         string           `position:"Query" name:"Comment"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	UserId          string           `position:"Query" name:"UserId"`
-}
-
-// AddClusterServiceForAdminResponse is the response struct for api AddClusterServiceForAdmin
-type AddClusterServiceForAdminResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAddClusterServiceForAdminRequest creates a request to invoke AddClusterServiceForAdmin API
-func CreateAddClusterServiceForAdminRequest() (request *AddClusterServiceForAdminRequest) {
-	request = &AddClusterServiceForAdminRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "AddClusterServiceForAdmin", "emr", "openAPI")
-	return
-}
-
-// CreateAddClusterServiceForAdminResponse creates a response to parse from AddClusterServiceForAdmin response
-func CreateAddClusterServiceForAdminResponse() (response *AddClusterServiceForAdminResponse) {
-	response = &AddClusterServiceForAdminResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 131
services/emr/add_hp_host.go

@@ -1,131 +0,0 @@
-package emr
-
-//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"
-)
-
-// AddHpHost invokes the emr.AddHpHost API synchronously
-// api document: https://help.aliyun.com/api/emr/addhphost.html
-func (client *Client) AddHpHost(request *AddHpHostRequest) (response *AddHpHostResponse, err error) {
-	response = CreateAddHpHostResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddHpHostWithChan invokes the emr.AddHpHost API asynchronously
-// api document: https://help.aliyun.com/api/emr/addhphost.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddHpHostWithChan(request *AddHpHostRequest) (<-chan *AddHpHostResponse, <-chan error) {
-	responseChan := make(chan *AddHpHostResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddHpHost(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddHpHostWithCallback invokes the emr.AddHpHost API asynchronously
-// api document: https://help.aliyun.com/api/emr/addhphost.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddHpHostWithCallback(request *AddHpHostRequest, callback func(response *AddHpHostResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddHpHostResponse
-		var err error
-		defer close(result)
-		response, err = client.AddHpHost(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddHpHostRequest is the request struct for api AddHpHost
-type AddHpHostRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer   `position:"Query" name:"ResourceOwnerId"`
-	HpHost          *[]AddHpHostHpHost `position:"Query" name:"HpHost"  type:"Repeated"`
-	HpBizId         string             `position:"Query" name:"HpBizId"`
-}
-
-// AddHpHostHpHost is a repeated param struct in AddHpHostRequest
-type AddHpHostHpHost struct {
-	CpuCore         string                 `name:"CpuCore"`
-	MemSize         string                 `name:"MemSize"`
-	RackInfo        string                 `name:"RackInfo"`
-	Role            string                 `name:"Role"`
-	SerialNumber    string                 `name:"SerialNumber"`
-	HostType        string                 `name:"HostType"`
-	SecurityGroupId string                 `name:"SecurityGroupId"`
-	HpHostDisk      *[]AddHpHostHpHostDisk `name:"HpHostDisk" type:"Repeated"`
-	VswitchId       string                 `name:"VswitchId"`
-	ExternalKey     string                 `name:"ExternalKey"`
-	HostName        string                 `name:"HostName"`
-	VpcId           string                 `name:"VpcId"`
-	InnerIp         string                 `name:"InnerIp"`
-	ExternalIp      string                 `name:"ExternalIp"`
-}
-
-// AddHpHostHpHostDisk is a repeated param struct in AddHpHostRequest
-type AddHpHostHpHostDisk struct {
-	DiskSize   string `name:"DiskSize"`
-	MountPath  string `name:"MountPath"`
-	DiskDevice string `name:"DiskDevice"`
-}
-
-// AddHpHostResponse is the response struct for api AddHpHost
-type AddHpHostResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	BizId     string `json:"BizId" xml:"BizId"`
-}
-
-// CreateAddHpHostRequest creates a request to invoke AddHpHost API
-func CreateAddHpHostRequest() (request *AddHpHostRequest) {
-	request = &AddHpHostRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "AddHpHost", "emr", "openAPI")
-	return
-}
-
-// CreateAddHpHostResponse creates a response to parse from AddHpHost response
-func CreateAddHpHostResponse() (response *AddHpHostResponse) {
-	response = &AddHpHostResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/emr/add_resource_to_users.go

@@ -1,109 +0,0 @@
-package emr
-
-//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"
-)
-
-// AddResourceToUsers invokes the emr.AddResourceToUsers API synchronously
-// api document: https://help.aliyun.com/api/emr/addresourcetousers.html
-func (client *Client) AddResourceToUsers(request *AddResourceToUsersRequest) (response *AddResourceToUsersResponse, err error) {
-	response = CreateAddResourceToUsersResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddResourceToUsersWithChan invokes the emr.AddResourceToUsers API asynchronously
-// api document: https://help.aliyun.com/api/emr/addresourcetousers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddResourceToUsersWithChan(request *AddResourceToUsersRequest) (<-chan *AddResourceToUsersResponse, <-chan error) {
-	responseChan := make(chan *AddResourceToUsersResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddResourceToUsers(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddResourceToUsersWithCallback invokes the emr.AddResourceToUsers API asynchronously
-// api document: https://help.aliyun.com/api/emr/addresourcetousers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddResourceToUsersWithCallback(request *AddResourceToUsersRequest, callback func(response *AddResourceToUsersResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddResourceToUsersResponse
-		var err error
-		defer close(result)
-		response, err = client.AddResourceToUsers(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddResourceToUsersRequest is the request struct for api AddResourceToUsers
-type AddResourceToUsersRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceId      string           `position:"Query" name:"ResourceId"`
-	UserIdList      *[]string        `position:"Query" name:"UserIdList"  type:"Repeated"`
-	ResourceType    string           `position:"Query" name:"ResourceType"`
-	RoleIdList      *[]string        `position:"Query" name:"RoleIdList"  type:"Repeated"`
-}
-
-// AddResourceToUsersResponse is the response struct for api AddResourceToUsers
-type AddResourceToUsersResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateAddResourceToUsersRequest creates a request to invoke AddResourceToUsers API
-func CreateAddResourceToUsersRequest() (request *AddResourceToUsersRequest) {
-	request = &AddResourceToUsersRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "AddResourceToUsers", "emr", "openAPI")
-	return
-}
-
-// CreateAddResourceToUsersResponse creates a response to parse from AddResourceToUsers response
-func CreateAddResourceToUsersResponse() (response *AddResourceToUsersResponse) {
-	response = &AddResourceToUsersResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/emr/add_user_resource_role.go

@@ -1,109 +0,0 @@
-package emr
-
-//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"
-)
-
-// AddUserResourceRole invokes the emr.AddUserResourceRole API synchronously
-// api document: https://help.aliyun.com/api/emr/adduserresourcerole.html
-func (client *Client) AddUserResourceRole(request *AddUserResourceRoleRequest) (response *AddUserResourceRoleResponse, err error) {
-	response = CreateAddUserResourceRoleResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddUserResourceRoleWithChan invokes the emr.AddUserResourceRole API asynchronously
-// api document: https://help.aliyun.com/api/emr/adduserresourcerole.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddUserResourceRoleWithChan(request *AddUserResourceRoleRequest) (<-chan *AddUserResourceRoleResponse, <-chan error) {
-	responseChan := make(chan *AddUserResourceRoleResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddUserResourceRole(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddUserResourceRoleWithCallback invokes the emr.AddUserResourceRole API asynchronously
-// api document: https://help.aliyun.com/api/emr/adduserresourcerole.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddUserResourceRoleWithCallback(request *AddUserResourceRoleRequest, callback func(response *AddUserResourceRoleResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddUserResourceRoleResponse
-		var err error
-		defer close(result)
-		response, err = client.AddUserResourceRole(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddUserResourceRoleRequest is the request struct for api AddUserResourceRole
-type AddUserResourceRoleRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceId      string           `position:"Query" name:"ResourceId"`
-	RoleId          requests.Integer `position:"Query" name:"RoleId"`
-	ResourceType    string           `position:"Query" name:"ResourceType"`
-	AliyunUserId    string           `position:"Query" name:"AliyunUserId"`
-}
-
-// AddUserResourceRoleResponse is the response struct for api AddUserResourceRole
-type AddUserResourceRoleResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateAddUserResourceRoleRequest creates a request to invoke AddUserResourceRole API
-func CreateAddUserResourceRoleRequest() (request *AddUserResourceRoleRequest) {
-	request = &AddUserResourceRoleRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "AddUserResourceRole", "emr", "openAPI")
-	return
-}
-
-// CreateAddUserResourceRoleResponse creates a response to parse from AddUserResourceRole response
-func CreateAddUserResourceRoleResponse() (response *AddUserResourceRoleResponse) {
-	response = &AddUserResourceRoleResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/attach_cluster_for_note.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// AttachClusterForNote invokes the emr.AttachClusterForNote API synchronously
-// api document: https://help.aliyun.com/api/emr/attachclusterfornote.html
-func (client *Client) AttachClusterForNote(request *AttachClusterForNoteRequest) (response *AttachClusterForNoteResponse, err error) {
-	response = CreateAttachClusterForNoteResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AttachClusterForNoteWithChan invokes the emr.AttachClusterForNote API asynchronously
-// api document: https://help.aliyun.com/api/emr/attachclusterfornote.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachClusterForNoteWithChan(request *AttachClusterForNoteRequest) (<-chan *AttachClusterForNoteResponse, <-chan error) {
-	responseChan := make(chan *AttachClusterForNoteResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AttachClusterForNote(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AttachClusterForNoteWithCallback invokes the emr.AttachClusterForNote API asynchronously
-// api document: https://help.aliyun.com/api/emr/attachclusterfornote.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachClusterForNoteWithCallback(request *AttachClusterForNoteRequest, callback func(response *AttachClusterForNoteResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AttachClusterForNoteResponse
-		var err error
-		defer close(result)
-		response, err = client.AttachClusterForNote(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AttachClusterForNoteRequest is the request struct for api AttachClusterForNote
-type AttachClusterForNoteRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// AttachClusterForNoteResponse is the response struct for api AttachClusterForNote
-type AttachClusterForNoteResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAttachClusterForNoteRequest creates a request to invoke AttachClusterForNote API
-func CreateAttachClusterForNoteRequest() (request *AttachClusterForNoteRequest) {
-	request = &AttachClusterForNoteRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "AttachClusterForNote", "emr", "openAPI")
-	return
-}
-
-// CreateAttachClusterForNoteResponse creates a response to parse from AttachClusterForNote response
-func CreateAttachClusterForNoteResponse() (response *AttachClusterForNoteResponse) {
-	response = &AttachClusterForNoteResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/attach_pub_ip.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// AttachPubIp invokes the emr.AttachPubIp API synchronously
-// api document: https://help.aliyun.com/api/emr/attachpubip.html
-func (client *Client) AttachPubIp(request *AttachPubIpRequest) (response *AttachPubIpResponse, err error) {
-	response = CreateAttachPubIpResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AttachPubIpWithChan invokes the emr.AttachPubIp API asynchronously
-// api document: https://help.aliyun.com/api/emr/attachpubip.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachPubIpWithChan(request *AttachPubIpRequest) (<-chan *AttachPubIpResponse, <-chan error) {
-	responseChan := make(chan *AttachPubIpResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AttachPubIp(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AttachPubIpWithCallback invokes the emr.AttachPubIp API asynchronously
-// api document: https://help.aliyun.com/api/emr/attachpubip.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachPubIpWithCallback(request *AttachPubIpRequest, callback func(response *AttachPubIpResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AttachPubIpResponse
-		var err error
-		defer close(result)
-		response, err = client.AttachPubIp(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AttachPubIpRequest is the request struct for api AttachPubIp
-type AttachPubIpRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	InstanceIds     *[]string        `position:"Query" name:"InstanceIds"  type:"Repeated"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// AttachPubIpResponse is the response struct for api AttachPubIp
-type AttachPubIpResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAttachPubIpRequest creates a request to invoke AttachPubIp API
-func CreateAttachPubIpRequest() (request *AttachPubIpRequest) {
-	request = &AttachPubIpRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "AttachPubIp", "emr", "openAPI")
-	return
-}
-
-// CreateAttachPubIpResponse creates a response to parse from AttachPubIp response
-func CreateAttachPubIpResponse() (response *AttachPubIpResponse) {
-	response = &AttachPubIpResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/emr/authorize_security_group.go

@@ -76,10 +76,10 @@ func (client *Client) AuthorizeSecurityGroupWithCallback(request *AuthorizeSecur
 // AuthorizeSecurityGroupRequest is the request struct for api AuthorizeSecurityGroup
 type AuthorizeSecurityGroupRequest struct {
 	*requests.RpcRequest
-	BizType         string           `position:"Query" name:"BizType"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	BizContent      string           `position:"Query" name:"BizContent"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
+	BizType         string           `position:"Query" name:"BizType"`
+	BizContent      string           `position:"Query" name:"BizContent"`
 }
 
 // AuthorizeSecurityGroupResponse is the response struct for api AuthorizeSecurityGroup

+ 0 - 105
services/emr/cancel_etl_job_release.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// CancelETLJobRelease invokes the emr.CancelETLJobRelease API synchronously
-// api document: https://help.aliyun.com/api/emr/canceletljobrelease.html
-func (client *Client) CancelETLJobRelease(request *CancelETLJobReleaseRequest) (response *CancelETLJobReleaseResponse, err error) {
-	response = CreateCancelETLJobReleaseResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CancelETLJobReleaseWithChan invokes the emr.CancelETLJobRelease API asynchronously
-// api document: https://help.aliyun.com/api/emr/canceletljobrelease.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CancelETLJobReleaseWithChan(request *CancelETLJobReleaseRequest) (<-chan *CancelETLJobReleaseResponse, <-chan error) {
-	responseChan := make(chan *CancelETLJobReleaseResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CancelETLJobRelease(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CancelETLJobReleaseWithCallback invokes the emr.CancelETLJobRelease API asynchronously
-// api document: https://help.aliyun.com/api/emr/canceletljobrelease.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CancelETLJobReleaseWithCallback(request *CancelETLJobReleaseRequest, callback func(response *CancelETLJobReleaseResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CancelETLJobReleaseResponse
-		var err error
-		defer close(result)
-		response, err = client.CancelETLJobRelease(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CancelETLJobReleaseRequest is the request struct for api CancelETLJobRelease
-type CancelETLJobReleaseRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	EtlJobId        string           `position:"Query" name:"EtlJobId"`
-	ReleaseId       string           `position:"Query" name:"ReleaseId"`
-}
-
-// CancelETLJobReleaseResponse is the response struct for api CancelETLJobRelease
-type CancelETLJobReleaseResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCancelETLJobReleaseRequest creates a request to invoke CancelETLJobRelease API
-func CreateCancelETLJobReleaseRequest() (request *CancelETLJobReleaseRequest) {
-	request = &CancelETLJobReleaseRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CancelETLJobRelease", "emr", "openAPI")
-	return
-}
-
-// CreateCancelETLJobReleaseResponse creates a response to parse from CancelETLJobRelease response
-func CreateCancelETLJobReleaseResponse() (response *CancelETLJobReleaseResponse) {
-	response = &CancelETLJobReleaseResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/emr/check_data_source.go

@@ -1,107 +0,0 @@
-package emr
-
-//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"
-)
-
-// CheckDataSource invokes the emr.CheckDataSource API synchronously
-// api document: https://help.aliyun.com/api/emr/checkdatasource.html
-func (client *Client) CheckDataSource(request *CheckDataSourceRequest) (response *CheckDataSourceResponse, err error) {
-	response = CreateCheckDataSourceResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CheckDataSourceWithChan invokes the emr.CheckDataSource API asynchronously
-// api document: https://help.aliyun.com/api/emr/checkdatasource.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckDataSourceWithChan(request *CheckDataSourceRequest) (<-chan *CheckDataSourceResponse, <-chan error) {
-	responseChan := make(chan *CheckDataSourceResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CheckDataSource(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CheckDataSourceWithCallback invokes the emr.CheckDataSource API asynchronously
-// api document: https://help.aliyun.com/api/emr/checkdatasource.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CheckDataSourceWithCallback(request *CheckDataSourceRequest, callback func(response *CheckDataSourceResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CheckDataSourceResponse
-		var err error
-		defer close(result)
-		response, err = client.CheckDataSource(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CheckDataSourceRequest is the request struct for api CheckDataSource
-type CheckDataSourceRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Conf            string           `position:"Query" name:"Conf"`
-	Id              string           `position:"Query" name:"Id"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// CheckDataSourceResponse is the response struct for api CheckDataSource
-type CheckDataSourceResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	CommandId string `json:"CommandId" xml:"CommandId"`
-}
-
-// CreateCheckDataSourceRequest creates a request to invoke CheckDataSource API
-func CreateCheckDataSourceRequest() (request *CheckDataSourceRequest) {
-	request = &CheckDataSourceRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CheckDataSource", "emr", "openAPI")
-	return
-}
-
-// CreateCheckDataSourceResponse creates a response to parse from CheckDataSource response
-func CreateCheckDataSourceResponse() (response *CheckDataSourceResponse) {
-	response = &CheckDataSourceResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 105 - 0
services/emr/cleanup_flow_entity_snapshot.go

@@ -0,0 +1,105 @@
+package emr
+
+//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"
+)
+
+// CleanupFlowEntitySnapshot invokes the emr.CleanupFlowEntitySnapshot API synchronously
+// api document: https://help.aliyun.com/api/emr/cleanupflowentitysnapshot.html
+func (client *Client) CleanupFlowEntitySnapshot(request *CleanupFlowEntitySnapshotRequest) (response *CleanupFlowEntitySnapshotResponse, err error) {
+	response = CreateCleanupFlowEntitySnapshotResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CleanupFlowEntitySnapshotWithChan invokes the emr.CleanupFlowEntitySnapshot API asynchronously
+// api document: https://help.aliyun.com/api/emr/cleanupflowentitysnapshot.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CleanupFlowEntitySnapshotWithChan(request *CleanupFlowEntitySnapshotRequest) (<-chan *CleanupFlowEntitySnapshotResponse, <-chan error) {
+	responseChan := make(chan *CleanupFlowEntitySnapshotResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CleanupFlowEntitySnapshot(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CleanupFlowEntitySnapshotWithCallback invokes the emr.CleanupFlowEntitySnapshot API asynchronously
+// api document: https://help.aliyun.com/api/emr/cleanupflowentitysnapshot.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CleanupFlowEntitySnapshotWithCallback(request *CleanupFlowEntitySnapshotRequest, callback func(response *CleanupFlowEntitySnapshotResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CleanupFlowEntitySnapshotResponse
+		var err error
+		defer close(result)
+		response, err = client.CleanupFlowEntitySnapshot(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CleanupFlowEntitySnapshotRequest is the request struct for api CleanupFlowEntitySnapshot
+type CleanupFlowEntitySnapshotRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EntityIdList    string           `position:"Query" name:"EntityIdList"`
+}
+
+// CleanupFlowEntitySnapshotResponse is the response struct for api CleanupFlowEntitySnapshot
+type CleanupFlowEntitySnapshotResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      bool   `json:"Data" xml:"Data"`
+}
+
+// CreateCleanupFlowEntitySnapshotRequest creates a request to invoke CleanupFlowEntitySnapshot API
+func CreateCleanupFlowEntitySnapshotRequest() (request *CleanupFlowEntitySnapshotRequest) {
+	request = &CleanupFlowEntitySnapshotRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Emr", "2016-04-08", "CleanupFlowEntitySnapshot", "emr", "openAPI")
+	return
+}
+
+// CreateCleanupFlowEntitySnapshotResponse creates a response to parse from CleanupFlowEntitySnapshot response
+func CreateCleanupFlowEntitySnapshotResponse() (response *CleanupFlowEntitySnapshotResponse) {
+	response = &CleanupFlowEntitySnapshotResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/emr/clone_flow_job.go

@@ -76,6 +76,7 @@ func (client *Client) CloneFlowJobWithCallback(request *CloneFlowJobRequest, cal
 // CloneFlowJobRequest is the request struct for api CloneFlowJob
 type CloneFlowJobRequest struct {
 	*requests.RpcRequest
+	Name      string `position:"Query" name:"Name"`
 	Id        string `position:"Query" name:"Id"`
 	ProjectId string `position:"Query" name:"ProjectId"`
 }

+ 107 - 0
services/emr/commit_flow_entity_snapshot.go

@@ -0,0 +1,107 @@
+package emr
+
+//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"
+)
+
+// CommitFlowEntitySnapshot invokes the emr.CommitFlowEntitySnapshot API synchronously
+// api document: https://help.aliyun.com/api/emr/commitflowentitysnapshot.html
+func (client *Client) CommitFlowEntitySnapshot(request *CommitFlowEntitySnapshotRequest) (response *CommitFlowEntitySnapshotResponse, err error) {
+	response = CreateCommitFlowEntitySnapshotResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CommitFlowEntitySnapshotWithChan invokes the emr.CommitFlowEntitySnapshot API asynchronously
+// api document: https://help.aliyun.com/api/emr/commitflowentitysnapshot.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CommitFlowEntitySnapshotWithChan(request *CommitFlowEntitySnapshotRequest) (<-chan *CommitFlowEntitySnapshotResponse, <-chan error) {
+	responseChan := make(chan *CommitFlowEntitySnapshotResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CommitFlowEntitySnapshot(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CommitFlowEntitySnapshotWithCallback invokes the emr.CommitFlowEntitySnapshot API asynchronously
+// api document: https://help.aliyun.com/api/emr/commitflowentitysnapshot.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CommitFlowEntitySnapshotWithCallback(request *CommitFlowEntitySnapshotRequest, callback func(response *CommitFlowEntitySnapshotResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CommitFlowEntitySnapshotResponse
+		var err error
+		defer close(result)
+		response, err = client.CommitFlowEntitySnapshot(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CommitFlowEntitySnapshotRequest is the request struct for api CommitFlowEntitySnapshot
+type CommitFlowEntitySnapshotRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EntityType      string           `position:"Query" name:"EntityType"`
+	EntityId        string           `position:"Query" name:"EntityId"`
+	Message         string           `position:"Query" name:"Message"`
+}
+
+// CommitFlowEntitySnapshotResponse is the response struct for api CommitFlowEntitySnapshot
+type CommitFlowEntitySnapshotResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      string `json:"Data" xml:"Data"`
+}
+
+// CreateCommitFlowEntitySnapshotRequest creates a request to invoke CommitFlowEntitySnapshot API
+func CreateCommitFlowEntitySnapshotRequest() (request *CommitFlowEntitySnapshotRequest) {
+	request = &CommitFlowEntitySnapshotRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Emr", "2016-04-08", "CommitFlowEntitySnapshot", "emr", "openAPI")
+	return
+}
+
+// CreateCommitFlowEntitySnapshotResponse creates a response to parse from CommitFlowEntitySnapshot response
+func CreateCommitFlowEntitySnapshotResponse() (response *CommitFlowEntitySnapshotResponse) {
+	response = &CommitFlowEntitySnapshotResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 104
services/emr/common_api_white_list.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// CommonApiWhiteList invokes the emr.CommonApiWhiteList API synchronously
-// api document: https://help.aliyun.com/api/emr/commonapiwhitelist.html
-func (client *Client) CommonApiWhiteList(request *CommonApiWhiteListRequest) (response *CommonApiWhiteListResponse, err error) {
-	response = CreateCommonApiWhiteListResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CommonApiWhiteListWithChan invokes the emr.CommonApiWhiteList API asynchronously
-// api document: https://help.aliyun.com/api/emr/commonapiwhitelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CommonApiWhiteListWithChan(request *CommonApiWhiteListRequest) (<-chan *CommonApiWhiteListResponse, <-chan error) {
-	responseChan := make(chan *CommonApiWhiteListResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CommonApiWhiteList(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CommonApiWhiteListWithCallback invokes the emr.CommonApiWhiteList API asynchronously
-// api document: https://help.aliyun.com/api/emr/commonapiwhitelist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CommonApiWhiteListWithCallback(request *CommonApiWhiteListRequest, callback func(response *CommonApiWhiteListResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CommonApiWhiteListResponse
-		var err error
-		defer close(result)
-		response, err = client.CommonApiWhiteList(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CommonApiWhiteListRequest is the request struct for api CommonApiWhiteList
-type CommonApiWhiteListRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-}
-
-// CommonApiWhiteListResponse is the response struct for api CommonApiWhiteList
-type CommonApiWhiteListResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	WhiteList string `json:"WhiteList" xml:"WhiteList"`
-}
-
-// CreateCommonApiWhiteListRequest creates a request to invoke CommonApiWhiteList API
-func CreateCommonApiWhiteListRequest() (request *CommonApiWhiteListRequest) {
-	request = &CommonApiWhiteListRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CommonApiWhiteList", "emr", "openAPI")
-	return
-}
-
-// CreateCommonApiWhiteListResponse creates a response to parse from CommonApiWhiteList response
-func CreateCommonApiWhiteListResponse() (response *CommonApiWhiteListResponse) {
-	response = &CommonApiWhiteListResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 116
services/emr/context_query_log.go

@@ -1,116 +0,0 @@
-package emr
-
-//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"
-)
-
-// ContextQueryLog invokes the emr.ContextQueryLog API synchronously
-// api document: https://help.aliyun.com/api/emr/contextquerylog.html
-func (client *Client) ContextQueryLog(request *ContextQueryLogRequest) (response *ContextQueryLogResponse, err error) {
-	response = CreateContextQueryLogResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ContextQueryLogWithChan invokes the emr.ContextQueryLog API asynchronously
-// api document: https://help.aliyun.com/api/emr/contextquerylog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ContextQueryLogWithChan(request *ContextQueryLogRequest) (<-chan *ContextQueryLogResponse, <-chan error) {
-	responseChan := make(chan *ContextQueryLogResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ContextQueryLog(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ContextQueryLogWithCallback invokes the emr.ContextQueryLog API asynchronously
-// api document: https://help.aliyun.com/api/emr/contextquerylog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ContextQueryLogWithCallback(request *ContextQueryLogRequest, callback func(response *ContextQueryLogResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ContextQueryLogResponse
-		var err error
-		defer close(result)
-		response, err = client.ContextQueryLog(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ContextQueryLogRequest is the request struct for api ContextQueryLog
-type ContextQueryLogRequest struct {
-	*requests.RpcRequest
-	PackId          string           `position:"Query" name:"PackId"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	TotalOffset     requests.Integer `position:"Query" name:"TotalOffset"`
-	Size            requests.Integer `position:"Query" name:"Size"`
-	PackMeta        string           `position:"Query" name:"PackMeta"`
-	From            requests.Integer `position:"Query" name:"From"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	To              requests.Integer `position:"Query" name:"To"`
-	Reverse         requests.Boolean `position:"Query" name:"Reverse"`
-	LogStore        string           `position:"Query" name:"LogStore"`
-}
-
-// ContextQueryLogResponse is the response struct for api ContextQueryLog
-type ContextQueryLogResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	PackId    string `json:"PackId" xml:"PackId"`
-	PackMeta  string `json:"PackMeta" xml:"PackMeta"`
-	Time      string `json:"Time" xml:"Time"`
-	Logs      Logs   `json:"Logs" xml:"Logs"`
-}
-
-// CreateContextQueryLogRequest creates a request to invoke ContextQueryLog API
-func CreateContextQueryLogRequest() (request *ContextQueryLogRequest) {
-	request = &ContextQueryLogRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "ContextQueryLog", "emr", "openAPI")
-	return
-}
-
-// CreateContextQueryLogResponse creates a response to parse from ContextQueryLog response
-func CreateContextQueryLogResponse() (response *ContextQueryLogResponse) {
-	response = &ContextQueryLogResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/emr/create_alert_contact.go

@@ -1,108 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateAlertContact invokes the emr.CreateAlertContact API synchronously
-// api document: https://help.aliyun.com/api/emr/createalertcontact.html
-func (client *Client) CreateAlertContact(request *CreateAlertContactRequest) (response *CreateAlertContactResponse, err error) {
-	response = CreateCreateAlertContactResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateAlertContactWithChan invokes the emr.CreateAlertContact API asynchronously
-// api document: https://help.aliyun.com/api/emr/createalertcontact.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlertContactWithChan(request *CreateAlertContactRequest) (<-chan *CreateAlertContactResponse, <-chan error) {
-	responseChan := make(chan *CreateAlertContactResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateAlertContact(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateAlertContactWithCallback invokes the emr.CreateAlertContact API asynchronously
-// api document: https://help.aliyun.com/api/emr/createalertcontact.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlertContactWithCallback(request *CreateAlertContactRequest, callback func(response *CreateAlertContactResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateAlertContactResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateAlertContact(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateAlertContactRequest is the request struct for api CreateAlertContact
-type CreateAlertContactRequest struct {
-	*requests.RpcRequest
-	EmailVerificationCode       string           `position:"Query" name:"EmailVerificationCode"`
-	ResourceOwnerId             requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	PhoneNumberVerificationCode string           `position:"Query" name:"PhoneNumberVerificationCode"`
-	Name                        string           `position:"Query" name:"Name"`
-	PhoneNumber                 string           `position:"Query" name:"PhoneNumber"`
-	Email                       string           `position:"Query" name:"Email"`
-}
-
-// CreateAlertContactResponse is the response struct for api CreateAlertContact
-type CreateAlertContactResponse struct {
-	*responses.BaseResponse
-	Id int64 `json:"Id" xml:"Id"`
-}
-
-// CreateCreateAlertContactRequest creates a request to invoke CreateAlertContact API
-func CreateCreateAlertContactRequest() (request *CreateAlertContactRequest) {
-	request = &CreateAlertContactRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateAlertContact", "emr", "openAPI")
-	return
-}
-
-// CreateCreateAlertContactResponse creates a response to parse from CreateAlertContact response
-func CreateCreateAlertContactResponse() (response *CreateAlertContactResponse) {
-	response = &CreateAlertContactResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/emr/create_alert_ding_ding_group.go

@@ -1,106 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateAlertDingDingGroup invokes the emr.CreateAlertDingDingGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/createalertdingdinggroup.html
-func (client *Client) CreateAlertDingDingGroup(request *CreateAlertDingDingGroupRequest) (response *CreateAlertDingDingGroupResponse, err error) {
-	response = CreateCreateAlertDingDingGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateAlertDingDingGroupWithChan invokes the emr.CreateAlertDingDingGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createalertdingdinggroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlertDingDingGroupWithChan(request *CreateAlertDingDingGroupRequest) (<-chan *CreateAlertDingDingGroupResponse, <-chan error) {
-	responseChan := make(chan *CreateAlertDingDingGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateAlertDingDingGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateAlertDingDingGroupWithCallback invokes the emr.CreateAlertDingDingGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createalertdingdinggroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlertDingDingGroupWithCallback(request *CreateAlertDingDingGroupRequest, callback func(response *CreateAlertDingDingGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateAlertDingDingGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateAlertDingDingGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateAlertDingDingGroupRequest is the request struct for api CreateAlertDingDingGroup
-type CreateAlertDingDingGroupRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Name            string           `position:"Query" name:"Name"`
-	Description     string           `position:"Query" name:"Description"`
-	WebHookUrl      string           `position:"Query" name:"WebHookUrl"`
-}
-
-// CreateAlertDingDingGroupResponse is the response struct for api CreateAlertDingDingGroup
-type CreateAlertDingDingGroupResponse struct {
-	*responses.BaseResponse
-	Id int64 `json:"Id" xml:"Id"`
-}
-
-// CreateCreateAlertDingDingGroupRequest creates a request to invoke CreateAlertDingDingGroup API
-func CreateCreateAlertDingDingGroupRequest() (request *CreateAlertDingDingGroupRequest) {
-	request = &CreateAlertDingDingGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateAlertDingDingGroup", "emr", "openAPI")
-	return
-}
-
-// CreateCreateAlertDingDingGroupResponse creates a response to parse from CreateAlertDingDingGroup response
-func CreateCreateAlertDingDingGroupResponse() (response *CreateAlertDingDingGroupResponse) {
-	response = &CreateAlertDingDingGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/emr/create_alert_user_group.go

@@ -1,106 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateAlertUserGroup invokes the emr.CreateAlertUserGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/createalertusergroup.html
-func (client *Client) CreateAlertUserGroup(request *CreateAlertUserGroupRequest) (response *CreateAlertUserGroupResponse, err error) {
-	response = CreateCreateAlertUserGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateAlertUserGroupWithChan invokes the emr.CreateAlertUserGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createalertusergroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlertUserGroupWithChan(request *CreateAlertUserGroupRequest) (<-chan *CreateAlertUserGroupResponse, <-chan error) {
-	responseChan := make(chan *CreateAlertUserGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateAlertUserGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateAlertUserGroupWithCallback invokes the emr.CreateAlertUserGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createalertusergroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlertUserGroupWithCallback(request *CreateAlertUserGroupRequest, callback func(response *CreateAlertUserGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateAlertUserGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateAlertUserGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateAlertUserGroupRequest is the request struct for api CreateAlertUserGroup
-type CreateAlertUserGroupRequest struct {
-	*requests.RpcRequest
-	UserList        string           `position:"Query" name:"UserList"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Name            string           `position:"Query" name:"Name"`
-	Description     string           `position:"Query" name:"Description"`
-}
-
-// CreateAlertUserGroupResponse is the response struct for api CreateAlertUserGroup
-type CreateAlertUserGroupResponse struct {
-	*responses.BaseResponse
-	Id int64 `json:"Id" xml:"Id"`
-}
-
-// CreateCreateAlertUserGroupRequest creates a request to invoke CreateAlertUserGroup API
-func CreateCreateAlertUserGroupRequest() (request *CreateAlertUserGroupRequest) {
-	request = &CreateAlertUserGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateAlertUserGroup", "emr", "openAPI")
-	return
-}
-
-// CreateCreateAlertUserGroupResponse creates a response to parse from CreateAlertUserGroup response
-func CreateCreateAlertUserGroupResponse() (response *CreateAlertUserGroupResponse) {
-	response = &CreateAlertUserGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/emr/create_backup_rule.go

@@ -1,114 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateBackupRule invokes the emr.CreateBackupRule API synchronously
-// api document: https://help.aliyun.com/api/emr/createbackuprule.html
-func (client *Client) CreateBackupRule(request *CreateBackupRuleRequest) (response *CreateBackupRuleResponse, err error) {
-	response = CreateCreateBackupRuleResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateBackupRuleWithChan invokes the emr.CreateBackupRule API asynchronously
-// api document: https://help.aliyun.com/api/emr/createbackuprule.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateBackupRuleWithChan(request *CreateBackupRuleRequest) (<-chan *CreateBackupRuleResponse, <-chan error) {
-	responseChan := make(chan *CreateBackupRuleResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateBackupRule(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateBackupRuleWithCallback invokes the emr.CreateBackupRule API asynchronously
-// api document: https://help.aliyun.com/api/emr/createbackuprule.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateBackupRuleWithCallback(request *CreateBackupRuleRequest, callback func(response *CreateBackupRuleResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateBackupRuleResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateBackupRule(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateBackupRuleRequest is the request struct for api CreateBackupRule
-type CreateBackupRuleRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId  requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	BackupMethodType string           `position:"Query" name:"BackupMethodType"`
-	Description      string           `position:"Query" name:"Description"`
-	BackupPlanId     string           `position:"Query" name:"BackupPlanId"`
-	MetadataType     string           `position:"Query" name:"MetadataType"`
-	Name             string           `position:"Query" name:"Name"`
-}
-
-// CreateBackupRuleResponse is the response struct for api CreateBackupRule
-type CreateBackupRuleResponse struct {
-	*responses.BaseResponse
-	RequestId        string `json:"RequestId" xml:"RequestId"`
-	Id               string `json:"Id" xml:"Id"`
-	Name             string `json:"Name" xml:"Name"`
-	Description      string `json:"Description" xml:"Description"`
-	MetadataType     string `json:"MetadataType" xml:"MetadataType"`
-	BackupMethodType string `json:"BackupMethodType" xml:"BackupMethodType"`
-	BackupPlanId     string `json:"BackupPlanId" xml:"BackupPlanId"`
-}
-
-// CreateCreateBackupRuleRequest creates a request to invoke CreateBackupRule API
-func CreateCreateBackupRuleRequest() (request *CreateBackupRuleRequest) {
-	request = &CreateBackupRuleRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateBackupRule", "emr", "openAPI")
-	return
-}
-
-// CreateCreateBackupRuleResponse creates a response to parse from CreateBackupRule response
-func CreateCreateBackupRuleResponse() (response *CreateBackupRuleResponse) {
-	response = &CreateBackupRuleResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 117
services/emr/create_batch_users.go

@@ -1,117 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateBatchUsers invokes the emr.CreateBatchUsers API synchronously
-// api document: https://help.aliyun.com/api/emr/createbatchusers.html
-func (client *Client) CreateBatchUsers(request *CreateBatchUsersRequest) (response *CreateBatchUsersResponse, err error) {
-	response = CreateCreateBatchUsersResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateBatchUsersWithChan invokes the emr.CreateBatchUsers API asynchronously
-// api document: https://help.aliyun.com/api/emr/createbatchusers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateBatchUsersWithChan(request *CreateBatchUsersRequest) (<-chan *CreateBatchUsersResponse, <-chan error) {
-	responseChan := make(chan *CreateBatchUsersResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateBatchUsers(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateBatchUsersWithCallback invokes the emr.CreateBatchUsers API asynchronously
-// api document: https://help.aliyun.com/api/emr/createbatchusers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateBatchUsersWithCallback(request *CreateBatchUsersRequest, callback func(response *CreateBatchUsersResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateBatchUsersResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateBatchUsers(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateBatchUsersRequest is the request struct for api CreateBatchUsers
-type CreateBatchUsersRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId   requests.Integer                     `position:"Query" name:"ResourceOwnerId"`
-	UserBaseParamList *[]CreateBatchUsersUserBaseParamList `position:"Query" name:"UserBaseParamList"  type:"Repeated"`
-	RoleId            *[]string                            `position:"Query" name:"RoleId"  type:"Repeated"`
-	GroupId           *[]string                            `position:"Query" name:"GroupId"  type:"Repeated"`
-	Description       string                               `position:"Query" name:"Description"`
-}
-
-// CreateBatchUsersUserBaseParamList is a repeated param struct in CreateBatchUsersRequest
-type CreateBatchUsersUserBaseParamList struct {
-	AliyunUserId string `name:"AliyunUserId"`
-	UserName     string `name:"UserName"`
-	UserType     string `name:"UserType"`
-	IsSuperAdmin string `name:"IsSuperAdmin"`
-}
-
-// CreateBatchUsersResponse is the response struct for api CreateBatchUsers
-type CreateBatchUsersResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateCreateBatchUsersRequest creates a request to invoke CreateBatchUsers API
-func CreateCreateBatchUsersRequest() (request *CreateBatchUsersRequest) {
-	request = &CreateBatchUsersRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateBatchUsers", "emr", "openAPI")
-	return
-}
-
-// CreateCreateBatchUsersResponse creates a response to parse from CreateBatchUsers response
-func CreateCreateBatchUsersResponse() (response *CreateBatchUsersResponse) {
-	response = &CreateBatchUsersResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/emr/create_cluster_host_group.go

@@ -1,109 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateClusterHostGroup invokes the emr.CreateClusterHostGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/createclusterhostgroup.html
-func (client *Client) CreateClusterHostGroup(request *CreateClusterHostGroupRequest) (response *CreateClusterHostGroupResponse, err error) {
-	response = CreateCreateClusterHostGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateClusterHostGroupWithChan invokes the emr.CreateClusterHostGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createclusterhostgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateClusterHostGroupWithChan(request *CreateClusterHostGroupRequest) (<-chan *CreateClusterHostGroupResponse, <-chan error) {
-	responseChan := make(chan *CreateClusterHostGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateClusterHostGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateClusterHostGroupWithCallback invokes the emr.CreateClusterHostGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createclusterhostgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateClusterHostGroupWithCallback(request *CreateClusterHostGroupRequest, callback func(response *CreateClusterHostGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateClusterHostGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateClusterHostGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateClusterHostGroupRequest is the request struct for api CreateClusterHostGroup
-type CreateClusterHostGroupRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Comment         string           `position:"Query" name:"Comment"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	HostGroupName   string           `position:"Query" name:"HostGroupName"`
-	HostGroupType   string           `position:"Query" name:"HostGroupType"`
-}
-
-// CreateClusterHostGroupResponse is the response struct for api CreateClusterHostGroup
-type CreateClusterHostGroupResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	ClusterId   string `json:"ClusterId" xml:"ClusterId"`
-	HostGroupId string `json:"HostGroupId" xml:"HostGroupId"`
-}
-
-// CreateCreateClusterHostGroupRequest creates a request to invoke CreateClusterHostGroup API
-func CreateCreateClusterHostGroupRequest() (request *CreateClusterHostGroupRequest) {
-	request = &CreateClusterHostGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateClusterHostGroup", "emr", "openAPI")
-	return
-}
-
-// CreateCreateClusterHostGroupResponse creates a response to parse from CreateClusterHostGroup response
-func CreateCreateClusterHostGroupResponse() (response *CreateClusterHostGroupResponse) {
-	response = &CreateClusterHostGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/emr/create_cluster_script.go

@@ -1,109 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateClusterScript invokes the emr.CreateClusterScript API synchronously
-// api document: https://help.aliyun.com/api/emr/createclusterscript.html
-func (client *Client) CreateClusterScript(request *CreateClusterScriptRequest) (response *CreateClusterScriptResponse, err error) {
-	response = CreateCreateClusterScriptResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateClusterScriptWithChan invokes the emr.CreateClusterScript API asynchronously
-// api document: https://help.aliyun.com/api/emr/createclusterscript.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateClusterScriptWithChan(request *CreateClusterScriptRequest) (<-chan *CreateClusterScriptResponse, <-chan error) {
-	responseChan := make(chan *CreateClusterScriptResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateClusterScript(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateClusterScriptWithCallback invokes the emr.CreateClusterScript API asynchronously
-// api document: https://help.aliyun.com/api/emr/createclusterscript.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateClusterScriptWithCallback(request *CreateClusterScriptRequest, callback func(response *CreateClusterScriptResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateClusterScriptResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateClusterScript(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateClusterScriptRequest is the request struct for api CreateClusterScript
-type CreateClusterScriptRequest struct {
-	*requests.RpcRequest
-	Args            string           `position:"Query" name:"Args"`
-	Path            string           `position:"Query" name:"Path"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Name            string           `position:"Query" name:"Name"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	NodeIdList      string           `position:"Query" name:"NodeIdList"`
-}
-
-// CreateClusterScriptResponse is the response struct for api CreateClusterScript
-type CreateClusterScriptResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Id        string `json:"Id" xml:"Id"`
-}
-
-// CreateCreateClusterScriptRequest creates a request to invoke CreateClusterScript API
-func CreateCreateClusterScriptRequest() (request *CreateClusterScriptRequest) {
-	request = &CreateClusterScriptRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateClusterScript", "emr", "openAPI")
-	return
-}
-
-// CreateCreateClusterScriptResponse creates a response to parse from CreateClusterScript response
-func CreateCreateClusterScriptResponse() (response *CreateClusterScriptResponse) {
-	response = &CreateClusterScriptResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 10 - 10
services/emr/create_cluster_template.go

@@ -80,21 +80,14 @@ type CreateClusterTemplateRequest struct {
 	LogPath                string                                  `position:"Query" name:"LogPath"`
 	MasterPwd              string                                  `position:"Query" name:"MasterPwd"`
 	Configurations         string                                  `position:"Query" name:"Configurations"`
-	IoOptimized            requests.Boolean                        `position:"Query" name:"IoOptimized"`
-	SecurityGroupId        string                                  `position:"Query" name:"SecurityGroupId"`
 	SshEnable              requests.Boolean                        `position:"Query" name:"SshEnable"`
-	EasEnable              requests.Boolean                        `position:"Query" name:"EasEnable"`
 	KeyPairName            string                                  `position:"Query" name:"KeyPairName"`
 	MetaStoreType          string                                  `position:"Query" name:"MetaStoreType"`
 	SecurityGroupName      string                                  `position:"Query" name:"SecurityGroupName"`
-	DepositType            string                                  `position:"Query" name:"DepositType"`
 	MachineType            string                                  `position:"Query" name:"MachineType"`
 	BootstrapAction        *[]CreateClusterTemplateBootstrapAction `position:"Query" name:"BootstrapAction"  type:"Repeated"`
-	UseLocalMetaDb         requests.Boolean                        `position:"Query" name:"UseLocalMetaDb"`
 	MetaStoreConf          string                                  `position:"Query" name:"MetaStoreConf"`
 	EmrVer                 string                                  `position:"Query" name:"EmrVer"`
-	TemplateName           string                                  `position:"Query" name:"TemplateName"`
-	UserDefinedEmrEcsRole  string                                  `position:"Query" name:"UserDefinedEmrEcsRole"`
 	IsOpenPublicIp         requests.Boolean                        `position:"Query" name:"IsOpenPublicIp"`
 	Period                 requests.Integer                        `position:"Query" name:"Period"`
 	InstanceGeneration     string                                  `position:"Query" name:"InstanceGeneration"`
@@ -102,14 +95,21 @@ type CreateClusterTemplateRequest struct {
 	ClusterType            string                                  `position:"Query" name:"ClusterType"`
 	AutoRenew              requests.Boolean                        `position:"Query" name:"AutoRenew"`
 	OptionSoftWareList     *[]string                               `position:"Query" name:"OptionSoftWareList"  type:"Repeated"`
-	VpcId                  string                                  `position:"Query" name:"VpcId"`
 	NetType                string                                  `position:"Query" name:"NetType"`
-	HostGroup              *[]CreateClusterTemplateHostGroup       `position:"Query" name:"HostGroup"  type:"Repeated"`
 	ZoneId                 string                                  `position:"Query" name:"ZoneId"`
 	UseCustomHiveMetaDb    requests.Boolean                        `position:"Query" name:"UseCustomHiveMetaDb"`
+	InitCustomHiveMetaDb   requests.Boolean                        `position:"Query" name:"InitCustomHiveMetaDb"`
+	IoOptimized            requests.Boolean                        `position:"Query" name:"IoOptimized"`
+	SecurityGroupId        string                                  `position:"Query" name:"SecurityGroupId"`
+	EasEnable              requests.Boolean                        `position:"Query" name:"EasEnable"`
+	DepositType            string                                  `position:"Query" name:"DepositType"`
+	UseLocalMetaDb         requests.Boolean                        `position:"Query" name:"UseLocalMetaDb"`
+	TemplateName           string                                  `position:"Query" name:"TemplateName"`
+	UserDefinedEmrEcsRole  string                                  `position:"Query" name:"UserDefinedEmrEcsRole"`
+	VpcId                  string                                  `position:"Query" name:"VpcId"`
+	HostGroup              *[]CreateClusterTemplateHostGroup       `position:"Query" name:"HostGroup"  type:"Repeated"`
 	Config                 *[]CreateClusterTemplateConfig          `position:"Query" name:"Config"  type:"Repeated"`
 	HighAvailabilityEnable requests.Boolean                        `position:"Query" name:"HighAvailabilityEnable"`
-	InitCustomHiveMetaDb   requests.Boolean                        `position:"Query" name:"InitCustomHiveMetaDb"`
 }
 
 // CreateClusterTemplateBootstrapAction is a repeated param struct in CreateClusterTemplateRequest

+ 28 - 13
services/emr/create_cluster_v2.go

@@ -81,42 +81,45 @@ type CreateClusterV2Request struct {
 	LogPath                string                              `position:"Query" name:"LogPath"`
 	MasterPwd              string                              `position:"Query" name:"MasterPwd"`
 	Configurations         string                              `position:"Query" name:"Configurations"`
-	IoOptimized            requests.Boolean                    `position:"Query" name:"IoOptimized"`
-	SecurityGroupId        string                              `position:"Query" name:"SecurityGroupId"`
 	SshEnable              requests.Boolean                    `position:"Query" name:"SshEnable"`
-	EasEnable              requests.Boolean                    `position:"Query" name:"EasEnable"`
 	KeyPairName            string                              `position:"Query" name:"KeyPairName"`
 	MetaStoreType          string                              `position:"Query" name:"MetaStoreType"`
 	SecurityGroupName      string                              `position:"Query" name:"SecurityGroupName"`
-	DepositType            string                              `position:"Query" name:"DepositType"`
 	MachineType            string                              `position:"Query" name:"MachineType"`
 	HostComponentInfo      *[]CreateClusterV2HostComponentInfo `position:"Query" name:"HostComponentInfo"  type:"Repeated"`
+	ClickHouseConf         string                              `position:"Query" name:"ClickHouseConf"`
 	BootstrapAction        *[]CreateClusterV2BootstrapAction   `position:"Query" name:"BootstrapAction"  type:"Repeated"`
-	UseLocalMetaDb         requests.Boolean                    `position:"Query" name:"UseLocalMetaDb"`
 	MetaStoreConf          string                              `position:"Query" name:"MetaStoreConf"`
 	EmrVer                 string                              `position:"Query" name:"EmrVer"`
-	UserInfo               *[]CreateClusterV2UserInfo          `position:"Query" name:"UserInfo"  type:"Repeated"`
-	UserDefinedEmrEcsRole  string                              `position:"Query" name:"UserDefinedEmrEcsRole"`
+	Tag                    *[]CreateClusterV2Tag               `position:"Query" name:"Tag"  type:"Repeated"`
 	AuthorizeContent       string                              `position:"Query" name:"AuthorizeContent"`
 	IsOpenPublicIp         requests.Boolean                    `position:"Query" name:"IsOpenPublicIp"`
 	Period                 requests.Integer                    `position:"Query" name:"Period"`
-	WhiteListType          string                              `position:"Query" name:"WhiteListType"`
-	RelatedClusterId       string                              `position:"Query" name:"RelatedClusterId"`
 	InstanceGeneration     string                              `position:"Query" name:"InstanceGeneration"`
 	VSwitchId              string                              `position:"Query" name:"VSwitchId"`
 	ClusterType            string                              `position:"Query" name:"ClusterType"`
 	AutoRenew              requests.Boolean                    `position:"Query" name:"AutoRenew"`
 	OptionSoftWareList     *[]string                           `position:"Query" name:"OptionSoftWareList"  type:"Repeated"`
-	VpcId                  string                              `position:"Query" name:"VpcId"`
 	NetType                string                              `position:"Query" name:"NetType"`
 	Name                   string                              `position:"Query" name:"Name"`
-	HostGroup              *[]CreateClusterV2HostGroup         `position:"Query" name:"HostGroup"  type:"Repeated"`
 	ZoneId                 string                              `position:"Query" name:"ZoneId"`
-	ChargeType             string                              `position:"Query" name:"ChargeType"`
 	UseCustomHiveMetaDB    requests.Boolean                    `position:"Query" name:"UseCustomHiveMetaDB"`
+	InitCustomHiveMetaDB   requests.Boolean                    `position:"Query" name:"InitCustomHiveMetaDB"`
+	IoOptimized            requests.Boolean                    `position:"Query" name:"IoOptimized"`
+	SecurityGroupId        string                              `position:"Query" name:"SecurityGroupId"`
+	EasEnable              requests.Boolean                    `position:"Query" name:"EasEnable"`
+	DepositType            string                              `position:"Query" name:"DepositType"`
+	UseLocalMetaDb         requests.Boolean                    `position:"Query" name:"UseLocalMetaDb"`
+	UserInfo               *[]CreateClusterV2UserInfo          `position:"Query" name:"UserInfo"  type:"Repeated"`
+	UserDefinedEmrEcsRole  string                              `position:"Query" name:"UserDefinedEmrEcsRole"`
+	WhiteListType          string                              `position:"Query" name:"WhiteListType"`
+	RelatedClusterId       string                              `position:"Query" name:"RelatedClusterId"`
+	VpcId                  string                              `position:"Query" name:"VpcId"`
+	HostGroup              *[]CreateClusterV2HostGroup         `position:"Query" name:"HostGroup"  type:"Repeated"`
+	ChargeType             string                              `position:"Query" name:"ChargeType"`
+	ServiceInfo            *[]CreateClusterV2ServiceInfo       `position:"Query" name:"ServiceInfo"  type:"Repeated"`
 	Config                 *[]CreateClusterV2Config            `position:"Query" name:"Config"  type:"Repeated"`
 	HighAvailabilityEnable requests.Boolean                    `position:"Query" name:"HighAvailabilityEnable"`
-	InitCustomHiveMetaDB   requests.Boolean                    `position:"Query" name:"InitCustomHiveMetaDB"`
 }
 
 // CreateClusterV2HostComponentInfo is a repeated param struct in CreateClusterV2Request
@@ -133,6 +136,12 @@ type CreateClusterV2BootstrapAction struct {
 	Name string `name:"Name"`
 }
 
+// CreateClusterV2Tag is a repeated param struct in CreateClusterV2Request
+type CreateClusterV2Tag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
+}
+
 // CreateClusterV2UserInfo is a repeated param struct in CreateClusterV2Request
 type CreateClusterV2UserInfo struct {
 	Password string `name:"Password"`
@@ -162,6 +171,12 @@ type CreateClusterV2HostGroup struct {
 	HostGroupType   string `name:"HostGroupType"`
 }
 
+// CreateClusterV2ServiceInfo is a repeated param struct in CreateClusterV2Request
+type CreateClusterV2ServiceInfo struct {
+	ServiceVersion string `name:"ServiceVersion"`
+	ServiceName    string `name:"ServiceName"`
+}
+
 // CreateClusterV2Config is a repeated param struct in CreateClusterV2Request
 type CreateClusterV2Config struct {
 	ConfigKey   string `name:"ConfigKey"`

+ 0 - 156
services/emr/create_cluster_with_host_pool.go

@@ -1,156 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateClusterWithHostPool invokes the emr.CreateClusterWithHostPool API synchronously
-// api document: https://help.aliyun.com/api/emr/createclusterwithhostpool.html
-func (client *Client) CreateClusterWithHostPool(request *CreateClusterWithHostPoolRequest) (response *CreateClusterWithHostPoolResponse, err error) {
-	response = CreateCreateClusterWithHostPoolResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateClusterWithHostPoolWithChan invokes the emr.CreateClusterWithHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/createclusterwithhostpool.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateClusterWithHostPoolWithChan(request *CreateClusterWithHostPoolRequest) (<-chan *CreateClusterWithHostPoolResponse, <-chan error) {
-	responseChan := make(chan *CreateClusterWithHostPoolResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateClusterWithHostPool(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateClusterWithHostPoolWithCallback invokes the emr.CreateClusterWithHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/createclusterwithhostpool.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateClusterWithHostPoolWithCallback(request *CreateClusterWithHostPoolRequest, callback func(response *CreateClusterWithHostPoolResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateClusterWithHostPoolResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateClusterWithHostPool(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateClusterWithHostPoolRequest is the request struct for api CreateClusterWithHostPool
-type CreateClusterWithHostPoolRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId  requests.Integer                        `position:"Query" name:"ResourceOwnerId"`
-	ClusterName      string                                  `position:"Query" name:"ClusterName"`
-	EasEnable        requests.Boolean                        `position:"Query" name:"EasEnable"`
-	HostInfo         *[]CreateClusterWithHostPoolHostInfo    `position:"Query" name:"HostInfo"  type:"Repeated"`
-	RelatedClusterId string                                  `position:"Query" name:"RelatedClusterId"`
-	ClusterType      string                                  `position:"Query" name:"ClusterType"`
-	HostGroup        *[]CreateClusterWithHostPoolHostGroup   `position:"Query" name:"HostGroup"  type:"Repeated"`
-	StackName        string                                  `position:"Query" name:"StackName"`
-	StackVersion     string                                  `position:"Query" name:"StackVersion"`
-	ServiceInfo      *[]CreateClusterWithHostPoolServiceInfo `position:"Query" name:"ServiceInfo"  type:"Repeated"`
-	Config           *[]CreateClusterWithHostPoolConfig      `position:"Query" name:"Config"  type:"Repeated"`
-}
-
-// CreateClusterWithHostPoolHostInfo is a repeated param struct in CreateClusterWithHostPoolRequest
-type CreateClusterWithHostPoolHostInfo struct {
-	HpHostBizId          string                                           `name:"HpHostBizId"`
-	HostName             string                                           `name:"HostName"`
-	Role                 string                                           `name:"Role"`
-	GroupId              string                                           `name:"GroupId"`
-	PrivateIp            string                                           `name:"PrivateIp"`
-	ServiceComponentInfo *[]CreateClusterWithHostPoolServiceComponentInfo `name:"ServiceComponentInfo" type:"Repeated"`
-	HostGroupName        string                                           `name:"HostGroupName"`
-}
-
-// CreateClusterWithHostPoolHostGroup is a repeated param struct in CreateClusterWithHostPoolRequest
-type CreateClusterWithHostPoolHostGroup struct {
-	GroupType string `name:"GroupType"`
-	GroupId   string `name:"GroupId"`
-	GroupName string `name:"GroupName"`
-}
-
-// CreateClusterWithHostPoolServiceInfo is a repeated param struct in CreateClusterWithHostPoolRequest
-type CreateClusterWithHostPoolServiceInfo struct {
-	ServiceEcmVersion string `name:"ServiceEcmVersion"`
-	ServiceVersion    string `name:"ServiceVersion"`
-	ServiceName       string `name:"ServiceName"`
-}
-
-// CreateClusterWithHostPoolConfig is a repeated param struct in CreateClusterWithHostPoolRequest
-type CreateClusterWithHostPoolConfig struct {
-	ConfigKey   string `name:"ConfigKey"`
-	FileName    string `name:"FileName"`
-	ConfigValue string `name:"ConfigValue"`
-	ServiceName string `name:"ServiceName"`
-}
-
-// CreateClusterWithHostPoolServiceComponentInfo is a repeated param struct in CreateClusterWithHostPoolRequest
-type CreateClusterWithHostPoolServiceComponentInfo struct {
-	ServiceEcmVersion string `name:"ServiceEcmVersion"`
-	ComponentName     string `name:"ComponentName"`
-	ServiceName       string `name:"ServiceName"`
-}
-
-// CreateClusterWithHostPoolResponse is the response struct for api CreateClusterWithHostPool
-type CreateClusterWithHostPoolResponse struct {
-	*responses.BaseResponse
-	RequestId          string `json:"RequestId" xml:"RequestId"`
-	ClusterId          string `json:"ClusterId" xml:"ClusterId"`
-	WorkFlowInstanceId string `json:"WorkFlowInstanceId" xml:"WorkFlowInstanceId"`
-	OperationId        string `json:"OperationId" xml:"OperationId"`
-}
-
-// CreateCreateClusterWithHostPoolRequest creates a request to invoke CreateClusterWithHostPool API
-func CreateCreateClusterWithHostPoolRequest() (request *CreateClusterWithHostPoolRequest) {
-	request = &CreateClusterWithHostPoolRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateClusterWithHostPool", "emr", "openAPI")
-	return
-}
-
-// CreateCreateClusterWithHostPoolResponse creates a response to parse from CreateClusterWithHostPool response
-func CreateCreateClusterWithHostPoolResponse() (response *CreateClusterWithHostPoolResponse) {
-	response = &CreateClusterWithHostPoolResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/emr/create_data_source.go

@@ -78,11 +78,11 @@ type CreateDataSourceRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	NavParentId     string           `position:"Query" name:"NavParentId"`
-	Name            string           `position:"Query" name:"Name"`
 	Description     string           `position:"Query" name:"Description"`
-	SourceType      string           `position:"Query" name:"SourceType"`
 	Conf            string           `position:"Query" name:"Conf"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
+	Name            string           `position:"Query" name:"Name"`
+	SourceType      string           `position:"Query" name:"SourceType"`
 }
 
 // CreateDataSourceResponse is the response struct for api CreateDataSource

+ 0 - 110
services/emr/create_etl_job.go

@@ -1,110 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateETLJob invokes the emr.CreateETLJob API synchronously
-// api document: https://help.aliyun.com/api/emr/createetljob.html
-func (client *Client) CreateETLJob(request *CreateETLJobRequest) (response *CreateETLJobResponse, err error) {
-	response = CreateCreateETLJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateETLJobWithChan invokes the emr.CreateETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/createetljob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateETLJobWithChan(request *CreateETLJobRequest) (<-chan *CreateETLJobResponse, <-chan error) {
-	responseChan := make(chan *CreateETLJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateETLJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateETLJobWithCallback invokes the emr.CreateETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/createetljob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateETLJobWithCallback(request *CreateETLJobRequest, callback func(response *CreateETLJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateETLJobResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateETLJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateETLJobRequest is the request struct for api CreateETLJob
-type CreateETLJobRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	NavParentId     string           `position:"Query" name:"NavParentId"`
-	Name            string           `position:"Query" name:"Name"`
-	Description     string           `position:"Query" name:"Description"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	Type            string           `position:"Query" name:"Type"`
-	ProjectId       string           `position:"Query" name:"ProjectId"`
-}
-
-// CreateETLJobResponse is the response struct for api CreateETLJob
-type CreateETLJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Id        string `json:"Id" xml:"Id"`
-}
-
-// CreateCreateETLJobRequest creates a request to invoke CreateETLJob API
-func CreateCreateETLJobRequest() (request *CreateETLJobRequest) {
-	request = &CreateETLJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateETLJob", "emr", "openAPI")
-	return
-}
-
-// CreateCreateETLJobResponse creates a response to parse from CreateETLJob response
-func CreateCreateETLJobResponse() (response *CreateETLJobResponse) {
-	response = &CreateETLJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 13 - 13
services/emr/create_execution_plan.go

@@ -81,36 +81,36 @@ type CreateExecutionPlanRequest struct {
 	LogPath                string                                `position:"Query" name:"LogPath"`
 	ClusterName            string                                `position:"Query" name:"ClusterName"`
 	Configurations         string                                `position:"Query" name:"Configurations"`
-	IoOptimized            requests.Boolean                      `position:"Query" name:"IoOptimized"`
-	SecurityGroupId        string                                `position:"Query" name:"SecurityGroupId"`
-	EasEnable              requests.Boolean                      `position:"Query" name:"EasEnable"`
 	CreateClusterOnDemand  requests.Boolean                      `position:"Query" name:"CreateClusterOnDemand"`
 	StartTime              requests.Integer                      `position:"Query" name:"StartTime"`
-	JobIdList              *[]string                             `position:"Query" name:"JobIdList"  type:"Repeated"`
-	DayOfMonth             string                                `position:"Query" name:"DayOfMonth"`
 	BootstrapAction        *[]CreateExecutionPlanBootstrapAction `position:"Query" name:"BootstrapAction"  type:"Repeated"`
-	UseLocalMetaDb         requests.Boolean                      `position:"Query" name:"UseLocalMetaDb"`
 	EmrVer                 string                                `position:"Query" name:"EmrVer"`
-	UserDefinedEmrEcsRole  string                                `position:"Query" name:"UserDefinedEmrEcsRole"`
 	IsOpenPublicIp         requests.Boolean                      `position:"Query" name:"IsOpenPublicIp"`
-	ClusterId              string                                `position:"Query" name:"ClusterId"`
-	TimeUnit               string                                `position:"Query" name:"TimeUnit"`
 	InstanceGeneration     string                                `position:"Query" name:"InstanceGeneration"`
 	ClusterType            string                                `position:"Query" name:"ClusterType"`
 	VSwitchId              string                                `position:"Query" name:"VSwitchId"`
 	OptionSoftWareList     *[]string                             `position:"Query" name:"OptionSoftWareList"  type:"Repeated"`
-	VpcId                  string                                `position:"Query" name:"VpcId"`
 	NetType                string                                `position:"Query" name:"NetType"`
 	EcsOrder               *[]CreateExecutionPlanEcsOrder        `position:"Query" name:"EcsOrder"  type:"Repeated"`
-	WorkflowDefinition     string                                `position:"Query" name:"WorkflowDefinition"`
 	Name                   string                                `position:"Query" name:"Name"`
-	DayOfWeek              string                                `position:"Query" name:"DayOfWeek"`
 	ZoneId                 string                                `position:"Query" name:"ZoneId"`
 	UseCustomHiveMetaDB    requests.Boolean                      `position:"Query" name:"UseCustomHiveMetaDB"`
+	InitCustomHiveMetaDB   requests.Boolean                      `position:"Query" name:"InitCustomHiveMetaDB"`
+	IoOptimized            requests.Boolean                      `position:"Query" name:"IoOptimized"`
+	SecurityGroupId        string                                `position:"Query" name:"SecurityGroupId"`
+	EasEnable              requests.Boolean                      `position:"Query" name:"EasEnable"`
+	JobIdList              *[]string                             `position:"Query" name:"JobIdList"  type:"Repeated"`
+	DayOfMonth             string                                `position:"Query" name:"DayOfMonth"`
+	UseLocalMetaDb         requests.Boolean                      `position:"Query" name:"UseLocalMetaDb"`
+	UserDefinedEmrEcsRole  string                                `position:"Query" name:"UserDefinedEmrEcsRole"`
+	ClusterId              string                                `position:"Query" name:"ClusterId"`
+	TimeUnit               string                                `position:"Query" name:"TimeUnit"`
+	VpcId                  string                                `position:"Query" name:"VpcId"`
+	WorkflowDefinition     string                                `position:"Query" name:"WorkflowDefinition"`
+	DayOfWeek              string                                `position:"Query" name:"DayOfWeek"`
 	Strategy               string                                `position:"Query" name:"Strategy"`
 	Config                 *[]CreateExecutionPlanConfig          `position:"Query" name:"Config"  type:"Repeated"`
 	HighAvailabilityEnable requests.Boolean                      `position:"Query" name:"HighAvailabilityEnable"`
-	InitCustomHiveMetaDB   requests.Boolean                      `position:"Query" name:"InitCustomHiveMetaDB"`
 	LogEnable              requests.Boolean                      `position:"Query" name:"LogEnable"`
 }
 

+ 6 - 6
services/emr/create_flow.go

@@ -77,19 +77,19 @@ func (client *Client) CreateFlowWithCallback(request *CreateFlowRequest, callbac
 type CreateFlowRequest struct {
 	*requests.RpcRequest
 	CronExpr                string           `position:"Query" name:"CronExpr"`
-	ParentFlowList          string           `position:"Query" name:"ParentFlowList"`
-	AlertDingDingGroupBizId string           `position:"Query" name:"AlertDingDingGroupBizId"`
-	StartSchedule           requests.Integer `position:"Query" name:"StartSchedule"`
 	Description             string           `position:"Query" name:"Description"`
-	ClusterId               string           `position:"Query" name:"ClusterId"`
 	AlertUserGroupBizId     string           `position:"Query" name:"AlertUserGroupBizId"`
 	HostName                string           `position:"Query" name:"HostName"`
-	Application             string           `position:"Query" name:"Application"`
 	CreateCluster           requests.Boolean `position:"Query" name:"CreateCluster"`
-	Name                    string           `position:"Query" name:"Name"`
 	EndSchedule             requests.Integer `position:"Query" name:"EndSchedule"`
 	AlertConf               string           `position:"Query" name:"AlertConf"`
 	ProjectId               string           `position:"Query" name:"ProjectId"`
+	ParentFlowList          string           `position:"Query" name:"ParentFlowList"`
+	AlertDingDingGroupBizId string           `position:"Query" name:"AlertDingDingGroupBizId"`
+	StartSchedule           requests.Integer `position:"Query" name:"StartSchedule"`
+	ClusterId               string           `position:"Query" name:"ClusterId"`
+	Application             string           `position:"Query" name:"Application"`
+	Name                    string           `position:"Query" name:"Name"`
 	ParentCategory          string           `position:"Query" name:"ParentCategory"`
 }
 

+ 2 - 2
services/emr/create_flow_category.go

@@ -76,10 +76,10 @@ func (client *Client) CreateFlowCategoryWithCallback(request *CreateFlowCategory
 // CreateFlowCategoryRequest is the request struct for api CreateFlowCategory
 type CreateFlowCategoryRequest struct {
 	*requests.RpcRequest
-	Name      string `position:"Query" name:"Name"`
 	Type      string `position:"Query" name:"Type"`
-	ProjectId string `position:"Query" name:"ProjectId"`
 	ParentId  string `position:"Query" name:"ParentId"`
+	Name      string `position:"Query" name:"Name"`
+	ProjectId string `position:"Query" name:"ProjectId"`
 }
 
 // CreateFlowCategoryResponse is the response struct for api CreateFlowCategory

+ 110 - 0
services/emr/create_flow_edit_lock.go

@@ -0,0 +1,110 @@
+package emr
+
+//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"
+)
+
+// CreateFlowEditLock invokes the emr.CreateFlowEditLock API synchronously
+// api document: https://help.aliyun.com/api/emr/createfloweditlock.html
+func (client *Client) CreateFlowEditLock(request *CreateFlowEditLockRequest) (response *CreateFlowEditLockResponse, err error) {
+	response = CreateCreateFlowEditLockResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFlowEditLockWithChan invokes the emr.CreateFlowEditLock API asynchronously
+// api document: https://help.aliyun.com/api/emr/createfloweditlock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFlowEditLockWithChan(request *CreateFlowEditLockRequest) (<-chan *CreateFlowEditLockResponse, <-chan error) {
+	responseChan := make(chan *CreateFlowEditLockResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFlowEditLock(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFlowEditLockWithCallback invokes the emr.CreateFlowEditLock API asynchronously
+// api document: https://help.aliyun.com/api/emr/createfloweditlock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFlowEditLockWithCallback(request *CreateFlowEditLockRequest, callback func(response *CreateFlowEditLockResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFlowEditLockResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFlowEditLock(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFlowEditLockRequest is the request struct for api CreateFlowEditLock
+type CreateFlowEditLockRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EntityId        string           `position:"Query" name:"EntityId"`
+	Force           requests.Boolean `position:"Query" name:"Force"`
+}
+
+// CreateFlowEditLockResponse is the response struct for api CreateFlowEditLock
+type CreateFlowEditLockResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	BizId     string `json:"BizId" xml:"BizId"`
+	EntityId  string `json:"EntityId" xml:"EntityId"`
+	Status    string `json:"Status" xml:"Status"`
+	OwnerId   string `json:"OwnerId" xml:"OwnerId"`
+	UserId    string `json:"UserId" xml:"UserId"`
+}
+
+// CreateCreateFlowEditLockRequest creates a request to invoke CreateFlowEditLock API
+func CreateCreateFlowEditLockRequest() (request *CreateFlowEditLockRequest) {
+	request = &CreateFlowEditLockRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Emr", "2016-04-08", "CreateFlowEditLock", "emr", "openAPI")
+	return
+}
+
+// CreateCreateFlowEditLockResponse creates a response to parse from CreateFlowEditLock response
+func CreateCreateFlowEditLockResponse() (response *CreateFlowEditLockResponse) {
+	response = &CreateFlowEditLockResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 6 - 6
services/emr/create_flow_for_web.go

@@ -77,19 +77,19 @@ func (client *Client) CreateFlowForWebWithCallback(request *CreateFlowForWebRequ
 type CreateFlowForWebRequest struct {
 	*requests.RpcRequest
 	CronExpr                string           `position:"Query" name:"CronExpr"`
-	ParentFlowList          string           `position:"Query" name:"ParentFlowList"`
-	AlertDingDingGroupBizId string           `position:"Query" name:"AlertDingDingGroupBizId"`
-	StartSchedule           requests.Integer `position:"Query" name:"StartSchedule"`
 	Description             string           `position:"Query" name:"Description"`
-	ClusterId               string           `position:"Query" name:"ClusterId"`
 	AlertUserGroupBizId     string           `position:"Query" name:"AlertUserGroupBizId"`
-	Graph                   string           `position:"Query" name:"Graph"`
 	HostName                string           `position:"Query" name:"HostName"`
 	CreateCluster           requests.Boolean `position:"Query" name:"CreateCluster"`
-	Name                    string           `position:"Query" name:"Name"`
 	EndSchedule             requests.Integer `position:"Query" name:"EndSchedule"`
 	AlertConf               string           `position:"Query" name:"AlertConf"`
 	ProjectId               string           `position:"Query" name:"ProjectId"`
+	ParentFlowList          string           `position:"Query" name:"ParentFlowList"`
+	AlertDingDingGroupBizId string           `position:"Query" name:"AlertDingDingGroupBizId"`
+	StartSchedule           requests.Integer `position:"Query" name:"StartSchedule"`
+	ClusterId               string           `position:"Query" name:"ClusterId"`
+	Graph                   string           `position:"Query" name:"Graph"`
+	Name                    string           `position:"Query" name:"Name"`
 	ParentCategory          string           `position:"Query" name:"ParentCategory"`
 }
 

+ 20 - 18
services/emr/create_flow_job.go

@@ -76,24 +76,26 @@ func (client *Client) CreateFlowJobWithCallback(request *CreateFlowJobRequest, c
 // CreateFlowJobRequest is the request struct for api CreateFlowJob
 type CreateFlowJobRequest struct {
 	*requests.RpcRequest
-	RunConf        string                       `position:"Query" name:"RunConf"`
-	EnvConf        string                       `position:"Query" name:"EnvConf"`
-	Description    string                       `position:"Query" name:"Description"`
-	ClusterId      string                       `position:"Query" name:"ClusterId"`
-	Type           string                       `position:"Query" name:"Type"`
-	Params         string                       `position:"Query" name:"Params"`
-	ParamConf      string                       `position:"Query" name:"ParamConf"`
-	ResourceList   *[]CreateFlowJobResourceList `position:"Query" name:"ResourceList"  type:"Repeated"`
-	FailAct        string                       `position:"Query" name:"FailAct"`
-	Mode           string                       `position:"Query" name:"Mode"`
-	RetryInterval  requests.Integer             `position:"Query" name:"RetryInterval"`
-	MonitorConf    string                       `position:"Query" name:"MonitorConf"`
-	Name           string                       `position:"Query" name:"Name"`
-	MaxRetry       requests.Integer             `position:"Query" name:"MaxRetry"`
-	Adhoc          requests.Boolean             `position:"Query" name:"Adhoc"`
-	AlertConf      string                       `position:"Query" name:"AlertConf"`
-	ProjectId      string                       `position:"Query" name:"ProjectId"`
-	ParentCategory string                       `position:"Query" name:"ParentCategory"`
+	RunConf           string                       `position:"Query" name:"RunConf"`
+	Description       string                       `position:"Query" name:"Description"`
+	Type              string                       `position:"Query" name:"Type"`
+	ParamConf         string                       `position:"Query" name:"ParamConf"`
+	ResourceList      *[]CreateFlowJobResourceList `position:"Query" name:"ResourceList"  type:"Repeated"`
+	FailAct           string                       `position:"Query" name:"FailAct"`
+	Mode              string                       `position:"Query" name:"Mode"`
+	MonitorConf       string                       `position:"Query" name:"MonitorConf"`
+	MaxRetry          requests.Integer             `position:"Query" name:"MaxRetry"`
+	AlertConf         string                       `position:"Query" name:"AlertConf"`
+	ProjectId         string                       `position:"Query" name:"ProjectId"`
+	EnvConf           string                       `position:"Query" name:"EnvConf"`
+	MaxRunningTimeSec requests.Integer             `position:"Query" name:"MaxRunningTimeSec"`
+	ClusterId         string                       `position:"Query" name:"ClusterId"`
+	Params            string                       `position:"Query" name:"Params"`
+	CustomVariables   string                       `position:"Query" name:"CustomVariables"`
+	RetryInterval     requests.Integer             `position:"Query" name:"RetryInterval"`
+	Name              string                       `position:"Query" name:"Name"`
+	Adhoc             requests.Boolean             `position:"Query" name:"Adhoc"`
+	ParentCategory    string                       `position:"Query" name:"ParentCategory"`
 }
 
 // CreateFlowJobResourceList is a repeated param struct in CreateFlowJobRequest

+ 1 - 1
services/emr/create_flow_project.go

@@ -76,8 +76,8 @@ func (client *Client) CreateFlowProjectWithCallback(request *CreateFlowProjectRe
 // CreateFlowProjectRequest is the request struct for api CreateFlowProject
 type CreateFlowProjectRequest struct {
 	*requests.RpcRequest
-	Name        string `position:"Query" name:"Name"`
 	Description string `position:"Query" name:"Description"`
+	Name        string `position:"Query" name:"Name"`
 }
 
 // CreateFlowProjectResponse is the response struct for api CreateFlowProject

+ 2 - 2
services/emr/create_flow_project_cluster_setting.go

@@ -77,12 +77,12 @@ func (client *Client) CreateFlowProjectClusterSettingWithCallback(request *Creat
 type CreateFlowProjectClusterSettingRequest struct {
 	*requests.RpcRequest
 	UserList     *[]string `position:"Query" name:"UserList"  type:"Repeated"`
-	QueueList    *[]string `position:"Query" name:"QueueList"  type:"Repeated"`
 	HostList     *[]string `position:"Query" name:"HostList"  type:"Repeated"`
 	ClusterId    string    `position:"Query" name:"ClusterId"`
 	DefaultQueue string    `position:"Query" name:"DefaultQueue"`
-	ProjectId    string    `position:"Query" name:"ProjectId"`
 	DefaultUser  string    `position:"Query" name:"DefaultUser"`
+	QueueList    *[]string `position:"Query" name:"QueueList"  type:"Repeated"`
+	ProjectId    string    `position:"Query" name:"ProjectId"`
 }
 
 // CreateFlowProjectClusterSettingResponse is the response struct for api CreateFlowProjectClusterSetting

+ 0 - 116
services/emr/create_host_pool.go

@@ -1,116 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateHostPool invokes the emr.CreateHostPool API synchronously
-// api document: https://help.aliyun.com/api/emr/createhostpool.html
-func (client *Client) CreateHostPool(request *CreateHostPoolRequest) (response *CreateHostPoolResponse, err error) {
-	response = CreateCreateHostPoolResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateHostPoolWithChan invokes the emr.CreateHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/createhostpool.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateHostPoolWithChan(request *CreateHostPoolRequest) (<-chan *CreateHostPoolResponse, <-chan error) {
-	responseChan := make(chan *CreateHostPoolResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateHostPool(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateHostPoolWithCallback invokes the emr.CreateHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/createhostpool.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateHostPoolWithCallback(request *CreateHostPoolRequest, callback func(response *CreateHostPoolResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateHostPoolResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateHostPool(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateHostPoolRequest is the request struct for api CreateHostPool
-type CreateHostPoolRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer                 `position:"Query" name:"ResourceOwnerId"`
-	Name            string                           `position:"Query" name:"Name"`
-	Description     string                           `position:"Query" name:"Description"`
-	KubeClusterInfo *[]CreateHostPoolKubeClusterInfo `position:"Query" name:"KubeClusterInfo"  type:"Repeated"`
-	Type            string                           `position:"Query" name:"Type"`
-}
-
-// CreateHostPoolKubeClusterInfo is a repeated param struct in CreateHostPoolRequest
-type CreateHostPoolKubeClusterInfo struct {
-	ExternalKey    string `name:"ExternalKey"`
-	InternalConfig string `name:"InternalConfig"`
-	PublicConfig   string `name:"PublicConfig"`
-	SshConfig      string `name:"SshConfig"`
-}
-
-// CreateHostPoolResponse is the response struct for api CreateHostPool
-type CreateHostPoolResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	BizId     string `json:"BizId" xml:"BizId"`
-}
-
-// CreateCreateHostPoolRequest creates a request to invoke CreateHostPool API
-func CreateCreateHostPoolRequest() (request *CreateHostPoolRequest) {
-	request = &CreateHostPoolRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateHostPool", "emr", "openAPI")
-	return
-}
-
-// CreateCreateHostPoolResponse creates a response to parse from CreateHostPool response
-func CreateCreateHostPoolResponse() (response *CreateHostPoolResponse) {
-	response = &CreateHostPoolResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 3 - 3
services/emr/create_job.go

@@ -76,13 +76,13 @@ func (client *Client) CreateJobWithCallback(request *CreateJobRequest, callback
 // CreateJobRequest is the request struct for api CreateJob
 type CreateJobRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Type            string           `position:"Query" name:"Type"`
+	FailAct         string           `position:"Query" name:"FailAct"`
 	RunParameter    string           `position:"Query" name:"RunParameter"`
 	RetryInterval   requests.Integer `position:"Query" name:"RetryInterval"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	Name            string           `position:"Query" name:"Name"`
-	Type            string           `position:"Query" name:"Type"`
 	MaxRetry        requests.Integer `position:"Query" name:"MaxRetry"`
-	FailAct         string           `position:"Query" name:"FailAct"`
 }
 
 // CreateJobResponse is the response struct for api CreateJob

+ 109 - 0
services/emr/create_meta_table_preview_task.go

@@ -0,0 +1,109 @@
+package emr
+
+//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"
+)
+
+// CreateMetaTablePreviewTask invokes the emr.CreateMetaTablePreviewTask API synchronously
+// api document: https://help.aliyun.com/api/emr/createmetatablepreviewtask.html
+func (client *Client) CreateMetaTablePreviewTask(request *CreateMetaTablePreviewTaskRequest) (response *CreateMetaTablePreviewTaskResponse, err error) {
+	response = CreateCreateMetaTablePreviewTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateMetaTablePreviewTaskWithChan invokes the emr.CreateMetaTablePreviewTask API asynchronously
+// api document: https://help.aliyun.com/api/emr/createmetatablepreviewtask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMetaTablePreviewTaskWithChan(request *CreateMetaTablePreviewTaskRequest) (<-chan *CreateMetaTablePreviewTaskResponse, <-chan error) {
+	responseChan := make(chan *CreateMetaTablePreviewTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateMetaTablePreviewTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateMetaTablePreviewTaskWithCallback invokes the emr.CreateMetaTablePreviewTask API asynchronously
+// api document: https://help.aliyun.com/api/emr/createmetatablepreviewtask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMetaTablePreviewTaskWithCallback(request *CreateMetaTablePreviewTaskRequest, callback func(response *CreateMetaTablePreviewTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateMetaTablePreviewTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateMetaTablePreviewTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateMetaTablePreviewTaskRequest is the request struct for api CreateMetaTablePreviewTask
+type CreateMetaTablePreviewTaskRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ClusterId       string           `position:"Query" name:"ClusterId"`
+	Password        string           `position:"Query" name:"Password"`
+	TableId         string           `position:"Query" name:"TableId"`
+	DatabaseId      string           `position:"Query" name:"DatabaseId"`
+	User            string           `position:"Query" name:"User"`
+}
+
+// CreateMetaTablePreviewTaskResponse is the response struct for api CreateMetaTablePreviewTask
+type CreateMetaTablePreviewTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskId    string `json:"TaskId" xml:"TaskId"`
+}
+
+// CreateCreateMetaTablePreviewTaskRequest creates a request to invoke CreateMetaTablePreviewTask API
+func CreateCreateMetaTablePreviewTaskRequest() (request *CreateMetaTablePreviewTaskRequest) {
+	request = &CreateMetaTablePreviewTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Emr", "2016-04-08", "CreateMetaTablePreviewTask", "emr", "openAPI")
+	return
+}
+
+// CreateCreateMetaTablePreviewTaskResponse creates a response to parse from CreateMetaTablePreviewTask response
+func CreateCreateMetaTablePreviewTaskResponse() (response *CreateMetaTablePreviewTaskResponse) {
+	response = &CreateMetaTablePreviewTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 110
services/emr/create_nav_node.go

@@ -1,110 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateNavNode invokes the emr.CreateNavNode API synchronously
-// api document: https://help.aliyun.com/api/emr/createnavnode.html
-func (client *Client) CreateNavNode(request *CreateNavNodeRequest) (response *CreateNavNodeResponse, err error) {
-	response = CreateCreateNavNodeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateNavNodeWithChan invokes the emr.CreateNavNode API asynchronously
-// api document: https://help.aliyun.com/api/emr/createnavnode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateNavNodeWithChan(request *CreateNavNodeRequest) (<-chan *CreateNavNodeResponse, <-chan error) {
-	responseChan := make(chan *CreateNavNodeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateNavNode(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateNavNodeWithCallback invokes the emr.CreateNavNode API asynchronously
-// api document: https://help.aliyun.com/api/emr/createnavnode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateNavNodeWithCallback(request *CreateNavNodeRequest, callback func(response *CreateNavNodeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateNavNodeResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateNavNode(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateNavNodeRequest is the request struct for api CreateNavNode
-type CreateNavNodeRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Name            string           `position:"Query" name:"Name"`
-	Type            string           `position:"Query" name:"Type"`
-	ProjectId       string           `position:"Query" name:"ProjectId"`
-	CategoryType    string           `position:"Query" name:"CategoryType"`
-	ObjectId        string           `position:"Query" name:"ObjectId"`
-	ParentId        string           `position:"Query" name:"ParentId"`
-}
-
-// CreateNavNodeResponse is the response struct for api CreateNavNode
-type CreateNavNodeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Id        string `json:"Id" xml:"Id"`
-}
-
-// CreateCreateNavNodeRequest creates a request to invoke CreateNavNode API
-func CreateCreateNavNodeRequest() (request *CreateNavNodeRequest) {
-	request = &CreateNavNodeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateNavNode", "emr", "openAPI")
-	return
-}
-
-// CreateCreateNavNodeResponse creates a response to parse from CreateNavNode response
-func CreateCreateNavNodeResponse() (response *CreateNavNodeResponse) {
-	response = &CreateNavNodeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/emr/create_note.go

@@ -77,9 +77,9 @@ func (client *Client) CreateNoteWithCallback(request *CreateNoteRequest, callbac
 type CreateNoteRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Name            string           `position:"Query" name:"Name"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
 	Type            string           `position:"Query" name:"Type"`
+	Name            string           `position:"Query" name:"Name"`
 }
 
 // CreateNoteResponse is the response struct for api CreateNote

+ 1 - 1
services/emr/create_resource_pool.go

@@ -78,10 +78,10 @@ type CreateResourcePoolRequest struct {
 	*requests.RpcRequest
 	Note            string                      `position:"Query" name:"Note"`
 	ResourceOwnerId requests.Integer            `position:"Query" name:"ResourceOwnerId"`
-	Name            string                      `position:"Query" name:"Name"`
 	Active          requests.Boolean            `position:"Query" name:"Active"`
 	ClusterId       string                      `position:"Query" name:"ClusterId"`
 	YarnSiteConfig  string                      `position:"Query" name:"YarnSiteConfig"`
+	Name            string                      `position:"Query" name:"Name"`
 	Config          *[]CreateResourcePoolConfig `position:"Query" name:"Config"  type:"Repeated"`
 	PoolType        string                      `position:"Query" name:"PoolType"`
 }

+ 2 - 2
services/emr/create_resource_queue.go

@@ -77,12 +77,12 @@ func (client *Client) CreateResourceQueueWithCallback(request *CreateResourceQue
 type CreateResourceQueueRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer             `position:"Query" name:"ResourceOwnerId"`
-	ParentQueueId   requests.Integer             `position:"Query" name:"ParentQueueId"`
-	Name            string                       `position:"Query" name:"Name"`
 	QualifiedName   string                       `position:"Query" name:"QualifiedName"`
 	ResourcePoolId  requests.Integer             `position:"Query" name:"ResourcePoolId"`
 	ClusterId       string                       `position:"Query" name:"ClusterId"`
 	Leaf            requests.Boolean             `position:"Query" name:"Leaf"`
+	ParentQueueId   requests.Integer             `position:"Query" name:"ParentQueueId"`
+	Name            string                       `position:"Query" name:"Name"`
 	Config          *[]CreateResourceQueueConfig `position:"Query" name:"Config"  type:"Repeated"`
 }
 

+ 5 - 5
services/emr/create_scaling_rule.go

@@ -76,20 +76,20 @@ func (client *Client) CreateScalingRuleWithCallback(request *CreateScalingRuleRe
 // CreateScalingRuleRequest is the request struct for api CreateScalingRule
 type CreateScalingRuleRequest struct {
 	*requests.RpcRequest
-	LaunchTime           string                                `position:"Query" name:"LaunchTime"`
 	ResourceOwnerId      requests.Integer                      `position:"Query" name:"ResourceOwnerId"`
+	RuleName             string                                `position:"Query" name:"RuleName"`
+	RecurrenceEndTime    string                                `position:"Query" name:"RecurrenceEndTime"`
+	CloudWatchTrigger    *[]CreateScalingRuleCloudWatchTrigger `position:"Query" name:"CloudWatchTrigger"  type:"Repeated"`
+	Cooldown             requests.Integer                      `position:"Query" name:"Cooldown"`
+	LaunchTime           string                                `position:"Query" name:"LaunchTime"`
 	RuleCategory         string                                `position:"Query" name:"RuleCategory"`
 	AdjustmentValue      requests.Integer                      `position:"Query" name:"AdjustmentValue"`
 	AdjustmentType       string                                `position:"Query" name:"AdjustmentType"`
-	RuleName             string                                `position:"Query" name:"RuleName"`
 	ClusterId            string                                `position:"Query" name:"ClusterId"`
 	LaunchExpirationTime requests.Integer                      `position:"Query" name:"LaunchExpirationTime"`
 	RecurrenceValue      string                                `position:"Query" name:"RecurrenceValue"`
-	RecurrenceEndTime    string                                `position:"Query" name:"RecurrenceEndTime"`
-	CloudWatchTrigger    *[]CreateScalingRuleCloudWatchTrigger `position:"Query" name:"CloudWatchTrigger"  type:"Repeated"`
 	HostGroupId          string                                `position:"Query" name:"HostGroupId"`
 	SchedulerTrigger     *[]CreateScalingRuleSchedulerTrigger  `position:"Query" name:"SchedulerTrigger"  type:"Repeated"`
-	Cooldown             requests.Integer                      `position:"Query" name:"Cooldown"`
 	RecurrenceType       string                                `position:"Query" name:"RecurrenceType"`
 }
 

+ 0 - 158
services/emr/create_scaling_task_group.go

@@ -1,158 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateScalingTaskGroup invokes the emr.CreateScalingTaskGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/createscalingtaskgroup.html
-func (client *Client) CreateScalingTaskGroup(request *CreateScalingTaskGroupRequest) (response *CreateScalingTaskGroupResponse, err error) {
-	response = CreateCreateScalingTaskGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateScalingTaskGroupWithChan invokes the emr.CreateScalingTaskGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createscalingtaskgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateScalingTaskGroupWithChan(request *CreateScalingTaskGroupRequest) (<-chan *CreateScalingTaskGroupResponse, <-chan error) {
-	responseChan := make(chan *CreateScalingTaskGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateScalingTaskGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateScalingTaskGroupWithCallback invokes the emr.CreateScalingTaskGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createscalingtaskgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateScalingTaskGroupWithCallback(request *CreateScalingTaskGroupRequest, callback func(response *CreateScalingTaskGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateScalingTaskGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateScalingTaskGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateScalingTaskGroupRequest is the request struct for api CreateScalingTaskGroup
-type CreateScalingTaskGroupRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId    requests.Integer                         `position:"Query" name:"ResourceOwnerId"`
-	DataDiskCategory   string                                   `position:"Query" name:"DataDiskCategory"`
-	ClusterId          string                                   `position:"Query" name:"ClusterId"`
-	MinSize            requests.Integer                         `position:"Query" name:"MinSize"`
-	SpotStrategy       string                                   `position:"Query" name:"SpotStrategy"`
-	DataDiskSize       requests.Integer                         `position:"Query" name:"DataDiskSize"`
-	SpotPriceLimits    *[]CreateScalingTaskGroupSpotPriceLimits `position:"Query" name:"SpotPriceLimits"  type:"Repeated"`
-	ScalingRule        *[]CreateScalingTaskGroupScalingRule     `position:"Query" name:"ScalingRule"  type:"Repeated"`
-	ActiveRuleCategory string                                   `position:"Query" name:"ActiveRuleCategory"`
-	MaxSize            requests.Integer                         `position:"Query" name:"MaxSize"`
-	DataDiskCount      requests.Integer                         `position:"Query" name:"DataDiskCount"`
-	DefaultCooldown    requests.Integer                         `position:"Query" name:"DefaultCooldown"`
-	PayType            string                                   `position:"Query" name:"PayType"`
-	InstanceTypeList   *[]string                                `position:"Query" name:"InstanceTypeList"  type:"Repeated"`
-}
-
-// CreateScalingTaskGroupSpotPriceLimits is a repeated param struct in CreateScalingTaskGroupRequest
-type CreateScalingTaskGroupSpotPriceLimits struct {
-	InstanceType string `name:"InstanceType"`
-	PriceLimit   string `name:"PriceLimit"`
-}
-
-// CreateScalingTaskGroupScalingRule is a repeated param struct in CreateScalingTaskGroupRequest
-type CreateScalingTaskGroupScalingRule struct {
-	LaunchTime           string                                     `name:"LaunchTime"`
-	RuleCategory         string                                     `name:"RuleCategory"`
-	AdjustmentValue      string                                     `name:"AdjustmentValue"`
-	SchedulerTrigger     *[]CreateScalingTaskGroupSchedulerTrigger  `name:"SchedulerTrigger" type:"Repeated"`
-	AdjustmentType       string                                     `name:"AdjustmentType"`
-	Cooldown             string                                     `name:"Cooldown"`
-	RuleName             string                                     `name:"RuleName"`
-	LaunchExpirationTime string                                     `name:"LaunchExpirationTime"`
-	RecurrenceValue      string                                     `name:"RecurrenceValue"`
-	RecurrenceEndTime    string                                     `name:"RecurrenceEndTime"`
-	CloudWatchTrigger    *[]CreateScalingTaskGroupCloudWatchTrigger `name:"CloudWatchTrigger" type:"Repeated"`
-	RecurrenceType       string                                     `name:"RecurrenceType"`
-}
-
-// CreateScalingTaskGroupSchedulerTrigger is a repeated param struct in CreateScalingTaskGroupRequest
-type CreateScalingTaskGroupSchedulerTrigger struct {
-	LaunchTime           string `name:"LaunchTime"`
-	LaunchExpirationTime string `name:"LaunchExpirationTime"`
-	RecurrenceValue      string `name:"RecurrenceValue"`
-	RecurrenceEndTime    string `name:"RecurrenceEndTime"`
-	RecurrenceType       string `name:"RecurrenceType"`
-}
-
-// CreateScalingTaskGroupCloudWatchTrigger is a repeated param struct in CreateScalingTaskGroupRequest
-type CreateScalingTaskGroupCloudWatchTrigger struct {
-	Period             string `name:"Period"`
-	EvaluationCount    string `name:"EvaluationCount"`
-	Threshold          string `name:"Threshold"`
-	MetricName         string `name:"MetricName"`
-	ComparisonOperator string `name:"ComparisonOperator"`
-	Statistics         string `name:"Statistics"`
-}
-
-// CreateScalingTaskGroupResponse is the response struct for api CreateScalingTaskGroup
-type CreateScalingTaskGroupResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	HostGroupId string `json:"HostGroupId" xml:"HostGroupId"`
-}
-
-// CreateCreateScalingTaskGroupRequest creates a request to invoke CreateScalingTaskGroup API
-func CreateCreateScalingTaskGroupRequest() (request *CreateScalingTaskGroupRequest) {
-	request = &CreateScalingTaskGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateScalingTaskGroup", "emr", "openAPI")
-	return
-}
-
-// CreateCreateScalingTaskGroupResponse creates a response to parse from CreateScalingTaskGroup response
-func CreateCreateScalingTaskGroupResponse() (response *CreateScalingTaskGroupResponse) {
-	response = &CreateScalingTaskGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 29 - 27
services/emr/clone_etl_job.go → services/emr/create_tag.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// CloneETLJob invokes the emr.CloneETLJob API synchronously
-// api document: https://help.aliyun.com/api/emr/cloneetljob.html
-func (client *Client) CloneETLJob(request *CloneETLJobRequest) (response *CloneETLJobResponse, err error) {
-	response = CreateCloneETLJobResponse()
+// CreateTag invokes the emr.CreateTag API synchronously
+// api document: https://help.aliyun.com/api/emr/createtag.html
+func (client *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error) {
+	response = CreateCreateTagResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// CloneETLJobWithChan invokes the emr.CloneETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/cloneetljob.html
+// CreateTagWithChan invokes the emr.CreateTag API asynchronously
+// api document: https://help.aliyun.com/api/emr/createtag.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CloneETLJobWithChan(request *CloneETLJobRequest) (<-chan *CloneETLJobResponse, <-chan error) {
-	responseChan := make(chan *CloneETLJobResponse, 1)
+func (client *Client) CreateTagWithChan(request *CreateTagRequest) (<-chan *CreateTagResponse, <-chan error) {
+	responseChan := make(chan *CreateTagResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.CloneETLJob(request)
+		response, err := client.CreateTag(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) CloneETLJobWithChan(request *CloneETLJobRequest) (<-chan *
 	return responseChan, errChan
 }
 
-// CloneETLJobWithCallback invokes the emr.CloneETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/cloneetljob.html
+// CreateTagWithCallback invokes the emr.CreateTag API asynchronously
+// api document: https://help.aliyun.com/api/emr/createtag.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CloneETLJobWithCallback(request *CloneETLJobRequest, callback func(response *CloneETLJobResponse, err error)) <-chan int {
+func (client *Client) CreateTagWithCallback(request *CreateTagRequest, callback func(response *CreateTagResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *CloneETLJobResponse
+		var response *CreateTagResponse
 		var err error
 		defer close(result)
-		response, err = client.CloneETLJob(request)
+		response, err = client.CreateTag(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,33 +73,35 @@ func (client *Client) CloneETLJobWithCallback(request *CloneETLJobRequest, callb
 	return result
 }
 
-// CloneETLJobRequest is the request struct for api CloneETLJob
-type CloneETLJobRequest struct {
+// CreateTagRequest is the request struct for api CreateTag
+type CreateTagRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Description     string           `position:"Query" name:"Description"`
 	Name            string           `position:"Query" name:"Name"`
-	Id              string           `position:"Query" name:"Id"`
+	Id              requests.Integer `position:"Query" name:"Id"`
+	Category        string           `position:"Query" name:"Category"`
 }
 
-// CloneETLJobResponse is the response struct for api CloneETLJob
-type CloneETLJobResponse struct {
+// CreateTagResponse is the response struct for api CreateTag
+type CreateTagResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	Id        string `json:"Id" xml:"Id"`
+	Data      string `json:"Data" xml:"Data"`
 }
 
-// CreateCloneETLJobRequest creates a request to invoke CloneETLJob API
-func CreateCloneETLJobRequest() (request *CloneETLJobRequest) {
-	request = &CloneETLJobRequest{
+// CreateCreateTagRequest creates a request to invoke CreateTag API
+func CreateCreateTagRequest() (request *CreateTagRequest) {
+	request = &CreateTagRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CloneETLJob", "emr", "openAPI")
+	request.InitWithApiInfo("Emr", "2016-04-08", "CreateTag", "emr", "openAPI")
 	return
 }
 
-// CreateCloneETLJobResponse creates a response to parse from CloneETLJob response
-func CreateCloneETLJobResponse() (response *CloneETLJobResponse) {
-	response = &CloneETLJobResponse{
+// CreateCreateTagResponse creates a response to parse from CreateTag response
+func CreateCreateTagResponse() (response *CreateTagResponse) {
+	response = &CreateTagResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 0 - 109
services/emr/create_user_group.go

@@ -1,109 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateUserGroup invokes the emr.CreateUserGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/createusergroup.html
-func (client *Client) CreateUserGroup(request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error) {
-	response = CreateCreateUserGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateUserGroupWithChan invokes the emr.CreateUserGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createusergroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserGroupWithChan(request *CreateUserGroupRequest) (<-chan *CreateUserGroupResponse, <-chan error) {
-	responseChan := make(chan *CreateUserGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateUserGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateUserGroupWithCallback invokes the emr.CreateUserGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/createusergroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserGroupWithCallback(request *CreateUserGroupRequest, callback func(response *CreateUserGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateUserGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateUserGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateUserGroupRequest is the request struct for api CreateUserGroup
-type CreateUserGroupRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Description     string           `position:"Query" name:"Description"`
-	Type            string           `position:"Query" name:"Type"`
-	Name            string           `position:"Query" name:"Name"`
-	RoleIdList      *[]string        `position:"Query" name:"RoleIdList"  type:"Repeated"`
-}
-
-// CreateUserGroupResponse is the response struct for api CreateUserGroup
-type CreateUserGroupResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateCreateUserGroupRequest creates a request to invoke CreateUserGroup API
-func CreateCreateUserGroupRequest() (request *CreateUserGroupRequest) {
-	request = &CreateUserGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateUserGroup", "emr", "openAPI")
-	return
-}
-
-// CreateCreateUserGroupResponse creates a response to parse from CreateUserGroup response
-func CreateCreateUserGroupResponse() (response *CreateUserGroupResponse) {
-	response = &CreateUserGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/emr/create_user_password.go

@@ -1,114 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateUserPassword invokes the emr.CreateUserPassword API synchronously
-// api document: https://help.aliyun.com/api/emr/createuserpassword.html
-func (client *Client) CreateUserPassword(request *CreateUserPasswordRequest) (response *CreateUserPasswordResponse, err error) {
-	response = CreateCreateUserPasswordResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateUserPasswordWithChan invokes the emr.CreateUserPassword API asynchronously
-// api document: https://help.aliyun.com/api/emr/createuserpassword.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserPasswordWithChan(request *CreateUserPasswordRequest) (<-chan *CreateUserPasswordResponse, <-chan error) {
-	responseChan := make(chan *CreateUserPasswordResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateUserPassword(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateUserPasswordWithCallback invokes the emr.CreateUserPassword API asynchronously
-// api document: https://help.aliyun.com/api/emr/createuserpassword.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserPasswordWithCallback(request *CreateUserPasswordRequest, callback func(response *CreateUserPasswordResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateUserPasswordResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateUserPassword(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateUserPasswordRequest is the request struct for api CreateUserPassword
-type CreateUserPasswordRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer              `position:"Query" name:"ResourceOwnerId"`
-	Password        string                        `position:"Query" name:"Password"`
-	ClusterId       string                        `position:"Query" name:"ClusterId"`
-	UserInfo        *[]CreateUserPasswordUserInfo `position:"Query" name:"UserInfo"  type:"Repeated"`
-}
-
-// CreateUserPasswordUserInfo is a repeated param struct in CreateUserPasswordRequest
-type CreateUserPasswordUserInfo struct {
-	Type      string `name:"Type"`
-	GroupName string `name:"GroupName"`
-	UserId    string `name:"UserId"`
-	UserName  string `name:"UserName"`
-}
-
-// CreateUserPasswordResponse is the response struct for api CreateUserPassword
-type CreateUserPasswordResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateCreateUserPasswordRequest creates a request to invoke CreateUserPassword API
-func CreateCreateUserPasswordRequest() (request *CreateUserPasswordRequest) {
-	request = &CreateUserPasswordRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateUserPassword", "emr", "openAPI")
-	return
-}
-
-// CreateCreateUserPasswordResponse creates a response to parse from CreateUserPassword response
-func CreateCreateUserPasswordResponse() (response *CreateUserPasswordResponse) {
-	response = &CreateUserPasswordResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 102
services/emr/create_user_statistics.go

@@ -1,102 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateUserStatistics invokes the emr.CreateUserStatistics API synchronously
-// api document: https://help.aliyun.com/api/emr/createuserstatistics.html
-func (client *Client) CreateUserStatistics(request *CreateUserStatisticsRequest) (response *CreateUserStatisticsResponse, err error) {
-	response = CreateCreateUserStatisticsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateUserStatisticsWithChan invokes the emr.CreateUserStatistics API asynchronously
-// api document: https://help.aliyun.com/api/emr/createuserstatistics.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserStatisticsWithChan(request *CreateUserStatisticsRequest) (<-chan *CreateUserStatisticsResponse, <-chan error) {
-	responseChan := make(chan *CreateUserStatisticsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateUserStatistics(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateUserStatisticsWithCallback invokes the emr.CreateUserStatistics API asynchronously
-// api document: https://help.aliyun.com/api/emr/createuserstatistics.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUserStatisticsWithCallback(request *CreateUserStatisticsRequest, callback func(response *CreateUserStatisticsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateUserStatisticsResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateUserStatistics(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateUserStatisticsRequest is the request struct for api CreateUserStatistics
-type CreateUserStatisticsRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-}
-
-// CreateUserStatisticsResponse is the response struct for api CreateUserStatistics
-type CreateUserStatisticsResponse struct {
-	*responses.BaseResponse
-}
-
-// CreateCreateUserStatisticsRequest creates a request to invoke CreateUserStatistics API
-func CreateCreateUserStatisticsRequest() (request *CreateUserStatisticsRequest) {
-	request = &CreateUserStatisticsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateUserStatistics", "emr", "openAPI")
-	return
-}
-
-// CreateCreateUserStatisticsResponse creates a response to parse from CreateUserStatistics response
-func CreateCreateUserStatisticsResponse() (response *CreateUserStatisticsResponse) {
-	response = &CreateUserStatisticsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/create_verification_code.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// CreateVerificationCode invokes the emr.CreateVerificationCode API synchronously
-// api document: https://help.aliyun.com/api/emr/createverificationcode.html
-func (client *Client) CreateVerificationCode(request *CreateVerificationCodeRequest) (response *CreateVerificationCodeResponse, err error) {
-	response = CreateCreateVerificationCodeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateVerificationCodeWithChan invokes the emr.CreateVerificationCode API asynchronously
-// api document: https://help.aliyun.com/api/emr/createverificationcode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateVerificationCodeWithChan(request *CreateVerificationCodeRequest) (<-chan *CreateVerificationCodeResponse, <-chan error) {
-	responseChan := make(chan *CreateVerificationCodeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateVerificationCode(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateVerificationCodeWithCallback invokes the emr.CreateVerificationCode API asynchronously
-// api document: https://help.aliyun.com/api/emr/createverificationcode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateVerificationCodeWithCallback(request *CreateVerificationCodeRequest, callback func(response *CreateVerificationCodeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateVerificationCodeResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateVerificationCode(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateVerificationCodeRequest is the request struct for api CreateVerificationCode
-type CreateVerificationCodeRequest struct {
-	*requests.RpcRequest
-	Mode            string           `position:"Query" name:"Mode"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Target          string           `position:"Query" name:"Target"`
-}
-
-// CreateVerificationCodeResponse is the response struct for api CreateVerificationCode
-type CreateVerificationCodeResponse struct {
-	*responses.BaseResponse
-	Status int64 `json:"Status" xml:"Status"`
-}
-
-// CreateCreateVerificationCodeRequest creates a request to invoke CreateVerificationCode API
-func CreateCreateVerificationCodeRequest() (request *CreateVerificationCodeRequest) {
-	request = &CreateVerificationCodeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "CreateVerificationCode", "emr", "openAPI")
-	return
-}
-
-// CreateCreateVerificationCodeResponse creates a response to parse from CreateVerificationCode response
-func CreateCreateVerificationCodeResponse() (response *CreateVerificationCodeResponse) {
-	response = &CreateVerificationCodeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/emr/delete_alert_contacts.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteAlertContacts invokes the emr.DeleteAlertContacts API synchronously
-// api document: https://help.aliyun.com/api/emr/deletealertcontacts.html
-func (client *Client) DeleteAlertContacts(request *DeleteAlertContactsRequest) (response *DeleteAlertContactsResponse, err error) {
-	response = CreateDeleteAlertContactsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteAlertContactsWithChan invokes the emr.DeleteAlertContacts API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletealertcontacts.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAlertContactsWithChan(request *DeleteAlertContactsRequest) (<-chan *DeleteAlertContactsResponse, <-chan error) {
-	responseChan := make(chan *DeleteAlertContactsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteAlertContacts(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteAlertContactsWithCallback invokes the emr.DeleteAlertContacts API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletealertcontacts.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAlertContactsWithCallback(request *DeleteAlertContactsRequest, callback func(response *DeleteAlertContactsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteAlertContactsResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteAlertContacts(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteAlertContactsRequest is the request struct for api DeleteAlertContacts
-type DeleteAlertContactsRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Ids             string           `position:"Query" name:"Ids"`
-}
-
-// DeleteAlertContactsResponse is the response struct for api DeleteAlertContacts
-type DeleteAlertContactsResponse struct {
-	*responses.BaseResponse
-	Done bool `json:"Done" xml:"Done"`
-}
-
-// CreateDeleteAlertContactsRequest creates a request to invoke DeleteAlertContacts API
-func CreateDeleteAlertContactsRequest() (request *DeleteAlertContactsRequest) {
-	request = &DeleteAlertContactsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteAlertContacts", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteAlertContactsResponse creates a response to parse from DeleteAlertContacts response
-func CreateDeleteAlertContactsResponse() (response *DeleteAlertContactsResponse) {
-	response = &DeleteAlertContactsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/emr/delete_alert_ding_ding_groups.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteAlertDingDingGroups invokes the emr.DeleteAlertDingDingGroups API synchronously
-// api document: https://help.aliyun.com/api/emr/deletealertdingdinggroups.html
-func (client *Client) DeleteAlertDingDingGroups(request *DeleteAlertDingDingGroupsRequest) (response *DeleteAlertDingDingGroupsResponse, err error) {
-	response = CreateDeleteAlertDingDingGroupsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteAlertDingDingGroupsWithChan invokes the emr.DeleteAlertDingDingGroups API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletealertdingdinggroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAlertDingDingGroupsWithChan(request *DeleteAlertDingDingGroupsRequest) (<-chan *DeleteAlertDingDingGroupsResponse, <-chan error) {
-	responseChan := make(chan *DeleteAlertDingDingGroupsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteAlertDingDingGroups(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteAlertDingDingGroupsWithCallback invokes the emr.DeleteAlertDingDingGroups API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletealertdingdinggroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAlertDingDingGroupsWithCallback(request *DeleteAlertDingDingGroupsRequest, callback func(response *DeleteAlertDingDingGroupsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteAlertDingDingGroupsResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteAlertDingDingGroups(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteAlertDingDingGroupsRequest is the request struct for api DeleteAlertDingDingGroups
-type DeleteAlertDingDingGroupsRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Ids             string           `position:"Query" name:"Ids"`
-}
-
-// DeleteAlertDingDingGroupsResponse is the response struct for api DeleteAlertDingDingGroups
-type DeleteAlertDingDingGroupsResponse struct {
-	*responses.BaseResponse
-	Done bool `json:"Done" xml:"Done"`
-}
-
-// CreateDeleteAlertDingDingGroupsRequest creates a request to invoke DeleteAlertDingDingGroups API
-func CreateDeleteAlertDingDingGroupsRequest() (request *DeleteAlertDingDingGroupsRequest) {
-	request = &DeleteAlertDingDingGroupsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteAlertDingDingGroups", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteAlertDingDingGroupsResponse creates a response to parse from DeleteAlertDingDingGroups response
-func CreateDeleteAlertDingDingGroupsResponse() (response *DeleteAlertDingDingGroupsResponse) {
-	response = &DeleteAlertDingDingGroupsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/emr/delete_alert_user_groups.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteAlertUserGroups invokes the emr.DeleteAlertUserGroups API synchronously
-// api document: https://help.aliyun.com/api/emr/deletealertusergroups.html
-func (client *Client) DeleteAlertUserGroups(request *DeleteAlertUserGroupsRequest) (response *DeleteAlertUserGroupsResponse, err error) {
-	response = CreateDeleteAlertUserGroupsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteAlertUserGroupsWithChan invokes the emr.DeleteAlertUserGroups API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletealertusergroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAlertUserGroupsWithChan(request *DeleteAlertUserGroupsRequest) (<-chan *DeleteAlertUserGroupsResponse, <-chan error) {
-	responseChan := make(chan *DeleteAlertUserGroupsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteAlertUserGroups(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteAlertUserGroupsWithCallback invokes the emr.DeleteAlertUserGroups API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletealertusergroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAlertUserGroupsWithCallback(request *DeleteAlertUserGroupsRequest, callback func(response *DeleteAlertUserGroupsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteAlertUserGroupsResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteAlertUserGroups(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteAlertUserGroupsRequest is the request struct for api DeleteAlertUserGroups
-type DeleteAlertUserGroupsRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Ids             string           `position:"Query" name:"Ids"`
-}
-
-// DeleteAlertUserGroupsResponse is the response struct for api DeleteAlertUserGroups
-type DeleteAlertUserGroupsResponse struct {
-	*responses.BaseResponse
-	Done bool `json:"Done" xml:"Done"`
-}
-
-// CreateDeleteAlertUserGroupsRequest creates a request to invoke DeleteAlertUserGroups API
-func CreateDeleteAlertUserGroupsRequest() (request *DeleteAlertUserGroupsRequest) {
-	request = &DeleteAlertUserGroupsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteAlertUserGroups", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteAlertUserGroupsResponse creates a response to parse from DeleteAlertUserGroups response
-func CreateDeleteAlertUserGroupsResponse() (response *DeleteAlertUserGroupsResponse) {
-	response = &DeleteAlertUserGroupsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/emr/delete_batch_resource_users.go

@@ -1,108 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteBatchResourceUsers invokes the emr.DeleteBatchResourceUsers API synchronously
-// api document: https://help.aliyun.com/api/emr/deletebatchresourceusers.html
-func (client *Client) DeleteBatchResourceUsers(request *DeleteBatchResourceUsersRequest) (response *DeleteBatchResourceUsersResponse, err error) {
-	response = CreateDeleteBatchResourceUsersResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteBatchResourceUsersWithChan invokes the emr.DeleteBatchResourceUsers API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletebatchresourceusers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteBatchResourceUsersWithChan(request *DeleteBatchResourceUsersRequest) (<-chan *DeleteBatchResourceUsersResponse, <-chan error) {
-	responseChan := make(chan *DeleteBatchResourceUsersResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteBatchResourceUsers(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteBatchResourceUsersWithCallback invokes the emr.DeleteBatchResourceUsers API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletebatchresourceusers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteBatchResourceUsersWithCallback(request *DeleteBatchResourceUsersRequest, callback func(response *DeleteBatchResourceUsersResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteBatchResourceUsersResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteBatchResourceUsers(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteBatchResourceUsersRequest is the request struct for api DeleteBatchResourceUsers
-type DeleteBatchResourceUsersRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceId      string           `position:"Query" name:"ResourceId"`
-	UserIdList      *[]string        `position:"Query" name:"UserIdList"  type:"Repeated"`
-	ResourceType    string           `position:"Query" name:"ResourceType"`
-}
-
-// DeleteBatchResourceUsersResponse is the response struct for api DeleteBatchResourceUsers
-type DeleteBatchResourceUsersResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateDeleteBatchResourceUsersRequest creates a request to invoke DeleteBatchResourceUsers API
-func CreateDeleteBatchResourceUsersRequest() (request *DeleteBatchResourceUsersRequest) {
-	request = &DeleteBatchResourceUsersRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteBatchResourceUsers", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteBatchResourceUsersResponse creates a response to parse from DeleteBatchResourceUsers response
-func CreateDeleteBatchResourceUsersResponse() (response *DeleteBatchResourceUsersResponse) {
-	response = &DeleteBatchResourceUsersResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/delete_cluster_host_group.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteClusterHostGroup invokes the emr.DeleteClusterHostGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteclusterhostgroup.html
-func (client *Client) DeleteClusterHostGroup(request *DeleteClusterHostGroupRequest) (response *DeleteClusterHostGroupResponse, err error) {
-	response = CreateDeleteClusterHostGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteClusterHostGroupWithChan invokes the emr.DeleteClusterHostGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteclusterhostgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteClusterHostGroupWithChan(request *DeleteClusterHostGroupRequest) (<-chan *DeleteClusterHostGroupResponse, <-chan error) {
-	responseChan := make(chan *DeleteClusterHostGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteClusterHostGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteClusterHostGroupWithCallback invokes the emr.DeleteClusterHostGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteclusterhostgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteClusterHostGroupWithCallback(request *DeleteClusterHostGroupRequest, callback func(response *DeleteClusterHostGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteClusterHostGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteClusterHostGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteClusterHostGroupRequest is the request struct for api DeleteClusterHostGroup
-type DeleteClusterHostGroupRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	HostGroupId     string           `position:"Query" name:"HostGroupId"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// DeleteClusterHostGroupResponse is the response struct for api DeleteClusterHostGroup
-type DeleteClusterHostGroupResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteClusterHostGroupRequest creates a request to invoke DeleteClusterHostGroup API
-func CreateDeleteClusterHostGroupRequest() (request *DeleteClusterHostGroupRequest) {
-	request = &DeleteClusterHostGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteClusterHostGroup", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteClusterHostGroupResponse creates a response to parse from DeleteClusterHostGroup response
-func CreateDeleteClusterHostGroupResponse() (response *DeleteClusterHostGroupResponse) {
-	response = &DeleteClusterHostGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/emr/delete_cluster_script.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteClusterScript invokes the emr.DeleteClusterScript API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteclusterscript.html
-func (client *Client) DeleteClusterScript(request *DeleteClusterScriptRequest) (response *DeleteClusterScriptResponse, err error) {
-	response = CreateDeleteClusterScriptResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteClusterScriptWithChan invokes the emr.DeleteClusterScript API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteclusterscript.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteClusterScriptWithChan(request *DeleteClusterScriptRequest) (<-chan *DeleteClusterScriptResponse, <-chan error) {
-	responseChan := make(chan *DeleteClusterScriptResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteClusterScript(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteClusterScriptWithCallback invokes the emr.DeleteClusterScript API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteclusterscript.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteClusterScriptWithCallback(request *DeleteClusterScriptRequest, callback func(response *DeleteClusterScriptResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteClusterScriptResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteClusterScript(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteClusterScriptRequest is the request struct for api DeleteClusterScript
-type DeleteClusterScriptRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-}
-
-// DeleteClusterScriptResponse is the response struct for api DeleteClusterScript
-type DeleteClusterScriptResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteClusterScriptRequest creates a request to invoke DeleteClusterScript API
-func CreateDeleteClusterScriptRequest() (request *DeleteClusterScriptRequest) {
-	request = &DeleteClusterScriptRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteClusterScript", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteClusterScriptResponse creates a response to parse from DeleteClusterScript response
-func CreateDeleteClusterScriptResponse() (response *DeleteClusterScriptResponse) {
-	response = &DeleteClusterScriptResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/emr/delete_etl_job.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteETLJob invokes the emr.DeleteETLJob API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteetljob.html
-func (client *Client) DeleteETLJob(request *DeleteETLJobRequest) (response *DeleteETLJobResponse, err error) {
-	response = CreateDeleteETLJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteETLJobWithChan invokes the emr.DeleteETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteetljob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteETLJobWithChan(request *DeleteETLJobRequest) (<-chan *DeleteETLJobResponse, <-chan error) {
-	responseChan := make(chan *DeleteETLJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteETLJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteETLJobWithCallback invokes the emr.DeleteETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteetljob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteETLJobWithCallback(request *DeleteETLJobRequest, callback func(response *DeleteETLJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteETLJobResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteETLJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteETLJobRequest is the request struct for api DeleteETLJob
-type DeleteETLJobRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-}
-
-// DeleteETLJobResponse is the response struct for api DeleteETLJob
-type DeleteETLJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteETLJobRequest creates a request to invoke DeleteETLJob API
-func CreateDeleteETLJobRequest() (request *DeleteETLJobRequest) {
-	request = &DeleteETLJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteETLJob", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteETLJobResponse creates a response to parse from DeleteETLJob response
-func CreateDeleteETLJobResponse() (response *DeleteETLJobResponse) {
-	response = &DeleteETLJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 105 - 0
services/emr/delete_flow_edit_lock.go

@@ -0,0 +1,105 @@
+package emr
+
+//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"
+)
+
+// DeleteFlowEditLock invokes the emr.DeleteFlowEditLock API synchronously
+// api document: https://help.aliyun.com/api/emr/deletefloweditlock.html
+func (client *Client) DeleteFlowEditLock(request *DeleteFlowEditLockRequest) (response *DeleteFlowEditLockResponse, err error) {
+	response = CreateDeleteFlowEditLockResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteFlowEditLockWithChan invokes the emr.DeleteFlowEditLock API asynchronously
+// api document: https://help.aliyun.com/api/emr/deletefloweditlock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFlowEditLockWithChan(request *DeleteFlowEditLockRequest) (<-chan *DeleteFlowEditLockResponse, <-chan error) {
+	responseChan := make(chan *DeleteFlowEditLockResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteFlowEditLock(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteFlowEditLockWithCallback invokes the emr.DeleteFlowEditLock API asynchronously
+// api document: https://help.aliyun.com/api/emr/deletefloweditlock.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFlowEditLockWithCallback(request *DeleteFlowEditLockRequest, callback func(response *DeleteFlowEditLockResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteFlowEditLockResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteFlowEditLock(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteFlowEditLockRequest is the request struct for api DeleteFlowEditLock
+type DeleteFlowEditLockRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	EntityId        string           `position:"Query" name:"EntityId"`
+}
+
+// DeleteFlowEditLockResponse is the response struct for api DeleteFlowEditLock
+type DeleteFlowEditLockResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      bool   `json:"Data" xml:"Data"`
+}
+
+// CreateDeleteFlowEditLockRequest creates a request to invoke DeleteFlowEditLock API
+func CreateDeleteFlowEditLockRequest() (request *DeleteFlowEditLockRequest) {
+	request = &DeleteFlowEditLockRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteFlowEditLock", "emr", "openAPI")
+	return
+}
+
+// CreateDeleteFlowEditLockResponse creates a response to parse from DeleteFlowEditLock response
+func CreateDeleteFlowEditLockResponse() (response *DeleteFlowEditLockResponse) {
+	response = &DeleteFlowEditLockResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 104
services/emr/delete_flow_project_by_id.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteFlowProjectById invokes the emr.DeleteFlowProjectById API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteflowprojectbyid.html
-func (client *Client) DeleteFlowProjectById(request *DeleteFlowProjectByIdRequest) (response *DeleteFlowProjectByIdResponse, err error) {
-	response = CreateDeleteFlowProjectByIdResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteFlowProjectByIdWithChan invokes the emr.DeleteFlowProjectById API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteflowprojectbyid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFlowProjectByIdWithChan(request *DeleteFlowProjectByIdRequest) (<-chan *DeleteFlowProjectByIdResponse, <-chan error) {
-	responseChan := make(chan *DeleteFlowProjectByIdResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteFlowProjectById(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteFlowProjectByIdWithCallback invokes the emr.DeleteFlowProjectById API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteflowprojectbyid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFlowProjectByIdWithCallback(request *DeleteFlowProjectByIdRequest, callback func(response *DeleteFlowProjectByIdResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteFlowProjectByIdResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteFlowProjectById(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteFlowProjectByIdRequest is the request struct for api DeleteFlowProjectById
-type DeleteFlowProjectByIdRequest struct {
-	*requests.RpcRequest
-	ProjectId string `position:"Query" name:"ProjectId"`
-}
-
-// DeleteFlowProjectByIdResponse is the response struct for api DeleteFlowProjectById
-type DeleteFlowProjectByIdResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateDeleteFlowProjectByIdRequest creates a request to invoke DeleteFlowProjectById API
-func CreateDeleteFlowProjectByIdRequest() (request *DeleteFlowProjectByIdRequest) {
-	request = &DeleteFlowProjectByIdRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteFlowProjectById", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteFlowProjectByIdResponse creates a response to parse from DeleteFlowProjectById response
-func CreateDeleteFlowProjectByIdResponse() (response *DeleteFlowProjectByIdResponse) {
-	response = &DeleteFlowProjectByIdResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/delete_nav_node.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteNavNode invokes the emr.DeleteNavNode API synchronously
-// api document: https://help.aliyun.com/api/emr/deletenavnode.html
-func (client *Client) DeleteNavNode(request *DeleteNavNodeRequest) (response *DeleteNavNodeResponse, err error) {
-	response = CreateDeleteNavNodeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteNavNodeWithChan invokes the emr.DeleteNavNode API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletenavnode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteNavNodeWithChan(request *DeleteNavNodeRequest) (<-chan *DeleteNavNodeResponse, <-chan error) {
-	responseChan := make(chan *DeleteNavNodeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteNavNode(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteNavNodeWithCallback invokes the emr.DeleteNavNode API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletenavnode.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteNavNodeWithCallback(request *DeleteNavNodeRequest, callback func(response *DeleteNavNodeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteNavNodeResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteNavNode(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteNavNodeRequest is the request struct for api DeleteNavNode
-type DeleteNavNodeRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-	ProjectId       string           `position:"Query" name:"ProjectId"`
-}
-
-// DeleteNavNodeResponse is the response struct for api DeleteNavNode
-type DeleteNavNodeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteNavNodeRequest creates a request to invoke DeleteNavNode API
-func CreateDeleteNavNodeRequest() (request *DeleteNavNodeRequest) {
-	request = &DeleteNavNodeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteNavNode", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteNavNodeResponse creates a response to parse from DeleteNavNode response
-func CreateDeleteNavNodeResponse() (response *DeleteNavNodeResponse) {
-	response = &DeleteNavNodeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/delete_paragraph.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteParagraph invokes the emr.DeleteParagraph API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteparagraph.html
-func (client *Client) DeleteParagraph(request *DeleteParagraphRequest) (response *DeleteParagraphResponse, err error) {
-	response = CreateDeleteParagraphResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteParagraphWithChan invokes the emr.DeleteParagraph API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteparagraph.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteParagraphWithChan(request *DeleteParagraphRequest) (<-chan *DeleteParagraphResponse, <-chan error) {
-	responseChan := make(chan *DeleteParagraphResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteParagraph(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteParagraphWithCallback invokes the emr.DeleteParagraph API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteparagraph.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteParagraphWithCallback(request *DeleteParagraphRequest, callback func(response *DeleteParagraphResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteParagraphResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteParagraph(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteParagraphRequest is the request struct for api DeleteParagraph
-type DeleteParagraphRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	NoteId          string           `position:"Query" name:"NoteId"`
-	Id              string           `position:"Query" name:"Id"`
-}
-
-// DeleteParagraphResponse is the response struct for api DeleteParagraph
-type DeleteParagraphResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteParagraphRequest creates a request to invoke DeleteParagraph API
-func CreateDeleteParagraphRequest() (request *DeleteParagraphRequest) {
-	request = &DeleteParagraphRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteParagraph", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteParagraphResponse creates a response to parse from DeleteParagraph response
-func CreateDeleteParagraphResponse() (response *DeleteParagraphResponse) {
-	response = &DeleteParagraphResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/emr/delete_resource_queue.go

@@ -77,8 +77,8 @@ func (client *Client) DeleteResourceQueueWithCallback(request *DeleteResourceQue
 type DeleteResourceQueueRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceQueueId string           `position:"Query" name:"ResourceQueueId"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
+	ResourceQueueId string           `position:"Query" name:"ResourceQueueId"`
 }
 
 // DeleteResourceQueueResponse is the response struct for api DeleteResourceQueue

+ 0 - 108
services/emr/delete_resource_user.go

@@ -1,108 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteResourceUser invokes the emr.DeleteResourceUser API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteresourceuser.html
-func (client *Client) DeleteResourceUser(request *DeleteResourceUserRequest) (response *DeleteResourceUserResponse, err error) {
-	response = CreateDeleteResourceUserResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteResourceUserWithChan invokes the emr.DeleteResourceUser API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteresourceuser.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteResourceUserWithChan(request *DeleteResourceUserRequest) (<-chan *DeleteResourceUserResponse, <-chan error) {
-	responseChan := make(chan *DeleteResourceUserResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteResourceUser(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteResourceUserWithCallback invokes the emr.DeleteResourceUser API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteresourceuser.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteResourceUserWithCallback(request *DeleteResourceUserRequest, callback func(response *DeleteResourceUserResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteResourceUserResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteResourceUser(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteResourceUserRequest is the request struct for api DeleteResourceUser
-type DeleteResourceUserRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceId      string           `position:"Query" name:"ResourceId"`
-	ResourceType    string           `position:"Query" name:"ResourceType"`
-	AliyunUserId    string           `position:"Query" name:"AliyunUserId"`
-}
-
-// DeleteResourceUserResponse is the response struct for api DeleteResourceUser
-type DeleteResourceUserResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateDeleteResourceUserRequest creates a request to invoke DeleteResourceUser API
-func CreateDeleteResourceUserRequest() (request *DeleteResourceUserRequest) {
-	request = &DeleteResourceUserRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteResourceUser", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteResourceUserResponse creates a response to parse from DeleteResourceUser response
-func CreateDeleteResourceUserResponse() (response *DeleteResourceUserResponse) {
-	response = &DeleteResourceUserResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/emr/delete_scaling_rule.go

@@ -77,9 +77,9 @@ func (client *Client) DeleteScalingRuleWithCallback(request *DeleteScalingRuleRe
 type DeleteScalingRuleRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	HostGroupId     string           `position:"Query" name:"HostGroupId"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
 	ScalingRuleId   string           `position:"Query" name:"ScalingRuleId"`
+	HostGroupId     string           `position:"Query" name:"HostGroupId"`
 }
 
 // DeleteScalingRuleResponse is the response struct for api DeleteScalingRule

+ 0 - 106
services/emr/delete_scaling_task_group.go

@@ -1,106 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteScalingTaskGroup invokes the emr.DeleteScalingTaskGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/deletescalingtaskgroup.html
-func (client *Client) DeleteScalingTaskGroup(request *DeleteScalingTaskGroupRequest) (response *DeleteScalingTaskGroupResponse, err error) {
-	response = CreateDeleteScalingTaskGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteScalingTaskGroupWithChan invokes the emr.DeleteScalingTaskGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletescalingtaskgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteScalingTaskGroupWithChan(request *DeleteScalingTaskGroupRequest) (<-chan *DeleteScalingTaskGroupResponse, <-chan error) {
-	responseChan := make(chan *DeleteScalingTaskGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteScalingTaskGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteScalingTaskGroupWithCallback invokes the emr.DeleteScalingTaskGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/deletescalingtaskgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteScalingTaskGroupWithCallback(request *DeleteScalingTaskGroupRequest, callback func(response *DeleteScalingTaskGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteScalingTaskGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteScalingTaskGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteScalingTaskGroupRequest is the request struct for api DeleteScalingTaskGroup
-type DeleteScalingTaskGroupRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	HostGroupId     string           `position:"Query" name:"HostGroupId"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// DeleteScalingTaskGroupResponse is the response struct for api DeleteScalingTaskGroup
-type DeleteScalingTaskGroupResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateDeleteScalingTaskGroupRequest creates a request to invoke DeleteScalingTaskGroup API
-func CreateDeleteScalingTaskGroupRequest() (request *DeleteScalingTaskGroupRequest) {
-	request = &DeleteScalingTaskGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteScalingTaskGroup", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteScalingTaskGroupResponse creates a response to parse from DeleteScalingTaskGroup response
-func CreateDeleteScalingTaskGroupResponse() (response *DeleteScalingTaskGroupResponse) {
-	response = &DeleteScalingTaskGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 29 - 28
services/emr/modify_host_pool.go → services/emr/delete_tag.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// ModifyHostPool invokes the emr.ModifyHostPool API synchronously
-// api document: https://help.aliyun.com/api/emr/modifyhostpool.html
-func (client *Client) ModifyHostPool(request *ModifyHostPoolRequest) (response *ModifyHostPoolResponse, err error) {
-	response = CreateModifyHostPoolResponse()
+// DeleteTag invokes the emr.DeleteTag API synchronously
+// api document: https://help.aliyun.com/api/emr/deletetag.html
+func (client *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error) {
+	response = CreateDeleteTagResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// ModifyHostPoolWithChan invokes the emr.ModifyHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/modifyhostpool.html
+// DeleteTagWithChan invokes the emr.DeleteTag API asynchronously
+// api document: https://help.aliyun.com/api/emr/deletetag.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyHostPoolWithChan(request *ModifyHostPoolRequest) (<-chan *ModifyHostPoolResponse, <-chan error) {
-	responseChan := make(chan *ModifyHostPoolResponse, 1)
+func (client *Client) DeleteTagWithChan(request *DeleteTagRequest) (<-chan *DeleteTagResponse, <-chan error) {
+	responseChan := make(chan *DeleteTagResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.ModifyHostPool(request)
+		response, err := client.DeleteTag(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) ModifyHostPoolWithChan(request *ModifyHostPoolRequest) (<-
 	return responseChan, errChan
 }
 
-// ModifyHostPoolWithCallback invokes the emr.ModifyHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/modifyhostpool.html
+// DeleteTagWithCallback invokes the emr.DeleteTag API asynchronously
+// api document: https://help.aliyun.com/api/emr/deletetag.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyHostPoolWithCallback(request *ModifyHostPoolRequest, callback func(response *ModifyHostPoolResponse, err error)) <-chan int {
+func (client *Client) DeleteTagWithCallback(request *DeleteTagRequest, callback func(response *DeleteTagResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *ModifyHostPoolResponse
+		var response *DeleteTagResponse
 		var err error
 		defer close(result)
-		response, err = client.ModifyHostPool(request)
+		response, err = client.DeleteTag(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,34 +73,35 @@ func (client *Client) ModifyHostPoolWithCallback(request *ModifyHostPoolRequest,
 	return result
 }
 
-// ModifyHostPoolRequest is the request struct for api ModifyHostPool
-type ModifyHostPoolRequest struct {
+// DeleteTagRequest is the request struct for api DeleteTag
+type DeleteTagRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Name            string           `position:"Query" name:"Name"`
-	BizId           string           `position:"Query" name:"BizId"`
 	Description     string           `position:"Query" name:"Description"`
+	Name            string           `position:"Query" name:"Name"`
+	Id              requests.Integer `position:"Query" name:"Id"`
+	Category        string           `position:"Query" name:"Category"`
 }
 
-// ModifyHostPoolResponse is the response struct for api ModifyHostPool
-type ModifyHostPoolResponse struct {
+// DeleteTagResponse is the response struct for api DeleteTag
+type DeleteTagResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	BizId     string `json:"BizId" xml:"BizId"`
+	Data      bool   `json:"Data" xml:"Data"`
 }
 
-// CreateModifyHostPoolRequest creates a request to invoke ModifyHostPool API
-func CreateModifyHostPoolRequest() (request *ModifyHostPoolRequest) {
-	request = &ModifyHostPoolRequest{
+// CreateDeleteTagRequest creates a request to invoke DeleteTag API
+func CreateDeleteTagRequest() (request *DeleteTagRequest) {
+	request = &DeleteTagRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "ModifyHostPool", "emr", "openAPI")
+	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteTag", "emr", "openAPI")
 	return
 }
 
-// CreateModifyHostPoolResponse creates a response to parse from ModifyHostPool response
-func CreateModifyHostPoolResponse() (response *ModifyHostPoolResponse) {
-	response = &ModifyHostPoolResponse{
+// CreateDeleteTagResponse creates a response to parse from DeleteTag response
+func CreateDeleteTagResponse() (response *DeleteTagResponse) {
+	response = &DeleteTagResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 0 - 106
services/emr/delete_user_group.go

@@ -1,106 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteUserGroup invokes the emr.DeleteUserGroup API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteusergroup.html
-func (client *Client) DeleteUserGroup(request *DeleteUserGroupRequest) (response *DeleteUserGroupResponse, err error) {
-	response = CreateDeleteUserGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteUserGroupWithChan invokes the emr.DeleteUserGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteusergroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteUserGroupWithChan(request *DeleteUserGroupRequest) (<-chan *DeleteUserGroupResponse, <-chan error) {
-	responseChan := make(chan *DeleteUserGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteUserGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteUserGroupWithCallback invokes the emr.DeleteUserGroup API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteusergroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteUserGroupWithCallback(request *DeleteUserGroupRequest, callback func(response *DeleteUserGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteUserGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteUserGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteUserGroupRequest is the request struct for api DeleteUserGroup
-type DeleteUserGroupRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	GroupId         requests.Integer `position:"Query" name:"GroupId"`
-}
-
-// DeleteUserGroupResponse is the response struct for api DeleteUserGroup
-type DeleteUserGroupResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateDeleteUserGroupRequest creates a request to invoke DeleteUserGroup API
-func CreateDeleteUserGroupRequest() (request *DeleteUserGroupRequest) {
-	request = &DeleteUserGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteUserGroup", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteUserGroupResponse creates a response to parse from DeleteUserGroup response
-func CreateDeleteUserGroupResponse() (response *DeleteUserGroupResponse) {
-	response = &DeleteUserGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/emr/delete_user_resource_role.go

@@ -1,109 +0,0 @@
-package emr
-
-//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"
-)
-
-// DeleteUserResourceRole invokes the emr.DeleteUserResourceRole API synchronously
-// api document: https://help.aliyun.com/api/emr/deleteuserresourcerole.html
-func (client *Client) DeleteUserResourceRole(request *DeleteUserResourceRoleRequest) (response *DeleteUserResourceRoleResponse, err error) {
-	response = CreateDeleteUserResourceRoleResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteUserResourceRoleWithChan invokes the emr.DeleteUserResourceRole API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteuserresourcerole.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteUserResourceRoleWithChan(request *DeleteUserResourceRoleRequest) (<-chan *DeleteUserResourceRoleResponse, <-chan error) {
-	responseChan := make(chan *DeleteUserResourceRoleResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteUserResourceRole(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteUserResourceRoleWithCallback invokes the emr.DeleteUserResourceRole API asynchronously
-// api document: https://help.aliyun.com/api/emr/deleteuserresourcerole.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteUserResourceRoleWithCallback(request *DeleteUserResourceRoleRequest, callback func(response *DeleteUserResourceRoleResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteUserResourceRoleResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteUserResourceRole(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteUserResourceRoleRequest is the request struct for api DeleteUserResourceRole
-type DeleteUserResourceRoleRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceId      string           `position:"Query" name:"ResourceId"`
-	RoleId          requests.Integer `position:"Query" name:"RoleId"`
-	ResourceType    string           `position:"Query" name:"ResourceType"`
-	AliyunUserId    string           `position:"Query" name:"AliyunUserId"`
-}
-
-// DeleteUserResourceRoleResponse is the response struct for api DeleteUserResourceRole
-type DeleteUserResourceRoleResponse struct {
-	*responses.BaseResponse
-	Paging    bool   `json:"Paging" xml:"Paging"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      bool   `json:"Data" xml:"Data"`
-}
-
-// CreateDeleteUserResourceRoleRequest creates a request to invoke DeleteUserResourceRole API
-func CreateDeleteUserResourceRoleRequest() (request *DeleteUserResourceRoleRequest) {
-	request = &DeleteUserResourceRoleRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DeleteUserResourceRole", "emr", "openAPI")
-	return
-}
-
-// CreateDeleteUserResourceRoleResponse creates a response to parse from DeleteUserResourceRole response
-func CreateDeleteUserResourceRoleResponse() (response *DeleteUserResourceRoleResponse) {
-	response = &DeleteUserResourceRoleResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/describe_available_instance_type.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeAvailableInstanceType invokes the emr.DescribeAvailableInstanceType API synchronously
-// api document: https://help.aliyun.com/api/emr/describeavailableinstancetype.html
-func (client *Client) DescribeAvailableInstanceType(request *DescribeAvailableInstanceTypeRequest) (response *DescribeAvailableInstanceTypeResponse, err error) {
-	response = CreateDescribeAvailableInstanceTypeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeAvailableInstanceTypeWithChan invokes the emr.DescribeAvailableInstanceType API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeavailableinstancetype.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAvailableInstanceTypeWithChan(request *DescribeAvailableInstanceTypeRequest) (<-chan *DescribeAvailableInstanceTypeResponse, <-chan error) {
-	responseChan := make(chan *DescribeAvailableInstanceTypeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeAvailableInstanceType(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeAvailableInstanceTypeWithCallback invokes the emr.DescribeAvailableInstanceType API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeavailableinstancetype.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAvailableInstanceTypeWithCallback(request *DescribeAvailableInstanceTypeRequest, callback func(response *DescribeAvailableInstanceTypeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeAvailableInstanceTypeResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeAvailableInstanceType(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeAvailableInstanceTypeRequest is the request struct for api DescribeAvailableInstanceType
-type DescribeAvailableInstanceTypeRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// DescribeAvailableInstanceTypeResponse is the response struct for api DescribeAvailableInstanceType
-type DescribeAvailableInstanceTypeResponse struct {
-	*responses.BaseResponse
-	RequestId                    string                       `json:"RequestId" xml:"RequestId"`
-	EmrSupportedInstanceTypeList EmrSupportedInstanceTypeList `json:"EmrSupportedInstanceTypeList" xml:"EmrSupportedInstanceTypeList"`
-}
-
-// CreateDescribeAvailableInstanceTypeRequest creates a request to invoke DescribeAvailableInstanceType API
-func CreateDescribeAvailableInstanceTypeRequest() (request *DescribeAvailableInstanceTypeRequest) {
-	request = &DescribeAvailableInstanceTypeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeAvailableInstanceType", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeAvailableInstanceTypeResponse creates a response to parse from DescribeAvailableInstanceType response
-func CreateDescribeAvailableInstanceTypeResponse() (response *DescribeAvailableInstanceTypeResponse) {
-	response = &DescribeAvailableInstanceTypeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 107 - 0
services/emr/describe_cluster_meta_collect.go

@@ -0,0 +1,107 @@
+package emr
+
+//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"
+)
+
+// DescribeClusterMetaCollect invokes the emr.DescribeClusterMetaCollect API synchronously
+// api document: https://help.aliyun.com/api/emr/describeclustermetacollect.html
+func (client *Client) DescribeClusterMetaCollect(request *DescribeClusterMetaCollectRequest) (response *DescribeClusterMetaCollectResponse, err error) {
+	response = CreateDescribeClusterMetaCollectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeClusterMetaCollectWithChan invokes the emr.DescribeClusterMetaCollect API asynchronously
+// api document: https://help.aliyun.com/api/emr/describeclustermetacollect.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeClusterMetaCollectWithChan(request *DescribeClusterMetaCollectRequest) (<-chan *DescribeClusterMetaCollectResponse, <-chan error) {
+	responseChan := make(chan *DescribeClusterMetaCollectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeClusterMetaCollect(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeClusterMetaCollectWithCallback invokes the emr.DescribeClusterMetaCollect API asynchronously
+// api document: https://help.aliyun.com/api/emr/describeclustermetacollect.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeClusterMetaCollectWithCallback(request *DescribeClusterMetaCollectRequest, callback func(response *DescribeClusterMetaCollectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeClusterMetaCollectResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeClusterMetaCollect(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeClusterMetaCollectRequest is the request struct for api DescribeClusterMetaCollect
+type DescribeClusterMetaCollectRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ClusterId       string           `position:"Query" name:"ClusterId"`
+}
+
+// DescribeClusterMetaCollectResponse is the response struct for api DescribeClusterMetaCollect
+type DescribeClusterMetaCollectResponse struct {
+	*responses.BaseResponse
+	RequestId     string `json:"RequestId" xml:"RequestId"`
+	ClusterId     string `json:"ClusterId" xml:"ClusterId"`
+	MetaStoreType string `json:"MetaStoreType" xml:"MetaStoreType"`
+	Status        string `json:"Status" xml:"Status"`
+}
+
+// CreateDescribeClusterMetaCollectRequest creates a request to invoke DescribeClusterMetaCollect API
+func CreateDescribeClusterMetaCollectRequest() (request *DescribeClusterMetaCollectRequest) {
+	request = &DescribeClusterMetaCollectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeClusterMetaCollect", "emr", "openAPI")
+	return
+}
+
+// CreateDescribeClusterMetaCollectResponse creates a response to parse from DescribeClusterMetaCollect response
+func CreateDescribeClusterMetaCollectResponse() (response *DescribeClusterMetaCollectResponse) {
+	response = &DescribeClusterMetaCollectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 110
services/emr/describe_cluster_op_log.go

@@ -1,110 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeClusterOpLog invokes the emr.DescribeClusterOpLog API synchronously
-// api document: https://help.aliyun.com/api/emr/describeclusteroplog.html
-func (client *Client) DescribeClusterOpLog(request *DescribeClusterOpLogRequest) (response *DescribeClusterOpLogResponse, err error) {
-	response = CreateDescribeClusterOpLogResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeClusterOpLogWithChan invokes the emr.DescribeClusterOpLog API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusteroplog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterOpLogWithChan(request *DescribeClusterOpLogRequest) (<-chan *DescribeClusterOpLogResponse, <-chan error) {
-	responseChan := make(chan *DescribeClusterOpLogResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeClusterOpLog(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeClusterOpLogWithCallback invokes the emr.DescribeClusterOpLog API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusteroplog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterOpLogWithCallback(request *DescribeClusterOpLogRequest, callback func(response *DescribeClusterOpLogResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeClusterOpLogResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeClusterOpLog(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeClusterOpLogRequest is the request struct for api DescribeClusterOpLog
-type DescribeClusterOpLogRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	EndTime         requests.Integer `position:"Query" name:"EndTime"`
-	Id              string           `position:"Query" name:"Id"`
-	StartTime       requests.Integer `position:"Query" name:"StartTime"`
-}
-
-// DescribeClusterOpLogResponse is the response struct for api DescribeClusterOpLog
-type DescribeClusterOpLogResponse struct {
-	*responses.BaseResponse
-	RequestId     string        `json:"RequestId" xml:"RequestId"`
-	PageNumber    string        `json:"PageNumber" xml:"PageNumber"`
-	PageSize      string        `json:"PageSize" xml:"PageSize"`
-	Total         string        `json:"Total" xml:"Total"`
-	ChangeLogList ChangeLogList `json:"ChangeLogList" xml:"ChangeLogList"`
-}
-
-// CreateDescribeClusterOpLogRequest creates a request to invoke DescribeClusterOpLog API
-func CreateDescribeClusterOpLogRequest() (request *DescribeClusterOpLogRequest) {
-	request = &DescribeClusterOpLogRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeClusterOpLog", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeClusterOpLogResponse creates a response to parse from DescribeClusterOpLog response
-func CreateDescribeClusterOpLogResponse() (response *DescribeClusterOpLogResponse) {
-	response = &DescribeClusterOpLogResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/emr/describe_cluster_operation_host_task_log.go

@@ -77,9 +77,9 @@ func (client *Client) DescribeClusterOperationHostTaskLogWithCallback(request *D
 type DescribeClusterOperationHostTaskLogRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OperationId     string           `position:"Query" name:"OperationId"`
 	HostId          string           `position:"Query" name:"HostId"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
+	OperationId     string           `position:"Query" name:"OperationId"`
 	TaskId          string           `position:"Query" name:"TaskId"`
 	Status          string           `position:"Query" name:"Status"`
 }

+ 0 - 108
services/emr/describe_cluster_resource_pool_scheduler_type_for_admin.go

@@ -1,108 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeClusterResourcePoolSchedulerTypeForAdmin invokes the emr.DescribeClusterResourcePoolSchedulerTypeForAdmin API synchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterresourcepoolschedulertypeforadmin.html
-func (client *Client) DescribeClusterResourcePoolSchedulerTypeForAdmin(request *DescribeClusterResourcePoolSchedulerTypeForAdminRequest) (response *DescribeClusterResourcePoolSchedulerTypeForAdminResponse, err error) {
-	response = CreateDescribeClusterResourcePoolSchedulerTypeForAdminResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeClusterResourcePoolSchedulerTypeForAdminWithChan invokes the emr.DescribeClusterResourcePoolSchedulerTypeForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterresourcepoolschedulertypeforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterResourcePoolSchedulerTypeForAdminWithChan(request *DescribeClusterResourcePoolSchedulerTypeForAdminRequest) (<-chan *DescribeClusterResourcePoolSchedulerTypeForAdminResponse, <-chan error) {
-	responseChan := make(chan *DescribeClusterResourcePoolSchedulerTypeForAdminResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeClusterResourcePoolSchedulerTypeForAdmin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeClusterResourcePoolSchedulerTypeForAdminWithCallback invokes the emr.DescribeClusterResourcePoolSchedulerTypeForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterresourcepoolschedulertypeforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterResourcePoolSchedulerTypeForAdminWithCallback(request *DescribeClusterResourcePoolSchedulerTypeForAdminRequest, callback func(response *DescribeClusterResourcePoolSchedulerTypeForAdminResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeClusterResourcePoolSchedulerTypeForAdminResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeClusterResourcePoolSchedulerTypeForAdmin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeClusterResourcePoolSchedulerTypeForAdminRequest is the request struct for api DescribeClusterResourcePoolSchedulerTypeForAdmin
-type DescribeClusterResourcePoolSchedulerTypeForAdminRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	UserId          string           `position:"Query" name:"UserId"`
-}
-
-// DescribeClusterResourcePoolSchedulerTypeForAdminResponse is the response struct for api DescribeClusterResourcePoolSchedulerTypeForAdmin
-type DescribeClusterResourcePoolSchedulerTypeForAdminResponse struct {
-	*responses.BaseResponse
-	RequestId            string `json:"RequestId" xml:"RequestId"`
-	CurrentSchedulerType string `json:"CurrentSchedulerType" xml:"CurrentSchedulerType"`
-	SupportSchedulerType string `json:"SupportSchedulerType" xml:"SupportSchedulerType"`
-	DefaultSchedulerType string `json:"DefaultSchedulerType" xml:"DefaultSchedulerType"`
-}
-
-// CreateDescribeClusterResourcePoolSchedulerTypeForAdminRequest creates a request to invoke DescribeClusterResourcePoolSchedulerTypeForAdmin API
-func CreateDescribeClusterResourcePoolSchedulerTypeForAdminRequest() (request *DescribeClusterResourcePoolSchedulerTypeForAdminRequest) {
-	request = &DescribeClusterResourcePoolSchedulerTypeForAdminRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeClusterResourcePoolSchedulerTypeForAdmin", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeClusterResourcePoolSchedulerTypeForAdminResponse creates a response to parse from DescribeClusterResourcePoolSchedulerTypeForAdmin response
-func CreateDescribeClusterResourcePoolSchedulerTypeForAdminResponse() (response *DescribeClusterResourcePoolSchedulerTypeForAdminResponse) {
-	response = &DescribeClusterResourcePoolSchedulerTypeForAdminResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/describe_cluster_script.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeClusterScript invokes the emr.DescribeClusterScript API synchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterscript.html
-func (client *Client) DescribeClusterScript(request *DescribeClusterScriptRequest) (response *DescribeClusterScriptResponse, err error) {
-	response = CreateDescribeClusterScriptResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeClusterScriptWithChan invokes the emr.DescribeClusterScript API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterscript.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterScriptWithChan(request *DescribeClusterScriptRequest) (<-chan *DescribeClusterScriptResponse, <-chan error) {
-	responseChan := make(chan *DescribeClusterScriptResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeClusterScript(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeClusterScriptWithCallback invokes the emr.DescribeClusterScript API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterscript.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterScriptWithCallback(request *DescribeClusterScriptRequest, callback func(response *DescribeClusterScriptResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeClusterScriptResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeClusterScript(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeClusterScriptRequest is the request struct for api DescribeClusterScript
-type DescribeClusterScriptRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-}
-
-// DescribeClusterScriptResponse is the response struct for api DescribeClusterScript
-type DescribeClusterScriptResponse struct {
-	*responses.BaseResponse
-	RequestId           string              `json:"RequestId" xml:"RequestId"`
-	ScriptNodeInstances ScriptNodeInstances `json:"ScriptNodeInstances" xml:"ScriptNodeInstances"`
-}
-
-// CreateDescribeClusterScriptRequest creates a request to invoke DescribeClusterScript API
-func CreateDescribeClusterScriptRequest() (request *DescribeClusterScriptRequest) {
-	request = &DescribeClusterScriptRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeClusterScript", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeClusterScriptResponse creates a response to parse from DescribeClusterScript response
-func CreateDescribeClusterScriptResponse() (response *DescribeClusterScriptResponse) {
-	response = &DescribeClusterScriptResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/emr/describe_cluster_service.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeClusterServiceWithCallback(request *DescribeCluste
 type DescribeClusterServiceRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ServiceName     string           `position:"Query" name:"ServiceName"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
+	ServiceName     string           `position:"Query" name:"ServiceName"`
 }
 
 // DescribeClusterServiceResponse is the response struct for api DescribeClusterService

+ 1 - 1
services/emr/describe_cluster_service_config.go

@@ -80,9 +80,9 @@ type DescribeClusterServiceConfigRequest struct {
 	HostInstanceId  string           `position:"Query" name:"HostInstanceId"`
 	TagValue        string           `position:"Query" name:"TagValue"`
 	GroupId         string           `position:"Query" name:"GroupId"`
-	ServiceName     string           `position:"Query" name:"ServiceName"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
 	ConfigVersion   string           `position:"Query" name:"ConfigVersion"`
+	ServiceName     string           `position:"Query" name:"ServiceName"`
 }
 
 // DescribeClusterServiceConfigResponse is the response struct for api DescribeClusterServiceConfig

+ 0 - 111
services/emr/describe_cluster_service_config_for_admin.go

@@ -1,111 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeClusterServiceConfigForAdmin invokes the emr.DescribeClusterServiceConfigForAdmin API synchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterserviceconfigforadmin.html
-func (client *Client) DescribeClusterServiceConfigForAdmin(request *DescribeClusterServiceConfigForAdminRequest) (response *DescribeClusterServiceConfigForAdminResponse, err error) {
-	response = CreateDescribeClusterServiceConfigForAdminResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeClusterServiceConfigForAdminWithChan invokes the emr.DescribeClusterServiceConfigForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterserviceconfigforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterServiceConfigForAdminWithChan(request *DescribeClusterServiceConfigForAdminRequest) (<-chan *DescribeClusterServiceConfigForAdminResponse, <-chan error) {
-	responseChan := make(chan *DescribeClusterServiceConfigForAdminResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeClusterServiceConfigForAdmin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeClusterServiceConfigForAdminWithCallback invokes the emr.DescribeClusterServiceConfigForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterserviceconfigforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterServiceConfigForAdminWithCallback(request *DescribeClusterServiceConfigForAdminRequest, callback func(response *DescribeClusterServiceConfigForAdminResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeClusterServiceConfigForAdminResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeClusterServiceConfigForAdmin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeClusterServiceConfigForAdminRequest is the request struct for api DescribeClusterServiceConfigForAdmin
-type DescribeClusterServiceConfigForAdminRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	HostInstanceId  string           `position:"Query" name:"HostInstanceId"`
-	TagValue        string           `position:"Query" name:"TagValue"`
-	GroupId         string           `position:"Query" name:"GroupId"`
-	ServiceName     string           `position:"Query" name:"ServiceName"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	UserId          string           `position:"Query" name:"UserId"`
-	ConfigVersion   string           `position:"Query" name:"ConfigVersion"`
-}
-
-// DescribeClusterServiceConfigForAdminResponse is the response struct for api DescribeClusterServiceConfigForAdmin
-type DescribeClusterServiceConfigForAdminResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Config    Config `json:"Config" xml:"Config"`
-}
-
-// CreateDescribeClusterServiceConfigForAdminRequest creates a request to invoke DescribeClusterServiceConfigForAdmin API
-func CreateDescribeClusterServiceConfigForAdminRequest() (request *DescribeClusterServiceConfigForAdminRequest) {
-	request = &DescribeClusterServiceConfigForAdminRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeClusterServiceConfigForAdmin", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeClusterServiceConfigForAdminResponse creates a response to parse from DescribeClusterServiceConfigForAdmin response
-func CreateDescribeClusterServiceConfigForAdminResponse() (response *DescribeClusterServiceConfigForAdminResponse) {
-	response = &DescribeClusterServiceConfigForAdminResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/emr/describe_cluster_service_config_history.go

@@ -77,9 +77,9 @@ func (client *Client) DescribeClusterServiceConfigHistoryWithCallback(request *D
 type DescribeClusterServiceConfigHistoryRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ServiceName     string           `position:"Query" name:"ServiceName"`
 	ClusterId       string           `position:"Query" name:"ClusterId"`
 	ConfigVersion   string           `position:"Query" name:"ConfigVersion"`
+	ServiceName     string           `position:"Query" name:"ServiceName"`
 }
 
 // DescribeClusterServiceConfigHistoryResponse is the response struct for api DescribeClusterServiceConfigHistory

+ 3 - 3
services/emr/describe_cluster_service_config_tag.go

@@ -77,16 +77,16 @@ func (client *Client) DescribeClusterServiceConfigTagWithCallback(request *Descr
 type DescribeClusterServiceConfigTagRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ClusterId       string           `position:"Query" name:"ClusterId"`
 	ConfigTag       string           `position:"Query" name:"ConfigTag"`
 	ServiceName     string           `position:"Query" name:"ServiceName"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
 }
 
 // DescribeClusterServiceConfigTagResponse is the response struct for api DescribeClusterServiceConfigTag
 type DescribeClusterServiceConfigTagResponse struct {
 	*responses.BaseResponse
-	RequestId     string                                         `json:"RequestId" xml:"RequestId"`
-	ConfigTagList ConfigTagListInDescribeClusterServiceConfigTag `json:"ConfigTagList" xml:"ConfigTagList"`
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	ConfigTagList ConfigTagList `json:"ConfigTagList" xml:"ConfigTagList"`
 }
 
 // CreateDescribeClusterServiceConfigTagRequest creates a request to invoke DescribeClusterServiceConfigTag API

+ 0 - 108
services/emr/describe_cluster_service_config_tag_for_admin.go

@@ -1,108 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeClusterServiceConfigTagForAdmin invokes the emr.DescribeClusterServiceConfigTagForAdmin API synchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterserviceconfigtagforadmin.html
-func (client *Client) DescribeClusterServiceConfigTagForAdmin(request *DescribeClusterServiceConfigTagForAdminRequest) (response *DescribeClusterServiceConfigTagForAdminResponse, err error) {
-	response = CreateDescribeClusterServiceConfigTagForAdminResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeClusterServiceConfigTagForAdminWithChan invokes the emr.DescribeClusterServiceConfigTagForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterserviceconfigtagforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterServiceConfigTagForAdminWithChan(request *DescribeClusterServiceConfigTagForAdminRequest) (<-chan *DescribeClusterServiceConfigTagForAdminResponse, <-chan error) {
-	responseChan := make(chan *DescribeClusterServiceConfigTagForAdminResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeClusterServiceConfigTagForAdmin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeClusterServiceConfigTagForAdminWithCallback invokes the emr.DescribeClusterServiceConfigTagForAdmin API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterserviceconfigtagforadmin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterServiceConfigTagForAdminWithCallback(request *DescribeClusterServiceConfigTagForAdminRequest, callback func(response *DescribeClusterServiceConfigTagForAdminResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeClusterServiceConfigTagForAdminResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeClusterServiceConfigTagForAdmin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeClusterServiceConfigTagForAdminRequest is the request struct for api DescribeClusterServiceConfigTagForAdmin
-type DescribeClusterServiceConfigTagForAdminRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ConfigTag       string           `position:"Query" name:"ConfigTag"`
-	ServiceName     string           `position:"Query" name:"ServiceName"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-	UserId          string           `position:"Query" name:"UserId"`
-}
-
-// DescribeClusterServiceConfigTagForAdminResponse is the response struct for api DescribeClusterServiceConfigTagForAdmin
-type DescribeClusterServiceConfigTagForAdminResponse struct {
-	*responses.BaseResponse
-	RequestId     string                                                 `json:"RequestId" xml:"RequestId"`
-	ConfigTagList ConfigTagListInDescribeClusterServiceConfigTagForAdmin `json:"ConfigTagList" xml:"ConfigTagList"`
-}
-
-// CreateDescribeClusterServiceConfigTagForAdminRequest creates a request to invoke DescribeClusterServiceConfigTagForAdmin API
-func CreateDescribeClusterServiceConfigTagForAdminRequest() (request *DescribeClusterServiceConfigTagForAdminRequest) {
-	request = &DescribeClusterServiceConfigTagForAdminRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeClusterServiceConfigTagForAdmin", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeClusterServiceConfigTagForAdminResponse creates a response to parse from DescribeClusterServiceConfigTagForAdmin response
-func CreateDescribeClusterServiceConfigTagForAdminResponse() (response *DescribeClusterServiceConfigTagForAdminResponse) {
-	response = &DescribeClusterServiceConfigTagForAdminResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/emr/describe_cluster_statistics.go

@@ -1,106 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeClusterStatistics invokes the emr.DescribeClusterStatistics API synchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterstatistics.html
-func (client *Client) DescribeClusterStatistics(request *DescribeClusterStatisticsRequest) (response *DescribeClusterStatisticsResponse, err error) {
-	response = CreateDescribeClusterStatisticsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeClusterStatisticsWithChan invokes the emr.DescribeClusterStatistics API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterstatistics.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterStatisticsWithChan(request *DescribeClusterStatisticsRequest) (<-chan *DescribeClusterStatisticsResponse, <-chan error) {
-	responseChan := make(chan *DescribeClusterStatisticsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeClusterStatistics(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeClusterStatisticsWithCallback invokes the emr.DescribeClusterStatistics API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeclusterstatistics.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeClusterStatisticsWithCallback(request *DescribeClusterStatisticsRequest, callback func(response *DescribeClusterStatisticsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeClusterStatisticsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeClusterStatistics(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeClusterStatisticsRequest is the request struct for api DescribeClusterStatistics
-type DescribeClusterStatisticsRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Strategy        string           `position:"Query" name:"Strategy"`
-}
-
-// DescribeClusterStatisticsResponse is the response struct for api DescribeClusterStatistics
-type DescribeClusterStatisticsResponse struct {
-	*responses.BaseResponse
-	RequestId             string                `json:"RequestId" xml:"RequestId"`
-	TotalCount            int                   `json:"TotalCount" xml:"TotalCount"`
-	ClusterStatisticsList ClusterStatisticsList `json:"ClusterStatisticsList" xml:"ClusterStatisticsList"`
-}
-
-// CreateDescribeClusterStatisticsRequest creates a request to invoke DescribeClusterStatistics API
-func CreateDescribeClusterStatisticsRequest() (request *DescribeClusterStatisticsRequest) {
-	request = &DescribeClusterStatisticsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeClusterStatistics", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeClusterStatisticsResponse creates a response to parse from DescribeClusterStatistics response
-func CreateDescribeClusterStatisticsResponse() (response *DescribeClusterStatisticsResponse) {
-	response = &DescribeClusterStatisticsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/emr/describe_data_source_command.go

@@ -1,112 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeDataSourceCommand invokes the emr.DescribeDataSourceCommand API synchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourcecommand.html
-func (client *Client) DescribeDataSourceCommand(request *DescribeDataSourceCommandRequest) (response *DescribeDataSourceCommandResponse, err error) {
-	response = CreateDescribeDataSourceCommandResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDataSourceCommandWithChan invokes the emr.DescribeDataSourceCommand API asynchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourcecommand.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDataSourceCommandWithChan(request *DescribeDataSourceCommandRequest) (<-chan *DescribeDataSourceCommandResponse, <-chan error) {
-	responseChan := make(chan *DescribeDataSourceCommandResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDataSourceCommand(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDataSourceCommandWithCallback invokes the emr.DescribeDataSourceCommand API asynchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourcecommand.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDataSourceCommandWithCallback(request *DescribeDataSourceCommandRequest, callback func(response *DescribeDataSourceCommandResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDataSourceCommandResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDataSourceCommand(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDataSourceCommandRequest is the request struct for api DescribeDataSourceCommand
-type DescribeDataSourceCommandRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-}
-
-// DescribeDataSourceCommandResponse is the response struct for api DescribeDataSourceCommand
-type DescribeDataSourceCommandResponse struct {
-	*responses.BaseResponse
-	RequestId string                              `json:"RequestId" xml:"RequestId"`
-	CommandId string                              `json:"CommandId" xml:"CommandId"`
-	HostName  string                              `json:"HostName" xml:"HostName"`
-	State     string                              `json:"State" xml:"State"`
-	StartTime int64                               `json:"StartTime" xml:"StartTime"`
-	EndTime   int64                               `json:"EndTime" xml:"EndTime"`
-	Message   string                              `json:"Message" xml:"Message"`
-	Data      string                              `json:"Data" xml:"Data"`
-	HostList  HostListInDescribeDataSourceCommand `json:"HostList" xml:"HostList"`
-}
-
-// CreateDescribeDataSourceCommandRequest creates a request to invoke DescribeDataSourceCommand API
-func CreateDescribeDataSourceCommandRequest() (request *DescribeDataSourceCommandRequest) {
-	request = &DescribeDataSourceCommandRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeDataSourceCommand", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeDataSourceCommandResponse creates a response to parse from DescribeDataSourceCommand response
-func CreateDescribeDataSourceCommandResponse() (response *DescribeDataSourceCommandResponse) {
-	response = &DescribeDataSourceCommandResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/emr/describe_data_source_schema_database.go

@@ -1,107 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeDataSourceSchemaDatabase invokes the emr.DescribeDataSourceSchemaDatabase API synchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourceschemadatabase.html
-func (client *Client) DescribeDataSourceSchemaDatabase(request *DescribeDataSourceSchemaDatabaseRequest) (response *DescribeDataSourceSchemaDatabaseResponse, err error) {
-	response = CreateDescribeDataSourceSchemaDatabaseResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDataSourceSchemaDatabaseWithChan invokes the emr.DescribeDataSourceSchemaDatabase API asynchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourceschemadatabase.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDataSourceSchemaDatabaseWithChan(request *DescribeDataSourceSchemaDatabaseRequest) (<-chan *DescribeDataSourceSchemaDatabaseResponse, <-chan error) {
-	responseChan := make(chan *DescribeDataSourceSchemaDatabaseResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDataSourceSchemaDatabase(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDataSourceSchemaDatabaseWithCallback invokes the emr.DescribeDataSourceSchemaDatabase API asynchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourceschemadatabase.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDataSourceSchemaDatabaseWithCallback(request *DescribeDataSourceSchemaDatabaseRequest, callback func(response *DescribeDataSourceSchemaDatabaseResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDataSourceSchemaDatabaseResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDataSourceSchemaDatabase(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDataSourceSchemaDatabaseRequest is the request struct for api DescribeDataSourceSchemaDatabase
-type DescribeDataSourceSchemaDatabaseRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DbName          string           `position:"Query" name:"DbName"`
-	DataSourceId    string           `position:"Query" name:"DataSourceId"`
-}
-
-// DescribeDataSourceSchemaDatabaseResponse is the response struct for api DescribeDataSourceSchemaDatabase
-type DescribeDataSourceSchemaDatabaseResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	DataSourceId string `json:"DataSourceId" xml:"DataSourceId"`
-	Schema       Schema `json:"Schema" xml:"Schema"`
-}
-
-// CreateDescribeDataSourceSchemaDatabaseRequest creates a request to invoke DescribeDataSourceSchemaDatabase API
-func CreateDescribeDataSourceSchemaDatabaseRequest() (request *DescribeDataSourceSchemaDatabaseRequest) {
-	request = &DescribeDataSourceSchemaDatabaseRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeDataSourceSchemaDatabase", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeDataSourceSchemaDatabaseResponse creates a response to parse from DescribeDataSourceSchemaDatabase response
-func CreateDescribeDataSourceSchemaDatabaseResponse() (response *DescribeDataSourceSchemaDatabaseResponse) {
-	response = &DescribeDataSourceSchemaDatabaseResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/emr/describe_data_source_schema_table.go

@@ -1,108 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeDataSourceSchemaTable invokes the emr.DescribeDataSourceSchemaTable API synchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourceschematable.html
-func (client *Client) DescribeDataSourceSchemaTable(request *DescribeDataSourceSchemaTableRequest) (response *DescribeDataSourceSchemaTableResponse, err error) {
-	response = CreateDescribeDataSourceSchemaTableResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeDataSourceSchemaTableWithChan invokes the emr.DescribeDataSourceSchemaTable API asynchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourceschematable.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDataSourceSchemaTableWithChan(request *DescribeDataSourceSchemaTableRequest) (<-chan *DescribeDataSourceSchemaTableResponse, <-chan error) {
-	responseChan := make(chan *DescribeDataSourceSchemaTableResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeDataSourceSchemaTable(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeDataSourceSchemaTableWithCallback invokes the emr.DescribeDataSourceSchemaTable API asynchronously
-// api document: https://help.aliyun.com/api/emr/describedatasourceschematable.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeDataSourceSchemaTableWithCallback(request *DescribeDataSourceSchemaTableRequest, callback func(response *DescribeDataSourceSchemaTableResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeDataSourceSchemaTableResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeDataSourceSchemaTable(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeDataSourceSchemaTableRequest is the request struct for api DescribeDataSourceSchemaTable
-type DescribeDataSourceSchemaTableRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	DbName          string           `position:"Query" name:"DbName"`
-	DataSourceId    string           `position:"Query" name:"DataSourceId"`
-	TableName       string           `position:"Query" name:"TableName"`
-}
-
-// DescribeDataSourceSchemaTableResponse is the response struct for api DescribeDataSourceSchemaTable
-type DescribeDataSourceSchemaTableResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	DataSourceId string `json:"DataSourceId" xml:"DataSourceId"`
-	Schema       Schema `json:"Schema" xml:"Schema"`
-}
-
-// CreateDescribeDataSourceSchemaTableRequest creates a request to invoke DescribeDataSourceSchemaTable API
-func CreateDescribeDataSourceSchemaTableRequest() (request *DescribeDataSourceSchemaTableRequest) {
-	request = &DescribeDataSourceSchemaTableRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeDataSourceSchemaTable", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeDataSourceSchemaTableResponse creates a response to parse from DescribeDataSourceSchemaTable response
-func CreateDescribeDataSourceSchemaTableResponse() (response *DescribeDataSourceSchemaTableResponse) {
-	response = &DescribeDataSourceSchemaTableResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/emr/describe_etl_job.go

@@ -1,114 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeETLJob invokes the emr.DescribeETLJob API synchronously
-// api document: https://help.aliyun.com/api/emr/describeetljob.html
-func (client *Client) DescribeETLJob(request *DescribeETLJobRequest) (response *DescribeETLJobResponse, err error) {
-	response = CreateDescribeETLJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeETLJobWithChan invokes the emr.DescribeETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobWithChan(request *DescribeETLJobRequest) (<-chan *DescribeETLJobResponse, <-chan error) {
-	responseChan := make(chan *DescribeETLJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeETLJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeETLJobWithCallback invokes the emr.DescribeETLJob API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobWithCallback(request *DescribeETLJobRequest, callback func(response *DescribeETLJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeETLJobResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeETLJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeETLJobRequest is the request struct for api DescribeETLJob
-type DescribeETLJobRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-}
-
-// DescribeETLJobResponse is the response struct for api DescribeETLJob
-type DescribeETLJobResponse struct {
-	*responses.BaseResponse
-	RequestId           string              `json:"RequestId" xml:"RequestId"`
-	Id                  string              `json:"Id" xml:"Id"`
-	Name                string              `json:"Name" xml:"Name"`
-	Description         string              `json:"Description" xml:"Description"`
-	CategoryId          string              `json:"CategoryId" xml:"CategoryId"`
-	Graph               string              `json:"Graph" xml:"Graph"`
-	ClusterConfig       ClusterConfig       `json:"ClusterConfig" xml:"ClusterConfig"`
-	AlertConfig         AlertConfig         `json:"AlertConfig" xml:"AlertConfig"`
-	TriggerRuleList     TriggerRuleList     `json:"TriggerRuleList" xml:"TriggerRuleList"`
-	StageList           StageList           `json:"StageList" xml:"StageList"`
-	StageConnectionList StageConnectionList `json:"StageConnectionList" xml:"StageConnectionList"`
-}
-
-// CreateDescribeETLJobRequest creates a request to invoke DescribeETLJob API
-func CreateDescribeETLJobRequest() (request *DescribeETLJobRequest) {
-	request = &DescribeETLJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeETLJob", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeETLJobResponse creates a response to parse from DescribeETLJob response
-func CreateDescribeETLJobResponse() (response *DescribeETLJobResponse) {
-	response = &DescribeETLJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 115
services/emr/describe_etl_job_instance.go

@@ -1,115 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeETLJobInstance invokes the emr.DescribeETLJobInstance API synchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobinstance.html
-func (client *Client) DescribeETLJobInstance(request *DescribeETLJobInstanceRequest) (response *DescribeETLJobInstanceResponse, err error) {
-	response = CreateDescribeETLJobInstanceResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeETLJobInstanceWithChan invokes the emr.DescribeETLJobInstance API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobinstance.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobInstanceWithChan(request *DescribeETLJobInstanceRequest) (<-chan *DescribeETLJobInstanceResponse, <-chan error) {
-	responseChan := make(chan *DescribeETLJobInstanceResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeETLJobInstance(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeETLJobInstanceWithCallback invokes the emr.DescribeETLJobInstance API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobinstance.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobInstanceWithCallback(request *DescribeETLJobInstanceRequest, callback func(response *DescribeETLJobInstanceResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeETLJobInstanceResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeETLJobInstance(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeETLJobInstanceRequest is the request struct for api DescribeETLJobInstance
-type DescribeETLJobInstanceRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Id              string           `position:"Query" name:"Id"`
-}
-
-// DescribeETLJobInstanceResponse is the response struct for api DescribeETLJobInstance
-type DescribeETLJobInstanceResponse struct {
-	*responses.BaseResponse
-	RequestId         string                                    `json:"RequestId" xml:"RequestId"`
-	Id                string                                    `json:"Id" xml:"Id"`
-	EtlJobId          string                                    `json:"EtlJobId" xml:"EtlJobId"`
-	InstanceStatus    string                                    `json:"InstanceStatus" xml:"InstanceStatus"`
-	TriggerUser       string                                    `json:"TriggerUser" xml:"TriggerUser"`
-	StartTime         int64                                     `json:"StartTime" xml:"StartTime"`
-	EndTime           int64                                     `json:"EndTime" xml:"EndTime"`
-	TriggerHistory    TriggerHistory                            `json:"TriggerHistory" xml:"TriggerHistory"`
-	Arguments         Arguments                                 `json:"Arguments" xml:"Arguments"`
-	Metrics           Metrics                                   `json:"Metrics" xml:"Metrics"`
-	FlowRelationList  FlowRelationListInDescribeETLJobInstance  `json:"FlowRelationList" xml:"FlowRelationList"`
-	StageInstanceList StageInstanceListInDescribeETLJobInstance `json:"StageInstanceList" xml:"StageInstanceList"`
-}
-
-// CreateDescribeETLJobInstanceRequest creates a request to invoke DescribeETLJobInstance API
-func CreateDescribeETLJobInstanceRequest() (request *DescribeETLJobInstanceRequest) {
-	request = &DescribeETLJobInstanceRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeETLJobInstance", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeETLJobInstanceResponse creates a response to parse from DescribeETLJobInstance response
-func CreateDescribeETLJobInstanceResponse() (response *DescribeETLJobInstanceResponse) {
-	response = &DescribeETLJobInstanceResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/emr/describe_etl_job_sql_schema.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeETLJobSqlSchema invokes the emr.DescribeETLJobSqlSchema API synchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobsqlschema.html
-func (client *Client) DescribeETLJobSqlSchema(request *DescribeETLJobSqlSchemaRequest) (response *DescribeETLJobSqlSchemaResponse, err error) {
-	response = CreateDescribeETLJobSqlSchemaResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeETLJobSqlSchemaWithChan invokes the emr.DescribeETLJobSqlSchema API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobsqlschema.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobSqlSchemaWithChan(request *DescribeETLJobSqlSchemaRequest) (<-chan *DescribeETLJobSqlSchemaResponse, <-chan error) {
-	responseChan := make(chan *DescribeETLJobSqlSchemaResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeETLJobSqlSchema(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeETLJobSqlSchemaWithCallback invokes the emr.DescribeETLJobSqlSchema API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobsqlschema.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobSqlSchemaWithCallback(request *DescribeETLJobSqlSchemaRequest, callback func(response *DescribeETLJobSqlSchemaResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeETLJobSqlSchemaResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeETLJobSqlSchema(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeETLJobSqlSchemaRequest is the request struct for api DescribeETLJobSqlSchema
-type DescribeETLJobSqlSchemaRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResolveId       string           `position:"Query" name:"ResolveId"`
-}
-
-// DescribeETLJobSqlSchemaResponse is the response struct for api DescribeETLJobSqlSchema
-type DescribeETLJobSqlSchemaResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Schema    Schema `json:"Schema" xml:"Schema"`
-}
-
-// CreateDescribeETLJobSqlSchemaRequest creates a request to invoke DescribeETLJobSqlSchema API
-func CreateDescribeETLJobSqlSchemaRequest() (request *DescribeETLJobSqlSchemaRequest) {
-	request = &DescribeETLJobSqlSchemaRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeETLJobSqlSchema", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeETLJobSqlSchemaResponse creates a response to parse from DescribeETLJobSqlSchema response
-func CreateDescribeETLJobSqlSchemaResponse() (response *DescribeETLJobSqlSchemaResponse) {
-	response = &DescribeETLJobSqlSchemaResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/emr/describe_etl_job_stage_output_schema.go

@@ -1,106 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeETLJobStageOutputSchema invokes the emr.DescribeETLJobStageOutputSchema API synchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobstageoutputschema.html
-func (client *Client) DescribeETLJobStageOutputSchema(request *DescribeETLJobStageOutputSchemaRequest) (response *DescribeETLJobStageOutputSchemaResponse, err error) {
-	response = CreateDescribeETLJobStageOutputSchemaResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeETLJobStageOutputSchemaWithChan invokes the emr.DescribeETLJobStageOutputSchema API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobstageoutputschema.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobStageOutputSchemaWithChan(request *DescribeETLJobStageOutputSchemaRequest) (<-chan *DescribeETLJobStageOutputSchemaResponse, <-chan error) {
-	responseChan := make(chan *DescribeETLJobStageOutputSchemaResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeETLJobStageOutputSchema(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeETLJobStageOutputSchemaWithCallback invokes the emr.DescribeETLJobStageOutputSchema API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeetljobstageoutputschema.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeETLJobStageOutputSchemaWithCallback(request *DescribeETLJobStageOutputSchemaRequest, callback func(response *DescribeETLJobStageOutputSchemaResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeETLJobStageOutputSchemaResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeETLJobStageOutputSchema(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeETLJobStageOutputSchemaRequest is the request struct for api DescribeETLJobStageOutputSchema
-type DescribeETLJobStageOutputSchemaRequest struct {
-	*requests.RpcRequest
-	StageName       string           `position:"Query" name:"StageName"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	EtlJobId        string           `position:"Query" name:"EtlJobId"`
-}
-
-// DescribeETLJobStageOutputSchemaResponse is the response struct for api DescribeETLJobStageOutputSchema
-type DescribeETLJobStageOutputSchemaResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Schema    Schema `json:"Schema" xml:"Schema"`
-}
-
-// CreateDescribeETLJobStageOutputSchemaRequest creates a request to invoke DescribeETLJobStageOutputSchema API
-func CreateDescribeETLJobStageOutputSchemaRequest() (request *DescribeETLJobStageOutputSchemaRequest) {
-	request = &DescribeETLJobStageOutputSchemaRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeETLJobStageOutputSchema", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeETLJobStageOutputSchemaResponse creates a response to parse from DescribeETLJobStageOutputSchema response
-func CreateDescribeETLJobStageOutputSchemaResponse() (response *DescribeETLJobStageOutputSchemaResponse) {
-	response = &DescribeETLJobStageOutputSchemaResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 0
services/emr/describe_flow.go

@@ -104,6 +104,7 @@ type DescribeFlowResponse struct {
 	AlertUserGroupBizId     string         `json:"AlertUserGroupBizId" xml:"AlertUserGroupBizId"`
 	AlertDingDingGroupBizId string         `json:"AlertDingDingGroupBizId" xml:"AlertDingDingGroupBizId"`
 	Application             string         `json:"Application" xml:"Application"`
+	EditLockDetail          string         `json:"EditLockDetail" xml:"EditLockDetail"`
 	ParentFlowList          ParentFlowList `json:"ParentFlowList" xml:"ParentFlowList"`
 }
 

+ 5 - 2
services/emr/describe_flow_category_tree.go

@@ -76,8 +76,11 @@ func (client *Client) DescribeFlowCategoryTreeWithCallback(request *DescribeFlow
 // DescribeFlowCategoryTreeRequest is the request struct for api DescribeFlowCategoryTree
 type DescribeFlowCategoryTreeRequest struct {
 	*requests.RpcRequest
-	Type      string `position:"Query" name:"Type"`
-	ProjectId string `position:"Query" name:"ProjectId"`
+	Type       string `position:"Query" name:"Type"`
+	Mode       string `position:"Query" name:"Mode"`
+	Keyword    string `position:"Query" name:"Keyword"`
+	ProjectId  string `position:"Query" name:"ProjectId"`
+	CategoryId string `position:"Query" name:"CategoryId"`
 }
 
 // DescribeFlowCategoryTreeResponse is the response struct for api DescribeFlowCategoryTree

+ 125 - 0
services/emr/describe_flow_entity_snapshot.go

@@ -0,0 +1,125 @@
+package emr
+
+//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"
+)
+
+// DescribeFlowEntitySnapshot invokes the emr.DescribeFlowEntitySnapshot API synchronously
+// api document: https://help.aliyun.com/api/emr/describeflowentitysnapshot.html
+func (client *Client) DescribeFlowEntitySnapshot(request *DescribeFlowEntitySnapshotRequest) (response *DescribeFlowEntitySnapshotResponse, err error) {
+	response = CreateDescribeFlowEntitySnapshotResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFlowEntitySnapshotWithChan invokes the emr.DescribeFlowEntitySnapshot API asynchronously
+// api document: https://help.aliyun.com/api/emr/describeflowentitysnapshot.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFlowEntitySnapshotWithChan(request *DescribeFlowEntitySnapshotRequest) (<-chan *DescribeFlowEntitySnapshotResponse, <-chan error) {
+	responseChan := make(chan *DescribeFlowEntitySnapshotResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFlowEntitySnapshot(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFlowEntitySnapshotWithCallback invokes the emr.DescribeFlowEntitySnapshot API asynchronously
+// api document: https://help.aliyun.com/api/emr/describeflowentitysnapshot.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFlowEntitySnapshotWithCallback(request *DescribeFlowEntitySnapshotRequest, callback func(response *DescribeFlowEntitySnapshotResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFlowEntitySnapshotResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFlowEntitySnapshot(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFlowEntitySnapshotRequest is the request struct for api DescribeFlowEntitySnapshot
+type DescribeFlowEntitySnapshotRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PageCount       requests.Integer `position:"Query" name:"PageCount"`
+	OrderMode       string           `position:"Query" name:"OrderMode"`
+	EntityId        string           `position:"Query" name:"EntityId"`
+	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
+	Limit           requests.Integer `position:"Query" name:"Limit"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
+	CommitterId     string           `position:"Query" name:"CommitterId"`
+	CurrentSize     requests.Integer `position:"Query" name:"CurrentSize"`
+	OrderField      string           `position:"Query" name:"OrderField"`
+	EntityGroupId   string           `position:"Query" name:"EntityGroupId"`
+	Revision        string           `position:"Query" name:"Revision"`
+	EntityType      string           `position:"Query" name:"EntityType"`
+}
+
+// DescribeFlowEntitySnapshotResponse is the response struct for api DescribeFlowEntitySnapshot
+type DescribeFlowEntitySnapshotResponse struct {
+	*responses.BaseResponse
+	RequestId     string `json:"RequestId" xml:"RequestId"`
+	GmtCreate     int64  `json:"GmtCreate" xml:"GmtCreate"`
+	Revision      string `json:"Revision" xml:"Revision"`
+	UserId        string `json:"UserId" xml:"UserId"`
+	CommitterId   string `json:"CommitterId" xml:"CommitterId"`
+	Message       string `json:"Message" xml:"Message"`
+	EntityId      string `json:"EntityId" xml:"EntityId"`
+	EntityGroupId string `json:"EntityGroupId" xml:"EntityGroupId"`
+	EntityType    string `json:"EntityType" xml:"EntityType"`
+	Data          string `json:"Data" xml:"Data"`
+	Active        bool   `json:"Active" xml:"Active"`
+}
+
+// CreateDescribeFlowEntitySnapshotRequest creates a request to invoke DescribeFlowEntitySnapshot API
+func CreateDescribeFlowEntitySnapshotRequest() (request *DescribeFlowEntitySnapshotRequest) {
+	request = &DescribeFlowEntitySnapshotRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeFlowEntitySnapshot", "emr", "openAPI")
+	return
+}
+
+// CreateDescribeFlowEntitySnapshotResponse creates a response to parse from DescribeFlowEntitySnapshot response
+func CreateDescribeFlowEntitySnapshotResponse() (response *DescribeFlowEntitySnapshotResponse) {
+	response = &DescribeFlowEntitySnapshotResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 24 - 22
services/emr/describe_flow_job.go

@@ -83,28 +83,30 @@ type DescribeFlowJobRequest struct {
 // DescribeFlowJobResponse is the response struct for api DescribeFlowJob
 type DescribeFlowJobResponse struct {
 	*responses.BaseResponse
-	RequestId       string                        `json:"RequestId" xml:"RequestId"`
-	Id              string                        `json:"Id" xml:"Id"`
-	GmtCreate       int64                         `json:"GmtCreate" xml:"GmtCreate"`
-	GmtModified     int64                         `json:"GmtModified" xml:"GmtModified"`
-	Name            string                        `json:"Name" xml:"Name"`
-	Type            string                        `json:"Type" xml:"Type"`
-	Description     string                        `json:"Description" xml:"Description"`
-	FailAct         string                        `json:"FailAct" xml:"FailAct"`
-	MaxRetry        int                           `json:"MaxRetry" xml:"MaxRetry"`
-	RetryInterval   int64                         `json:"RetryInterval" xml:"RetryInterval"`
-	Params          string                        `json:"Params" xml:"Params"`
-	ParamConf       string                        `json:"ParamConf" xml:"ParamConf"`
-	CustomVariables string                        `json:"CustomVariables" xml:"CustomVariables"`
-	EnvConf         string                        `json:"EnvConf" xml:"EnvConf"`
-	RunConf         string                        `json:"RunConf" xml:"RunConf"`
-	MonitorConf     string                        `json:"MonitorConf" xml:"MonitorConf"`
-	CategoryId      string                        `json:"CategoryId" xml:"CategoryId"`
-	Mode            string                        `json:"mode" xml:"mode"`
-	LastInstanceId  string                        `json:"LastInstanceId" xml:"LastInstanceId"`
-	Adhoc           string                        `json:"Adhoc" xml:"Adhoc"`
-	AlertConf       string                        `json:"AlertConf" xml:"AlertConf"`
-	ResourceList    ResourceListInDescribeFlowJob `json:"ResourceList" xml:"ResourceList"`
+	RequestId         string                        `json:"RequestId" xml:"RequestId"`
+	Id                string                        `json:"Id" xml:"Id"`
+	GmtCreate         int64                         `json:"GmtCreate" xml:"GmtCreate"`
+	GmtModified       int64                         `json:"GmtModified" xml:"GmtModified"`
+	Name              string                        `json:"Name" xml:"Name"`
+	Type              string                        `json:"Type" xml:"Type"`
+	Description       string                        `json:"Description" xml:"Description"`
+	FailAct           string                        `json:"FailAct" xml:"FailAct"`
+	MaxRetry          int                           `json:"MaxRetry" xml:"MaxRetry"`
+	RetryInterval     int64                         `json:"RetryInterval" xml:"RetryInterval"`
+	Params            string                        `json:"Params" xml:"Params"`
+	ParamConf         string                        `json:"ParamConf" xml:"ParamConf"`
+	CustomVariables   string                        `json:"CustomVariables" xml:"CustomVariables"`
+	EnvConf           string                        `json:"EnvConf" xml:"EnvConf"`
+	RunConf           string                        `json:"RunConf" xml:"RunConf"`
+	MonitorConf       string                        `json:"MonitorConf" xml:"MonitorConf"`
+	CategoryId        string                        `json:"CategoryId" xml:"CategoryId"`
+	Mode              string                        `json:"mode" xml:"mode"`
+	LastInstanceId    string                        `json:"LastInstanceId" xml:"LastInstanceId"`
+	Adhoc             string                        `json:"Adhoc" xml:"Adhoc"`
+	AlertConf         string                        `json:"AlertConf" xml:"AlertConf"`
+	EditLockDetail    string                        `json:"EditLockDetail" xml:"EditLockDetail"`
+	MaxRunningTimeSec int64                         `json:"MaxRunningTimeSec" xml:"MaxRunningTimeSec"`
+	ResourceList      ResourceListInDescribeFlowJob `json:"ResourceList" xml:"ResourceList"`
 }
 
 // CreateDescribeFlowJobRequest creates a request to invoke DescribeFlowJob API

+ 0 - 105
services/emr/describe_flow_job_statistic.go

@@ -1,105 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeFlowJobStatistic invokes the emr.DescribeFlowJobStatistic API synchronously
-// api document: https://help.aliyun.com/api/emr/describeflowjobstatistic.html
-func (client *Client) DescribeFlowJobStatistic(request *DescribeFlowJobStatisticRequest) (response *DescribeFlowJobStatisticResponse, err error) {
-	response = CreateDescribeFlowJobStatisticResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeFlowJobStatisticWithChan invokes the emr.DescribeFlowJobStatistic API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeflowjobstatistic.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeFlowJobStatisticWithChan(request *DescribeFlowJobStatisticRequest) (<-chan *DescribeFlowJobStatisticResponse, <-chan error) {
-	responseChan := make(chan *DescribeFlowJobStatisticResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeFlowJobStatistic(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeFlowJobStatisticWithCallback invokes the emr.DescribeFlowJobStatistic API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeflowjobstatistic.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeFlowJobStatisticWithCallback(request *DescribeFlowJobStatisticRequest, callback func(response *DescribeFlowJobStatisticResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeFlowJobStatisticResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeFlowJobStatistic(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeFlowJobStatisticRequest is the request struct for api DescribeFlowJobStatistic
-type DescribeFlowJobStatisticRequest struct {
-	*requests.RpcRequest
-	FromApp   string `position:"Query" name:"FromApp"`
-	ProjectId string `position:"Query" name:"ProjectId"`
-}
-
-// DescribeFlowJobStatisticResponse is the response struct for api DescribeFlowJobStatistic
-type DescribeFlowJobStatisticResponse struct {
-	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	StatisticInfo string `json:"StatisticInfo" xml:"StatisticInfo"`
-}
-
-// CreateDescribeFlowJobStatisticRequest creates a request to invoke DescribeFlowJobStatistic API
-func CreateDescribeFlowJobStatisticRequest() (request *DescribeFlowJobStatisticRequest) {
-	request = &DescribeFlowJobStatisticRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeFlowJobStatistic", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeFlowJobStatisticResponse creates a response to parse from DescribeFlowJobStatistic response
-func CreateDescribeFlowJobStatisticResponse() (response *DescribeFlowJobStatisticResponse) {
-	response = &DescribeFlowJobStatisticResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/emr/describe_flow_node_instance_container_log.go

@@ -78,10 +78,10 @@ type DescribeFlowNodeInstanceContainerLogRequest struct {
 	*requests.RpcRequest
 	Offset         requests.Integer `position:"Query" name:"Offset"`
 	LogName        string           `position:"Query" name:"LogName"`
-	AppId          string           `position:"Query" name:"AppId"`
 	Length         requests.Integer `position:"Query" name:"Length"`
-	ContainerId    string           `position:"Query" name:"ContainerId"`
 	NodeInstanceId string           `position:"Query" name:"NodeInstanceId"`
+	AppId          string           `position:"Query" name:"AppId"`
+	ContainerId    string           `position:"Query" name:"ContainerId"`
 	ProjectId      string           `position:"Query" name:"ProjectId"`
 }
 

+ 1 - 1
services/emr/describe_flow_node_instance_launcher_log.go

@@ -81,9 +81,9 @@ type DescribeFlowNodeInstanceLauncherLogRequest struct {
 	Length         requests.Integer `position:"Query" name:"Length"`
 	EndTime        requests.Integer `position:"Query" name:"EndTime"`
 	StartTime      requests.Integer `position:"Query" name:"StartTime"`
-	Lines          requests.Integer `position:"Query" name:"Lines"`
 	Reverse        requests.Boolean `position:"Query" name:"Reverse"`
 	NodeInstanceId string           `position:"Query" name:"NodeInstanceId"`
+	Lines          requests.Integer `position:"Query" name:"Lines"`
 	ProjectId      string           `position:"Query" name:"ProjectId"`
 }
 

+ 0 - 104
services/emr/describe_flow_variable_collection.go

@@ -1,104 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeFlowVariableCollection invokes the emr.DescribeFlowVariableCollection API synchronously
-// api document: https://help.aliyun.com/api/emr/describeflowvariablecollection.html
-func (client *Client) DescribeFlowVariableCollection(request *DescribeFlowVariableCollectionRequest) (response *DescribeFlowVariableCollectionResponse, err error) {
-	response = CreateDescribeFlowVariableCollectionResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeFlowVariableCollectionWithChan invokes the emr.DescribeFlowVariableCollection API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeflowvariablecollection.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeFlowVariableCollectionWithChan(request *DescribeFlowVariableCollectionRequest) (<-chan *DescribeFlowVariableCollectionResponse, <-chan error) {
-	responseChan := make(chan *DescribeFlowVariableCollectionResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeFlowVariableCollection(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeFlowVariableCollectionWithCallback invokes the emr.DescribeFlowVariableCollection API asynchronously
-// api document: https://help.aliyun.com/api/emr/describeflowvariablecollection.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeFlowVariableCollectionWithCallback(request *DescribeFlowVariableCollectionRequest, callback func(response *DescribeFlowVariableCollectionResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeFlowVariableCollectionResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeFlowVariableCollection(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeFlowVariableCollectionRequest is the request struct for api DescribeFlowVariableCollection
-type DescribeFlowVariableCollectionRequest struct {
-	*requests.RpcRequest
-	EntityId string `position:"Query" name:"EntityId"`
-}
-
-// DescribeFlowVariableCollectionResponse is the response struct for api DescribeFlowVariableCollection
-type DescribeFlowVariableCollectionResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Result    string `json:"Result" xml:"Result"`
-}
-
-// CreateDescribeFlowVariableCollectionRequest creates a request to invoke DescribeFlowVariableCollection API
-func CreateDescribeFlowVariableCollectionRequest() (request *DescribeFlowVariableCollectionRequest) {
-	request = &DescribeFlowVariableCollectionRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeFlowVariableCollection", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeFlowVariableCollectionResponse creates a response to parse from DescribeFlowVariableCollection response
-func CreateDescribeFlowVariableCollectionResponse() (response *DescribeFlowVariableCollectionResponse) {
-	response = &DescribeFlowVariableCollectionResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/emr/describe_host_pool.go

@@ -1,112 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeHostPool invokes the emr.DescribeHostPool API synchronously
-// api document: https://help.aliyun.com/api/emr/describehostpool.html
-func (client *Client) DescribeHostPool(request *DescribeHostPoolRequest) (response *DescribeHostPoolResponse, err error) {
-	response = CreateDescribeHostPoolResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeHostPoolWithChan invokes the emr.DescribeHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/describehostpool.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeHostPoolWithChan(request *DescribeHostPoolRequest) (<-chan *DescribeHostPoolResponse, <-chan error) {
-	responseChan := make(chan *DescribeHostPoolResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeHostPool(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeHostPoolWithCallback invokes the emr.DescribeHostPool API asynchronously
-// api document: https://help.aliyun.com/api/emr/describehostpool.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeHostPoolWithCallback(request *DescribeHostPoolRequest, callback func(response *DescribeHostPoolResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeHostPoolResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeHostPool(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeHostPoolRequest is the request struct for api DescribeHostPool
-type DescribeHostPoolRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	BizId           string           `position:"Query" name:"BizId"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// DescribeHostPoolResponse is the response struct for api DescribeHostPool
-type DescribeHostPoolResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	Name        string `json:"Name" xml:"Name"`
-	BizId       string `json:"BizId" xml:"BizId"`
-	Status      string `json:"Status" xml:"Status"`
-	Type        string `json:"Type" xml:"Type"`
-	Description string `json:"Description" xml:"Description"`
-	HostCount   int    `json:"HostCount" xml:"HostCount"`
-	GmtCreate   int64  `json:"GmtCreate" xml:"GmtCreate"`
-}
-
-// CreateDescribeHostPoolRequest creates a request to invoke DescribeHostPool API
-func CreateDescribeHostPoolRequest() (request *DescribeHostPoolRequest) {
-	request = &DescribeHostPoolRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeHostPool", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeHostPoolResponse creates a response to parse from DescribeHostPool response
-func CreateDescribeHostPoolResponse() (response *DescribeHostPoolResponse) {
-	response = &DescribeHostPoolResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 118
services/emr/describe_hp_host.go

@@ -1,118 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeHpHost invokes the emr.DescribeHpHost API synchronously
-// api document: https://help.aliyun.com/api/emr/describehphost.html
-func (client *Client) DescribeHpHost(request *DescribeHpHostRequest) (response *DescribeHpHostResponse, err error) {
-	response = CreateDescribeHpHostResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeHpHostWithChan invokes the emr.DescribeHpHost API asynchronously
-// api document: https://help.aliyun.com/api/emr/describehphost.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeHpHostWithChan(request *DescribeHpHostRequest) (<-chan *DescribeHpHostResponse, <-chan error) {
-	responseChan := make(chan *DescribeHpHostResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeHpHost(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeHpHostWithCallback invokes the emr.DescribeHpHost API asynchronously
-// api document: https://help.aliyun.com/api/emr/describehphost.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeHpHostWithCallback(request *DescribeHpHostRequest, callback func(response *DescribeHpHostResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeHpHostResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeHpHost(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeHpHostRequest is the request struct for api DescribeHpHost
-type DescribeHpHostRequest struct {
-	*requests.RpcRequest
-	HpHostBizId     string           `position:"Query" name:"HpHostBizId"`
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-}
-
-// DescribeHpHostResponse is the response struct for api DescribeHpHost
-type DescribeHpHostResponse struct {
-	*responses.BaseResponse
-	RequestId           string                              `json:"RequestId" xml:"RequestId"`
-	BizId               string                              `json:"BizId" xml:"BizId"`
-	HostName            string                              `json:"HostName" xml:"HostName"`
-	InnerIp             string                              `json:"InnerIp" xml:"InnerIp"`
-	Role                string                              `json:"Role" xml:"Role"`
-	Status              string                              `json:"Status" xml:"Status"`
-	CpuCore             int                                 `json:"CpuCore" xml:"CpuCore"`
-	MemSize             int                                 `json:"MemSize" xml:"MemSize"`
-	VpcId               string                              `json:"VpcId" xml:"VpcId"`
-	VswitchId           string                              `json:"VswitchId" xml:"VswitchId"`
-	SecurityGroupId     string                              `json:"SecurityGroupId" xml:"SecurityGroupId"`
-	ExternalIp          string                              `json:"ExternalIp" xml:"ExternalIp"`
-	ExternalKey         string                              `json:"ExternalKey" xml:"ExternalKey"`
-	InstalledComponents InstalledComponentsInDescribeHpHost `json:"InstalledComponents" xml:"InstalledComponents"`
-	DiskList            DiskListInDescribeHpHost            `json:"DiskList" xml:"DiskList"`
-}
-
-// CreateDescribeHpHostRequest creates a request to invoke DescribeHpHost API
-func CreateDescribeHpHostRequest() (request *DescribeHpHostRequest) {
-	request = &DescribeHpHostRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeHpHost", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeHpHostResponse creates a response to parse from DescribeHpHost response
-func CreateDescribeHpHostResponse() (response *DescribeHpHostResponse) {
-	response = &DescribeHpHostResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 119
services/emr/describe_kafka_broker.go

@@ -1,119 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeKafkaBroker invokes the emr.DescribeKafkaBroker API synchronously
-// api document: https://help.aliyun.com/api/emr/describekafkabroker.html
-func (client *Client) DescribeKafkaBroker(request *DescribeKafkaBrokerRequest) (response *DescribeKafkaBrokerResponse, err error) {
-	response = CreateDescribeKafkaBrokerResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeKafkaBrokerWithChan invokes the emr.DescribeKafkaBroker API asynchronously
-// api document: https://help.aliyun.com/api/emr/describekafkabroker.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeKafkaBrokerWithChan(request *DescribeKafkaBrokerRequest) (<-chan *DescribeKafkaBrokerResponse, <-chan error) {
-	responseChan := make(chan *DescribeKafkaBrokerResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeKafkaBroker(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeKafkaBrokerWithCallback invokes the emr.DescribeKafkaBroker API asynchronously
-// api document: https://help.aliyun.com/api/emr/describekafkabroker.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeKafkaBrokerWithCallback(request *DescribeKafkaBrokerRequest, callback func(response *DescribeKafkaBrokerResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeKafkaBrokerResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeKafkaBroker(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeKafkaBrokerRequest is the request struct for api DescribeKafkaBroker
-type DescribeKafkaBrokerRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	HostId          string           `position:"Query" name:"HostId"`
-	ClusterId       string           `position:"Query" name:"ClusterId"`
-}
-
-// DescribeKafkaBrokerResponse is the response struct for api DescribeKafkaBroker
-type DescribeKafkaBrokerResponse struct {
-	*responses.BaseResponse
-	RequestId         string                         `json:"RequestId" xml:"RequestId"`
-	BrokerId          int                            `json:"BrokerId" xml:"BrokerId"`
-	HostId            string                         `json:"HostId" xml:"HostId"`
-	HostName          string                         `json:"HostName" xml:"HostName"`
-	HostIp            string                         `json:"HostIp" xml:"HostIp"`
-	Status            string                         `json:"Status" xml:"Status"`
-	PartitionCount    int                            `json:"PartitionCount" xml:"PartitionCount"`
-	LeaderCount       int                            `json:"LeaderCount" xml:"LeaderCount"`
-	TopicCount        int                            `json:"TopicCount" xml:"TopicCount"`
-	DiskUnbalanceRate string                         `json:"DiskUnbalanceRate" xml:"DiskUnbalanceRate"`
-	DiskUsageMean     string                         `json:"DiskUsageMean" xml:"DiskUsageMean"`
-	DiskUsageMax      string                         `json:"DiskUsageMax" xml:"DiskUsageMax"`
-	DiskCapacity      int                            `json:"DiskCapacity" xml:"DiskCapacity"`
-	Traffic           string                         `json:"Traffic" xml:"Traffic"`
-	TopicList         TopicListInDescribeKafkaBroker `json:"TopicList" xml:"TopicList"`
-}
-
-// CreateDescribeKafkaBrokerRequest creates a request to invoke DescribeKafkaBroker API
-func CreateDescribeKafkaBrokerRequest() (request *DescribeKafkaBrokerRequest) {
-	request = &DescribeKafkaBrokerRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeKafkaBroker", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeKafkaBrokerResponse creates a response to parse from DescribeKafkaBroker response
-func CreateDescribeKafkaBrokerResponse() (response *DescribeKafkaBrokerResponse) {
-	response = &DescribeKafkaBrokerResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/emr/describe_kafka_reassign.go

@@ -1,112 +0,0 @@
-package emr
-
-//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"
-)
-
-// DescribeKafkaReassign invokes the emr.DescribeKafkaReassign API synchronously
-// api document: https://help.aliyun.com/api/emr/describekafkareassign.html
-func (client *Client) DescribeKafkaReassign(request *DescribeKafkaReassignRequest) (response *DescribeKafkaReassignResponse, err error) {
-	response = CreateDescribeKafkaReassignResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeKafkaReassignWithChan invokes the emr.DescribeKafkaReassign API asynchronously
-// api document: https://help.aliyun.com/api/emr/describekafkareassign.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeKafkaReassignWithChan(request *DescribeKafkaReassignRequest) (<-chan *DescribeKafkaReassignResponse, <-chan error) {
-	responseChan := make(chan *DescribeKafkaReassignResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeKafkaReassign(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeKafkaReassignWithCallback invokes the emr.DescribeKafkaReassign API asynchronously
-// api document: https://help.aliyun.com/api/emr/describekafkareassign.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeKafkaReassignWithCallback(request *DescribeKafkaReassignRequest, callback func(response *DescribeKafkaReassignResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeKafkaReassignResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeKafkaReassign(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeKafkaReassignRequest is the request struct for api DescribeKafkaReassign
-type DescribeKafkaReassignRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ReassignId      string           `position:"Query" name:"ReassignId"`
-}
-
-// DescribeKafkaReassignResponse is the response struct for api DescribeKafkaReassign
-type DescribeKafkaReassignResponse struct {
-	*responses.BaseResponse
-	RequestId      string `json:"RequestId" xml:"RequestId"`
-	Id             string `json:"Id" xml:"Id"`
-	Status         string `json:"Status" xml:"Status"`
-	AssignProcess  int    `json:"AssignProcess" xml:"AssignProcess"`
-	StartTime      int64  `json:"StartTime" xml:"StartTime"`
-	EndTime        int64  `json:"EndTime" xml:"EndTime"`
-	TopicCount     int    `json:"TopicCount" xml:"TopicCount"`
-	PartitionCount int    `json:"PartitionCount" xml:"PartitionCount"`
-	Throttle       int64  `json:"Throttle" xml:"Throttle"`
-}
-
-// CreateDescribeKafkaReassignRequest creates a request to invoke DescribeKafkaReassign API
-func CreateDescribeKafkaReassignRequest() (request *DescribeKafkaReassignRequest) {
-	request = &DescribeKafkaReassignRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Emr", "2016-04-08", "DescribeKafkaReassign", "emr", "openAPI")
-	return
-}
-
-// CreateDescribeKafkaReassignResponse creates a response to parse from DescribeKafkaReassign response
-func CreateDescribeKafkaReassignResponse() (response *DescribeKafkaReassignResponse) {
-	response = &DescribeKafkaReassignResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

Some files were not shown because too many files changed in this diff