diff --git a/ChangeLog.txt b/ChangeLog.txt index 49fa9657d8..fe71ae2aad 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2023-11-27 Version: v1.62.618 +- Generated 2017-11-10 for `Ens`. +- Support AIC Instance. + 2023-11-23 Version: v1.62.617 - Generated 2020-06-15 for `hitsdb`. undefined diff --git a/services/ens/create_disk.go b/services/ens/create_disk.go index 9c3ccda33e..4c7310b8ab 100644 --- a/services/ens/create_disk.go +++ b/services/ens/create_disk.go @@ -71,6 +71,7 @@ func (client *Client) CreateDiskWithCallback(request *CreateDiskRequest, callbac // CreateDiskRequest is the request struct for api CreateDisk type CreateDiskRequest struct { *requests.RpcRequest + DiskName string `position:"Query" name:"DiskName"` EnsRegionId string `position:"Query" name:"EnsRegionId"` Size string `position:"Query" name:"Size"` SnapshotId string `position:"Query" name:"SnapshotId"` diff --git a/services/ens/deploy_sdg.go b/services/ens/deploy_sdg.go index 9dfb751e26..fed897cf41 100644 --- a/services/ens/deploy_sdg.go +++ b/services/ens/deploy_sdg.go @@ -71,8 +71,9 @@ func (client *Client) DeploySDGWithCallback(request *DeploySDGRequest, callback // DeploySDGRequest is the request struct for api DeploySDG type DeploySDGRequest struct { *requests.RpcRequest - SDGId string `position:"Query" name:"SDGId"` - InstanceIds *[]string `position:"Query" name:"InstanceIds" type:"Json"` + DeploymentType string `position:"Query" name:"DeploymentType"` + SDGId string `position:"Query" name:"SDGId"` + InstanceIds *[]string `position:"Query" name:"InstanceIds" type:"Json"` } // DeploySDGResponse is the response struct for api DeploySDG diff --git a/services/ens/struct_data.go b/services/ens/struct_data.go index 6dcd328b31..7959c356f9 100644 --- a/services/ens/struct_data.go +++ b/services/ens/struct_data.go @@ -17,10 +17,10 @@ package ens // Data is a nested struct in ens response type Data struct { - Message string `json:"Message" xml:"Message"` - Success bool `json:"Success" xml:"Success"` - ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` - Url string `json:"Url" xml:"Url"` - Result Result `json:"Result" xml:"Result"` - ServerList []ServerListItem `json:"ServerList" xml:"ServerList"` + Message string `json:"Message" xml:"Message"` + Success bool `json:"Success" xml:"Success"` + ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` + Url string `json:"Url" xml:"Url"` + Result ResultInDeploySDG `json:"Result" xml:"Result"` + ServerList []ServerListItem `json:"ServerList" xml:"ServerList"` } diff --git a/services/ens/struct_failed_item.go b/services/ens/struct_failed_item.go new file mode 100644 index 0000000000..08e711cb5b --- /dev/null +++ b/services/ens/struct_failed_item.go @@ -0,0 +1,22 @@ +package ens + +//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. + +// FailedItem is a nested struct in ens response +type FailedItem struct { + ErrMessage string `json:"ErrMessage" xml:"ErrMessage"` + InstanceId string `json:"InstanceId" xml:"InstanceId"` +} diff --git a/services/ens/struct_failed_items_in_deploy_sdg.go b/services/ens/struct_failed_items_in_deploy_sdg.go index d6663191b1..2b0dc20485 100644 --- a/services/ens/struct_failed_items_in_deploy_sdg.go +++ b/services/ens/struct_failed_items_in_deploy_sdg.go @@ -17,5 +17,5 @@ package ens // FailedItemsInDeploySDG is a nested struct in ens response type FailedItemsInDeploySDG struct { - FailedItemsItem []FailedItemsItem `json:"FailedItems" xml:"FailedItems"` + FailedItem []FailedItem `json:"FailedItem" xml:"FailedItem"` } diff --git a/services/ens/struct_failed_items_item.go b/services/ens/struct_failed_items_item.go index 19468f3a61..cee031dc8e 100644 --- a/services/ens/struct_failed_items_item.go +++ b/services/ens/struct_failed_items_item.go @@ -17,8 +17,6 @@ package ens // FailedItemsItem is a nested struct in ens response type FailedItemsItem struct { - DestinationRegionId string `json:"DestinationRegionId" xml:"DestinationRegionId"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` - InstanceId string `json:"InstanceId" xml:"InstanceId"` - ErrMessage string `json:"ErrMessage" xml:"ErrMessage"` + DestinationRegionId string `json:"DestinationRegionId" xml:"DestinationRegionId"` } diff --git a/services/ens/struct_result_in_deploy_sdg.go b/services/ens/struct_result_in_deploy_sdg.go new file mode 100644 index 0000000000..cb1d021d7c --- /dev/null +++ b/services/ens/struct_result_in_deploy_sdg.go @@ -0,0 +1,23 @@ +package ens + +//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. + +// ResultInDeploySDG is a nested struct in ens response +type ResultInDeploySDG struct { + FailedCount int64 `json:"FailedCount" xml:"FailedCount"` + SuccessCount int64 `json:"SuccessCount" xml:"SuccessCount"` + FailedItems []FailedItem `json:"FailedItems" xml:"FailedItems"` +}