Bladeren bron

IVISION SDK Auto Released By wb-czb515173,Version:1.53.77

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 jaren geleden
bovenliggende
commit
0e8594ad02
76 gewijzigde bestanden met toevoegingen van 4651 en 0 verwijderingen
  1. 9 0
      ChangeLog.txt
  2. 81 0
      services/ivision/client.go
  3. 108 0
      services/ivision/create_project.go
  4. 113 0
      services/ivision/create_stream_predict.go
  5. 108 0
      services/ivision/create_tag.go
  6. 108 0
      services/ivision/create_train_data_region_tag.go
  7. 108 0
      services/ivision/create_train_data_tag.go
  8. 109 0
      services/ivision/create_train_datas_from_prediction.go
  9. 108 0
      services/ivision/create_train_datas_from_urls.go
  10. 108 0
      services/ivision/create_train_datas_tag.go
  11. 107 0
      services/ivision/create_upload_token.go
  12. 107 0
      services/ivision/delete_iteration.go
  13. 107 0
      services/ivision/delete_predict_datas.go
  14. 106 0
      services/ivision/delete_project.go
  15. 106 0
      services/ivision/delete_stream_predict.go
  16. 107 0
      services/ivision/delete_tag.go
  17. 106 0
      services/ivision/delete_train_datas.go
  18. 107 0
      services/ivision/delete_train_datas_tag.go
  19. 113 0
      services/ivision/describe_iterations.go
  20. 118 0
      services/ivision/describe_predict_datas.go
  21. 113 0
      services/ivision/describe_projects.go
  22. 117 0
      services/ivision/describe_stream_predict_result.go
  23. 113 0
      services/ivision/describe_stream_predicts.go
  24. 115 0
      services/ivision/describe_tags.go
  25. 116 0
      services/ivision/describe_train_datas.go
  26. 108 0
      services/ivision/describe_train_datas_by_ids.go
  27. 108 0
      services/ivision/describe_train_result.go
  28. 108 0
      services/ivision/modify_project_attribute.go
  29. 109 0
      services/ivision/modify_tag_attribute.go
  30. 108 0
      services/ivision/modify_train_data_region_tag_attribute.go
  31. 108 0
      services/ivision/modify_train_data_tag_attribute.go
  32. 108 0
      services/ivision/predict_image.go
  33. 106 0
      services/ivision/start_stream_predict.go
  34. 106 0
      services/ivision/stop_stream_predict.go
  35. 30 0
      services/ivision/struct_iteration.go
  36. 21 0
      services/ivision/struct_iterations.go
  37. 30 0
      services/ivision/struct_predict_data.go
  38. 21 0
      services/ivision/struct_predict_datas_in_describe_predict_datas.go
  39. 21 0
      services/ivision/struct_predict_datas_in_predict_image.go
  40. 27 0
      services/ivision/struct_prediction_result.go
  41. 27 0
      services/ivision/struct_prediction_result_in_describe_stream_predict_result.go
  42. 21 0
      services/ivision/struct_prediction_results_in_describe_predict_datas.go
  43. 21 0
      services/ivision/struct_prediction_results_in_describe_stream_predict_result.go
  44. 21 0
      services/ivision/struct_prediction_results_in_predict_image.go
  45. 27 0
      services/ivision/struct_project.go
  46. 21 0
      services/ivision/struct_projects.go
  47. 22 0
      services/ivision/struct_properties.go
  48. 24 0
      services/ivision/struct_region.go
  49. 21 0
      services/ivision/struct_result_statistics.go
  50. 23 0
      services/ivision/struct_result_statistics_item.go
  51. 30 0
      services/ivision/struct_stream_predict.go
  52. 28 0
      services/ivision/struct_stream_predict_data.go
  53. 21 0
      services/ivision/struct_stream_predict_datas.go
  54. 21 0
      services/ivision/struct_stream_predicts.go
  55. 27 0
      services/ivision/struct_tag.go
  56. 23 0
      services/ivision/struct_tag_item.go
  57. 21 0
      services/ivision/struct_tag_items_in_create_train_data_region_tag.go
  58. 21 0
      services/ivision/struct_tag_items_in_create_train_data_tag.go
  59. 21 0
      services/ivision/struct_tag_items_in_create_train_datas_from_prediction.go
  60. 21 0
      services/ivision/struct_tag_items_in_create_train_datas_from_urls.go
  61. 21 0
      services/ivision/struct_tag_items_in_create_train_datas_tag.go
  62. 21 0
      services/ivision/struct_tag_items_in_describe_train_datas.go
  63. 21 0
      services/ivision/struct_tag_items_in_describe_train_datas_by_ids.go
  64. 21 0
      services/ivision/struct_tag_items_in_modify_train_data_region_tag_attribute.go
  65. 21 0
      services/ivision/struct_tag_items_in_modify_train_data_tag_attribute.go
  66. 25 0
      services/ivision/struct_tag_result.go
  67. 21 0
      services/ivision/struct_tag_results.go
  68. 21 0
      services/ivision/struct_tags.go
  69. 29 0
      services/ivision/struct_train_data.go
  70. 21 0
      services/ivision/struct_train_datas_in_create_train_datas_from_prediction.go
  71. 21 0
      services/ivision/struct_train_datas_in_create_train_datas_from_urls.go
  72. 21 0
      services/ivision/struct_train_datas_in_describe_train_datas.go
  73. 21 0
      services/ivision/struct_train_datas_in_describe_train_datas_by_ids.go
  74. 33 0
      services/ivision/struct_train_result.go
  75. 28 0
      services/ivision/struct_upload_token.go
  76. 106 0
      services/ivision/train_project.go

+ 9 - 0
ChangeLog.txt

@@ -1,3 +1,12 @@
+2019-03-27 Version: 1.53.77
+1, Add Project interface.
+2, Add Tag interface.
+3, Add TrainData interface.
+4, Add Train interface.
+5, Add Iteration interface.
+6, Add Predict interface.
+7, Add PredictData interface.
+
 2019-03-27 Version: 1.53.76
 1, Add DLQ message openAPI.
 2, Add Query the subscription relational openAPI.

+ 81 - 0
services/ivision/client.go

@@ -0,0 +1,81 @@
+package ivision
+
+//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"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+)
+
+// Client is the sdk client struct, each func corresponds to an OpenAPI
+type Client struct {
+	sdk.Client
+}
+
+// NewClient creates a sdk client with environment variables
+func NewClient() (client *Client, err error) {
+	client = &Client{}
+	err = client.Init()
+	return
+}
+
+// NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
+// this is the common api to create a sdk client
+func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithOptions(regionId, config, credential)
+	return
+}
+
+// NewClientWithAccessKey is a shortcut to create sdk client with accesskey
+// usage: https://help.aliyun.com/document_detail/66217.html
+func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	return
+}
+
+// NewClientWithStsToken is a shortcut to create sdk client with sts token
+// usage: https://help.aliyun.com/document_detail/66222.html
+func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
+// usage: https://help.aliyun.com/document_detail/66222.html
+func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	return
+}
+
+// NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
+// usage: https://help.aliyun.com/document_detail/66223.html
+func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithEcsRamRole(regionId, roleName)
+	return
+}
+
+// NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
+// attention: rsa key pair auth is only Japan regions available
+func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	return
+}

