diff --git a/ChangeLog.txt b/ChangeLog.txt index 36072b0649..8153e01897 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-12-02 Version: v1.63.61 +- Generated 2023-06-21 for `PaiFeatureStore`. +- Add LabelPriorityLevel in UpdateModelFeature API. + 2024-11-28 Version: v1.63.60 - Generated 2017-03-21 for `vod`. - SubmitTranscodeJobs Add SessionId. diff --git a/services/paifeaturestore/create_model_feature_training_set_fg_table.go b/services/paifeaturestore/create_model_feature_training_set_fg_table.go deleted file mode 100644 index 8f187ff786..0000000000 --- a/services/paifeaturestore/create_model_feature_training_set_fg_table.go +++ /dev/null @@ -1,101 +0,0 @@ -package paifeaturestore - -//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" -) - -// CreateModelFeatureTrainingSetFGTable invokes the paifeaturestore.CreateModelFeatureTrainingSetFGTable API synchronously -func (client *Client) CreateModelFeatureTrainingSetFGTable(request *CreateModelFeatureTrainingSetFGTableRequest) (response *CreateModelFeatureTrainingSetFGTableResponse, err error) { - response = CreateCreateModelFeatureTrainingSetFGTableResponse() - err = client.DoAction(request, response) - return -} - -// CreateModelFeatureTrainingSetFGTableWithChan invokes the paifeaturestore.CreateModelFeatureTrainingSetFGTable API asynchronously -func (client *Client) CreateModelFeatureTrainingSetFGTableWithChan(request *CreateModelFeatureTrainingSetFGTableRequest) (<-chan *CreateModelFeatureTrainingSetFGTableResponse, <-chan error) { - responseChan := make(chan *CreateModelFeatureTrainingSetFGTableResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.CreateModelFeatureTrainingSetFGTable(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// CreateModelFeatureTrainingSetFGTableWithCallback invokes the paifeaturestore.CreateModelFeatureTrainingSetFGTable API asynchronously -func (client *Client) CreateModelFeatureTrainingSetFGTableWithCallback(request *CreateModelFeatureTrainingSetFGTableRequest, callback func(response *CreateModelFeatureTrainingSetFGTableResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *CreateModelFeatureTrainingSetFGTableResponse - var err error - defer close(result) - response, err = client.CreateModelFeatureTrainingSetFGTable(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// CreateModelFeatureTrainingSetFGTableRequest is the request struct for api CreateModelFeatureTrainingSetFGTable -type CreateModelFeatureTrainingSetFGTableRequest struct { - *requests.RoaRequest - ModelFeatureId string `position:"Path" name:"ModelFeatureId"` - InstanceId string `position:"Path" name:"InstanceId"` -} - -// CreateModelFeatureTrainingSetFGTableResponse is the response struct for api CreateModelFeatureTrainingSetFGTable -type CreateModelFeatureTrainingSetFGTableResponse struct { - *responses.BaseResponse - RequestId string `json:"requestId" xml:"requestId"` - TrainingSetFGTableName string `json:"TrainingSetFGTableName" xml:"TrainingSetFGTableName"` -} - -// CreateCreateModelFeatureTrainingSetFGTableRequest creates a request to invoke CreateModelFeatureTrainingSetFGTable API -func CreateCreateModelFeatureTrainingSetFGTableRequest() (request *CreateModelFeatureTrainingSetFGTableRequest) { - request = &CreateModelFeatureTrainingSetFGTableRequest{ - RoaRequest: &requests.RoaRequest{}, - } - request.InitWithApiInfo("PaiFeatureStore", "2023-06-21", "CreateModelFeatureTrainingSetFGTable", "/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/trainingsetfgtable", "", "") - request.Method = requests.POST - return -} - -// CreateCreateModelFeatureTrainingSetFGTableResponse creates a response to parse from CreateModelFeatureTrainingSetFGTable response -func CreateCreateModelFeatureTrainingSetFGTableResponse() (response *CreateModelFeatureTrainingSetFGTableResponse) { - response = &CreateModelFeatureTrainingSetFGTableResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/paifeaturestore/export_model_feature_training_set_fg_table.go b/services/paifeaturestore/export_model_feature_training_set_fg_table.go deleted file mode 100644 index 9bd085ae02..0000000000 --- a/services/paifeaturestore/export_model_feature_training_set_fg_table.go +++ /dev/null @@ -1,102 +0,0 @@ -package paifeaturestore - -//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" -) - -// ExportModelFeatureTrainingSetFGTable invokes the paifeaturestore.ExportModelFeatureTrainingSetFGTable API synchronously -func (client *Client) ExportModelFeatureTrainingSetFGTable(request *ExportModelFeatureTrainingSetFGTableRequest) (response *ExportModelFeatureTrainingSetFGTableResponse, err error) { - response = CreateExportModelFeatureTrainingSetFGTableResponse() - err = client.DoAction(request, response) - return -} - -// ExportModelFeatureTrainingSetFGTableWithChan invokes the paifeaturestore.ExportModelFeatureTrainingSetFGTable API asynchronously -func (client *Client) ExportModelFeatureTrainingSetFGTableWithChan(request *ExportModelFeatureTrainingSetFGTableRequest) (<-chan *ExportModelFeatureTrainingSetFGTableResponse, <-chan error) { - responseChan := make(chan *ExportModelFeatureTrainingSetFGTableResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.ExportModelFeatureTrainingSetFGTable(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// ExportModelFeatureTrainingSetFGTableWithCallback invokes the paifeaturestore.ExportModelFeatureTrainingSetFGTable API asynchronously -func (client *Client) ExportModelFeatureTrainingSetFGTableWithCallback(request *ExportModelFeatureTrainingSetFGTableRequest, callback func(response *ExportModelFeatureTrainingSetFGTableResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *ExportModelFeatureTrainingSetFGTableResponse - var err error - defer close(result) - response, err = client.ExportModelFeatureTrainingSetFGTable(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// ExportModelFeatureTrainingSetFGTableRequest is the request struct for api ExportModelFeatureTrainingSetFGTable -type ExportModelFeatureTrainingSetFGTableRequest struct { - *requests.RoaRequest - ModelFeatureId string `position:"Path" name:"ModelFeatureId"` - Body string `position:"Body" name:"body"` - InstanceId string `position:"Path" name:"InstanceId"` -} - -// ExportModelFeatureTrainingSetFGTableResponse is the response struct for api ExportModelFeatureTrainingSetFGTable -type ExportModelFeatureTrainingSetFGTableResponse struct { - *responses.BaseResponse - RequestId string `json:"requestId" xml:"requestId"` - TaskId string `json:"TaskId" xml:"TaskId"` -} - -// CreateExportModelFeatureTrainingSetFGTableRequest creates a request to invoke ExportModelFeatureTrainingSetFGTable API -func CreateExportModelFeatureTrainingSetFGTableRequest() (request *ExportModelFeatureTrainingSetFGTableRequest) { - request = &ExportModelFeatureTrainingSetFGTableRequest{ - RoaRequest: &requests.RoaRequest{}, - } - request.InitWithApiInfo("PaiFeatureStore", "2023-06-21", "ExportModelFeatureTrainingSetFGTable", "/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/action/exporttrainingsetfgtable", "", "") - request.Method = requests.POST - return -} - -// CreateExportModelFeatureTrainingSetFGTableResponse creates a response to parse from ExportModelFeatureTrainingSetFGTable response -func CreateExportModelFeatureTrainingSetFGTableResponse() (response *ExportModelFeatureTrainingSetFGTableResponse) { - response = &ExportModelFeatureTrainingSetFGTableResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/paifeaturestore/get_instance.go b/services/paifeaturestore/get_instance.go index 0d31caa5e0..eddbf52c25 100644 --- a/services/paifeaturestore/get_instance.go +++ b/services/paifeaturestore/get_instance.go @@ -77,14 +77,15 @@ type GetInstanceRequest struct { // GetInstanceResponse is the response struct for api GetInstance type GetInstanceResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - Status string `json:"Status" xml:"Status"` - RegionId string `json:"RegionId" xml:"RegionId"` - GmtCreateTime string `json:"GmtCreateTime" xml:"GmtCreateTime"` - GmtModifiedTime string `json:"GmtModifiedTime" xml:"GmtModifiedTime"` - Progress string `json:"Progress" xml:"Progress"` - Message string `json:"Message" xml:"Message"` - Type string `json:"Type" xml:"Type"` + RequestId string `json:"RequestId" xml:"RequestId"` + Status string `json:"Status" xml:"Status"` + RegionId string `json:"RegionId" xml:"RegionId"` + GmtCreateTime string `json:"GmtCreateTime" xml:"GmtCreateTime"` + GmtModifiedTime string `json:"GmtModifiedTime" xml:"GmtModifiedTime"` + Progress string `json:"Progress" xml:"Progress"` + Message string `json:"Message" xml:"Message"` + Type string `json:"Type" xml:"Type"` + FeatureDBInstanceInfo FeatureDBInstanceInfo `json:"FeatureDBInstanceInfo" xml:"FeatureDBInstanceInfo"` } // CreateGetInstanceRequest creates a request to invoke GetInstance API diff --git a/services/paifeaturestore/struct_feature_db_instance_info.go b/services/paifeaturestore/struct_feature_db_instance_info.go new file mode 100644 index 0000000000..27e203ba4c --- /dev/null +++ b/services/paifeaturestore/struct_feature_db_instance_info.go @@ -0,0 +1,21 @@ +package paifeaturestore + +//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. + +// FeatureDBInstanceInfo is a nested struct in paifeaturestore response +type FeatureDBInstanceInfo struct { + Status string `json:"Status" xml:"Status"` +} diff --git a/services/paifeaturestore/struct_instances_item.go b/services/paifeaturestore/struct_instances_item.go index c448591817..6d36ebe683 100644 --- a/services/paifeaturestore/struct_instances_item.go +++ b/services/paifeaturestore/struct_instances_item.go @@ -17,10 +17,11 @@ package paifeaturestore // InstancesItem is a nested struct in paifeaturestore response type InstancesItem struct { - InstanceId string `json:"InstanceId" xml:"InstanceId"` - Type string `json:"Type" xml:"Type"` - Status string `json:"Status" xml:"Status"` - RegionId string `json:"RegionId" xml:"RegionId"` - GmtCreateTime string `json:"GmtCreateTime" xml:"GmtCreateTime"` - GmtModifiedTime string `json:"GmtModifiedTime" xml:"GmtModifiedTime"` + InstanceId string `json:"InstanceId" xml:"InstanceId"` + Type string `json:"Type" xml:"Type"` + Status string `json:"Status" xml:"Status"` + RegionId string `json:"RegionId" xml:"RegionId"` + GmtCreateTime string `json:"GmtCreateTime" xml:"GmtCreateTime"` + GmtModifiedTime string `json:"GmtModifiedTime" xml:"GmtModifiedTime"` + FeatureDBInstanceInfo FeatureDBInstanceInfo `json:"FeatureDBInstanceInfo" xml:"FeatureDBInstanceInfo"` } diff --git a/services/paifeaturestore/update_model_feature_fg_info.go b/services/paifeaturestore/update_model_feature_fg_info.go deleted file mode 100644 index be2ebe64fe..0000000000 --- a/services/paifeaturestore/update_model_feature_fg_info.go +++ /dev/null @@ -1,101 +0,0 @@ -package paifeaturestore - -//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" -) - -// UpdateModelFeatureFGInfo invokes the paifeaturestore.UpdateModelFeatureFGInfo API synchronously -func (client *Client) UpdateModelFeatureFGInfo(request *UpdateModelFeatureFGInfoRequest) (response *UpdateModelFeatureFGInfoResponse, err error) { - response = CreateUpdateModelFeatureFGInfoResponse() - err = client.DoAction(request, response) - return -} - -// UpdateModelFeatureFGInfoWithChan invokes the paifeaturestore.UpdateModelFeatureFGInfo API asynchronously -func (client *Client) UpdateModelFeatureFGInfoWithChan(request *UpdateModelFeatureFGInfoRequest) (<-chan *UpdateModelFeatureFGInfoResponse, <-chan error) { - responseChan := make(chan *UpdateModelFeatureFGInfoResponse, 1) - errChan := make(chan error, 1) - err := client.AddAsyncTask(func() { - defer close(responseChan) - defer close(errChan) - response, err := client.UpdateModelFeatureFGInfo(request) - if err != nil { - errChan <- err - } else { - responseChan <- response - } - }) - if err != nil { - errChan <- err - close(responseChan) - close(errChan) - } - return responseChan, errChan -} - -// UpdateModelFeatureFGInfoWithCallback invokes the paifeaturestore.UpdateModelFeatureFGInfo API asynchronously -func (client *Client) UpdateModelFeatureFGInfoWithCallback(request *UpdateModelFeatureFGInfoRequest, callback func(response *UpdateModelFeatureFGInfoResponse, err error)) <-chan int { - result := make(chan int, 1) - err := client.AddAsyncTask(func() { - var response *UpdateModelFeatureFGInfoResponse - var err error - defer close(result) - response, err = client.UpdateModelFeatureFGInfo(request) - callback(response, err) - result <- 1 - }) - if err != nil { - defer close(result) - callback(nil, err) - result <- 0 - } - return result -} - -// UpdateModelFeatureFGInfoRequest is the request struct for api UpdateModelFeatureFGInfo -type UpdateModelFeatureFGInfoRequest struct { - *requests.RoaRequest - ModelFeatureId string `position:"Path" name:"ModelFeatureId"` - Body string `position:"Body" name:"body"` - InstanceId string `position:"Path" name:"InstanceId"` -} - -// UpdateModelFeatureFGInfoResponse is the response struct for api UpdateModelFeatureFGInfo -type UpdateModelFeatureFGInfoResponse struct { - *responses.BaseResponse - RequestId string `json:"requestId" xml:"requestId"` -} - -// CreateUpdateModelFeatureFGInfoRequest creates a request to invoke UpdateModelFeatureFGInfo API -func CreateUpdateModelFeatureFGInfoRequest() (request *UpdateModelFeatureFGInfoRequest) { - request = &UpdateModelFeatureFGInfoRequest{ - RoaRequest: &requests.RoaRequest{}, - } - request.InitWithApiInfo("PaiFeatureStore", "2023-06-21", "UpdateModelFeatureFGInfo", "/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/fginfo", "", "") - request.Method = requests.PUT - return -} - -// CreateUpdateModelFeatureFGInfoResponse creates a response to parse from UpdateModelFeatureFGInfo response -func CreateUpdateModelFeatureFGInfoResponse() (response *UpdateModelFeatureFGInfoResponse) { - response = &UpdateModelFeatureFGInfoResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -}