Skip to content

Commit 5fafe11

Browse files
author
AWS
committed
Amazon GuardDuty Update: Add expectedBucketOwner parameter to ThreatIntel and IPSet APIs.
1 parent 1a6329b commit 5fafe11

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon GuardDuty",
4+
"contributor": "",
5+
"description": "Add expectedBucketOwner parameter to ThreatIntel and IPSet APIs."
6+
}

services/guardduty/src/main/resources/codegen-resources/service-2.json

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@
102102
"output":{"shape":"CreateIPSetResponse"},
103103
"errors":[
104104
{"shape":"BadRequestException"},
105-
{"shape":"InternalServerErrorException"}
105+
{"shape":"InternalServerErrorException"},
106+
{"shape":"AccessDeniedException"}
106107
],
107108
"documentation":"<p>Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.</p>"
108109
},
@@ -179,7 +180,8 @@
179180
"output":{"shape":"CreateThreatIntelSetResponse"},
180181
"errors":[
181182
{"shape":"BadRequestException"},
182-
{"shape":"InternalServerErrorException"}
183+
{"shape":"InternalServerErrorException"},
184+
{"shape":"AccessDeniedException"}
183185
],
184186
"documentation":"<p>Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator account can use this operation.</p>"
185187
},
@@ -1045,7 +1047,8 @@
10451047
"output":{"shape":"UpdateIPSetResponse"},
10461048
"errors":[
10471049
{"shape":"BadRequestException"},
1048-
{"shape":"InternalServerErrorException"}
1050+
{"shape":"InternalServerErrorException"},
1051+
{"shape":"AccessDeniedException"}
10491052
],
10501053
"documentation":"<p>Updates the IPSet specified by the IPSet ID.</p>"
10511054
},
@@ -1136,7 +1139,8 @@
11361139
"output":{"shape":"UpdateThreatIntelSetResponse"},
11371140
"errors":[
11381141
{"shape":"BadRequestException"},
1139-
{"shape":"InternalServerErrorException"}
1142+
{"shape":"InternalServerErrorException"},
1143+
{"shape":"AccessDeniedException"}
11401144
],
11411145
"documentation":"<p>Updates the ThreatIntelSet specified by the ThreatIntelSet ID.</p>"
11421146
}
@@ -2566,6 +2570,11 @@
25662570
"shape":"TagMap",
25672571
"documentation":"<p>The tags to be added to a new IP set resource.</p>",
25682572
"locationName":"tags"
2573+
},
2574+
"ExpectedBucketOwner":{
2575+
"shape":"AccountId",
2576+
"documentation":"<p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>",
2577+
"locationName":"expectedBucketOwner"
25692578
}
25702579
}
25712580
},
@@ -2793,6 +2802,11 @@
27932802
"shape":"TagMap",
27942803
"documentation":"<p>The tags to be added to a new threat list resource.</p>",
27952804
"locationName":"tags"
2805+
},
2806+
"ExpectedBucketOwner":{
2807+
"shape":"AccountId",
2808+
"documentation":"<p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>",
2809+
"locationName":"expectedBucketOwner"
27962810
}
27972811
}
27982812
},
@@ -4864,6 +4878,11 @@
48644878
"shape":"TagMap",
48654879
"documentation":"<p>The tags of the IPSet resource.</p>",
48664880
"locationName":"tags"
4881+
},
4882+
"ExpectedBucketOwner":{
4883+
"shape":"AccountId",
4884+
"documentation":"<p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter. This field appears in the response only if it was provided during IPSet creation or update.</p>",
4885+
"locationName":"expectedBucketOwner"
48674886
}
48684887
}
48694888
},
@@ -5166,6 +5185,11 @@
51665185
"shape":"TagMap",
51675186
"documentation":"<p>The tags of the threat list resource.</p>",
51685187
"locationName":"tags"
5188+
},
5189+
"ExpectedBucketOwner":{
5190+
"shape":"AccountId",
5191+
"documentation":"<p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter. This field appears in the response only if it was provided during ThreatIntelSet creation or update.</p>",
5192+
"locationName":"expectedBucketOwner"
51695193
}
51705194
}
51715195
},
@@ -9928,6 +9952,11 @@
99289952
"shape":"Boolean",
99299953
"documentation":"<p>The updated Boolean value that specifies whether the IPSet is active or not.</p>",
99309954
"locationName":"activate"
9955+
},
9956+
"ExpectedBucketOwner":{
9957+
"shape":"AccountId",
9958+
"documentation":"<p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>",
9959+
"locationName":"expectedBucketOwner"
99319960
}
99329961
}
99339962
},
@@ -10156,6 +10185,11 @@
1015610185
"shape":"Boolean",
1015710186
"documentation":"<p>The updated Boolean value that specifies whether the ThreateIntelSet is active or not.</p>",
1015810187
"locationName":"activate"
10188+
},
10189+
"ExpectedBucketOwner":{
10190+
"shape":"AccountId",
10191+
"documentation":"<p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>",
10192+
"locationName":"expectedBucketOwner"
1015910193
}
1016010194
}
1016110195
},

0 commit comments

Comments
 (0)