Skip to content

Commit 352b023

Browse files
author
awstools
committed
feat(client-auditmanager): 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 6945e9e commit 352b023

14 files changed

+359
-183
lines changed

clients/client-auditmanager/src/AuditManager.ts

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,7 @@ export class AuditManager extends AuditManagerClient {
724724
}
725725

726726
/**
727-
* <p>
728-
* Deletes a share request for a custom framework in Audit Manager.
729-
* </p>
727+
* <p> Deletes a share request for a custom framework in Audit Manager. </p>
730728
*/
731729
public deleteAssessmentFrameworkShare(
732730
args: DeleteAssessmentFrameworkShareCommandInput,
@@ -759,7 +757,8 @@ export class AuditManager extends AuditManagerClient {
759757

760758
/**
761759
* <p>Deletes an assessment report in Audit Manager. </p>
762-
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts to delete the following data:</p>
760+
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager
761+
* attempts to delete the following data:</p>
763762
* <ol>
764763
* <li>
765764
* <p>The specified assessment report that’s stored in your S3 bucket</p>
@@ -844,8 +843,8 @@ export class AuditManager extends AuditManagerClient {
844843
/**
845844
* <p> Deregisters an account in Audit Manager. </p>
846845
* <note>
847-
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If you want
848-
* to delete your resource data, you must perform that task separately before you
846+
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If
847+
* you want to delete your resource data, you must perform that task separately before you
849848
* deregister your account. Either, you can do this in the Audit Manager console. Or,
850849
* you can use one of the delete API operations that are provided by Audit Manager. </p>
851850
* <p>To delete your Audit Manager resource data, see the following instructions: </p>
@@ -923,11 +922,11 @@ export class AuditManager extends AuditManagerClient {
923922
* evidence to that delegated administrator account moving forward.</p>
924923
* </important>
925924
* <note>
926-
* <p>When you deregister a delegated administrator account for Audit Manager, the data for that
927-
* account isn’t deleted. If you want to delete resource data for a delegated administrator
928-
* account, you must perform that task separately before you deregister the account.
929-
* Either, you can do this in the Audit Manager console. Or, you can use one of the
930-
* delete API operations that are provided by Audit Manager. </p>
925+
* <p>When you deregister a delegated administrator account for Audit Manager, the data
926+
* for that account isn’t deleted. If you want to delete resource data for a delegated
927+
* administrator account, you must perform that task separately before you deregister the
928+
* account. Either, you can do this in the Audit Manager console. Or, you can use one
929+
* of the delete API operations that are provided by Audit Manager. </p>
931930
* <p>To delete your Audit Manager resource data, see the following instructions: </p>
932931
* <ul>
933932
* <li>
@@ -1557,10 +1556,10 @@ export class AuditManager extends AuditManagerClient {
15571556
* <p>Lists the latest analytics data for controls within a specific control domain and a
15581557
* specific active assessment.</p>
15591558
* <note>
1560-
* <p>Control insights are listed only if the control belongs to the control domain and assessment
1561-
* that was specified. Moreover, the control must have collected evidence on the
1562-
* <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
1563-
* of these conditions are met, no data is listed for that control. </p>
1559+
* <p>Control insights are listed only if the control belongs to the control domain and
1560+
* assessment that was specified. Moreover, the control must have collected evidence on the
1561+
* <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
1562+
* of these conditions are met, no data is listed for that control. </p>
15641563
* </note>
15651564
*/
15661565
public listAssessmentControlInsightsByControlDomain(
@@ -1727,9 +1726,10 @@ export class AuditManager extends AuditManagerClient {
17271726
* <p>Lists the latest analytics data for control domains across all of your active
17281727
* assessments. </p>
17291728
* <note>
1730-
* <p>A control domain is listed only if at least one of the controls within that domain collected
1731-
* evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
1732-
* this condition isn’t met, no data is listed for that control domain.</p>
1729+
* <p>A control domain is listed only if at least one of the controls within that domain
1730+
* collected evidence on the <code>lastUpdated</code> date of
1731+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
1732+
* for that control domain.</p>
17331733
* </note>
17341734
*/
17351735
public listControlDomainInsights(
@@ -1764,9 +1764,10 @@ export class AuditManager extends AuditManagerClient {
17641764
/**
17651765
* <p>Lists analytics data for control domains within a specified active assessment.</p>
17661766
* <note>
1767-
* <p>A control domain is listed only if at least one of the controls within that domain collected
1768-
* evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
1769-
* this condition isn’t met, no data is listed for that domain.</p>
1767+
* <p>A control domain is listed only if at least one of the controls within that domain
1768+
* collected evidence on the <code>lastUpdated</code> date of
1769+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
1770+
* for that domain.</p>
17701771
* </note>
17711772
*/
17721773
public listControlDomainInsightsByAssessment(
@@ -1804,10 +1805,10 @@ export class AuditManager extends AuditManagerClient {
18041805
* <p>Lists the latest analytics data for controls within a specific control domain across all
18051806
* active assessments.</p>
18061807
* <note>
1807-
* <p>Control insights are listed only if the control belongs to the control domain that was
1808-
* specified and the control collected evidence on the <code>lastUpdated</code> date of
1809-
* <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
1810-
* is listed for that control. </p>
1808+
* <p>Control insights are listed only if the control belongs to the control domain that
1809+
* was specified and the control collected evidence on the <code>lastUpdated</code> date of
1810+
* <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
1811+
* is listed for that control. </p>
18111812
* </note>
18121813
*/
18131814
public listControlInsightsByControlDomain(
@@ -1869,7 +1870,8 @@ export class AuditManager extends AuditManagerClient {
18691870
}
18701871

18711872
/**
1872-
* <p> Returns a list of keywords that are pre-mapped to the specified control data source. </p>
1873+
* <p> Returns a list of keywords that are pre-mapped to the specified control data source.
1874+
* </p>
18731875
*/
18741876
public listKeywordsForDataSource(
18751877
args: ListKeywordsForDataSourceCommandInput,
@@ -2031,7 +2033,9 @@ export class AuditManager extends AuditManagerClient {
20312033

20322034
/**
20332035
* <p> Creates a share request for a custom framework in Audit Manager. </p>
2034-
* <p>The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.</p>
2036+
* <p>The share request specifies a recipient and notifies them that a custom framework is
2037+
* available. Recipients have 120 days to accept or decline the request. If no action is
2038+
* taken, the share request expires.</p>
20352039
* <p>When you create a share request, Audit Manager stores a snapshot of your custom
20362040
* framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also
20372041
* stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.</p>
@@ -2054,8 +2058,8 @@ export class AuditManager extends AuditManagerClient {
20542058
* </ul>
20552059
* <p>When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends a share request</a>, the snapshot is replaced with an updated version that
20562060
* corresponds with the latest version of the custom framework. </p>
2057-
* <p>When a recipient accepts a share request, the snapshot is replicated into their
2058-
* Amazon Web Services account under the Amazon Web Services Region that was specified in the share request. </p>
2061+
* <p>When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share
2062+
* request. </p>
20592063
* <important>
20602064
* <p>When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about to
20612065
* share a custom framework with another Amazon Web Services account. You may not share a

clients/client-auditmanager/src/commands/DeleteAssessmentFrameworkShareCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ export interface DeleteAssessmentFrameworkShareCommandOutput
3030
__MetadataBearer {}
3131

3232
/**
33-
* <p>
34-
* Deletes a share request for a custom framework in Audit Manager.
35-
* </p>
33+
* <p> Deletes a share request for a custom framework in Audit Manager. </p>
3634
* @example
3735
* Use a bare-bones client and the command you need to make an API call.
3836
* ```javascript

clients/client-auditmanager/src/commands/DeleteAssessmentReportCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export interface DeleteAssessmentReportCommandOutput extends DeleteAssessmentRep
2929

3030
/**
3131
* <p>Deletes an assessment report in Audit Manager. </p>
32-
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts to delete the following data:</p>
32+
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager
33+
* attempts to delete the following data:</p>
3334
* <ol>
3435
* <li>
3536
* <p>The specified assessment report that’s stored in your S3 bucket</p>

clients/client-auditmanager/src/commands/DeregisterAccountCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface DeregisterAccountCommandOutput extends DeregisterAccountRespons
3030
/**
3131
* <p> Deregisters an account in Audit Manager. </p>
3232
* <note>
33-
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If you want
34-
* to delete your resource data, you must perform that task separately before you
33+
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If
34+
* you want to delete your resource data, you must perform that task separately before you
3535
* deregister your account. Either, you can do this in the Audit Manager console. Or,
3636
* you can use one of the delete API operations that are provided by Audit Manager. </p>
3737
* <p>To delete your Audit Manager resource data, see the following instructions: </p>

clients/client-auditmanager/src/commands/DeregisterOrganizationAdminAccountCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ export interface DeregisterOrganizationAdminAccountCommandOutput
4040
* evidence to that delegated administrator account moving forward.</p>
4141
* </important>
4242
* <note>
43-
* <p>When you deregister a delegated administrator account for Audit Manager, the data for that
44-
* account isn’t deleted. If you want to delete resource data for a delegated administrator
45-
* account, you must perform that task separately before you deregister the account.
46-
* Either, you can do this in the Audit Manager console. Or, you can use one of the
47-
* delete API operations that are provided by Audit Manager. </p>
43+
* <p>When you deregister a delegated administrator account for Audit Manager, the data
44+
* for that account isn’t deleted. If you want to delete resource data for a delegated
45+
* administrator account, you must perform that task separately before you deregister the
46+
* account. Either, you can do this in the Audit Manager console. Or, you can use one
47+
* of the delete API operations that are provided by Audit Manager. </p>
4848
* <p>To delete your Audit Manager resource data, see the following instructions: </p>
4949
* <ul>
5050
* <li>

clients/client-auditmanager/src/commands/ListAssessmentControlInsightsByControlDomainCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ export interface ListAssessmentControlInsightsByControlDomainCommandOutput
3434
* <p>Lists the latest analytics data for controls within a specific control domain and a
3535
* specific active assessment.</p>
3636
* <note>
37-
* <p>Control insights are listed only if the control belongs to the control domain and assessment
38-
* that was specified. Moreover, the control must have collected evidence on the
39-
* <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
40-
* of these conditions are met, no data is listed for that control. </p>
37+
* <p>Control insights are listed only if the control belongs to the control domain and
38+
* assessment that was specified. Moreover, the control must have collected evidence on the
39+
* <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
40+
* of these conditions are met, no data is listed for that control. </p>
4141
* </note>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.

clients/client-auditmanager/src/commands/ListControlDomainInsightsByAssessmentCommand.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ export interface ListControlDomainInsightsByAssessmentCommandOutput
3333
/**
3434
* <p>Lists analytics data for control domains within a specified active assessment.</p>
3535
* <note>
36-
* <p>A control domain is listed only if at least one of the controls within that domain collected
37-
* evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
38-
* this condition isn’t met, no data is listed for that domain.</p>
36+
* <p>A control domain is listed only if at least one of the controls within that domain
37+
* collected evidence on the <code>lastUpdated</code> date of
38+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
39+
* for that domain.</p>
3940
* </note>
4041
* @example
4142
* Use a bare-bones client and the command you need to make an API call.

clients/client-auditmanager/src/commands/ListControlDomainInsightsCommand.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ export interface ListControlDomainInsightsCommandOutput extends ListControlDomai
3131
* <p>Lists the latest analytics data for control domains across all of your active
3232
* assessments. </p>
3333
* <note>
34-
* <p>A control domain is listed only if at least one of the controls within that domain collected
35-
* evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
36-
* this condition isn’t met, no data is listed for that control domain.</p>
34+
* <p>A control domain is listed only if at least one of the controls within that domain
35+
* collected evidence on the <code>lastUpdated</code> date of
36+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
37+
* for that control domain.</p>
3738
* </note>
3839
* @example
3940
* Use a bare-bones client and the command you need to make an API call.

clients/client-auditmanager/src/commands/ListControlInsightsByControlDomainCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ export interface ListControlInsightsByControlDomainCommandOutput
3333
* <p>Lists the latest analytics data for controls within a specific control domain across all
3434
* active assessments.</p>
3535
* <note>
36-
* <p>Control insights are listed only if the control belongs to the control domain that was
37-
* specified and the control collected evidence on the <code>lastUpdated</code> date of
38-
* <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
39-
* is listed for that control. </p>
36+
* <p>Control insights are listed only if the control belongs to the control domain that
37+
* was specified and the control collected evidence on the <code>lastUpdated</code> date of
38+
* <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
39+
* is listed for that control. </p>
4040
* </note>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.

clients/client-auditmanager/src/commands/ListKeywordsForDataSourceCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export interface ListKeywordsForDataSourceCommandInput extends ListKeywordsForDa
2828
export interface ListKeywordsForDataSourceCommandOutput extends ListKeywordsForDataSourceResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p> Returns a list of keywords that are pre-mapped to the specified control data source. </p>
31+
* <p> Returns a list of keywords that are pre-mapped to the specified control data source.
32+
* </p>
3233
* @example
3334
* Use a bare-bones client and the command you need to make an API call.
3435
* ```javascript

clients/client-auditmanager/src/commands/StartAssessmentFrameworkShareCommand.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ export interface StartAssessmentFrameworkShareCommandOutput
3131

3232
/**
3333
* <p> Creates a share request for a custom framework in Audit Manager. </p>
34-
* <p>The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.</p>
34+
* <p>The share request specifies a recipient and notifies them that a custom framework is
35+
* available. Recipients have 120 days to accept or decline the request. If no action is
36+
* taken, the share request expires.</p>
3537
* <p>When you create a share request, Audit Manager stores a snapshot of your custom
3638
* framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also
3739
* stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.</p>
@@ -54,8 +56,8 @@ export interface StartAssessmentFrameworkShareCommandOutput
5456
* </ul>
5557
* <p>When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends a share request</a>, the snapshot is replaced with an updated version that
5658
* corresponds with the latest version of the custom framework. </p>
57-
* <p>When a recipient accepts a share request, the snapshot is replicated into their
58-
* Amazon Web Services account under the Amazon Web Services Region that was specified in the share request. </p>
59+
* <p>When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share
60+
* request. </p>
5961
* <important>
6062
* <p>When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about to
6163
* share a custom framework with another Amazon Web Services account. You may not share a

0 commit comments

Comments
 (0)