瀏覽代碼

1. Supported the related recommend.

sdk-team 6 年之前
父節點
當前提交
6299bbba5a

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-06-18 Version: 1.60.48
+1. Supported the related recommend.
+2. Supported exposure time controll and exposure filter by scene.
+
 2019-06-17 Version: 1.60.47
 companyreg release
 

+ 28 - 5
services/airec/client.go

@@ -18,6 +18,7 @@ package airec
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -32,6 +33,20 @@ func NewClient() (client *Client, err error) {
 	return
 }
 
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	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) {
@@ -41,7 +56,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
@@ -49,7 +64,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
@@ -57,15 +72,23 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
 	return
 }
 
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	return
+}
+
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
@@ -73,7 +96,7 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)

+ 107 - 0
services/airec/describe_exposure_settings.go

@@ -0,0 +1,107 @@
+package airec
+
+//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"
+)
+
+// DescribeExposureSettings invokes the airec.DescribeExposureSettings API synchronously
+// api document: https://help.aliyun.com/api/airec/describeexposuresettings.html
+func (client *Client) DescribeExposureSettings(request *DescribeExposureSettingsRequest) (response *DescribeExposureSettingsResponse, err error) {
+	response = CreateDescribeExposureSettingsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeExposureSettingsWithChan invokes the airec.DescribeExposureSettings API asynchronously
+// api document: https://help.aliyun.com/api/airec/describeexposuresettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeExposureSettingsWithChan(request *DescribeExposureSettingsRequest) (<-chan *DescribeExposureSettingsResponse, <-chan error) {
+	responseChan := make(chan *DescribeExposureSettingsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeExposureSettings(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeExposureSettingsWithCallback invokes the airec.DescribeExposureSettings API asynchronously
+// api document: https://help.aliyun.com/api/airec/describeexposuresettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeExposureSettingsWithCallback(request *DescribeExposureSettingsRequest, callback func(response *DescribeExposureSettingsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeExposureSettingsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeExposureSettings(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeExposureSettingsRequest is the request struct for api DescribeExposureSettings
+type DescribeExposureSettingsRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// DescribeExposureSettingsResponse is the response struct for api DescribeExposureSettings
+type DescribeExposureSettingsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeExposureSettingsRequest creates a request to invoke DescribeExposureSettings API
+func CreateDescribeExposureSettingsRequest() (request *DescribeExposureSettingsRequest) {
+	request = &DescribeExposureSettingsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Airec", "2018-10-12", "DescribeExposureSettings", "/openapi/instances/[InstanceId]/exposure-settings", "airec", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateDescribeExposureSettingsResponse creates a response to parse from DescribeExposureSettings response
+func CreateDescribeExposureSettingsResponse() (response *DescribeExposureSettingsResponse) {
+	response = &DescribeExposureSettingsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/airec/list_dashboard.go

@@ -0,0 +1,113 @@
+package airec
+
+//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"
+)
+
+// ListDashboard invokes the airec.ListDashboard API synchronously
+// api document: https://help.aliyun.com/api/airec/listdashboard.html
+func (client *Client) ListDashboard(request *ListDashboardRequest) (response *ListDashboardResponse, err error) {
+	response = CreateListDashboardResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListDashboardWithChan invokes the airec.ListDashboard API asynchronously
+// api document: https://help.aliyun.com/api/airec/listdashboard.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDashboardWithChan(request *ListDashboardRequest) (<-chan *ListDashboardResponse, <-chan error) {
+	responseChan := make(chan *ListDashboardResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListDashboard(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListDashboardWithCallback invokes the airec.ListDashboard API asynchronously
+// api document: https://help.aliyun.com/api/airec/listdashboard.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDashboardWithCallback(request *ListDashboardRequest, callback func(response *ListDashboardResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListDashboardResponse
+		var err error
+		defer close(result)
+		response, err = client.ListDashboard(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListDashboardRequest is the request struct for api ListDashboard
+type ListDashboardRequest struct {
+	*requests.RoaRequest
+	TraceId    string           `position:"Query" name:"TraceId"`
+	InstanceId string           `position:"Path" name:"InstanceId"`
+	EndDate    requests.Integer `position:"Query" name:"EndDate"`
+	Size       requests.Integer `position:"Query" name:"Size"`
+	SceneId    string           `position:"Query" name:"SceneId"`
+	Page       requests.Integer `position:"Query" name:"Page"`
+	StartDate  requests.Integer `position:"Query" name:"StartDate"`
+}
+
+// ListDashboardResponse is the response struct for api ListDashboard
+type ListDashboardResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateListDashboardRequest creates a request to invoke ListDashboard API
+func CreateListDashboardRequest() (request *ListDashboardRequest) {
+	request = &ListDashboardRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Airec", "2018-10-12", "ListDashboard", "/openapi/instances/[InstanceId]/dashboard/statistics", "airec", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateListDashboardResponse creates a response to parse from ListDashboard response
+func CreateListDashboardResponse() (response *ListDashboardResponse) {
+	response = &ListDashboardResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/airec/list_dashboard_parameters.go

@@ -0,0 +1,107 @@
+package airec
+
+//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"
+)
+
+// ListDashboardParameters invokes the airec.ListDashboardParameters API synchronously
+// api document: https://help.aliyun.com/api/airec/listdashboardparameters.html
+func (client *Client) ListDashboardParameters(request *ListDashboardParametersRequest) (response *ListDashboardParametersResponse, err error) {
+	response = CreateListDashboardParametersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListDashboardParametersWithChan invokes the airec.ListDashboardParameters API asynchronously
+// api document: https://help.aliyun.com/api/airec/listdashboardparameters.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDashboardParametersWithChan(request *ListDashboardParametersRequest) (<-chan *ListDashboardParametersResponse, <-chan error) {
+	responseChan := make(chan *ListDashboardParametersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListDashboardParameters(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListDashboardParametersWithCallback invokes the airec.ListDashboardParameters API asynchronously
+// api document: https://help.aliyun.com/api/airec/listdashboardparameters.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDashboardParametersWithCallback(request *ListDashboardParametersRequest, callback func(response *ListDashboardParametersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListDashboardParametersResponse
+		var err error
+		defer close(result)
+		response, err = client.ListDashboardParameters(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListDashboardParametersRequest is the request struct for api ListDashboardParameters
+type ListDashboardParametersRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// ListDashboardParametersResponse is the response struct for api ListDashboardParameters
+type ListDashboardParametersResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateListDashboardParametersRequest creates a request to invoke ListDashboardParameters API
+func CreateListDashboardParametersRequest() (request *ListDashboardParametersRequest) {
+	request = &ListDashboardParametersRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Airec", "2018-10-12", "ListDashboardParameters", "/openapi/instances/[InstanceId]/dashboard/parameters", "airec", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateListDashboardParametersResponse creates a response to parse from ListDashboardParameters response
+func CreateListDashboardParametersResponse() (response *ListDashboardParametersResponse) {
+	response = &ListDashboardParametersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/airec/list_dashboard_uid.go

@@ -0,0 +1,107 @@
+package airec
+
+//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"
+)
+
+// ListDashboardUid invokes the airec.ListDashboardUid API synchronously
+// api document: https://help.aliyun.com/api/airec/listdashboarduid.html
+func (client *Client) ListDashboardUid(request *ListDashboardUidRequest) (response *ListDashboardUidResponse, err error) {
+	response = CreateListDashboardUidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListDashboardUidWithChan invokes the airec.ListDashboardUid API asynchronously
+// api document: https://help.aliyun.com/api/airec/listdashboarduid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDashboardUidWithChan(request *ListDashboardUidRequest) (<-chan *ListDashboardUidResponse, <-chan error) {
+	responseChan := make(chan *ListDashboardUidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListDashboardUid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListDashboardUidWithCallback invokes the airec.ListDashboardUid API asynchronously
+// api document: https://help.aliyun.com/api/airec/listdashboarduid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListDashboardUidWithCallback(request *ListDashboardUidRequest, callback func(response *ListDashboardUidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListDashboardUidResponse
+		var err error
+		defer close(result)
+		response, err = client.ListDashboardUid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListDashboardUidRequest is the request struct for api ListDashboardUid
+type ListDashboardUidRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// ListDashboardUidResponse is the response struct for api ListDashboardUid
+type ListDashboardUidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateListDashboardUidRequest creates a request to invoke ListDashboardUid API
+func CreateListDashboardUidRequest() (request *ListDashboardUidRequest) {
+	request = &ListDashboardUidRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Airec", "2018-10-12", "ListDashboardUid", "/openapi/instances/[InstanceId]/dashboard/uid", "airec", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateListDashboardUidResponse creates a response to parse from ListDashboardUid response
+func CreateListDashboardUidResponse() (response *ListDashboardUidResponse) {
+	response = &ListDashboardUidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/airec/list_instance_task.go

@@ -0,0 +1,107 @@
+package airec
+
+//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"
+)
+
+// ListInstanceTask invokes the airec.ListInstanceTask API synchronously
+// api document: https://help.aliyun.com/api/airec/listinstancetask.html
+func (client *Client) ListInstanceTask(request *ListInstanceTaskRequest) (response *ListInstanceTaskResponse, err error) {
+	response = CreateListInstanceTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListInstanceTaskWithChan invokes the airec.ListInstanceTask API asynchronously
+// api document: https://help.aliyun.com/api/airec/listinstancetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListInstanceTaskWithChan(request *ListInstanceTaskRequest) (<-chan *ListInstanceTaskResponse, <-chan error) {
+	responseChan := make(chan *ListInstanceTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListInstanceTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListInstanceTaskWithCallback invokes the airec.ListInstanceTask API asynchronously
+// api document: https://help.aliyun.com/api/airec/listinstancetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListInstanceTaskWithCallback(request *ListInstanceTaskRequest, callback func(response *ListInstanceTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListInstanceTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.ListInstanceTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListInstanceTaskRequest is the request struct for api ListInstanceTask
+type ListInstanceTaskRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// ListInstanceTaskResponse is the response struct for api ListInstanceTask
+type ListInstanceTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string       `json:"RequestId" xml:"RequestId"`
+	Code      string       `json:"Code" xml:"Code"`
+	Message   string       `json:"Message" xml:"Message"`
+	Result    []ResultItem `json:"Result" xml:"Result"`
+}
+
+// CreateListInstanceTaskRequest creates a request to invoke ListInstanceTask API
+func CreateListInstanceTaskRequest() (request *ListInstanceTaskRequest) {
+	request = &ListInstanceTaskRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Airec", "2018-10-12", "ListInstanceTask", "/openapi/instances/[InstanceId]/tasks", "airec", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateListInstanceTaskResponse creates a response to parse from ListInstanceTask response
+func CreateListInstanceTaskResponse() (response *ListInstanceTaskResponse) {
+	response = &ListInstanceTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 4 - 4
services/airec/modify_data_source.go

@@ -83,10 +83,10 @@ type ModifyDataSourceRequest struct {
 // ModifyDataSourceResponse is the response struct for api ModifyDataSource
 type ModifyDataSourceResponse struct {
 	*responses.BaseResponse
-	RequestId string                   `json:"RequestId" xml:"RequestId"`
-	Code      string                   `json:"Code" xml:"Code"`
-	Message   string                   `json:"Message" xml:"Message"`
-	Result    ResultInModifyDataSource `json:"Result" xml:"Result"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Result    Result `json:"Result" xml:"Result"`
 }
 
 // CreateModifyDataSourceRequest creates a request to invoke ModifyDataSource API

+ 107 - 0
services/airec/modify_exposure_settings.go

@@ -0,0 +1,107 @@
+package airec
+
+//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"
+)
+
+// ModifyExposureSettings invokes the airec.ModifyExposureSettings API synchronously
+// api document: https://help.aliyun.com/api/airec/modifyexposuresettings.html
+func (client *Client) ModifyExposureSettings(request *ModifyExposureSettingsRequest) (response *ModifyExposureSettingsResponse, err error) {
+	response = CreateModifyExposureSettingsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyExposureSettingsWithChan invokes the airec.ModifyExposureSettings API asynchronously
+// api document: https://help.aliyun.com/api/airec/modifyexposuresettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyExposureSettingsWithChan(request *ModifyExposureSettingsRequest) (<-chan *ModifyExposureSettingsResponse, <-chan error) {
+	responseChan := make(chan *ModifyExposureSettingsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyExposureSettings(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyExposureSettingsWithCallback invokes the airec.ModifyExposureSettings API asynchronously
+// api document: https://help.aliyun.com/api/airec/modifyexposuresettings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyExposureSettingsWithCallback(request *ModifyExposureSettingsRequest, callback func(response *ModifyExposureSettingsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyExposureSettingsResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyExposureSettings(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyExposureSettingsRequest is the request struct for api ModifyExposureSettings
+type ModifyExposureSettingsRequest struct {
+	*requests.RoaRequest
+	InstanceId string `position:"Path" name:"InstanceId"`
+}
+
+// ModifyExposureSettingsResponse is the response struct for api ModifyExposureSettings
+type ModifyExposureSettingsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Result    Result `json:"Result" xml:"Result"`
+}
+
+// CreateModifyExposureSettingsRequest creates a request to invoke ModifyExposureSettings API
+func CreateModifyExposureSettingsRequest() (request *ModifyExposureSettingsRequest) {
+	request = &ModifyExposureSettingsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Airec", "2018-10-12", "ModifyExposureSettings", "/openapi/instances/[InstanceId]/exposure-settings", "airec", "openAPI")
+	request.Method = requests.PUT
+	return
+}
+
+// CreateModifyExposureSettingsResponse creates a response to parse from ModifyExposureSettings response
+func CreateModifyExposureSettingsResponse() (response *ModifyExposureSettingsResponse) {
+	response = &ModifyExposureSettingsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 0
services/airec/recommend.go

@@ -82,6 +82,7 @@ type RecommendRequest struct {
 	SceneId     string           `position:"Query" name:"SceneId"`
 	Imei        string           `position:"Query" name:"Imei"`
 	UserId      string           `position:"Query" name:"UserId"`
+	Items       string           `position:"Query" name:"Items"`
 }
 
 // RecommendResponse is the response struct for api Recommend

+ 6 - 6
services/airec/struct_detail_item.go

@@ -17,14 +17,14 @@ package airec
 
 // DetailItem is a nested struct in airec response
 type DetailItem struct {
-	BizDate    int     `json:"BizDate" xml:"BizDate"`
-	Pv         int     `json:"Pv" xml:"Pv"`
-	Uv         int     `json:"Uv" xml:"Uv"`
-	Click      int     `json:"Click" xml:"Click"`
+	BizDate    int64   `json:"BizDate" xml:"BizDate"`
+	Pv         int64   `json:"Pv" xml:"Pv"`
+	Uv         int64   `json:"Uv" xml:"Uv"`
+	Click      int64   `json:"Click" xml:"Click"`
 	Ctr        float64 `json:"Ctr" xml:"Ctr"`
 	UvCtr      float64 `json:"UvCtr" xml:"UvCtr"`
 	PerUvBhv   float64 `json:"PerUvBhv" xml:"PerUvBhv"`
 	PerUvClick float64 `json:"PerUvClick" xml:"PerUvClick"`
-	ClickUser  int     `json:"ClickUser" xml:"ClickUser"`
-	ActiveItem int     `json:"ActiveItem" xml:"ActiveItem"`
+	ClickUser  int64   `json:"ClickUser" xml:"ClickUser"`
+	ActiveItem int64   `json:"ActiveItem" xml:"ActiveItem"`
 }

+ 21 - 0
services/airec/struct_list.go

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

+ 32 - 0
services/airec/struct_list_item.go

@@ -0,0 +1,32 @@
+package airec
+
+//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 airec response
+type ListItem struct {
+	BizDate    int64   `json:"BizDate" xml:"BizDate"`
+	Pv         int64   `json:"Pv" xml:"Pv"`
+	Uv         int64   `json:"Uv" xml:"Uv"`
+	Click      int64   `json:"Click" xml:"Click"`
+	Ctr        float64 `json:"Ctr" xml:"Ctr"`
+	UvCtr      float64 `json:"UvCtr" xml:"UvCtr"`
+	PerUvBhv   float64 `json:"PerUvBhv" xml:"PerUvBhv"`
+	PerUvClick float64 `json:"PerUvClick" xml:"PerUvClick"`
+	ClickUser  int64   `json:"ClickUser" xml:"ClickUser"`
+	ActiveItem int64   `json:"ActiveItem" xml:"ActiveItem"`
+	TraceId    string  `json:"TraceId" xml:"TraceId"`
+	SceneId    string  `json:"SceneId" xml:"SceneId"`
+}

+ 1 - 1
services/airec/struct_meta.go

@@ -19,7 +19,7 @@ package airec
 type Meta struct {
 	Path        string `json:"Path" xml:"Path"`
 	Partition   string `json:"Partition" xml:"Partition"`
-	Timestamp   int    `json:"Timestamp" xml:"Timestamp"`
+	Timestamp   int64  `json:"Timestamp" xml:"Timestamp"`
 	ProjectName string `json:"ProjectName" xml:"ProjectName"`
 	BucketName  string `json:"BucketName" xml:"BucketName"`
 	TableName   string `json:"TableName" xml:"TableName"`

+ 32 - 26
services/airec/struct_result.go

@@ -17,30 +17,36 @@ package airec
 
 // Result is a nested struct in airec response
 type Result struct {
-	Name           string       `json:"Name" xml:"Name"`
-	UserCountUsed  int          `json:"UserCountUsed" xml:"UserCountUsed"`
-	ChargeType     string       `json:"ChargeType" xml:"ChargeType"`
-	ItemCountUsed  int          `json:"ItemCountUsed" xml:"ItemCountUsed"`
-	CurrentQps     int          `json:"CurrentQps" xml:"CurrentQps"`
-	ItemCount      int          `json:"ItemCount" xml:"ItemCount"`
-	GmtCreate      string       `json:"GmtCreate" xml:"GmtCreate"`
-	DataSetVersion string       `json:"DataSetVersion" xml:"DataSetVersion"`
-	RegionId       string       `json:"RegionId" xml:"RegionId"`
-	InstanceId     string       `json:"InstanceId" xml:"InstanceId"`
-	Id             string       `json:"Id" xml:"Id"`
-	CommodityCode  string       `json:"CommodityCode" xml:"CommodityCode"`
-	Description    string       `json:"Description" xml:"Description"`
-	Type           string       `json:"Type" xml:"Type"`
-	ExpiredTime    string       `json:"ExpiredTime" xml:"ExpiredTime"`
-	GmtModified    string       `json:"GmtModified" xml:"GmtModified"`
-	Industry       string       `json:"Industry" xml:"Industry"`
-	UserCount      int          `json:"UserCount" xml:"UserCount"`
-	Scene          string       `json:"Scene" xml:"Scene"`
-	Qps            int          `json:"Qps" xml:"Qps"`
-	Status         string       `json:"Status" xml:"Status"`
-	LockMode       string       `json:"LockMode" xml:"LockMode"`
-	Overall        Overall      `json:"Overall" xml:"Overall"`
-	Parameter      Parameter    `json:"Parameter" xml:"Parameter"`
-	Detail         []DetailItem `json:"Detail" xml:"Detail"`
-	Meta           []MetaItem   `json:"Meta" xml:"Meta"`
+	Name            string       `json:"Name" xml:"Name"`
+	UserCountUsed   int64        `json:"UserCountUsed" xml:"UserCountUsed"`
+	ChargeType      string       `json:"ChargeType" xml:"ChargeType"`
+	ItemCountUsed   int64        `json:"ItemCountUsed" xml:"ItemCountUsed"`
+	CurrentQps      int          `json:"CurrentQps" xml:"CurrentQps"`
+	ItemCount       int64        `json:"ItemCount" xml:"ItemCount"`
+	GmtCreate       string       `json:"GmtCreate" xml:"GmtCreate"`
+	DataSetVersion  string       `json:"DataSetVersion" xml:"DataSetVersion"`
+	RegionId        string       `json:"RegionId" xml:"RegionId"`
+	InstanceId      string       `json:"InstanceId" xml:"InstanceId"`
+	CommodityCode   string       `json:"CommodityCode" xml:"CommodityCode"`
+	Num             int          `json:"Num" xml:"Num"`
+	Type            string       `json:"Type" xml:"Type"`
+	ScenarioBased   bool         `json:"ScenarioBased" xml:"ScenarioBased"`
+	ExpiredTime     string       `json:"ExpiredTime" xml:"ExpiredTime"`
+	GmtModified     string       `json:"GmtModified" xml:"GmtModified"`
+	Industry        string       `json:"Industry" xml:"Industry"`
+	TableName       string       `json:"TableName" xml:"TableName"`
+	UserCount       int64        `json:"UserCount" xml:"UserCount"`
+	DurationSeconds int          `json:"DurationSeconds" xml:"DurationSeconds"`
+	Scene           string       `json:"Scene" xml:"Scene"`
+	Qps             int          `json:"Qps" xml:"Qps"`
+	Status          string       `json:"Status" xml:"Status"`
+	LockMode        string       `json:"LockMode" xml:"LockMode"`
+	TraceId         []string     `json:"TraceId" xml:"TraceId"`
+	Uid             []string     `json:"Uid" xml:"Uid"`
+	SceneId         []string     `json:"SceneId" xml:"SceneId"`
+	Meta            Meta         `json:"Meta" xml:"Meta"`
+	Overall         Overall      `json:"Overall" xml:"Overall"`
+	Parameter       Parameter    `json:"Parameter" xml:"Parameter"`
+	List            []ListItem   `json:"List" xml:"List"`
+	Detail          []DetailItem `json:"Detail" xml:"Detail"`
 }

+ 2 - 2
services/airec/struct_result_in_attach_dataset.go

@@ -20,6 +20,6 @@ type ResultInAttachDataset struct {
 	InstanceId  string `json:"InstanceId" xml:"InstanceId"`
 	VersionId   string `json:"VersionId" xml:"VersionId"`
 	State       string `json:"State" xml:"State"`
-	GmtCreate   int    `json:"GmtCreate" xml:"GmtCreate"`
-	GmtModified int    `json:"GmtModified" xml:"GmtModified"`
+	GmtCreate   int64  `json:"GmtCreate" xml:"GmtCreate"`
+	GmtModified int64  `json:"GmtModified" xml:"GmtModified"`
 }

+ 2 - 2
services/airec/struct_result_in_delete_data_set.go

@@ -20,6 +20,6 @@ type ResultInDeleteDataSet struct {
 	InstanceId  string `json:"InstanceId" xml:"InstanceId"`
 	VersionId   string `json:"VersionId" xml:"VersionId"`
 	State       string `json:"State" xml:"State"`
-	GmtCreate   int    `json:"GmtCreate" xml:"GmtCreate"`
-	GmtModified int    `json:"GmtModified" xml:"GmtModified"`
+	GmtCreate   int64  `json:"GmtCreate" xml:"GmtCreate"`
+	GmtModified int64  `json:"GmtModified" xml:"GmtModified"`
 }

+ 21 - 0
services/airec/struct_result_in_list_instance_task.go

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

+ 2 - 2
services/airec/struct_result_in_stop_data_set.go

@@ -20,6 +20,6 @@ type ResultInStopDataSet struct {
 	InstanceId  string `json:"InstanceId" xml:"InstanceId"`
 	VersionId   string `json:"VersionId" xml:"VersionId"`
 	State       string `json:"State" xml:"State"`
-	GmtCreate   int    `json:"GmtCreate" xml:"GmtCreate"`
-	GmtModified int    `json:"GmtModified" xml:"GmtModified"`
+	GmtCreate   int64  `json:"GmtCreate" xml:"GmtCreate"`
+	GmtModified int64  `json:"GmtModified" xml:"GmtModified"`
 }

+ 30 - 38
services/airec/struct_result_item.go

@@ -17,42 +17,34 @@ package airec
 
 // ResultItem is a nested struct in airec response
 type ResultItem struct {
-	Name           string    `json:"Name" xml:"Name"`
-	PerUvBhv       float64   `json:"PerUvBhv" xml:"PerUvBhv"`
-	ChargeType     string    `json:"ChargeType" xml:"ChargeType"`
-	ErrorLevel     string    `json:"ErrorLevel" xml:"ErrorLevel"`
-	ItemType       string    `json:"ItemType" xml:"ItemType"`
-	Uv             int       `json:"Uv" xml:"Uv"`
-	ClickUser      int       `json:"ClickUser" xml:"ClickUser"`
-	BizDate        int       `json:"BizDate" xml:"BizDate"`
-	GmtCreate      string    `json:"GmtCreate" xml:"GmtCreate"`
-	DataSetVersion string    `json:"DataSetVersion" xml:"DataSetVersion"`
-	RegionId       string    `json:"RegionId" xml:"RegionId"`
-	ActiveItem     int       `json:"ActiveItem" xml:"ActiveItem"`
-	UvCtr          float64   `json:"UvCtr" xml:"UvCtr"`
-	InstanceId     string    `json:"InstanceId" xml:"InstanceId"`
-	TraceId        string    `json:"TraceId" xml:"TraceId"`
-	CommodityCode  string    `json:"CommodityCode" xml:"CommodityCode"`
-	MatchInfo      string    `json:"MatchInfo" xml:"MatchInfo"`
-	Type           string    `json:"Type" xml:"Type"`
-	Click          int       `json:"Click" xml:"Click"`
-	Message        string    `json:"Message" xml:"Message"`
-	ExpiredTime    string    `json:"ExpiredTime" xml:"ExpiredTime"`
-	Timestamp      string    `json:"Timestamp" xml:"Timestamp"`
-	Pv             int       `json:"Pv" xml:"Pv"`
-	ErrorType      string    `json:"ErrorType" xml:"ErrorType"`
-	GmtModified    string    `json:"GmtModified" xml:"GmtModified"`
-	Industry       string    `json:"Industry" xml:"Industry"`
-	TableName      string    `json:"TableName" xml:"TableName"`
-	Scene          string    `json:"Scene" xml:"Scene"`
-	TraceInfo      string    `json:"TraceInfo" xml:"TraceInfo"`
-	Ctr            float64   `json:"Ctr" xml:"Ctr"`
-	PerUvClick     float64   `json:"PerUvClick" xml:"PerUvClick"`
-	Position       int       `json:"Position" xml:"Position"`
-	Status         string    `json:"Status" xml:"Status"`
-	ItemId         int       `json:"ItemId" xml:"ItemId"`
-	LockMode       string    `json:"LockMode" xml:"LockMode"`
-	Weight         float64   `json:"Weight" xml:"Weight"`
-	Meta           Meta      `json:"Meta" xml:"Meta"`
-	Parameter      Parameter `json:"Parameter" xml:"Parameter"`
+	Name             string                 `json:"Name" xml:"Name"`
+	ChargeType       string                 `json:"ChargeType" xml:"ChargeType"`
+	ErrorLevel       string                 `json:"ErrorLevel" xml:"ErrorLevel"`
+	ItemType         string                 `json:"ItemType" xml:"ItemType"`
+	GmtCreate        string                 `json:"GmtCreate" xml:"GmtCreate"`
+	DataSetVersion   string                 `json:"DataSetVersion" xml:"DataSetVersion"`
+	RegionId         string                 `json:"RegionId" xml:"RegionId"`
+	TotalProgress    int                    `json:"TotalProgress" xml:"TotalProgress"`
+	InstanceId       string                 `json:"InstanceId" xml:"InstanceId"`
+	TraceId          string                 `json:"TraceId" xml:"TraceId"`
+	CommodityCode    string                 `json:"CommodityCode" xml:"CommodityCode"`
+	MatchInfo        string                 `json:"MatchInfo" xml:"MatchInfo"`
+	Type             string                 `json:"Type" xml:"Type"`
+	Message          string                 `json:"Message" xml:"Message"`
+	ExpiredTime      string                 `json:"ExpiredTime" xml:"ExpiredTime"`
+	Timestamp        string                 `json:"Timestamp" xml:"Timestamp"`
+	ErrorType        string                 `json:"ErrorType" xml:"ErrorType"`
+	GmtModified      string                 `json:"GmtModified" xml:"GmtModified"`
+	Industry         string                 `json:"Industry" xml:"Industry"`
+	TableName        string                 `json:"TableName" xml:"TableName"`
+	ItemId           string                 `json:"ItemId" xml:"ItemId"`
+	Scene            string                 `json:"Scene" xml:"Scene"`
+	TraceInfo        string                 `json:"TraceInfo" xml:"TraceInfo"`
+	Position         int                    `json:"Position" xml:"Position"`
+	Status           string                 `json:"Status" xml:"Status"`
+	LockMode         string                 `json:"LockMode" xml:"LockMode"`
+	Weight           float64                `json:"Weight" xml:"Weight"`
+	Meta             Meta                   `json:"Meta" xml:"Meta"`
+	Parameter        Parameter              `json:"Parameter" xml:"Parameter"`
+	SubProgressInfos []SubProgressInfosItem `json:"SubProgressInfos" xml:"SubProgressInfos"`
 }

+ 2 - 2
services/airec/struct_result_item_in_list_data_set.go

@@ -20,6 +20,6 @@ type ResultItemInListDataSet struct {
 	InstanceId  string `json:"InstanceId" xml:"InstanceId"`
 	VersionId   string `json:"VersionId" xml:"VersionId"`
 	State       string `json:"State" xml:"State"`
-	GmtCreate   int    `json:"GmtCreate" xml:"GmtCreate"`
-	GmtModified int    `json:"GmtModified" xml:"GmtModified"`
+	GmtCreate   int64  `json:"GmtCreate" xml:"GmtCreate"`
+	GmtModified int64  `json:"GmtModified" xml:"GmtModified"`
 }

+ 21 - 0
services/airec/struct_scene_id.go

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

+ 21 - 0
services/airec/struct_sub_progress_infos.go

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

+ 25 - 0
services/airec/struct_sub_progress_infos_item.go

@@ -0,0 +1,25 @@
+package airec
+
+//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.
+
+// SubProgressInfosItem is a nested struct in airec response
+type SubProgressInfosItem struct {
+	Type        string `json:"Type" xml:"Type"`
+	Progress    int    `json:"Progress" xml:"Progress"`
+	Detail      string `json:"Detail" xml:"Detail"`
+	TotalNum    int    `json:"TotalNum" xml:"TotalNum"`
+	FinishedNum int    `json:"FinishedNum" xml:"FinishedNum"`
+}

+ 21 - 0
services/airec/struct_trace_id.go

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

+ 21 - 0
services/airec/struct_uid.go

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