Skip to content

Commit 67900f1

Browse files
Make accountIds a required field in GetRemainingFreeTrialDays API to reflect service behavior.
1 parent 36d19ba commit 67900f1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

generator/ServiceModels/guardduty/guardduty-2017-11-28.api.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5134,7 +5134,10 @@
51345134
},
51355135
"GetRemainingFreeTrialDaysRequest":{
51365136
"type":"structure",
5137-
"required":["DetectorId"],
5137+
"required":[
5138+
"AccountIds",
5139+
"DetectorId"
5140+
],
51385141
"members":{
51395142
"DetectorId":{
51405143
"shape":"DetectorId",

generator/ServiceModels/guardduty/guardduty-2017-11-28.normal.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5839,7 +5839,10 @@
58395839
},
58405840
"GetRemainingFreeTrialDaysRequest":{
58415841
"type":"structure",
5842-
"required":["DetectorId"],
5842+
"required":[
5843+
"AccountIds",
5844+
"DetectorId"
5845+
],
58435846
"members":{
58445847
"DetectorId":{
58455848
"shape":"DetectorId",

sdk/src/Services/GuardDuty/Generated/Model/GetRemainingFreeTrialDaysRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public partial class GetRemainingFreeTrialDaysRequest : AmazonGuardDutyRequest
4949
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
5050
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
5151
/// </summary>
52-
[AWSProperty(Min=1, Max=50)]
52+
[AWSProperty(Required=true, Min=1, Max=50)]
5353
public List<string> AccountIds
5454
{
5555
get { return this._accountIds; }

0 commit comments

Comments
 (0)