Pārlūkot izejas kodu

VOD SDK Auto Released By guzhaoyuan,Version:1.31.7

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 gadi atpakaļ
vecāks
revīzija
c196da684f

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2018-10-11 Version: 1.31.7
+1, Add a new api called DeleteMezzanines to clear mezzanine infos and storages.
+2, Add the field called PlayConfig to GetVideoPlayAuth and GetPlayInfo api request.
+3, Add a new api called UpdateImageInfos to update image information.
+
 2018-10-10 Version: 1.31.6
 1, add UpdateProject api, support update CU, ServiceRole
 2, PutProject not support edit

+ 109 - 0
services/vod/delete_mezzanines.go

@@ -0,0 +1,109 @@
+package vod
+
+//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"
+)
+
+// DeleteMezzanines invokes the vod.DeleteMezzanines API synchronously
+// api document: https://help.aliyun.com/api/vod/deletemezzanines.html
+func (client *Client) DeleteMezzanines(request *DeleteMezzaninesRequest) (response *DeleteMezzaninesResponse, err error) {
+	response = CreateDeleteMezzaninesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMezzaninesWithChan invokes the vod.DeleteMezzanines API asynchronously
+// api document: https://help.aliyun.com/api/vod/deletemezzanines.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMezzaninesWithChan(request *DeleteMezzaninesRequest) (<-chan *DeleteMezzaninesResponse, <-chan error) {
+	responseChan := make(chan *DeleteMezzaninesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMezzanines(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMezzaninesWithCallback invokes the vod.DeleteMezzanines API asynchronously
+// api document: https://help.aliyun.com/api/vod/deletemezzanines.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMezzaninesWithCallback(request *DeleteMezzaninesRequest, callback func(response *DeleteMezzaninesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMezzaninesResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMezzanines(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMezzaninesRequest is the request struct for api DeleteMezzanines
+type DeleteMezzaninesRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Force                requests.Boolean `position:"Query" name:"Force"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	VideoIds             string           `position:"Query" name:"VideoIds"`
+}
+
+// DeleteMezzaninesResponse is the response struct for api DeleteMezzanines
+type DeleteMezzaninesResponse struct {
+	*responses.BaseResponse
+	RequestId            string   `json:"RequestId" xml:"RequestId"`
+	NonExistVideoIds     []string `json:"NonExistVideoIds" xml:"NonExistVideoIds"`
+	UnRemoveableVideoIds []string `json:"UnRemoveableVideoIds" xml:"UnRemoveableVideoIds"`
+}
+
+// CreateDeleteMezzaninesRequest creates a request to invoke DeleteMezzanines API
+func CreateDeleteMezzaninesRequest() (request *DeleteMezzaninesRequest) {
+	request = &DeleteMezzaninesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "DeleteMezzanines", "vod", "openAPI")
+	return
+}
+
+// CreateDeleteMezzaninesResponse creates a response to parse from DeleteMezzanines response
+func CreateDeleteMezzaninesResponse() (response *DeleteMezzaninesResponse) {
+	response = &DeleteMezzaninesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 6 - 1
services/vod/get_audit_result.go

@@ -76,7 +76,12 @@ func (client *Client) GetAuditResultWithCallback(request *GetAuditResultRequest,
 // GetAuditResultRequest is the request struct for api GetAuditResult
 type GetAuditResultRequest struct {
 	*requests.RpcRequest
-	VideoId string `position:"Query" name:"VideoId"`
+	ResourceOwnerId      string `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string `position:"Query" name:"OwnerAccount"`
+	VideoId              string `position:"Query" name:"VideoId"`
+	OwnerId              string `position:"Query" name:"OwnerId"`
+	MediaId              string `position:"Query" name:"MediaId"`
 }
 
 // GetAuditResultResponse is the response struct for api GetAuditResult

+ 1 - 0
services/vod/get_play_info.go

@@ -87,6 +87,7 @@ type GetPlayInfoRequest struct {
 	ResultType           string           `position:"Query" name:"ResultType"`
 	Rand                 string           `position:"Query" name:"Rand"`
 	ReAuthInfo           string           `position:"Query" name:"ReAuthInfo"`
+	PlayConfig           string           `position:"Query" name:"PlayConfig"`
 	OutputType           string           `position:"Query" name:"OutputType"`
 	Definition           string           `position:"Query" name:"Definition"`
 	AuthTimeout          requests.Integer `position:"Query" name:"AuthTimeout"`

+ 1 - 0
services/vod/get_video_play_auth.go

@@ -79,6 +79,7 @@ type GetVideoPlayAuthRequest struct {
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ReAuthInfo           string           `position:"Query" name:"ReAuthInfo"`
+	PlayConfig           string           `position:"Query" name:"PlayConfig"`
 	AuthInfoTimeout      requests.Integer `position:"Query" name:"AuthInfoTimeout"`
 	VideoId              string           `position:"Query" name:"VideoId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`

+ 4 - 1
services/vod/struct_ai_audit_result.go

@@ -17,7 +17,10 @@ package vod
 
 // AIAuditResult is a nested struct in vod response
 type AIAuditResult struct {
+	AbnormalModules string `json:"AbnormalModules" xml:"AbnormalModules"`
 	Label           string `json:"Label" xml:"Label"`
-	TerrorismResult string `json:"TerrorismResult" xml:"TerrorismResult"`
 	PornResult      string `json:"PornResult" xml:"PornResult"`
+	TerrorismResult string `json:"TerrorismResult" xml:"TerrorismResult"`
+	TitleResult     string `json:"TitleResult" xml:"TitleResult"`
+	CoverResult     string `json:"CoverResult" xml:"CoverResult"`
 }

+ 22 - 0
services/vod/struct_ai_audit_result_detail.go

@@ -0,0 +1,22 @@
+package vod
+
+//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.
+
+// AIAuditResultDetail is a nested struct in vod response
+type AIAuditResultDetail struct {
+	Total int        `json:"Total" xml:"Total"`
+	List  []ListItem `json:"List" xml:"List"`
+}

+ 21 - 0
services/vod/struct_ai_video_dna_result.go

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

+ 22 - 0
services/vod/struct_duplication.go

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

+ 21 - 0
services/vod/struct_fp_shot_slices.go

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

+ 22 - 0
services/vod/struct_fp_shot_slices_item.go

@@ -0,0 +1,22 @@
+package vod
+
+//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.
+
+// FpShotSlicesItem is a nested struct in vod response
+type FpShotSlicesItem struct {
+	Input       Input       `json:"Input" xml:"Input"`
+	Duplication Duplication `json:"Duplication" xml:"Duplication"`
+}

+ 21 - 0
services/vod/struct_fp_shots.go

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

+ 23 - 0
services/vod/struct_fp_shots_item.go

@@ -0,0 +1,23 @@
+package vod
+
+//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.
+
+// FpShotsItem is a nested struct in vod response
+type FpShotsItem struct {
+	PrimaryKey   string             `json:"PrimaryKey" xml:"PrimaryKey"`
+	Similarity   string             `json:"Similarity" xml:"Similarity"`
+	FpShotSlices []FpShotSlicesItem `json:"FpShotSlices" xml:"FpShotSlices"`
+}

+ 22 - 0
services/vod/struct_input.go

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

+ 21 - 0
services/vod/struct_list.go

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

+ 27 - 0
services/vod/struct_list_item.go

@@ -0,0 +1,27 @@
+package vod
+
+//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.
+
+// ListItem is a nested struct in vod response
+type ListItem struct {
+	PornLabel      string `json:"PornLabel" xml:"PornLabel"`
+	PornScore      string `json:"PornScore" xml:"PornScore"`
+	TerrorismLabel string `json:"TerrorismLabel" xml:"TerrorismLabel"`
+	TerrorismScore string `json:"TerrorismScore" xml:"TerrorismScore"`
+	Index          string `json:"Index" xml:"Index"`
+	Object         string `json:"Object" xml:"Object"`
+	Timestamp      string `json:"Timestamp" xml:"Timestamp"`
+}

+ 21 - 0
services/vod/struct_non_exist_image_ids.go

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

+ 21 - 0
services/vod/struct_non_exist_video_ids_in_delete_mezzanines.go

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

+ 21 - 0
services/vod/struct_un_removeable_video_ids.go

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

+ 1 - 0
services/vod/struct_video_base.go

@@ -17,6 +17,7 @@ package vod
 
 // VideoBase is a nested struct in vod response
 type VideoBase struct {
+	OutputType    string                     `json:"OutputType" xml:"OutputType"`
 	CoverURL      string                     `json:"CoverURL" xml:"CoverURL"`
 	Duration      string                     `json:"Duration" xml:"Duration"`
 	Status        string                     `json:"Status" xml:"Status"`

+ 108 - 0
services/vod/update_image_infos.go

@@ -0,0 +1,108 @@
+package vod
+
+//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"
+)
+
+// UpdateImageInfos invokes the vod.UpdateImageInfos API synchronously
+// api document: https://help.aliyun.com/api/vod/updateimageinfos.html
+func (client *Client) UpdateImageInfos(request *UpdateImageInfosRequest) (response *UpdateImageInfosResponse, err error) {
+	response = CreateUpdateImageInfosResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UpdateImageInfosWithChan invokes the vod.UpdateImageInfos API asynchronously
+// api document: https://help.aliyun.com/api/vod/updateimageinfos.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateImageInfosWithChan(request *UpdateImageInfosRequest) (<-chan *UpdateImageInfosResponse, <-chan error) {
+	responseChan := make(chan *UpdateImageInfosResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpdateImageInfos(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UpdateImageInfosWithCallback invokes the vod.UpdateImageInfos API asynchronously
+// api document: https://help.aliyun.com/api/vod/updateimageinfos.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateImageInfosWithCallback(request *UpdateImageInfosRequest, callback func(response *UpdateImageInfosResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpdateImageInfosResponse
+		var err error
+		defer close(result)
+		response, err = client.UpdateImageInfos(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UpdateImageInfosRequest is the request struct for api UpdateImageInfos
+type UpdateImageInfosRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	UpdateContent        string           `position:"Query" name:"UpdateContent"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// UpdateImageInfosResponse is the response struct for api UpdateImageInfos
+type UpdateImageInfosResponse struct {
+	*responses.BaseResponse
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	NonExistImageIds NonExistImageIds `json:"NonExistImageIds" xml:"NonExistImageIds"`
+}
+
+// CreateUpdateImageInfosRequest creates a request to invoke UpdateImageInfos API
+func CreateUpdateImageInfosRequest() (request *UpdateImageInfosRequest) {
+	request = &UpdateImageInfosRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "UpdateImageInfos", "vod", "openAPI")
+	return
+}
+
+// CreateUpdateImageInfosResponse creates a response to parse from UpdateImageInfos response
+func CreateUpdateImageInfosResponse() (response *UpdateImageInfosResponse) {
+	response = &UpdateImageInfosResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}