+ 108 - 0
services/ivision/create_project.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// CreateProject invokes the ivision.CreateProject API synchronously
+// api document: https://help.aliyun.com/api/ivision/createproject.html
+func (client *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error) {
+	response = CreateCreateProjectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateProjectWithChan invokes the ivision.CreateProject API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateProjectWithChan(request *CreateProjectRequest) (<-chan *CreateProjectResponse, <-chan error) {
+	responseChan := make(chan *CreateProjectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateProject(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateProjectWithCallback invokes the ivision.CreateProject API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, callback func(response *CreateProjectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateProjectResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateProject(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateProjectRequest is the request struct for api CreateProject
+type CreateProjectRequest struct {
+	*requests.RpcRequest
+	Description string           `position:"Query" name:"Description"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	ProType     string           `position:"Query" name:"ProType"`
+	Name        string           `position:"Query" name:"Name"`
+}
+
+// CreateProjectResponse is the response struct for api CreateProject
+type CreateProjectResponse struct {
+	*responses.BaseResponse
+	RequestId string  `json:"RequestId" xml:"RequestId"`
+	Project   Project `json:"Project" xml:"Project"`
+}
+
+// CreateCreateProjectRequest creates a request to invoke CreateProject API
+func CreateCreateProjectRequest() (request *CreateProjectRequest) {
+	request = &CreateProjectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateProject", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateProjectResponse creates a response to parse from CreateProject response
+func CreateCreateProjectResponse() (response *CreateProjectResponse) {
+	response = &CreateProjectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/ivision/create_stream_predict.go

@@ -0,0 +1,113 @@
+package ivision
+
+//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"
+)
+
+// CreateStreamPredict invokes the ivision.CreateStreamPredict API synchronously
+// api document: https://help.aliyun.com/api/ivision/createstreampredict.html
+func (client *Client) CreateStreamPredict(request *CreateStreamPredictRequest) (response *CreateStreamPredictResponse, err error) {
+	response = CreateCreateStreamPredictResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateStreamPredictWithChan invokes the ivision.CreateStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createstreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateStreamPredictWithChan(request *CreateStreamPredictRequest) (<-chan *CreateStreamPredictResponse, <-chan error) {
+	responseChan := make(chan *CreateStreamPredictResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateStreamPredict(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateStreamPredictWithCallback invokes the ivision.CreateStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createstreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateStreamPredictWithCallback(request *CreateStreamPredictRequest, callback func(response *CreateStreamPredictResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateStreamPredictResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateStreamPredict(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateStreamPredictRequest is the request struct for api CreateStreamPredict
+type CreateStreamPredictRequest struct {
+	*requests.RpcRequest
+	AutoStart             string           `position:"Query" name:"AutoStart"`
+	Notify                string           `position:"Query" name:"Notify"`
+	Output                string           `position:"Query" name:"Output"`
+	UserData              string           `position:"Query" name:"UserData"`
+	ShowLog               string           `position:"Query" name:"ShowLog"`
+	StreamType            string           `position:"Query" name:"StreamType"`
+	StreamId              string           `position:"Query" name:"StreamId"`
+	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
+	ProbabilityThresholds string           `position:"Query" name:"ProbabilityThresholds"`
+	ModelIds              string           `position:"Query" name:"ModelIds"`
+}
+
+// CreateStreamPredictResponse is the response struct for api CreateStreamPredict
+type CreateStreamPredictResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	PredictId string `json:"PredictId" xml:"PredictId"`
+}
+
+// CreateCreateStreamPredictRequest creates a request to invoke CreateStreamPredict API
+func CreateCreateStreamPredictRequest() (request *CreateStreamPredictRequest) {
+	request = &CreateStreamPredictRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateStreamPredict", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateStreamPredictResponse creates a response to parse from CreateStreamPredict response
+func CreateCreateStreamPredictResponse() (response *CreateStreamPredictResponse) {
+	response = &CreateStreamPredictResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/create_tag.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// CreateTag invokes the ivision.CreateTag API synchronously
+// api document: https://help.aliyun.com/api/ivision/createtag.html
+func (client *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error) {
+	response = CreateCreateTagResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateTagWithChan invokes the ivision.CreateTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+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.CreateTag(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateTagWithCallback invokes the ivision.CreateTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+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 *CreateTagResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateTag(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateTagRequest is the request struct for api CreateTag
+type CreateTagRequest struct {
+	*requests.RpcRequest
+	Description string           `position:"Query" name:"Description"`
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	Name        string           `position:"Query" name:"Name"`
+}
+
+// CreateTagResponse is the response struct for api CreateTag
+type CreateTagResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Tag       Tag    `json:"Tag" xml:"Tag"`
+}
+
+// CreateCreateTagRequest creates a request to invoke CreateTag API
+func CreateCreateTagRequest() (request *CreateTagRequest) {
+	request = &CreateTagRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTag", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateTagResponse creates a response to parse from CreateTag response
+func CreateCreateTagResponse() (response *CreateTagResponse) {
+	response = &CreateTagResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/create_train_data_region_tag.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// CreateTrainDataRegionTag invokes the ivision.CreateTrainDataRegionTag API synchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindataregiontag.html
+func (client *Client) CreateTrainDataRegionTag(request *CreateTrainDataRegionTagRequest) (response *CreateTrainDataRegionTagResponse, err error) {
+	response = CreateCreateTrainDataRegionTagResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateTrainDataRegionTagWithChan invokes the ivision.CreateTrainDataRegionTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindataregiontag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDataRegionTagWithChan(request *CreateTrainDataRegionTagRequest) (<-chan *CreateTrainDataRegionTagResponse, <-chan error) {
+	responseChan := make(chan *CreateTrainDataRegionTagResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateTrainDataRegionTag(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateTrainDataRegionTagWithCallback invokes the ivision.CreateTrainDataRegionTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindataregiontag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDataRegionTagWithCallback(request *CreateTrainDataRegionTagRequest, callback func(response *CreateTrainDataRegionTagResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateTrainDataRegionTagResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateTrainDataRegionTag(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateTrainDataRegionTagRequest is the request struct for api CreateTrainDataRegionTag
+type CreateTrainDataRegionTagRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagItems  string           `position:"Query" name:"TagItems"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	DataId    string           `position:"Query" name:"DataId"`
+}
+
+// CreateTrainDataRegionTagResponse is the response struct for api CreateTrainDataRegionTag
+type CreateTrainDataRegionTagResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	TrainData TrainData `json:"TrainData" xml:"TrainData"`
+}
+
+// CreateCreateTrainDataRegionTagRequest creates a request to invoke CreateTrainDataRegionTag API
+func CreateCreateTrainDataRegionTagRequest() (request *CreateTrainDataRegionTagRequest) {
+	request = &CreateTrainDataRegionTagRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDataRegionTag", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateTrainDataRegionTagResponse creates a response to parse from CreateTrainDataRegionTag response
+func CreateCreateTrainDataRegionTagResponse() (response *CreateTrainDataRegionTagResponse) {
+	response = &CreateTrainDataRegionTagResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/create_train_data_tag.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// CreateTrainDataTag invokes the ivision.CreateTrainDataTag API synchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatatag.html
+func (client *Client) CreateTrainDataTag(request *CreateTrainDataTagRequest) (response *CreateTrainDataTagResponse, err error) {
+	response = CreateCreateTrainDataTagResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateTrainDataTagWithChan invokes the ivision.CreateTrainDataTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatatag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDataTagWithChan(request *CreateTrainDataTagRequest) (<-chan *CreateTrainDataTagResponse, <-chan error) {
+	responseChan := make(chan *CreateTrainDataTagResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateTrainDataTag(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateTrainDataTagWithCallback invokes the ivision.CreateTrainDataTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatatag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDataTagWithCallback(request *CreateTrainDataTagRequest, callback func(response *CreateTrainDataTagResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateTrainDataTagResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateTrainDataTag(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateTrainDataTagRequest is the request struct for api CreateTrainDataTag
+type CreateTrainDataTagRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagItems  string           `position:"Query" name:"TagItems"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	DataId    string           `position:"Query" name:"DataId"`
+}
+
+// CreateTrainDataTagResponse is the response struct for api CreateTrainDataTag
+type CreateTrainDataTagResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	TrainData TrainData `json:"TrainData" xml:"TrainData"`
+}
+
+// CreateCreateTrainDataTagRequest creates a request to invoke CreateTrainDataTag API
+func CreateCreateTrainDataTagRequest() (request *CreateTrainDataTagRequest) {
+	request = &CreateTrainDataTagRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDataTag", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateTrainDataTagResponse creates a response to parse from CreateTrainDataTag response
+func CreateCreateTrainDataTagResponse() (response *CreateTrainDataTagResponse) {
+	response = &CreateTrainDataTagResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/ivision/create_train_datas_from_prediction.go

@@ -0,0 +1,109 @@
+package ivision
+
+//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"
+)
+
+// CreateTrainDatasFromPrediction invokes the ivision.CreateTrainDatasFromPrediction API synchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatasfromprediction.html
+func (client *Client) CreateTrainDatasFromPrediction(request *CreateTrainDatasFromPredictionRequest) (response *CreateTrainDatasFromPredictionResponse, err error) {
+	response = CreateCreateTrainDatasFromPredictionResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateTrainDatasFromPredictionWithChan invokes the ivision.CreateTrainDatasFromPrediction API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatasfromprediction.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDatasFromPredictionWithChan(request *CreateTrainDatasFromPredictionRequest) (<-chan *CreateTrainDatasFromPredictionResponse, <-chan error) {
+	responseChan := make(chan *CreateTrainDatasFromPredictionResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateTrainDatasFromPrediction(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateTrainDatasFromPredictionWithCallback invokes the ivision.CreateTrainDatasFromPrediction API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatasfromprediction.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDatasFromPredictionWithCallback(request *CreateTrainDatasFromPredictionRequest, callback func(response *CreateTrainDatasFromPredictionResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateTrainDatasFromPredictionResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateTrainDatasFromPrediction(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateTrainDatasFromPredictionRequest is the request struct for api CreateTrainDatasFromPrediction
+type CreateTrainDatasFromPredictionRequest struct {
+	*requests.RpcRequest
+	DataIds     string           `position:"Query" name:"DataIds"`
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	TagId       string           `position:"Query" name:"TagId"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId string           `position:"Query" name:"IterationId"`
+}
+
+// CreateTrainDatasFromPredictionResponse is the response struct for api CreateTrainDatasFromPrediction
+type CreateTrainDatasFromPredictionResponse struct {
+	*responses.BaseResponse
+	RequestId  string                                     `json:"RequestId" xml:"RequestId"`
+	TrainDatas TrainDatasInCreateTrainDatasFromPrediction `json:"TrainDatas" xml:"TrainDatas"`
+}
+
+// CreateCreateTrainDatasFromPredictionRequest creates a request to invoke CreateTrainDatasFromPrediction API
+func CreateCreateTrainDatasFromPredictionRequest() (request *CreateTrainDatasFromPredictionRequest) {
+	request = &CreateTrainDatasFromPredictionRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDatasFromPrediction", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateTrainDatasFromPredictionResponse creates a response to parse from CreateTrainDatasFromPrediction response
+func CreateCreateTrainDatasFromPredictionResponse() (response *CreateTrainDatasFromPredictionResponse) {
+	response = &CreateTrainDatasFromPredictionResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/create_train_datas_from_urls.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// CreateTrainDatasFromUrls invokes the ivision.CreateTrainDatasFromUrls API synchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatasfromurls.html
+func (client *Client) CreateTrainDatasFromUrls(request *CreateTrainDatasFromUrlsRequest) (response *CreateTrainDatasFromUrlsResponse, err error) {
+	response = CreateCreateTrainDatasFromUrlsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateTrainDatasFromUrlsWithChan invokes the ivision.CreateTrainDatasFromUrls API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatasfromurls.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDatasFromUrlsWithChan(request *CreateTrainDatasFromUrlsRequest) (<-chan *CreateTrainDatasFromUrlsResponse, <-chan error) {
+	responseChan := make(chan *CreateTrainDatasFromUrlsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateTrainDatasFromUrls(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateTrainDatasFromUrlsWithCallback invokes the ivision.CreateTrainDatasFromUrls API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatasfromurls.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDatasFromUrlsWithCallback(request *CreateTrainDatasFromUrlsRequest, callback func(response *CreateTrainDatasFromUrlsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateTrainDatasFromUrlsResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateTrainDatasFromUrls(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateTrainDatasFromUrlsRequest is the request struct for api CreateTrainDatasFromUrls
+type CreateTrainDatasFromUrlsRequest struct {
+	*requests.RpcRequest
+	Urls      string           `position:"Query" name:"Urls"`
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagId     string           `position:"Query" name:"TagId"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// CreateTrainDatasFromUrlsResponse is the response struct for api CreateTrainDatasFromUrls
+type CreateTrainDatasFromUrlsResponse struct {
+	*responses.BaseResponse
+	RequestId  string                               `json:"RequestId" xml:"RequestId"`
+	TrainDatas TrainDatasInCreateTrainDatasFromUrls `json:"TrainDatas" xml:"TrainDatas"`
+}
+
+// CreateCreateTrainDatasFromUrlsRequest creates a request to invoke CreateTrainDatasFromUrls API
+func CreateCreateTrainDatasFromUrlsRequest() (request *CreateTrainDatasFromUrlsRequest) {
+	request = &CreateTrainDatasFromUrlsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDatasFromUrls", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateTrainDatasFromUrlsResponse creates a response to parse from CreateTrainDatasFromUrls response
+func CreateCreateTrainDatasFromUrlsResponse() (response *CreateTrainDatasFromUrlsResponse) {
+	response = &CreateTrainDatasFromUrlsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/create_train_datas_tag.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// CreateTrainDatasTag invokes the ivision.CreateTrainDatasTag API synchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatastag.html
+func (client *Client) CreateTrainDatasTag(request *CreateTrainDatasTagRequest) (response *CreateTrainDatasTagResponse, err error) {
+	response = CreateCreateTrainDatasTagResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateTrainDatasTagWithChan invokes the ivision.CreateTrainDatasTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatastag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDatasTagWithChan(request *CreateTrainDatasTagRequest) (<-chan *CreateTrainDatasTagResponse, <-chan error) {
+	responseChan := make(chan *CreateTrainDatasTagResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateTrainDatasTag(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateTrainDatasTagWithCallback invokes the ivision.CreateTrainDatasTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createtraindatastag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrainDatasTagWithCallback(request *CreateTrainDatasTagRequest, callback func(response *CreateTrainDatasTagResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateTrainDatasTagResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateTrainDatasTag(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateTrainDatasTagRequest is the request struct for api CreateTrainDatasTag
+type CreateTrainDatasTagRequest struct {
+	*requests.RpcRequest
+	DataIds   string           `position:"Query" name:"DataIds"`
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagId     string           `position:"Query" name:"TagId"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// CreateTrainDatasTagResponse is the response struct for api CreateTrainDatasTag
+type CreateTrainDatasTagResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	TrainData TrainData `json:"TrainData" xml:"TrainData"`
+}
+
+// CreateCreateTrainDatasTagRequest creates a request to invoke CreateTrainDatasTag API
+func CreateCreateTrainDatasTagRequest() (request *CreateTrainDatasTagRequest) {
+	request = &CreateTrainDatasTagRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDatasTag", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateTrainDatasTagResponse creates a response to parse from CreateTrainDatasTag response
+func CreateCreateTrainDatasTagResponse() (response *CreateTrainDatasTagResponse) {
+	response = &CreateTrainDatasTagResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/ivision/create_upload_token.go

@@ -0,0 +1,107 @@
+package ivision
+
+//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"
+)
+
+// CreateUploadToken invokes the ivision.CreateUploadToken API synchronously
+// api document: https://help.aliyun.com/api/ivision/createuploadtoken.html
+func (client *Client) CreateUploadToken(request *CreateUploadTokenRequest) (response *CreateUploadTokenResponse, err error) {
+	response = CreateCreateUploadTokenResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateUploadTokenWithChan invokes the ivision.CreateUploadToken API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createuploadtoken.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUploadTokenWithChan(request *CreateUploadTokenRequest) (<-chan *CreateUploadTokenResponse, <-chan error) {
+	responseChan := make(chan *CreateUploadTokenResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateUploadToken(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateUploadTokenWithCallback invokes the ivision.CreateUploadToken API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createuploadtoken.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateUploadTokenWithCallback(request *CreateUploadTokenRequest, callback func(response *CreateUploadTokenResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateUploadTokenResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateUploadToken(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateUploadTokenRequest is the request struct for api CreateUploadToken
+type CreateUploadTokenRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	FileName  string           `position:"Query" name:"FileName"`
+}
+
+// CreateUploadTokenResponse is the response struct for api CreateUploadToken
+type CreateUploadTokenResponse struct {
+	*responses.BaseResponse
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	UploadToken UploadToken `json:"UploadToken" xml:"UploadToken"`
+}
+
+// CreateCreateUploadTokenRequest creates a request to invoke CreateUploadToken API
+func CreateCreateUploadTokenRequest() (request *CreateUploadTokenRequest) {
+	request = &CreateUploadTokenRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateUploadToken", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateUploadTokenResponse creates a response to parse from CreateUploadToken response
+func CreateCreateUploadTokenResponse() (response *CreateUploadTokenResponse) {
+	response = &CreateUploadTokenResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/ivision/delete_iteration.go

@@ -0,0 +1,107 @@
+package ivision
+
+//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"
+)
+
+// DeleteIteration invokes the ivision.DeleteIteration API synchronously
+// api document: https://help.aliyun.com/api/ivision/deleteiteration.html
+func (client *Client) DeleteIteration(request *DeleteIterationRequest) (response *DeleteIterationResponse, err error) {
+	response = CreateDeleteIterationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteIterationWithChan invokes the ivision.DeleteIteration API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deleteiteration.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteIterationWithChan(request *DeleteIterationRequest) (<-chan *DeleteIterationResponse, <-chan error) {
+	responseChan := make(chan *DeleteIterationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteIteration(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteIterationWithCallback invokes the ivision.DeleteIteration API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deleteiteration.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteIterationWithCallback(request *DeleteIterationRequest, callback func(response *DeleteIterationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteIterationResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteIteration(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteIterationRequest is the request struct for api DeleteIteration
+type DeleteIterationRequest struct {
+	*requests.RpcRequest
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId string           `position:"Query" name:"IterationId"`
+}
+
+// DeleteIterationResponse is the response struct for api DeleteIteration
+type DeleteIterationResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	IterationId string `json:"IterationId" xml:"IterationId"`
+}
+
+// CreateDeleteIterationRequest creates a request to invoke DeleteIteration API
+func CreateDeleteIterationRequest() (request *DeleteIterationRequest) {
+	request = &DeleteIterationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteIteration", "ivision", "openAPI")
+	return
+}
+
+// CreateDeleteIterationResponse creates a response to parse from DeleteIteration response
+func CreateDeleteIterationResponse() (response *DeleteIterationResponse) {
+	response = &DeleteIterationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/ivision/delete_predict_datas.go

@@ -0,0 +1,107 @@
+package ivision
+
+//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"
+)
+
+// DeletePredictDatas invokes the ivision.DeletePredictDatas API synchronously
+// api document: https://help.aliyun.com/api/ivision/deletepredictdatas.html
+func (client *Client) DeletePredictDatas(request *DeletePredictDatasRequest) (response *DeletePredictDatasResponse, err error) {
+	response = CreateDeletePredictDatasResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeletePredictDatasWithChan invokes the ivision.DeletePredictDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletepredictdatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeletePredictDatasWithChan(request *DeletePredictDatasRequest) (<-chan *DeletePredictDatasResponse, <-chan error) {
+	responseChan := make(chan *DeletePredictDatasResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeletePredictDatas(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeletePredictDatasWithCallback invokes the ivision.DeletePredictDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletepredictdatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeletePredictDatasWithCallback(request *DeletePredictDatasRequest, callback func(response *DeletePredictDatasResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeletePredictDatasResponse
+		var err error
+		defer close(result)
+		response, err = client.DeletePredictDatas(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeletePredictDatasRequest is the request struct for api DeletePredictDatas
+type DeletePredictDatasRequest struct {
+	*requests.RpcRequest
+	DataIds     string           `position:"Query" name:"DataIds"`
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId string           `position:"Query" name:"IterationId"`
+}
+
+// DeletePredictDatasResponse is the response struct for api DeletePredictDatas
+type DeletePredictDatasResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeletePredictDatasRequest creates a request to invoke DeletePredictDatas API
+func CreateDeletePredictDatasRequest() (request *DeletePredictDatasRequest) {
+	request = &DeletePredictDatasRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeletePredictDatas", "ivision", "openAPI")
+	return
+}
+
+// CreateDeletePredictDatasResponse creates a response to parse from DeletePredictDatas response
+func CreateDeletePredictDatasResponse() (response *DeletePredictDatasResponse) {
+	response = &DeletePredictDatasResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/ivision/delete_project.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// DeleteProject invokes the ivision.DeleteProject API synchronously
+// api document: https://help.aliyun.com/api/ivision/deleteproject.html
+func (client *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error) {
+	response = CreateDeleteProjectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteProjectWithChan invokes the ivision.DeleteProject API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deleteproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteProjectWithChan(request *DeleteProjectRequest) (<-chan *DeleteProjectResponse, <-chan error) {
+	responseChan := make(chan *DeleteProjectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteProject(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteProjectWithCallback invokes the ivision.DeleteProject API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deleteproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteProjectWithCallback(request *DeleteProjectRequest, callback func(response *DeleteProjectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteProjectResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteProject(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteProjectRequest is the request struct for api DeleteProject
+type DeleteProjectRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteProjectResponse is the response struct for api DeleteProject
+type DeleteProjectResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	ProjectId string `json:"ProjectId" xml:"ProjectId"`
+}
+
+// CreateDeleteProjectRequest creates a request to invoke DeleteProject API
+func CreateDeleteProjectRequest() (request *DeleteProjectRequest) {
+	request = &DeleteProjectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteProject", "ivision", "openAPI")
+	return
+}
+
+// CreateDeleteProjectResponse creates a response to parse from DeleteProject response
+func CreateDeleteProjectResponse() (response *DeleteProjectResponse) {
+	response = &DeleteProjectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/ivision/delete_stream_predict.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// DeleteStreamPredict invokes the ivision.DeleteStreamPredict API synchronously
+// api document: https://help.aliyun.com/api/ivision/deletestreampredict.html
+func (client *Client) DeleteStreamPredict(request *DeleteStreamPredictRequest) (response *DeleteStreamPredictResponse, err error) {
+	response = CreateDeleteStreamPredictResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteStreamPredictWithChan invokes the ivision.DeleteStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletestreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteStreamPredictWithChan(request *DeleteStreamPredictRequest) (<-chan *DeleteStreamPredictResponse, <-chan error) {
+	responseChan := make(chan *DeleteStreamPredictResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteStreamPredict(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteStreamPredictWithCallback invokes the ivision.DeleteStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletestreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteStreamPredictWithCallback(request *DeleteStreamPredictRequest, callback func(response *DeleteStreamPredictResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteStreamPredictResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteStreamPredict(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteStreamPredictRequest is the request struct for api DeleteStreamPredict
+type DeleteStreamPredictRequest struct {
+	*requests.RpcRequest
+	PredictId string           `position:"Query" name:"PredictId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteStreamPredictResponse is the response struct for api DeleteStreamPredict
+type DeleteStreamPredictResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	PredictId string `json:"PredictId" xml:"PredictId"`
+}
+
+// CreateDeleteStreamPredictRequest creates a request to invoke DeleteStreamPredict API
+func CreateDeleteStreamPredictRequest() (request *DeleteStreamPredictRequest) {
+	request = &DeleteStreamPredictRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteStreamPredict", "ivision", "openAPI")
+	return
+}
+
+// CreateDeleteStreamPredictResponse creates a response to parse from DeleteStreamPredict response
+func CreateDeleteStreamPredictResponse() (response *DeleteStreamPredictResponse) {
+	response = &DeleteStreamPredictResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/ivision/delete_tag.go

@@ -0,0 +1,107 @@
+package ivision
+
+//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"
+)
+
+// DeleteTag invokes the ivision.DeleteTag API synchronously
+// api document: https://help.aliyun.com/api/ivision/deletetag.html
+func (client *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error) {
+	response = CreateDeleteTagResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteTagWithChan invokes the ivision.DeleteTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletetag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+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.DeleteTag(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteTagWithCallback invokes the ivision.DeleteTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletetag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+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 *DeleteTagResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteTag(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteTagRequest is the request struct for api DeleteTag
+type DeleteTagRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagId     string           `position:"Query" name:"TagId"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteTagResponse is the response struct for api DeleteTag
+type DeleteTagResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TagId     string `json:"TagId" xml:"TagId"`
+}
+
+// CreateDeleteTagRequest creates a request to invoke DeleteTag API
+func CreateDeleteTagRequest() (request *DeleteTagRequest) {
+	request = &DeleteTagRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteTag", "ivision", "openAPI")
+	return
+}
+
+// CreateDeleteTagResponse creates a response to parse from DeleteTag response
+func CreateDeleteTagResponse() (response *DeleteTagResponse) {
+	response = &DeleteTagResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/ivision/delete_train_datas.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// DeleteTrainDatas invokes the ivision.DeleteTrainDatas API synchronously
+// api document: https://help.aliyun.com/api/ivision/deletetraindatas.html
+func (client *Client) DeleteTrainDatas(request *DeleteTrainDatasRequest) (response *DeleteTrainDatasResponse, err error) {
+	response = CreateDeleteTrainDatasResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteTrainDatasWithChan invokes the ivision.DeleteTrainDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletetraindatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteTrainDatasWithChan(request *DeleteTrainDatasRequest) (<-chan *DeleteTrainDatasResponse, <-chan error) {
+	responseChan := make(chan *DeleteTrainDatasResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteTrainDatas(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteTrainDatasWithCallback invokes the ivision.DeleteTrainDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletetraindatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteTrainDatasWithCallback(request *DeleteTrainDatasRequest, callback func(response *DeleteTrainDatasResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteTrainDatasResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteTrainDatas(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteTrainDatasRequest is the request struct for api DeleteTrainDatas
+type DeleteTrainDatasRequest struct {
+	*requests.RpcRequest
+	DataIds   string           `position:"Query" name:"DataIds"`
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteTrainDatasResponse is the response struct for api DeleteTrainDatas
+type DeleteTrainDatasResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteTrainDatasRequest creates a request to invoke DeleteTrainDatas API
+func CreateDeleteTrainDatasRequest() (request *DeleteTrainDatasRequest) {
+	request = &DeleteTrainDatasRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteTrainDatas", "ivision", "openAPI")
+	return
+}
+
+// CreateDeleteTrainDatasResponse creates a response to parse from DeleteTrainDatas response
+func CreateDeleteTrainDatasResponse() (response *DeleteTrainDatasResponse) {
+	response = &DeleteTrainDatasResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/ivision/delete_train_datas_tag.go

@@ -0,0 +1,107 @@
+package ivision
+
+//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"
+)
+
+// DeleteTrainDatasTag invokes the ivision.DeleteTrainDatasTag API synchronously
+// api document: https://help.aliyun.com/api/ivision/deletetraindatastag.html
+func (client *Client) DeleteTrainDatasTag(request *DeleteTrainDatasTagRequest) (response *DeleteTrainDatasTagResponse, err error) {
+	response = CreateDeleteTrainDatasTagResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteTrainDatasTagWithChan invokes the ivision.DeleteTrainDatasTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletetraindatastag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteTrainDatasTagWithChan(request *DeleteTrainDatasTagRequest) (<-chan *DeleteTrainDatasTagResponse, <-chan error) {
+	responseChan := make(chan *DeleteTrainDatasTagResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteTrainDatasTag(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteTrainDatasTagWithCallback invokes the ivision.DeleteTrainDatasTag API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletetraindatastag.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteTrainDatasTagWithCallback(request *DeleteTrainDatasTagRequest, callback func(response *DeleteTrainDatasTagResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteTrainDatasTagResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteTrainDatasTag(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteTrainDatasTagRequest is the request struct for api DeleteTrainDatasTag
+type DeleteTrainDatasTagRequest struct {
+	*requests.RpcRequest
+	DataIds   string           `position:"Query" name:"DataIds"`
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagId     string           `position:"Query" name:"TagId"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteTrainDatasTagResponse is the response struct for api DeleteTrainDatasTag
+type DeleteTrainDatasTagResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteTrainDatasTagRequest creates a request to invoke DeleteTrainDatasTag API
+func CreateDeleteTrainDatasTagRequest() (request *DeleteTrainDatasTagRequest) {
+	request = &DeleteTrainDatasTagRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteTrainDatasTag", "ivision", "openAPI")
+	return
+}
+
+// CreateDeleteTrainDatasTagResponse creates a response to parse from DeleteTrainDatasTag response
+func CreateDeleteTrainDatasTagResponse() (response *DeleteTrainDatasTagResponse) {
+	response = &DeleteTrainDatasTagResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/ivision/describe_iterations.go

@@ -0,0 +1,113 @@
+package ivision
+
+//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"
+)
+
+// DescribeIterations invokes the ivision.DescribeIterations API synchronously
+// api document: https://help.aliyun.com/api/ivision/describeiterations.html
+func (client *Client) DescribeIterations(request *DescribeIterationsRequest) (response *DescribeIterationsResponse, err error) {
+	response = CreateDescribeIterationsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeIterationsWithChan invokes the ivision.DescribeIterations API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describeiterations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeIterationsWithChan(request *DescribeIterationsRequest) (<-chan *DescribeIterationsResponse, <-chan error) {
+	responseChan := make(chan *DescribeIterationsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeIterations(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeIterationsWithCallback invokes the ivision.DescribeIterations API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describeiterations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeIterationsWithCallback(request *DescribeIterationsRequest, callback func(response *DescribeIterationsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeIterationsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeIterations(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeIterationsRequest is the request struct for api DescribeIterations
+type DescribeIterationsRequest struct {
+	*requests.RpcRequest
+	Threshold    string           `position:"Query" name:"Threshold"`
+	ProjectId    string           `position:"Query" name:"ProjectId"`
+	ShowLog      string           `position:"Query" name:"ShowLog"`
+	IterationIds string           `position:"Query" name:"IterationIds"`
+	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
+	Status       string           `position:"Query" name:"Status"`
+}
+
+// DescribeIterationsResponse is the response struct for api DescribeIterations
+type DescribeIterationsResponse struct {
+	*responses.BaseResponse
+	RequestId     string     `json:"RequestId" xml:"RequestId"`
+	TotalNum      int        `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage   int        `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize      int        `json:"PageSize" xml:"PageSize"`
+	NextPageToken string     `json:"NextPageToken" xml:"NextPageToken"`
+	Iterations    Iterations `json:"Iterations" xml:"Iterations"`
+}
+
+// CreateDescribeIterationsRequest creates a request to invoke DescribeIterations API
+func CreateDescribeIterationsRequest() (request *DescribeIterationsRequest) {
+	request = &DescribeIterationsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeIterations", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeIterationsResponse creates a response to parse from DescribeIterations response
+func CreateDescribeIterationsResponse() (response *DescribeIterationsResponse) {
+	response = &DescribeIterationsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 118 - 0
services/ivision/describe_predict_datas.go

@@ -0,0 +1,118 @@
+package ivision
+
+//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"
+)
+
+// DescribePredictDatas invokes the ivision.DescribePredictDatas API synchronously
+// api document: https://help.aliyun.com/api/ivision/describepredictdatas.html
+func (client *Client) DescribePredictDatas(request *DescribePredictDatasRequest) (response *DescribePredictDatasResponse, err error) {
+	response = CreateDescribePredictDatasResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribePredictDatasWithChan invokes the ivision.DescribePredictDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describepredictdatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribePredictDatasWithChan(request *DescribePredictDatasRequest) (<-chan *DescribePredictDatasResponse, <-chan error) {
+	responseChan := make(chan *DescribePredictDatasResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribePredictDatas(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribePredictDatasWithCallback invokes the ivision.DescribePredictDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describepredictdatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribePredictDatasWithCallback(request *DescribePredictDatasRequest, callback func(response *DescribePredictDatasResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribePredictDatasResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribePredictDatas(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribePredictDatasRequest is the request struct for api DescribePredictDatas
+type DescribePredictDatasRequest struct {
+	*requests.RpcRequest
+	NextPageToken        string           `position:"Query" name:"NextPageToken"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ProbabilityThreshold string           `position:"Query" name:"ProbabilityThreshold"`
+	OverlapThreshold     string           `position:"Query" name:"OverlapThreshold"`
+	ProjectId            string           `position:"Query" name:"ProjectId"`
+	ShowLog              string           `position:"Query" name:"ShowLog"`
+	ModelId              string           `position:"Query" name:"ModelId"`
+	TagId                string           `position:"Query" name:"TagId"`
+	CurrentPage          requests.Integer `position:"Query" name:"CurrentPage"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId          string           `position:"Query" name:"IterationId"`
+}
+
+// DescribePredictDatasResponse is the response struct for api DescribePredictDatas
+type DescribePredictDatasResponse struct {
+	*responses.BaseResponse
+	RequestId     string                             `json:"RequestId" xml:"RequestId"`
+	TotalNum      int                                `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage   int                                `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize      int                                `json:"PageSize" xml:"PageSize"`
+	NextPageToken string                             `json:"NextPageToken" xml:"NextPageToken"`
+	PredictDatas  PredictDatasInDescribePredictDatas `json:"PredictDatas" xml:"PredictDatas"`
+}
+
+// CreateDescribePredictDatasRequest creates a request to invoke DescribePredictDatas API
+func CreateDescribePredictDatasRequest() (request *DescribePredictDatasRequest) {
+	request = &DescribePredictDatasRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribePredictDatas", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribePredictDatasResponse creates a response to parse from DescribePredictDatas response
+func CreateDescribePredictDatasResponse() (response *DescribePredictDatasResponse) {
+	response = &DescribePredictDatasResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/ivision/describe_projects.go

@@ -0,0 +1,113 @@
+package ivision
+
+//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"
+)
+
+// DescribeProjects invokes the ivision.DescribeProjects API synchronously
+// api document: https://help.aliyun.com/api/ivision/describeprojects.html
+func (client *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error) {
+	response = CreateDescribeProjectsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeProjectsWithChan invokes the ivision.DescribeProjects API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describeprojects.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeProjectsWithChan(request *DescribeProjectsRequest) (<-chan *DescribeProjectsResponse, <-chan error) {
+	responseChan := make(chan *DescribeProjectsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeProjects(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeProjectsWithCallback invokes the ivision.DescribeProjects API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describeprojects.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeProjectsWithCallback(request *DescribeProjectsRequest, callback func(response *DescribeProjectsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeProjectsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeProjects(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeProjectsRequest is the request struct for api DescribeProjects
+type DescribeProjectsRequest struct {
+	*requests.RpcRequest
+	NextPageToken string           `position:"Query" name:"NextPageToken"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	ShowLog       string           `position:"Query" name:"ShowLog"`
+	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
+	ProjectIds    string           `position:"Query" name:"ProjectIds"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeProjectsResponse is the response struct for api DescribeProjects
+type DescribeProjectsResponse struct {
+	*responses.BaseResponse
+	RequestId     string   `json:"RequestId" xml:"RequestId"`
+	TotalNum      int      `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage   int      `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize      int      `json:"PageSize" xml:"PageSize"`
+	NextPageToken string   `json:"NextPageToken" xml:"NextPageToken"`
+	Projects      Projects `json:"Projects" xml:"Projects"`
+}
+
+// CreateDescribeProjectsRequest creates a request to invoke DescribeProjects API
+func CreateDescribeProjectsRequest() (request *DescribeProjectsRequest) {
+	request = &DescribeProjectsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeProjects", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeProjectsResponse creates a response to parse from DescribeProjects response
+func CreateDescribeProjectsResponse() (response *DescribeProjectsResponse) {
+	response = &DescribeProjectsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/ivision/describe_stream_predict_result.go

@@ -0,0 +1,117 @@
+package ivision
+
+//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"
+)
+
+// DescribeStreamPredictResult invokes the ivision.DescribeStreamPredictResult API synchronously
+// api document: https://help.aliyun.com/api/ivision/describestreampredictresult.html
+func (client *Client) DescribeStreamPredictResult(request *DescribeStreamPredictResultRequest) (response *DescribeStreamPredictResultResponse, err error) {
+	response = CreateDescribeStreamPredictResultResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeStreamPredictResultWithChan invokes the ivision.DescribeStreamPredictResult API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describestreampredictresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStreamPredictResultWithChan(request *DescribeStreamPredictResultRequest) (<-chan *DescribeStreamPredictResultResponse, <-chan error) {
+	responseChan := make(chan *DescribeStreamPredictResultResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeStreamPredictResult(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeStreamPredictResultWithCallback invokes the ivision.DescribeStreamPredictResult API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describestreampredictresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStreamPredictResultWithCallback(request *DescribeStreamPredictResultRequest, callback func(response *DescribeStreamPredictResultResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeStreamPredictResultResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeStreamPredictResult(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeStreamPredictResultRequest is the request struct for api DescribeStreamPredictResult
+type DescribeStreamPredictResultRequest struct {
+	*requests.RpcRequest
+	NextPageToken        string           `position:"Query" name:"NextPageToken"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	PredictId            string           `position:"Query" name:"PredictId"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ProbabilityThreshold string           `position:"Query" name:"ProbabilityThreshold"`
+	ShowLog              string           `position:"Query" name:"ShowLog"`
+	ModelId              string           `position:"Query" name:"ModelId"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	CurrentPage          requests.Integer `position:"Query" name:"CurrentPage"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeStreamPredictResultResponse is the response struct for api DescribeStreamPredictResult
+type DescribeStreamPredictResultResponse struct {
+	*responses.BaseResponse
+	RequestId          string             `json:"RequestId" xml:"RequestId"`
+	TotalNum           int                `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage        int                `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize           int                `json:"PageSize" xml:"PageSize"`
+	NextPageToken      string             `json:"NextPageToken" xml:"NextPageToken"`
+	StreamPredictDatas StreamPredictDatas `json:"StreamPredictDatas" xml:"StreamPredictDatas"`
+}
+
+// CreateDescribeStreamPredictResultRequest creates a request to invoke DescribeStreamPredictResult API
+func CreateDescribeStreamPredictResultRequest() (request *DescribeStreamPredictResultRequest) {
+	request = &DescribeStreamPredictResultRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeStreamPredictResult", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeStreamPredictResultResponse creates a response to parse from DescribeStreamPredictResult response
+func CreateDescribeStreamPredictResultResponse() (response *DescribeStreamPredictResultResponse) {
+	response = &DescribeStreamPredictResultResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/ivision/describe_stream_predicts.go

@@ -0,0 +1,113 @@
+package ivision
+
+//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"
+)
+
+// DescribeStreamPredicts invokes the ivision.DescribeStreamPredicts API synchronously
+// api document: https://help.aliyun.com/api/ivision/describestreampredicts.html
+func (client *Client) DescribeStreamPredicts(request *DescribeStreamPredictsRequest) (response *DescribeStreamPredictsResponse, err error) {
+	response = CreateDescribeStreamPredictsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeStreamPredictsWithChan invokes the ivision.DescribeStreamPredicts API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describestreampredicts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStreamPredictsWithChan(request *DescribeStreamPredictsRequest) (<-chan *DescribeStreamPredictsResponse, <-chan error) {
+	responseChan := make(chan *DescribeStreamPredictsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeStreamPredicts(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeStreamPredictsWithCallback invokes the ivision.DescribeStreamPredicts API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describestreampredicts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStreamPredictsWithCallback(request *DescribeStreamPredictsRequest, callback func(response *DescribeStreamPredictsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeStreamPredictsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeStreamPredicts(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeStreamPredictsRequest is the request struct for api DescribeStreamPredicts
+type DescribeStreamPredictsRequest struct {
+	*requests.RpcRequest
+	NextPageToken string           `position:"Query" name:"NextPageToken"`
+	PredictIds    string           `position:"Query" name:"PredictIds"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	ShowLog       string           `position:"Query" name:"ShowLog"`
+	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeStreamPredictsResponse is the response struct for api DescribeStreamPredicts
+type DescribeStreamPredictsResponse struct {
+	*responses.BaseResponse
+	RequestId      string         `json:"RequestId" xml:"RequestId"`
+	TotalNum       int            `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage    int            `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize       int            `json:"PageSize" xml:"PageSize"`
+	NextPageToken  string         `json:"NextPageToken" xml:"NextPageToken"`
+	StreamPredicts StreamPredicts `json:"StreamPredicts" xml:"StreamPredicts"`
+}
+
+// CreateDescribeStreamPredictsRequest creates a request to invoke DescribeStreamPredicts API
+func CreateDescribeStreamPredictsRequest() (request *DescribeStreamPredictsRequest) {
+	request = &DescribeStreamPredictsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeStreamPredicts", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeStreamPredictsResponse creates a response to parse from DescribeStreamPredicts response
+func CreateDescribeStreamPredictsResponse() (response *DescribeStreamPredictsResponse) {
+	response = &DescribeStreamPredictsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/ivision/describe_tags.go

@@ -0,0 +1,115 @@
+package ivision
+
+//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"
+)
+
+// DescribeTags invokes the ivision.DescribeTags API synchronously
+// api document: https://help.aliyun.com/api/ivision/describetags.html
+func (client *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error) {
+	response = CreateDescribeTagsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeTagsWithChan invokes the ivision.DescribeTags API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetags.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTagsWithChan(request *DescribeTagsRequest) (<-chan *DescribeTagsResponse, <-chan error) {
+	responseChan := make(chan *DescribeTagsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeTags(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeTagsWithCallback invokes the ivision.DescribeTags API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetags.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTagsWithCallback(request *DescribeTagsRequest, callback func(response *DescribeTagsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeTagsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeTags(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeTagsRequest is the request struct for api DescribeTags
+type DescribeTagsRequest struct {
+	*requests.RpcRequest
+	NextPageToken string           `position:"Query" name:"NextPageToken"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	ProjectId     string           `position:"Query" name:"ProjectId"`
+	ShowLog       string           `position:"Query" name:"ShowLog"`
+	TagIds        string           `position:"Query" name:"TagIds"`
+	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId   string           `position:"Query" name:"IterationId"`
+}
+
+// DescribeTagsResponse is the response struct for api DescribeTags
+type DescribeTagsResponse struct {
+	*responses.BaseResponse
+	RequestId     string `json:"RequestId" xml:"RequestId"`
+	TotalNum      int    `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage   int    `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize      int    `json:"PageSize" xml:"PageSize"`
+	NextPageToken string `json:"NextPageToken" xml:"NextPageToken"`
+	Tags          Tags   `json:"Tags" xml:"Tags"`
+}
+
+// CreateDescribeTagsRequest creates a request to invoke DescribeTags API
+func CreateDescribeTagsRequest() (request *DescribeTagsRequest) {
+	request = &DescribeTagsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTags", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeTagsResponse creates a response to parse from DescribeTags response
+func CreateDescribeTagsResponse() (response *DescribeTagsResponse) {
+	response = &DescribeTagsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/ivision/describe_train_datas.go

@@ -0,0 +1,116 @@
+package ivision
+
+//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"
+)
+
+// DescribeTrainDatas invokes the ivision.DescribeTrainDatas API synchronously
+// api document: https://help.aliyun.com/api/ivision/describetraindatas.html
+func (client *Client) DescribeTrainDatas(request *DescribeTrainDatasRequest) (response *DescribeTrainDatasResponse, err error) {
+	response = CreateDescribeTrainDatasResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeTrainDatasWithChan invokes the ivision.DescribeTrainDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetraindatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTrainDatasWithChan(request *DescribeTrainDatasRequest) (<-chan *DescribeTrainDatasResponse, <-chan error) {
+	responseChan := make(chan *DescribeTrainDatasResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeTrainDatas(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeTrainDatasWithCallback invokes the ivision.DescribeTrainDatas API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetraindatas.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTrainDatasWithCallback(request *DescribeTrainDatasRequest, callback func(response *DescribeTrainDatasResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeTrainDatasResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeTrainDatas(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeTrainDatasRequest is the request struct for api DescribeTrainDatas
+type DescribeTrainDatasRequest struct {
+	*requests.RpcRequest
+	NextPageToken string           `position:"Query" name:"NextPageToken"`
+	TagStatus     string           `position:"Query" name:"TagStatus"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	ProjectId     string           `position:"Query" name:"ProjectId"`
+	ShowLog       string           `position:"Query" name:"ShowLog"`
+	TagId         string           `position:"Query" name:"TagId"`
+	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId   string           `position:"Query" name:"IterationId"`
+}
+
+// DescribeTrainDatasResponse is the response struct for api DescribeTrainDatas
+type DescribeTrainDatasResponse struct {
+	*responses.BaseResponse
+	RequestId     string                         `json:"RequestId" xml:"RequestId"`
+	TotalNum      int                            `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage   int                            `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize      int                            `json:"PageSize" xml:"PageSize"`
+	NextPageToken string                         `json:"NextPageToken" xml:"NextPageToken"`
+	TrainDatas    TrainDatasInDescribeTrainDatas `json:"TrainDatas" xml:"TrainDatas"`
+}
+
+// CreateDescribeTrainDatasRequest creates a request to invoke DescribeTrainDatas API
+func CreateDescribeTrainDatasRequest() (request *DescribeTrainDatasRequest) {
+	request = &DescribeTrainDatasRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTrainDatas", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeTrainDatasResponse creates a response to parse from DescribeTrainDatas response
+func CreateDescribeTrainDatasResponse() (response *DescribeTrainDatasResponse) {
+	response = &DescribeTrainDatasResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/describe_train_datas_by_ids.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// DescribeTrainDatasByIds invokes the ivision.DescribeTrainDatasByIds API synchronously
+// api document: https://help.aliyun.com/api/ivision/describetraindatasbyids.html
+func (client *Client) DescribeTrainDatasByIds(request *DescribeTrainDatasByIdsRequest) (response *DescribeTrainDatasByIdsResponse, err error) {
+	response = CreateDescribeTrainDatasByIdsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeTrainDatasByIdsWithChan invokes the ivision.DescribeTrainDatasByIds API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetraindatasbyids.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTrainDatasByIdsWithChan(request *DescribeTrainDatasByIdsRequest) (<-chan *DescribeTrainDatasByIdsResponse, <-chan error) {
+	responseChan := make(chan *DescribeTrainDatasByIdsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeTrainDatasByIds(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeTrainDatasByIdsWithCallback invokes the ivision.DescribeTrainDatasByIds API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetraindatasbyids.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTrainDatasByIdsWithCallback(request *DescribeTrainDatasByIdsRequest, callback func(response *DescribeTrainDatasByIdsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeTrainDatasByIdsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeTrainDatasByIds(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeTrainDatasByIdsRequest is the request struct for api DescribeTrainDatasByIds
+type DescribeTrainDatasByIdsRequest struct {
+	*requests.RpcRequest
+	DataIds     string           `position:"Query" name:"DataIds"`
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId string           `position:"Query" name:"IterationId"`
+}
+
+// DescribeTrainDatasByIdsResponse is the response struct for api DescribeTrainDatasByIds
+type DescribeTrainDatasByIdsResponse struct {
+	*responses.BaseResponse
+	RequestId  string                              `json:"RequestId" xml:"RequestId"`
+	TrainDatas TrainDatasInDescribeTrainDatasByIds `json:"TrainDatas" xml:"TrainDatas"`
+}
+
+// CreateDescribeTrainDatasByIdsRequest creates a request to invoke DescribeTrainDatasByIds API
+func CreateDescribeTrainDatasByIdsRequest() (request *DescribeTrainDatasByIdsRequest) {
+	request = &DescribeTrainDatasByIdsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTrainDatasByIds", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeTrainDatasByIdsResponse creates a response to parse from DescribeTrainDatasByIds response
+func CreateDescribeTrainDatasByIdsResponse() (response *DescribeTrainDatasByIdsResponse) {
+	response = &DescribeTrainDatasByIdsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/describe_train_result.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// DescribeTrainResult invokes the ivision.DescribeTrainResult API synchronously
+// api document: https://help.aliyun.com/api/ivision/describetrainresult.html
+func (client *Client) DescribeTrainResult(request *DescribeTrainResultRequest) (response *DescribeTrainResultResponse, err error) {
+	response = CreateDescribeTrainResultResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeTrainResultWithChan invokes the ivision.DescribeTrainResult API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetrainresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTrainResultWithChan(request *DescribeTrainResultRequest) (<-chan *DescribeTrainResultResponse, <-chan error) {
+	responseChan := make(chan *DescribeTrainResultResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeTrainResult(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeTrainResultWithCallback invokes the ivision.DescribeTrainResult API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describetrainresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeTrainResultWithCallback(request *DescribeTrainResultRequest, callback func(response *DescribeTrainResultResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeTrainResultResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeTrainResult(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeTrainResultRequest is the request struct for api DescribeTrainResult
+type DescribeTrainResultRequest struct {
+	*requests.RpcRequest
+	Threshold   string           `position:"Query" name:"Threshold"`
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId string           `position:"Query" name:"IterationId"`
+}
+
+// DescribeTrainResultResponse is the response struct for api DescribeTrainResult
+type DescribeTrainResultResponse struct {
+	*responses.BaseResponse
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	TrainResult TrainResult `json:"TrainResult" xml:"TrainResult"`
+}
+
+// CreateDescribeTrainResultRequest creates a request to invoke DescribeTrainResult API
+func CreateDescribeTrainResultRequest() (request *DescribeTrainResultRequest) {
+	request = &DescribeTrainResultRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTrainResult", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeTrainResultResponse creates a response to parse from DescribeTrainResult response
+func CreateDescribeTrainResultResponse() (response *DescribeTrainResultResponse) {
+	response = &DescribeTrainResultResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/modify_project_attribute.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// ModifyProjectAttribute invokes the ivision.ModifyProjectAttribute API synchronously
+// api document: https://help.aliyun.com/api/ivision/modifyprojectattribute.html
+func (client *Client) ModifyProjectAttribute(request *ModifyProjectAttributeRequest) (response *ModifyProjectAttributeResponse, err error) {
+	response = CreateModifyProjectAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyProjectAttributeWithChan invokes the ivision.ModifyProjectAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifyprojectattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyProjectAttributeWithChan(request *ModifyProjectAttributeRequest) (<-chan *ModifyProjectAttributeResponse, <-chan error) {
+	responseChan := make(chan *ModifyProjectAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyProjectAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyProjectAttributeWithCallback invokes the ivision.ModifyProjectAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifyprojectattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyProjectAttributeWithCallback(request *ModifyProjectAttributeRequest, callback func(response *ModifyProjectAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyProjectAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyProjectAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyProjectAttributeRequest is the request struct for api ModifyProjectAttribute
+type ModifyProjectAttributeRequest struct {
+	*requests.RpcRequest
+	Description string           `position:"Query" name:"Description"`
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	Name        string           `position:"Query" name:"Name"`
+}
+
+// ModifyProjectAttributeResponse is the response struct for api ModifyProjectAttribute
+type ModifyProjectAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId string  `json:"RequestId" xml:"RequestId"`
+	Project   Project `json:"Project" xml:"Project"`
+}
+
+// CreateModifyProjectAttributeRequest creates a request to invoke ModifyProjectAttribute API
+func CreateModifyProjectAttributeRequest() (request *ModifyProjectAttributeRequest) {
+	request = &ModifyProjectAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyProjectAttribute", "ivision", "openAPI")
+	return
+}
+
+// CreateModifyProjectAttributeResponse creates a response to parse from ModifyProjectAttribute response
+func CreateModifyProjectAttributeResponse() (response *ModifyProjectAttributeResponse) {
+	response = &ModifyProjectAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/ivision/modify_tag_attribute.go

@@ -0,0 +1,109 @@
+package ivision
+
+//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"
+)
+
+// ModifyTagAttribute invokes the ivision.ModifyTagAttribute API synchronously
+// api document: https://help.aliyun.com/api/ivision/modifytagattribute.html
+func (client *Client) ModifyTagAttribute(request *ModifyTagAttributeRequest) (response *ModifyTagAttributeResponse, err error) {
+	response = CreateModifyTagAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyTagAttributeWithChan invokes the ivision.ModifyTagAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifytagattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyTagAttributeWithChan(request *ModifyTagAttributeRequest) (<-chan *ModifyTagAttributeResponse, <-chan error) {
+	responseChan := make(chan *ModifyTagAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyTagAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyTagAttributeWithCallback invokes the ivision.ModifyTagAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifytagattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyTagAttributeWithCallback(request *ModifyTagAttributeRequest, callback func(response *ModifyTagAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyTagAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyTagAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyTagAttributeRequest is the request struct for api ModifyTagAttribute
+type ModifyTagAttributeRequest struct {
+	*requests.RpcRequest
+	Description string           `position:"Query" name:"Description"`
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	TagId       string           `position:"Query" name:"TagId"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	Name        string           `position:"Query" name:"Name"`
+}
+
+// ModifyTagAttributeResponse is the response struct for api ModifyTagAttribute
+type ModifyTagAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Tag       Tag    `json:"Tag" xml:"Tag"`
+}
+
+// CreateModifyTagAttributeRequest creates a request to invoke ModifyTagAttribute API
+func CreateModifyTagAttributeRequest() (request *ModifyTagAttributeRequest) {
+	request = &ModifyTagAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyTagAttribute", "ivision", "openAPI")
+	return
+}
+
+// CreateModifyTagAttributeResponse creates a response to parse from ModifyTagAttribute response
+func CreateModifyTagAttributeResponse() (response *ModifyTagAttributeResponse) {
+	response = &ModifyTagAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/modify_train_data_region_tag_attribute.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// ModifyTrainDataRegionTagAttribute invokes the ivision.ModifyTrainDataRegionTagAttribute API synchronously
+// api document: https://help.aliyun.com/api/ivision/modifytraindataregiontagattribute.html
+func (client *Client) ModifyTrainDataRegionTagAttribute(request *ModifyTrainDataRegionTagAttributeRequest) (response *ModifyTrainDataRegionTagAttributeResponse, err error) {
+	response = CreateModifyTrainDataRegionTagAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyTrainDataRegionTagAttributeWithChan invokes the ivision.ModifyTrainDataRegionTagAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifytraindataregiontagattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyTrainDataRegionTagAttributeWithChan(request *ModifyTrainDataRegionTagAttributeRequest) (<-chan *ModifyTrainDataRegionTagAttributeResponse, <-chan error) {
+	responseChan := make(chan *ModifyTrainDataRegionTagAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyTrainDataRegionTagAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyTrainDataRegionTagAttributeWithCallback invokes the ivision.ModifyTrainDataRegionTagAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifytraindataregiontagattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyTrainDataRegionTagAttributeWithCallback(request *ModifyTrainDataRegionTagAttributeRequest, callback func(response *ModifyTrainDataRegionTagAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyTrainDataRegionTagAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyTrainDataRegionTagAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyTrainDataRegionTagAttributeRequest is the request struct for api ModifyTrainDataRegionTagAttribute
+type ModifyTrainDataRegionTagAttributeRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagItems  string           `position:"Query" name:"TagItems"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	DataId    string           `position:"Query" name:"DataId"`
+}
+
+// ModifyTrainDataRegionTagAttributeResponse is the response struct for api ModifyTrainDataRegionTagAttribute
+type ModifyTrainDataRegionTagAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	TrainData TrainData `json:"TrainData" xml:"TrainData"`
+}
+
+// CreateModifyTrainDataRegionTagAttributeRequest creates a request to invoke ModifyTrainDataRegionTagAttribute API
+func CreateModifyTrainDataRegionTagAttributeRequest() (request *ModifyTrainDataRegionTagAttributeRequest) {
+	request = &ModifyTrainDataRegionTagAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyTrainDataRegionTagAttribute", "ivision", "openAPI")
+	return
+}
+
+// CreateModifyTrainDataRegionTagAttributeResponse creates a response to parse from ModifyTrainDataRegionTagAttribute response
+func CreateModifyTrainDataRegionTagAttributeResponse() (response *ModifyTrainDataRegionTagAttributeResponse) {
+	response = &ModifyTrainDataRegionTagAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/modify_train_data_tag_attribute.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// ModifyTrainDataTagAttribute invokes the ivision.ModifyTrainDataTagAttribute API synchronously
+// api document: https://help.aliyun.com/api/ivision/modifytraindatatagattribute.html
+func (client *Client) ModifyTrainDataTagAttribute(request *ModifyTrainDataTagAttributeRequest) (response *ModifyTrainDataTagAttributeResponse, err error) {
+	response = CreateModifyTrainDataTagAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyTrainDataTagAttributeWithChan invokes the ivision.ModifyTrainDataTagAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifytraindatatagattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyTrainDataTagAttributeWithChan(request *ModifyTrainDataTagAttributeRequest) (<-chan *ModifyTrainDataTagAttributeResponse, <-chan error) {
+	responseChan := make(chan *ModifyTrainDataTagAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyTrainDataTagAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyTrainDataTagAttributeWithCallback invokes the ivision.ModifyTrainDataTagAttribute API asynchronously
+// api document: https://help.aliyun.com/api/ivision/modifytraindatatagattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyTrainDataTagAttributeWithCallback(request *ModifyTrainDataTagAttributeRequest, callback func(response *ModifyTrainDataTagAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyTrainDataTagAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyTrainDataTagAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyTrainDataTagAttributeRequest is the request struct for api ModifyTrainDataTagAttribute
+type ModifyTrainDataTagAttributeRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	TagItems  string           `position:"Query" name:"TagItems"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	DataId    string           `position:"Query" name:"DataId"`
+}
+
+// ModifyTrainDataTagAttributeResponse is the response struct for api ModifyTrainDataTagAttribute
+type ModifyTrainDataTagAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	TrainData TrainData `json:"TrainData" xml:"TrainData"`
+}
+
+// CreateModifyTrainDataTagAttributeRequest creates a request to invoke ModifyTrainDataTagAttribute API
+func CreateModifyTrainDataTagAttributeRequest() (request *ModifyTrainDataTagAttributeRequest) {
+	request = &ModifyTrainDataTagAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyTrainDataTagAttribute", "ivision", "openAPI")
+	return
+}
+
+// CreateModifyTrainDataTagAttributeResponse creates a response to parse from ModifyTrainDataTagAttribute response
+func CreateModifyTrainDataTagAttributeResponse() (response *ModifyTrainDataTagAttributeResponse) {
+	response = &ModifyTrainDataTagAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ivision/predict_image.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// PredictImage invokes the ivision.PredictImage API synchronously
+// api document: https://help.aliyun.com/api/ivision/predictimage.html
+func (client *Client) PredictImage(request *PredictImageRequest) (response *PredictImageResponse, err error) {
+	response = CreatePredictImageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PredictImageWithChan invokes the ivision.PredictImage API asynchronously
+// api document: https://help.aliyun.com/api/ivision/predictimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PredictImageWithChan(request *PredictImageRequest) (<-chan *PredictImageResponse, <-chan error) {
+	responseChan := make(chan *PredictImageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PredictImage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PredictImageWithCallback invokes the ivision.PredictImage API asynchronously
+// api document: https://help.aliyun.com/api/ivision/predictimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PredictImageWithCallback(request *PredictImageRequest, callback func(response *PredictImageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PredictImageResponse
+		var err error
+		defer close(result)
+		response, err = client.PredictImage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PredictImageRequest is the request struct for api PredictImage
+type PredictImageRequest struct {
+	*requests.RpcRequest
+	ProjectId   string           `position:"Query" name:"ProjectId"`
+	ShowLog     string           `position:"Query" name:"ShowLog"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	IterationId string           `position:"Query" name:"IterationId"`
+	DataUrls    string           `position:"Query" name:"DataUrls"`
+}
+
+// PredictImageResponse is the response struct for api PredictImage
+type PredictImageResponse struct {
+	*responses.BaseResponse
+	RequestId    string                     `json:"RequestId" xml:"RequestId"`
+	PredictDatas PredictDatasInPredictImage `json:"PredictDatas" xml:"PredictDatas"`
+}
+
+// CreatePredictImageRequest creates a request to invoke PredictImage API
+func CreatePredictImageRequest() (request *PredictImageRequest) {
+	request = &PredictImageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "PredictImage", "ivision", "openAPI")
+	return
+}
+
+// CreatePredictImageResponse creates a response to parse from PredictImage response
+func CreatePredictImageResponse() (response *PredictImageResponse) {
+	response = &PredictImageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/ivision/start_stream_predict.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// StartStreamPredict invokes the ivision.StartStreamPredict API synchronously
+// api document: https://help.aliyun.com/api/ivision/startstreampredict.html
+func (client *Client) StartStreamPredict(request *StartStreamPredictRequest) (response *StartStreamPredictResponse, err error) {
+	response = CreateStartStreamPredictResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// StartStreamPredictWithChan invokes the ivision.StartStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/startstreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartStreamPredictWithChan(request *StartStreamPredictRequest) (<-chan *StartStreamPredictResponse, <-chan error) {
+	responseChan := make(chan *StartStreamPredictResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.StartStreamPredict(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// StartStreamPredictWithCallback invokes the ivision.StartStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/startstreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartStreamPredictWithCallback(request *StartStreamPredictRequest, callback func(response *StartStreamPredictResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *StartStreamPredictResponse
+		var err error
+		defer close(result)
+		response, err = client.StartStreamPredict(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// StartStreamPredictRequest is the request struct for api StartStreamPredict
+type StartStreamPredictRequest struct {
+	*requests.RpcRequest
+	PredictId string           `position:"Query" name:"PredictId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// StartStreamPredictResponse is the response struct for api StartStreamPredict
+type StartStreamPredictResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	PredictId string `json:"PredictId" xml:"PredictId"`
+}
+
+// CreateStartStreamPredictRequest creates a request to invoke StartStreamPredict API
+func CreateStartStreamPredictRequest() (request *StartStreamPredictRequest) {
+	request = &StartStreamPredictRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "StartStreamPredict", "ivision", "openAPI")
+	return
+}
+
+// CreateStartStreamPredictResponse creates a response to parse from StartStreamPredict response
+func CreateStartStreamPredictResponse() (response *StartStreamPredictResponse) {
+	response = &StartStreamPredictResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/ivision/stop_stream_predict.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// StopStreamPredict invokes the ivision.StopStreamPredict API synchronously
+// api document: https://help.aliyun.com/api/ivision/stopstreampredict.html
+func (client *Client) StopStreamPredict(request *StopStreamPredictRequest) (response *StopStreamPredictResponse, err error) {
+	response = CreateStopStreamPredictResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// StopStreamPredictWithChan invokes the ivision.StopStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/stopstreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StopStreamPredictWithChan(request *StopStreamPredictRequest) (<-chan *StopStreamPredictResponse, <-chan error) {
+	responseChan := make(chan *StopStreamPredictResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.StopStreamPredict(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// StopStreamPredictWithCallback invokes the ivision.StopStreamPredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/stopstreampredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StopStreamPredictWithCallback(request *StopStreamPredictRequest, callback func(response *StopStreamPredictResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *StopStreamPredictResponse
+		var err error
+		defer close(result)
+		response, err = client.StopStreamPredict(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// StopStreamPredictRequest is the request struct for api StopStreamPredict
+type StopStreamPredictRequest struct {
+	*requests.RpcRequest
+	PredictId string           `position:"Query" name:"PredictId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// StopStreamPredictResponse is the response struct for api StopStreamPredict
+type StopStreamPredictResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	PredictId string `json:"PredictId" xml:"PredictId"`
+}
+
+// CreateStopStreamPredictRequest creates a request to invoke StopStreamPredict API
+func CreateStopStreamPredictRequest() (request *StopStreamPredictRequest) {
+	request = &StopStreamPredictRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "StopStreamPredict", "ivision", "openAPI")
+	return
+}
+
+// CreateStopStreamPredictResponse creates a response to parse from StopStreamPredict response
+func CreateStopStreamPredictResponse() (response *StopStreamPredictResponse) {
+	response = &StopStreamPredictResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 30 - 0
services/ivision/struct_iteration.go

@@ -0,0 +1,30 @@
+package ivision
+
+//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.
+
+// Iteration is a nested struct in ivision response
+type Iteration struct {
+	ProjectId     string `json:"ProjectId" xml:"ProjectId"`
+	IterationId   string `json:"IterationId" xml:"IterationId"`
+	IterationName string `json:"IterationName" xml:"IterationName"`
+	Status        string `json:"Status" xml:"Status"`
+	CreationTime  string `json:"CreationTime" xml:"CreationTime"`
+	FinishTime    string `json:"FinishTime" xml:"FinishTime"`
+	ModelId       string `json:"ModelId" xml:"ModelId"`
+	Precision     string `json:"Precision" xml:"Precision"`
+	Recall        string `json:"Recall" xml:"Recall"`
+	MAP           string `json:"MAP" xml:"MAP"`
+}

+ 21 - 0
services/ivision/struct_iterations.go

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

+ 30 - 0
services/ivision/struct_predict_data.go

@@ -0,0 +1,30 @@
+package ivision
+
+//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.
+
+// PredictData is a nested struct in ivision response
+type PredictData struct {
+	DataId            string                          `json:"DataId" xml:"DataId"`
+	ErrorMessage      string                          `json:"ErrorMessage" xml:"ErrorMessage"`
+	ProjectId         string                          `json:"ProjectId" xml:"ProjectId"`
+	DataUrl           string                          `json:"DataUrl" xml:"DataUrl"`
+	DataName          string                          `json:"DataName" xml:"DataName"`
+	CreationTime      string                          `json:"CreationTime" xml:"CreationTime"`
+	Status            string                          `json:"Status" xml:"Status"`
+	IterationId       string                          `json:"IterationId" xml:"IterationId"`
+	ErrorCode         string                          `json:"ErrorCode" xml:"ErrorCode"`
+	PredictionResults PredictionResultsInPredictImage `json:"PredictionResults" xml:"PredictionResults"`
+}

+ 21 - 0
services/ivision/struct_predict_datas_in_describe_predict_datas.go

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

+ 21 - 0
services/ivision/struct_predict_datas_in_predict_image.go

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

+ 27 - 0
services/ivision/struct_prediction_result.go

@@ -0,0 +1,27 @@
+package ivision
+
+//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.
+
+// PredictionResult is a nested struct in ivision response
+type PredictionResult struct {
+	TagName     string `json:"TagName" xml:"TagName"`
+	Probability string `json:"Probability" xml:"Probability"`
+	TagId       string `json:"TagId" xml:"TagId"`
+	Overlap     string `json:"Overlap" xml:"Overlap"`
+	RegionType  string `json:"RegionType" xml:"RegionType"`
+	Properties  string `json:"Properties" xml:"Properties"`
+	Region      Region `json:"Region" xml:"Region"`
+}

+ 27 - 0
services/ivision/struct_prediction_result_in_describe_stream_predict_result.go

@@ -0,0 +1,27 @@
+package ivision
+
+//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.
+
+// PredictionResultInDescribeStreamPredictResult is a nested struct in ivision response
+type PredictionResultInDescribeStreamPredictResult struct {
+	TagId       string     `json:"TagId" xml:"TagId"`
+	TagName     string     `json:"TagName" xml:"TagName"`
+	Probability string     `json:"Probability" xml:"Probability"`
+	Overlap     string     `json:"Overlap" xml:"Overlap"`
+	RegionType  string     `json:"RegionType" xml:"RegionType"`
+	Region      Region     `json:"Region" xml:"Region"`
+	Properties  Properties `json:"Properties" xml:"Properties"`
+}

+ 21 - 0
services/ivision/struct_prediction_results_in_describe_predict_datas.go

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

+ 21 - 0
services/ivision/struct_prediction_results_in_describe_stream_predict_result.go

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

+ 21 - 0
services/ivision/struct_prediction_results_in_predict_image.go

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

+ 27 - 0
services/ivision/struct_project.go

@@ -0,0 +1,27 @@
+package ivision
+
+//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.
+
+// Project is a nested struct in ivision response
+type Project struct {
+	Name         string `json:"Name" xml:"Name"`
+	ProType      string `json:"ProType" xml:"ProType"`
+	IterCount    int    `json:"IterCount" xml:"IterCount"`
+	ProjectId    string `json:"ProjectId" xml:"ProjectId"`
+	CreationTime string `json:"CreationTime" xml:"CreationTime"`
+	Status       string `json:"Status" xml:"Status"`
+	Description  string `json:"Description" xml:"Description"`
+}

+ 21 - 0
services/ivision/struct_projects.go

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

+ 22 - 0
services/ivision/struct_properties.go

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

+ 24 - 0
services/ivision/struct_region.go

@@ -0,0 +1,24 @@
+package ivision
+
+//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.
+
+// Region is a nested struct in ivision response
+type Region struct {
+	Height string `json:"Height" xml:"Height"`
+	Width  string `json:"Width" xml:"Width"`
+	Top    string `json:"Top" xml:"Top"`
+	Left   string `json:"Left" xml:"Left"`
+}

+ 21 - 0
services/ivision/struct_result_statistics.go

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

+ 23 - 0
services/ivision/struct_result_statistics_item.go

@@ -0,0 +1,23 @@
+package ivision
+
+//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.
+
+// ResultStatisticsItem is a nested struct in ivision response
+type ResultStatisticsItem struct {
+	TagId   string `json:"TagId" xml:"TagId"`
+	TagName string `json:"TagName" xml:"TagName"`
+	Count   int    `json:"Count" xml:"Count"`
+}

+ 30 - 0
services/ivision/struct_stream_predict.go

@@ -0,0 +1,30 @@
+package ivision
+
+//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.
+
+// StreamPredict is a nested struct in ivision response
+type StreamPredict struct {
+	PredictId             string `json:"PredictId" xml:"PredictId"`
+	StreamType            string `json:"StreamType" xml:"StreamType"`
+	StreamId              string `json:"StreamId" xml:"StreamId"`
+	ModelIds              string `json:"ModelIds" xml:"ModelIds"`
+	ProbabilityThresholds string `json:"ProbabilityThresholds" xml:"ProbabilityThresholds"`
+	Output                string `json:"Output" xml:"Output"`
+	Notify                string `json:"Notify" xml:"Notify"`
+	UserData              string `json:"UserData" xml:"UserData"`
+	CreationTime          string `json:"CreationTime" xml:"CreationTime"`
+	Status                string `json:"Status" xml:"Status"`
+}

+ 28 - 0
services/ivision/struct_stream_predict_data.go

@@ -0,0 +1,28 @@
+package ivision
+
+//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.
+
+// StreamPredictData is a nested struct in ivision response
+type StreamPredictData struct {
+	PredictId         string                                         `json:"PredictId" xml:"PredictId"`
+	ModelId           string                                         `json:"ModelId" xml:"ModelId"`
+	DataUrl           string                                         `json:"DataUrl" xml:"DataUrl"`
+	StreamTimestamp   string                                         `json:"StreamTimestamp" xml:"StreamTimestamp"`
+	PredictTime       string                                         `json:"PredictTime" xml:"PredictTime"`
+	Status            string                                         `json:"Status" xml:"Status"`
+	ResultStatistics  ResultStatistics                               `json:"ResultStatistics" xml:"ResultStatistics"`
+	PredictionResults PredictionResultsInDescribeStreamPredictResult `json:"PredictionResults" xml:"PredictionResults"`
+}

+ 21 - 0
services/ivision/struct_stream_predict_datas.go

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

+ 21 - 0
services/ivision/struct_stream_predicts.go

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

+ 27 - 0
services/ivision/struct_tag.go

@@ -0,0 +1,27 @@
+package ivision
+
+//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.
+
+// Tag is a nested struct in ivision response
+type Tag struct {
+	TagName      string `json:"TagName" xml:"TagName"`
+	Count        int    `json:"Count" xml:"Count"`
+	ProjectId    string `json:"ProjectId" xml:"ProjectId"`
+	CreationTime string `json:"CreationTime" xml:"CreationTime"`
+	TagId        string `json:"TagId" xml:"TagId"`
+	Status       string `json:"Status" xml:"Status"`
+	Description  string `json:"Description" xml:"Description"`
+}

+ 23 - 0
services/ivision/struct_tag_item.go

@@ -0,0 +1,23 @@
+package ivision
+
+//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.
+
+// TagItem is a nested struct in ivision response
+type TagItem struct {
+	TagId      string `json:"TagId" xml:"TagId"`
+	RegionType string `json:"RegionType" xml:"RegionType"`
+	Region     Region `json:"Region" xml:"Region"`
+}

+ 21 - 0
services/ivision/struct_tag_items_in_create_train_data_region_tag.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_create_train_data_tag.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_create_train_datas_from_prediction.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_create_train_datas_from_urls.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_create_train_datas_tag.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_describe_train_datas.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_describe_train_datas_by_ids.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_modify_train_data_region_tag_attribute.go

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

+ 21 - 0
services/ivision/struct_tag_items_in_modify_train_data_tag_attribute.go

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

+ 25 - 0
services/ivision/struct_tag_result.go

@@ -0,0 +1,25 @@
+package ivision
+
+//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.
+
+// TagResult is a nested struct in ivision response
+type TagResult struct {
+	TagId     string `json:"TagId" xml:"TagId"`
+	TagName   string `json:"TagName" xml:"TagName"`
+	Precision string `json:"Precision" xml:"Precision"`
+	Recall    string `json:"Recall" xml:"Recall"`
+	AP        string `json:"AP" xml:"AP"`
+}

+ 21 - 0
services/ivision/struct_tag_results.go

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

+ 21 - 0
services/ivision/struct_tags.go

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

+ 29 - 0
services/ivision/struct_train_data.go

@@ -0,0 +1,29 @@
+package ivision
+
+//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.
+
+// TrainData is a nested struct in ivision response
+type TrainData struct {
+	DataId       string                       `json:"DataId" xml:"DataId"`
+	ProjectId    string                       `json:"ProjectId" xml:"ProjectId"`
+	TagStatus    string                       `json:"TagStatus" xml:"TagStatus"`
+	DataUrl      string                       `json:"DataUrl" xml:"DataUrl"`
+	DataName     string                       `json:"DataName" xml:"DataName"`
+	CreationTime string                       `json:"CreationTime" xml:"CreationTime"`
+	Status       string                       `json:"Status" xml:"Status"`
+	IterationId  string                       `json:"IterationId" xml:"IterationId"`
+	TagItems     TagItemsInCreateTrainDataTag `json:"TagItems" xml:"TagItems"`
+}

+ 21 - 0
services/ivision/struct_train_datas_in_create_train_datas_from_prediction.go

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

+ 21 - 0
services/ivision/struct_train_datas_in_create_train_datas_from_urls.go

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

+ 21 - 0
services/ivision/struct_train_datas_in_describe_train_datas.go

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

+ 21 - 0
services/ivision/struct_train_datas_in_describe_train_datas_by_ids.go

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

+ 33 - 0
services/ivision/struct_train_result.go

@@ -0,0 +1,33 @@
+package ivision
+
+//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.
+
+// TrainResult is a nested struct in ivision response
+type TrainResult struct {
+	ProjectId     string     `json:"ProjectId" xml:"ProjectId"`
+	IterationId   string     `json:"IterationId" xml:"IterationId"`
+	IterationName string     `json:"IterationName" xml:"IterationName"`
+	Precision     string     `json:"Precision" xml:"Precision"`
+	Recall        string     `json:"Recall" xml:"Recall"`
+	MAP           string     `json:"MAP" xml:"MAP"`
+	Threshold     string     `json:"Threshold" xml:"Threshold"`
+	Status        string     `json:"Status" xml:"Status"`
+	StartTime     string     `json:"StartTime" xml:"StartTime"`
+	EndTime       string     `json:"EndTime" xml:"EndTime"`
+	ErrorCode     string     `json:"ErrorCode" xml:"ErrorCode"`
+	ErrorMessage  string     `json:"ErrorMessage" xml:"ErrorMessage"`
+	TagResults    TagResults `json:"TagResults" xml:"TagResults"`
+}

+ 28 - 0
services/ivision/struct_upload_token.go

@@ -0,0 +1,28 @@
+package ivision
+
+//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.
+
+// UploadToken is a nested struct in ivision response
+type UploadToken struct {
+	AccessKeyId     string `json:"AccessKeyId" xml:"AccessKeyId"`
+	AccessKeySecret string `json:"AccessKeySecret" xml:"AccessKeySecret"`
+	SecurityToken   string `json:"SecurityToken" xml:"SecurityToken"`
+	Expiration      string `json:"Expiration" xml:"Expiration"`
+	Bucket          string `json:"Bucket" xml:"Bucket"`
+	Object          string `json:"Object" xml:"Object"`
+	Endpoint        string `json:"Endpoint" xml:"Endpoint"`
+	Url             string `json:"Url" xml:"Url"`
+}

+ 106 - 0
services/ivision/train_project.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// TrainProject invokes the ivision.TrainProject API synchronously
+// api document: https://help.aliyun.com/api/ivision/trainproject.html
+func (client *Client) TrainProject(request *TrainProjectRequest) (response *TrainProjectResponse, err error) {
+	response = CreateTrainProjectResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// TrainProjectWithChan invokes the ivision.TrainProject API asynchronously
+// api document: https://help.aliyun.com/api/ivision/trainproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) TrainProjectWithChan(request *TrainProjectRequest) (<-chan *TrainProjectResponse, <-chan error) {
+	responseChan := make(chan *TrainProjectResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.TrainProject(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// TrainProjectWithCallback invokes the ivision.TrainProject API asynchronously
+// api document: https://help.aliyun.com/api/ivision/trainproject.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) TrainProjectWithCallback(request *TrainProjectRequest, callback func(response *TrainProjectResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *TrainProjectResponse
+		var err error
+		defer close(result)
+		response, err = client.TrainProject(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// TrainProjectRequest is the request struct for api TrainProject
+type TrainProjectRequest struct {
+	*requests.RpcRequest
+	ProjectId string           `position:"Query" name:"ProjectId"`
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// TrainProjectResponse is the response struct for api TrainProject
+type TrainProjectResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	IterationId string `json:"IterationId" xml:"IterationId"`
+}
+
+// CreateTrainProjectRequest creates a request to invoke TrainProject API
+func CreateTrainProjectRequest() (request *TrainProjectRequest) {
+	request = &TrainProjectRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "TrainProject", "ivision", "openAPI")
+	return
+}
+
+// CreateTrainProjectResponse creates a response to parse from TrainProject response
+func CreateTrainProjectResponse() (response *TrainProjectResponse) {
+	response = &TrainProjectResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}