From 1baa5df694b6f92facba57b5c9b35919d3780fd5 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 11 Dec 2024 03:20:07 +0000 Subject: [PATCH] Generated 2020-06-16 for Alb. --- ChangeLog.txt | 4 ++++ services/alb/create_rules.go | 2 +- services/alb/create_server_group.go | 1 + services/alb/struct_server_group.go | 1 + services/alb/update_rules_attribute.go | 2 +- services/alb/update_server_group_attribute.go | 1 + 6 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 4569d66b36..49a4a87b5c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-12-11 Version: v1.63.66 +- Generated 2020-06-16 for `Alb`. +- Support fromData for UpdateRulesAttribute and Createrules + 2024-12-06 Version: v1.63.65 - Generated 2016-11-01 for `live`. undefined diff --git a/services/alb/create_rules.go b/services/alb/create_rules.go index df337c0988..a33a4542ec 100644 --- a/services/alb/create_rules.go +++ b/services/alb/create_rules.go @@ -72,7 +72,7 @@ func (client *Client) CreateRulesWithCallback(request *CreateRulesRequest, callb type CreateRulesRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` - Rules *[]CreateRulesRules `position:"Query" name:"Rules" type:"Repeated"` + Rules *[]CreateRulesRules `position:"Body" name:"Rules" type:"Repeated"` ListenerId string `position:"Query" name:"ListenerId"` DryRun requests.Boolean `position:"Query" name:"DryRun"` } diff --git a/services/alb/create_server_group.go b/services/alb/create_server_group.go index 271fbd52ff..48b9b58177 100644 --- a/services/alb/create_server_group.go +++ b/services/alb/create_server_group.go @@ -71,6 +71,7 @@ func (client *Client) CreateServerGroupWithCallback(request *CreateServerGroupRe // CreateServerGroupRequest is the request struct for api CreateServerGroup type CreateServerGroupRequest struct { *requests.RpcRequest + CrossZoneEnabled requests.Boolean `position:"Query" name:"CrossZoneEnabled"` ServerGroupName string `position:"Query" name:"ServerGroupName"` ClientToken string `position:"Query" name:"ClientToken"` HealthCheckConfig CreateServerGroupHealthCheckConfig `position:"Query" name:"HealthCheckConfig" type:"Struct"` diff --git a/services/alb/struct_server_group.go b/services/alb/struct_server_group.go index c30d227099..694ba87946 100644 --- a/services/alb/struct_server_group.go +++ b/services/alb/struct_server_group.go @@ -33,6 +33,7 @@ type ServerGroup struct { ServerCount int `json:"ServerCount" xml:"ServerCount"` ServiceName string `json:"ServiceName" xml:"ServiceName"` CreateTime string `json:"CreateTime" xml:"CreateTime"` + CrossZoneEnabled bool `json:"CrossZoneEnabled" xml:"CrossZoneEnabled"` RelatedLoadBalancerIds []string `json:"RelatedLoadBalancerIds" xml:"RelatedLoadBalancerIds"` RelatedListenerIds []string `json:"RelatedListenerIds" xml:"RelatedListenerIds"` RelatedRuleIds []string `json:"RelatedRuleIds" xml:"RelatedRuleIds"` diff --git a/services/alb/update_rules_attribute.go b/services/alb/update_rules_attribute.go index a35c1482fe..6b5d520fda 100644 --- a/services/alb/update_rules_attribute.go +++ b/services/alb/update_rules_attribute.go @@ -72,7 +72,7 @@ func (client *Client) UpdateRulesAttributeWithCallback(request *UpdateRulesAttri type UpdateRulesAttributeRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` - Rules *[]UpdateRulesAttributeRules `position:"Query" name:"Rules" type:"Repeated"` + Rules *[]UpdateRulesAttributeRules `position:"Body" name:"Rules" type:"Repeated"` DryRun requests.Boolean `position:"Query" name:"DryRun"` } diff --git a/services/alb/update_server_group_attribute.go b/services/alb/update_server_group_attribute.go index bef2513497..08fcb09bbf 100644 --- a/services/alb/update_server_group_attribute.go +++ b/services/alb/update_server_group_attribute.go @@ -71,6 +71,7 @@ func (client *Client) UpdateServerGroupAttributeWithCallback(request *UpdateServ // UpdateServerGroupAttributeRequest is the request struct for api UpdateServerGroupAttribute type UpdateServerGroupAttributeRequest struct { *requests.RpcRequest + CrossZoneEnabled requests.Boolean `position:"Query" name:"CrossZoneEnabled"` ServerGroupName string `position:"Query" name:"ServerGroupName"` ClientToken string `position:"Query" name:"ClientToken"` HealthCheckConfig UpdateServerGroupAttributeHealthCheckConfig `position:"Query" name:"HealthCheckConfig" type:"Struct"`