diff --git a/ChangeLog.txt b/ChangeLog.txt index bab85ddd8..dcb149c93 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-09-30 Version: v1.63.23 +- Generated 2018-08-28 for `Tag`. +undefined + 2024-09-29 Version: v1.63.22 - Generated 2021-12-21 for `wss`. undefined diff --git a/services/tag/check_created_by_enabled.go b/services/tag/check_created_by_enabled.go index 0a1775ee2..a17466360 100644 --- a/services/tag/check_created_by_enabled.go +++ b/services/tag/check_created_by_enabled.go @@ -80,8 +80,8 @@ type CheckCreatedByEnabledRequest struct { // CheckCreatedByEnabledResponse is the response struct for api CheckCreatedByEnabled type CheckCreatedByEnabledResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` OpenStatus bool `json:"OpenStatus" xml:"OpenStatus"` + RequestId string `json:"RequestId" xml:"RequestId"` } // CreateCheckCreatedByEnabledRequest creates a request to invoke CheckCreatedByEnabled API diff --git a/services/tag/create_policy.go b/services/tag/create_policy.go index 9bde27e21..19adff818 100644 --- a/services/tag/create_policy.go +++ b/services/tag/create_policy.go @@ -84,8 +84,9 @@ type CreatePolicyRequest struct { // CreatePolicyResponse is the response struct for api CreatePolicy type CreatePolicyResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - PolicyId string `json:"PolicyId" xml:"PolicyId"` + RequestId string `json:"RequestId" xml:"RequestId"` + PolicyId string `json:"PolicyId" xml:"PolicyId"` + PolicyName string `json:"PolicyName" xml:"PolicyName"` } // CreateCreatePolicyRequest creates a request to invoke CreatePolicy API diff --git a/services/tag/disable_policy_type.go b/services/tag/disable_policy_type.go index 70c232b5b..8e474c0ef 100644 --- a/services/tag/disable_policy_type.go +++ b/services/tag/disable_policy_type.go @@ -76,6 +76,7 @@ type DisablePolicyTypeRequest struct { OwnerAccount string `position:"Query" name:"OwnerAccount"` UserType string `position:"Query" name:"UserType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` + OpenType string `position:"Query" name:"OpenType"` } // DisablePolicyTypeResponse is the response struct for api DisablePolicyType diff --git a/services/tag/enable_policy_type.go b/services/tag/enable_policy_type.go index fa56b84fa..19669465b 100644 --- a/services/tag/enable_policy_type.go +++ b/services/tag/enable_policy_type.go @@ -76,6 +76,7 @@ type EnablePolicyTypeRequest struct { OwnerAccount string `position:"Query" name:"OwnerAccount"` UserType string `position:"Query" name:"UserType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` + OpenType string `position:"Query" name:"OpenType"` } // EnablePolicyTypeResponse is the response struct for api EnablePolicyType diff --git a/services/tag/generate_config_rule_report.go b/services/tag/generate_config_rule_report.go index a20db48b1..d373b0bbe 100644 --- a/services/tag/generate_config_rule_report.go +++ b/services/tag/generate_config_rule_report.go @@ -82,8 +82,8 @@ type GenerateConfigRuleReportRequest struct { // GenerateConfigRuleReportResponse is the response struct for api GenerateConfigRuleReport type GenerateConfigRuleReportResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` ReportId string `json:"ReportId" xml:"ReportId"` + RequestId string `json:"RequestId" xml:"RequestId"` } // CreateGenerateConfigRuleReportRequest creates a request to invoke GenerateConfigRuleReport API diff --git a/services/tag/get_config_rule_report.go b/services/tag/get_config_rule_report.go index 84ea7a8c3..3e452b1a4 100644 --- a/services/tag/get_config_rule_report.go +++ b/services/tag/get_config_rule_report.go @@ -82,9 +82,9 @@ type GetConfigRuleReportRequest struct { // GetConfigRuleReportResponse is the response struct for api GetConfigRuleReport type GetConfigRuleReportResponse struct { *responses.BaseResponse + HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` - HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` Data Data `json:"Data" xml:"Data"` } diff --git a/services/tag/get_policy_enable_status.go b/services/tag/get_policy_enable_status.go index bd8827a58..69b74cd05 100644 --- a/services/tag/get_policy_enable_status.go +++ b/services/tag/get_policy_enable_status.go @@ -76,6 +76,7 @@ type GetPolicyEnableStatusRequest struct { OwnerAccount string `position:"Query" name:"OwnerAccount"` UserType string `position:"Query" name:"UserType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` + OpenType string `position:"Query" name:"OpenType"` } // GetPolicyEnableStatusResponse is the response struct for api GetPolicyEnableStatus diff --git a/services/tag/list_config_rules_for_target.go b/services/tag/list_config_rules_for_target.go index a7c8af0a6..d17be0eae 100644 --- a/services/tag/list_config_rules_for_target.go +++ b/services/tag/list_config_rules_for_target.go @@ -86,8 +86,8 @@ type ListConfigRulesForTargetRequest struct { // ListConfigRulesForTargetResponse is the response struct for api ListConfigRulesForTarget type ListConfigRulesForTargetResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` + RequestId string `json:"RequestId" xml:"RequestId"` Data []DataItem `json:"Data" xml:"Data"` } diff --git a/services/tag/list_policies.go b/services/tag/list_policies.go index 56c448523..c98fe3505 100644 --- a/services/tag/list_policies.go +++ b/services/tag/list_policies.go @@ -84,8 +84,8 @@ type ListPoliciesRequest struct { // ListPoliciesResponse is the response struct for api ListPolicies type ListPoliciesResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` + RequestId string `json:"RequestId" xml:"RequestId"` PolicyList []Policy `json:"PolicyList" xml:"PolicyList"` } diff --git a/services/tag/list_policies_for_target.go b/services/tag/list_policies_for_target.go index bab1c619b..db2af8d9f 100644 --- a/services/tag/list_policies_for_target.go +++ b/services/tag/list_policies_for_target.go @@ -83,8 +83,8 @@ type ListPoliciesForTargetRequest struct { // ListPoliciesForTargetResponse is the response struct for api ListPoliciesForTarget type ListPoliciesForTargetResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` + RequestId string `json:"RequestId" xml:"RequestId"` Data []DataItem `json:"Data" xml:"Data"` } diff --git a/services/tag/list_resources_by_tag.go b/services/tag/list_resources_by_tag.go index 8e0e3c67a..d17263f63 100644 --- a/services/tag/list_resources_by_tag.go +++ b/services/tag/list_resources_by_tag.go @@ -86,8 +86,8 @@ type ListResourcesByTagRequest struct { // ListResourcesByTagResponse is the response struct for api ListResourcesByTag type ListResourcesByTagResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` + RequestId string `json:"RequestId" xml:"RequestId"` Resources []TagResource `json:"Resources" xml:"Resources"` } diff --git a/services/tag/list_support_resource_types.go b/services/tag/list_support_resource_types.go index ee1bcb45a..0edda3c71 100644 --- a/services/tag/list_support_resource_types.go +++ b/services/tag/list_support_resource_types.go @@ -85,8 +85,8 @@ type ListSupportResourceTypesRequest struct { // ListSupportResourceTypesResponse is the response struct for api ListSupportResourceTypes type ListSupportResourceTypesResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` + RequestId string `json:"RequestId" xml:"RequestId"` SupportResourceTypes []SupportResourceType `json:"SupportResourceTypes" xml:"SupportResourceTypes"` } diff --git a/services/tag/list_targets_for_policy.go b/services/tag/list_targets_for_policy.go index a6191d371..a751ad2c8 100644 --- a/services/tag/list_targets_for_policy.go +++ b/services/tag/list_targets_for_policy.go @@ -82,10 +82,10 @@ type ListTargetsForPolicyRequest struct { // ListTargetsForPolicyResponse is the response struct for api ListTargetsForPolicy type ListTargetsForPolicyResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` IsRd bool `json:"IsRd" xml:"IsRd"` - RdId string `json:"RdId" xml:"RdId"` NextToken string `json:"NextToken" xml:"NextToken"` + RdId string `json:"RdId" xml:"RdId"` + RequestId string `json:"RequestId" xml:"RequestId"` Targets []Target `json:"Targets" xml:"Targets"` } diff --git a/services/tag/struct_data_item.go b/services/tag/struct_data_item.go index 5125da5a9..d03af629d 100644 --- a/services/tag/struct_data_item.go +++ b/services/tag/struct_data_item.go @@ -17,16 +17,17 @@ package tag // DataItem is a nested struct in tag response type DataItem struct { - UserType string `json:"UserType" xml:"UserType"` - PolicyDesc string `json:"PolicyDesc" xml:"PolicyDesc"` PolicyType string `json:"PolicyType" xml:"PolicyType"` - PolicyId string `json:"PolicyId" xml:"PolicyId"` - TargetId string `json:"TargetId" xml:"TargetId"` Remediation bool `json:"Remediation" xml:"Remediation"` AggregatorId string `json:"AggregatorId" xml:"AggregatorId"` PolicyContent string `json:"PolicyContent" xml:"PolicyContent"` PolicyName string `json:"PolicyName" xml:"PolicyName"` - TagKey string `json:"TagKey" xml:"TagKey"` ConfigRuleId string `json:"ConfigRuleId" xml:"ConfigRuleId"` TargetType string `json:"TargetType" xml:"TargetType"` + UserType string `json:"UserType" xml:"UserType"` + PolicyDesc string `json:"PolicyDesc" xml:"PolicyDesc"` + PolicyId string `json:"PolicyId" xml:"PolicyId"` + TargetId string `json:"TargetId" xml:"TargetId"` + TagValue string `json:"TagValue" xml:"TagValue"` + TagKey string `json:"TagKey" xml:"TagKey"` } diff --git a/services/tag/struct_status_models_item.go b/services/tag/struct_status_models_item.go index a933071ee..9ddd7c7eb 100644 --- a/services/tag/struct_status_models_item.go +++ b/services/tag/struct_status_models_item.go @@ -17,6 +17,6 @@ package tag // StatusModelsItem is a nested struct in tag response type StatusModelsItem struct { - UserType string `json:"UserType" xml:"UserType"` Status string `json:"Status" xml:"Status"` + UserType string `json:"UserType" xml:"UserType"` } diff --git a/services/tag/struct_support_details.go b/services/tag/struct_support_details.go new file mode 100644 index 000000000..6ddf89bf9 --- /dev/null +++ b/services/tag/struct_support_details.go @@ -0,0 +1,21 @@ +package tag + +//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. + +// SupportDetails is a nested struct in tag response +type SupportDetails struct { + SupportDetails []map[string]interface{} `json:"SupportDetails" xml:"SupportDetails"` +} diff --git a/services/tag/struct_support_items_item.go b/services/tag/struct_support_items_item.go index fc025afec..413b3dc2e 100644 --- a/services/tag/struct_support_items_item.go +++ b/services/tag/struct_support_items_item.go @@ -17,6 +17,7 @@ package tag // SupportItemsItem is a nested struct in tag response type SupportItemsItem struct { - SupportCode string `json:"SupportCode" xml:"SupportCode"` - Support bool `json:"Support" xml:"Support"` + Support bool `json:"Support" xml:"Support"` + SupportCode string `json:"SupportCode" xml:"SupportCode"` + SupportDetails []map[string]interface{} `json:"SupportDetails" xml:"SupportDetails"` } diff --git a/services/tag/struct_support_resource_type.go b/services/tag/struct_support_resource_type.go index 40725bdb8..b3e8a823e 100644 --- a/services/tag/struct_support_resource_type.go +++ b/services/tag/struct_support_resource_type.go @@ -17,6 +17,7 @@ package tag // SupportResourceType is a nested struct in tag response type SupportResourceType struct { + ArnTemplate string `json:"ArnTemplate" xml:"ArnTemplate"` ProductCode string `json:"ProductCode" xml:"ProductCode"` ResourceType string `json:"ResourceType" xml:"ResourceType"` SupportItems []SupportItemsItem `json:"SupportItems" xml:"SupportItems"` diff --git a/services/tag/struct_tag.go b/services/tag/struct_tag.go index 29d1c78b9..a26a86940 100644 --- a/services/tag/struct_tag.go +++ b/services/tag/struct_tag.go @@ -17,7 +17,7 @@ package tag // Tag is a nested struct in tag response type Tag struct { - Key string `json:"Key" xml:"Key"` Category string `json:"Category" xml:"Category"` + Key string `json:"Key" xml:"Key"` Value string `json:"Value" xml:"Value"` }