Skip to content

Commit 9ea18ff

Browse files
author
AWS
committed
Amazon GuardDuty Update: Add AccessDeniedException 403 Error message code to support 3 Tagging related APIs
1 parent 58278f6 commit 9ea18ff

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
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 AccessDeniedException 403 Error message code to support 3 Tagging related APIs"
6+
}

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@
794794
"output":{"shape":"ListTagsForResourceResponse"},
795795
"errors":[
796796
{"shape":"BadRequestException"},
797+
{"shape":"AccessDeniedException"},
797798
{"shape":"InternalServerErrorException"}
798799
],
799800
"documentation":"<p>Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and threat intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.</p>"
@@ -870,6 +871,7 @@
870871
"output":{"shape":"TagResourceResponse"},
871872
"errors":[
872873
{"shape":"BadRequestException"},
874+
{"shape":"AccessDeniedException"},
873875
{"shape":"InternalServerErrorException"}
874876
],
875877
"documentation":"<p>Adds tags to a resource.</p>"
@@ -900,6 +902,7 @@
900902
"output":{"shape":"UntagResourceResponse"},
901903
"errors":[
902904
{"shape":"BadRequestException"},
905+
{"shape":"AccessDeniedException"},
903906
{"shape":"InternalServerErrorException"}
904907
],
905908
"documentation":"<p>Removes tags from a resource.</p>"
@@ -1123,6 +1126,24 @@
11231126
},
11241127
"documentation":"<p>Contains information on the current access control policies for the bucket.</p>"
11251128
},
1129+
"AccessDeniedException":{
1130+
"type":"structure",
1131+
"members":{
1132+
"Message":{
1133+
"shape":"String",
1134+
"documentation":"<p>The error message.</p>",
1135+
"locationName":"message"
1136+
},
1137+
"Type":{
1138+
"shape":"String",
1139+
"documentation":"<p>The error type.</p>",
1140+
"locationName":"__type"
1141+
}
1142+
},
1143+
"documentation":"<p>An access denied exception object.</p>",
1144+
"error":{"httpStatusCode":403},
1145+
"exception":true
1146+
},
11261147
"AccessKeyDetails":{
11271148
"type":"structure",
11281149
"members":{

0 commit comments

Comments
 (0)