From 1d26ea8f21d7778ad64134f6c53b54fcede380ee Mon Sep 17 00:00:00 2001 From: huyujie Date: Mon, 13 Apr 2020 17:00:44 +0800 Subject: [PATCH] upgrade-DescribeNotificationLists --- service/notification.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/service/notification.go b/service/notification.go index 63e1aaf..2b644c8 100644 --- a/service/notification.go +++ b/service/notification.go @@ -76,7 +76,7 @@ type DescribeNotificationListsInput struct { Limit *int `json:"limit" name:"limit" default:"10" location:"params"` NotificationLists []*string `json:"notification_lists" name:"notification_lists" location:"params"` // Required Offset *int `json:"offset" name:"offset" default:"0" location:"params"` - Owner *string `json:"owner" name:"owner" location:"params"` // Required + Owner *string `json:"owner" name:"owner" location:"params"` } func (v *DescribeNotificationListsInput) Validate() error { @@ -88,13 +88,6 @@ func (v *DescribeNotificationListsInput) Validate() error { } } - if v.Owner == nil { - return errors.ParameterRequiredError{ - ParameterName: "Owner", - ParentName: "DescribeNotificationListsInput", - } - } - return nil }