Skip to content

Commit 53e59c6

Browse files
author
awstools
committed
feat(client-guardduty): Make accountIds a required field in GetRemainingFreeTrialDays API to reflect service behavior.
1 parent 4c6ad40 commit 53e59c6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

clients/client-guardduty/src/commands/GetRemainingFreeTrialDaysCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface GetRemainingFreeTrialDaysCommandOutput extends GetRemainingFree
3939
* const client = new GuardDutyClient(config);
4040
* const input = { // GetRemainingFreeTrialDaysRequest
4141
* DetectorId: "STRING_VALUE", // required
42-
* AccountIds: [ // AccountIds
42+
* AccountIds: [ // AccountIds // required
4343
* "STRING_VALUE",
4444
* ],
4545
* };

clients/client-guardduty/src/models/models_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export interface GetRemainingFreeTrialDaysRequest {
379379
* <p>A list of account identifiers of the GuardDuty member account.</p>
380380
* @public
381381
*/
382-
AccountIds?: string[] | undefined;
382+
AccountIds: string[] | undefined;
383383
}
384384

385385
/**

codegen/sdk-codegen/aws-models/guardduty.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8195,8 +8195,10 @@
81958195
"AccountIds": {
81968196
"target": "com.amazonaws.guardduty#AccountIds",
81978197
"traits": {
8198+
"smithy.api#clientOptional": {},
81988199
"smithy.api#documentation": "<p>A list of account identifiers of the GuardDuty member account.</p>",
8199-
"smithy.api#jsonName": "accountIds"
8200+
"smithy.api#jsonName": "accountIds",
8201+
"smithy.api#required": {}
82008202
}
82018203
}
82028204
},

0 commit comments

Comments
 (0)