Skip to content

Commit 24256c7

Browse files
author
AWS
committed
AWS Audit Manager Update: This release adds an exceeded quota exception to several APIs. We added a ServiceQuotaExceededException for the following operations: CreateAssessment, CreateControl, CreateAssessmentFramework, and UpdateAssessmentStatus.
1 parent 973ffe5 commit 24256c7

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
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 Audit Manager",
4+
"contributor": "",
5+
"description": "This release adds an exceeded quota exception to several APIs. We added a ServiceQuotaExceededException for the following operations: CreateAssessment, CreateControl, CreateAssessmentFramework, and UpdateAssessmentStatus."
6+
}

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

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
{"shape":"ResourceNotFoundException"},
121121
{"shape":"ValidationException"},
122122
{"shape":"AccessDeniedException"},
123-
{"shape":"InternalServerException"}
123+
{"shape":"InternalServerException"},
124+
{"shape":"ServiceQuotaExceededException"}
124125
],
125126
"documentation":"<p> Creates an assessment in Audit Manager. </p>"
126127
},
@@ -136,7 +137,8 @@
136137
{"shape":"ResourceNotFoundException"},
137138
{"shape":"ValidationException"},
138139
{"shape":"AccessDeniedException"},
139-
{"shape":"InternalServerException"}
140+
{"shape":"InternalServerException"},
141+
{"shape":"ServiceQuotaExceededException"}
140142
],
141143
"documentation":"<p> Creates a custom framework in Audit Manager. </p>"
142144
},
@@ -168,7 +170,8 @@
168170
{"shape":"ResourceNotFoundException"},
169171
{"shape":"ValidationException"},
170172
{"shape":"AccessDeniedException"},
171-
{"shape":"InternalServerException"}
173+
{"shape":"InternalServerException"},
174+
{"shape":"ServiceQuotaExceededException"}
172175
],
173176
"documentation":"<p> Creates a new custom control in Audit Manager. </p>"
174177
},
@@ -918,7 +921,8 @@
918921
{"shape":"ResourceNotFoundException"},
919922
{"shape":"ValidationException"},
920923
{"shape":"AccessDeniedException"},
921-
{"shape":"InternalServerException"}
924+
{"shape":"InternalServerException"},
925+
{"shape":"ServiceQuotaExceededException"}
922926
],
923927
"documentation":"<p> Updates the status of an assessment in Audit Manager. </p>"
924928
},
@@ -4380,6 +4384,16 @@
43804384
"type":"list",
43814385
"member":{"shape":"ServiceMetadata"}
43824386
},
4387+
"ServiceQuotaExceededException":{
4388+
"type":"structure",
4389+
"required":["message"],
4390+
"members":{
4391+
"message":{"shape":"String"}
4392+
},
4393+
"documentation":"<p>You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">request a quota increase</a> from the Service Quotas console. For a list of Audit Manager service quotas, see <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html\">Quotas and restrictions for Audit Manager</a>.</p>",
4394+
"error":{"httpStatusCode":402},
4395+
"exception":true
4396+
},
43834397
"SettingAttribute":{
43844398
"type":"string",
43854399
"enum":[
@@ -4480,7 +4494,7 @@
44804494
"documentation":"<p> The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. </p> <p>If you’re mapping a data source to a rule in Config, the <code>keywordValue</code> that you specify depends on the type of rule:</p> <ul> <li> <p>For <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html\">managed rules</a>, you can use the rule identifier as the <code>keywordValue</code>. You can find the rule identifier from the <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html\">list of Config managed rules</a>.</p> <ul> <li> <p>Managed rule name: <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-acl-prohibited.html\">s3-bucket-acl-prohibited</a> </p> <p> <code>keywordValue</code>: <code>S3_BUCKET_ACL_PROHIBITED</code> </p> </li> </ul> </li> <li> <p>For <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html\">custom rules</a>, you form the <code>keywordValue</code> by adding the <code>Custom_</code> prefix to the rule name. This prefix distinguishes the rule from a managed rule.</p> <ul> <li> <p>Custom rule name: my-custom-config-rule</p> <p> <code>keywordValue</code>: <code>Custom_my-custom-config-rule</code> </p> </li> </ul> </li> <li> <p>For <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/service-linked-awsconfig-rules.html\">service-linked rules</a>, you form the <code>keywordValue</code> by adding the <code>Custom_</code> prefix to the rule name. In addition, you remove the suffix ID that appears at the end of the rule name.</p> <ul> <li> <p>Service-linked rule name: CustomRuleForAccount-conformance-pack-szsm1uv0w</p> <p> <code>keywordValue</code>: <code>Custom_CustomRuleForAccount-conformance-pack</code> </p> </li> <li> <p>Service-linked rule name: securityhub-api-gw-cache-encrypted-101104e1</p> <p> <code>keywordValue</code>: <code>Custom_securityhub-api-gw-cache-encrypted</code> </p> </li> <li> <p>Service-linked rule name: OrgConfigRule-s3-bucket-versioning-enabled-dbgzf8ba</p> <p> <code>keywordValue</code>: <code>Custom_OrgConfigRule-s3-bucket-versioning-enabled</code> </p> </li> </ul> </li> </ul>"
44814495
}
44824496
},
4483-
"documentation":"<p> The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. </p>"
4497+
"documentation":"<p> The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. </p> <p> To learn more about the supported keywords that you can use when mapping a control data source, see the following pages in the <i>Audit Manager User Guide</i>:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html\">Config rules supported by Audit Manager</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html\">Security Hub controls supported by Audit Manager</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html\">API calls supported by Audit Manager</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html\">CloudTrail event names supported by Audit Manager</a> </p> </li> </ul>"
44844498
},
44854499
"SourceName":{
44864500
"type":"string",

0 commit comments

Comments
 (0)