Skip to content

Commit 0a345e8

Browse files
author
AWS
committed
AWS CloudTrail Update: Add ThrottlingException with error code 429 to handle CloudTrail Delegated Admin request rate exceeded on organization resources.
1 parent d06843b commit 0a345e8

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
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": "AWS CloudTrail",
4+
"contributor": "",
5+
"description": "Add ThrottlingException with error code 429 to handle CloudTrail Delegated Admin request rate exceeded on organization resources."
6+
}

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

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@
158158
{"shape":"OrganizationNotInAllFeaturesModeException"},
159159
{"shape":"NoManagementAccountSLRExistsException"},
160160
{"shape":"CloudTrailInvalidClientTokenIdException"},
161-
{"shape":"ConflictException"}
161+
{"shape":"ConflictException"},
162+
{"shape":"ThrottlingException"}
162163
],
163164
"documentation":"<p>Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. </p>",
164165
"idempotent":true
@@ -235,6 +236,7 @@
235236
{"shape":"InvalidTrailNameException"},
236237
{"shape":"CloudTrailARNInvalidException"},
237238
{"shape":"ConflictException"},
239+
{"shape":"ThrottlingException"},
238240
{"shape":"InvalidHomeRegionException"},
239241
{"shape":"UnsupportedOperationException"},
240242
{"shape":"OperationNotPermittedException"},
@@ -393,7 +395,8 @@
393395
{"shape":"UnsupportedOperationException"},
394396
{"shape":"OperationNotPermittedException"},
395397
{"shape":"InsightNotEnabledException"},
396-
{"shape":"NoManagementAccountSLRExistsException"}
398+
{"shape":"NoManagementAccountSLRExistsException"},
399+
{"shape":"ThrottlingException"}
397400
],
398401
"documentation":"<p>Describes the settings for the Insights event selectors that you configured for your trail. <code>GetInsightSelectors</code> shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run <code>GetInsightSelectors</code> on a trail that does not have Insights events enabled, the operation throws the exception <code>InsightNotEnabledException</code> </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html\">Logging CloudTrail Insights Events for Trails </a> in the <i>CloudTrail User Guide</i>.</p>",
399402
"idempotent":true
@@ -660,6 +663,7 @@
660663
{"shape":"InvalidHomeRegionException"},
661664
{"shape":"InvalidEventSelectorsException"},
662665
{"shape":"ConflictException"},
666+
{"shape":"ThrottlingException"},
663667
{"shape":"UnsupportedOperationException"},
664668
{"shape":"OperationNotPermittedException"},
665669
{"shape":"NotOrganizationMasterAccountException"},
@@ -690,7 +694,8 @@
690694
{"shape":"UnsupportedOperationException"},
691695
{"shape":"OperationNotPermittedException"},
692696
{"shape":"NotOrganizationMasterAccountException"},
693-
{"shape":"NoManagementAccountSLRExistsException"}
697+
{"shape":"NoManagementAccountSLRExistsException"},
698+
{"shape":"ThrottlingException"}
694699
],
695700
"documentation":"<p>Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use <code>PutInsightSelectors</code> to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event types in this release are <code>ApiErrorRateInsight</code> and <code>ApiCallRateInsight</code>.</p> <p>To log CloudTrail Insights events on API call volume, the trail must log <code>write</code> management events. To log CloudTrail Insights events on API error rate, the trail must log <code>read</code> or <code>write</code> management events. You can call <code>GetEventSelectors</code> on a trail to check whether the trail logs management events.</p>",
696701
"idempotent":true
@@ -851,6 +856,7 @@
851856
"errors":[
852857
{"shape":"CloudTrailARNInvalidException"},
853858
{"shape":"ConflictException"},
859+
{"shape":"ThrottlingException"},
854860
{"shape":"TrailNotFoundException"},
855861
{"shape":"InvalidTrailNameException"},
856862
{"shape":"InvalidHomeRegionException"},
@@ -941,6 +947,7 @@
941947
{"shape":"InvalidTrailNameException"},
942948
{"shape":"CloudTrailARNInvalidException"},
943949
{"shape":"ConflictException"},
950+
{"shape":"ThrottlingException"},
944951
{"shape":"InvalidHomeRegionException"},
945952
{"shape":"UnsupportedOperationException"},
946953
{"shape":"OperationNotPermittedException"},
@@ -1029,6 +1036,7 @@
10291036
{"shape":"InvalidEventSelectorsException"},
10301037
{"shape":"CloudTrailARNInvalidException"},
10311038
{"shape":"ConflictException"},
1039+
{"shape":"ThrottlingException"},
10321040
{"shape":"InvalidParameterCombinationException"},
10331041
{"shape":"InvalidHomeRegionException"},
10341042
{"shape":"KmsKeyNotFoundException"},
@@ -4015,6 +4023,13 @@
40154023
"max":200
40164024
},
40174025
"TerminationProtectionEnabled":{"type":"boolean"},
4026+
"ThrottlingException":{
4027+
"type":"structure",
4028+
"members":{
4029+
},
4030+
"documentation":"<p> This exception is thrown when the request rate exceeds the limit. </p>",
4031+
"exception":true
4032+
},
40184033
"Trail":{
40194034
"type":"structure",
40204035
"members":{

0 commit comments

Comments
 (0)