Skip to content

Commit b04c8d3

Browse files
authored
docs(clients): codegen for command errors (#4510)
1 parent 2ac8c8f commit b04c8d3

File tree

13,115 files changed

+219315
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,115 files changed

+219315
-0
lines changed

clients/client-accessanalyzer/src/commands/ApplyArchiveRuleCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,22 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {}
4646
* @see {@link ApplyArchiveRuleCommandOutput} for command's `response` shape.
4747
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
4848
*
49+
* @throws {@link AccessDeniedException} (client fault)
50+
* <p>You do not have sufficient access to perform this action.</p>
51+
*
52+
* @throws {@link InternalServerException} (server fault)
53+
* <p>Internal server error.</p>
54+
*
55+
* @throws {@link ResourceNotFoundException} (client fault)
56+
* <p>The specified resource could not be found.</p>
57+
*
58+
* @throws {@link ThrottlingException} (client fault)
59+
* <p>Throttling limit exceeded error.</p>
60+
*
61+
* @throws {@link ValidationException} (client fault)
62+
* <p>Validation exception error.</p>
63+
*
64+
*
4965
*/
5066
export class ApplyArchiveRuleCommand extends $Command<
5167
ApplyArchiveRuleCommandInput,

clients/client-accessanalyzer/src/commands/CancelPolicyGenerationCommand.ts

+13
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
5050
* @see {@link CancelPolicyGenerationCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ThrottlingException} (client fault)
60+
* <p>Throttling limit exceeded error.</p>
61+
*
62+
* @throws {@link ValidationException} (client fault)
63+
* <p>Validation exception error.</p>
64+
*
65+
*
5366
*/
5467
export class CancelPolicyGenerationCommand extends $Command<
5568
CancelPolicyGenerationCommandInput,

clients/client-accessanalyzer/src/commands/CreateAccessPreviewCommand.ts

+22
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,28 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
5151
* @see {@link CreateAccessPreviewCommandOutput} for command's `response` shape.
5252
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5353
*
54+
* @throws {@link AccessDeniedException} (client fault)
55+
* <p>You do not have sufficient access to perform this action.</p>
56+
*
57+
* @throws {@link ConflictException} (client fault)
58+
* <p>A conflict exception error.</p>
59+
*
60+
* @throws {@link InternalServerException} (server fault)
61+
* <p>Internal server error.</p>
62+
*
63+
* @throws {@link ResourceNotFoundException} (client fault)
64+
* <p>The specified resource could not be found.</p>
65+
*
66+
* @throws {@link ServiceQuotaExceededException} (client fault)
67+
* <p>Service quote met error.</p>
68+
*
69+
* @throws {@link ThrottlingException} (client fault)
70+
* <p>Throttling limit exceeded error.</p>
71+
*
72+
* @throws {@link ValidationException} (client fault)
73+
* <p>Validation exception error.</p>
74+
*
75+
*
5476
*/
5577
export class CreateAccessPreviewCommand extends $Command<
5678
CreateAccessPreviewCommandInput,

clients/client-accessanalyzer/src/commands/CreateAnalyzerCommand.ts

+19
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,25 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
5050
* @see {@link CreateAnalyzerCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link ConflictException} (client fault)
57+
* <p>A conflict exception error.</p>
58+
*
59+
* @throws {@link InternalServerException} (server fault)
60+
* <p>Internal server error.</p>
61+
*
62+
* @throws {@link ServiceQuotaExceededException} (client fault)
63+
* <p>Service quote met error.</p>
64+
*
65+
* @throws {@link ThrottlingException} (client fault)
66+
* <p>Throttling limit exceeded error.</p>
67+
*
68+
* @throws {@link ValidationException} (client fault)
69+
* <p>Validation exception error.</p>
70+
*
71+
*
5372
*/
5473
export class CreateAnalyzerCommand extends $Command<
5574
CreateAnalyzerCommandInput,

clients/client-accessanalyzer/src/commands/CreateArchiveRuleCommand.ts

+22
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,28 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {}
4747
* @see {@link CreateArchiveRuleCommandOutput} for command's `response` shape.
4848
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
4949
*
50+
* @throws {@link AccessDeniedException} (client fault)
51+
* <p>You do not have sufficient access to perform this action.</p>
52+
*
53+
* @throws {@link ConflictException} (client fault)
54+
* <p>A conflict exception error.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ResourceNotFoundException} (client fault)
60+
* <p>The specified resource could not be found.</p>
61+
*
62+
* @throws {@link ServiceQuotaExceededException} (client fault)
63+
* <p>Service quote met error.</p>
64+
*
65+
* @throws {@link ThrottlingException} (client fault)
66+
* <p>Throttling limit exceeded error.</p>
67+
*
68+
* @throws {@link ValidationException} (client fault)
69+
* <p>Validation exception error.</p>
70+
*
71+
*
5072
*/
5173
export class CreateArchiveRuleCommand extends $Command<
5274
CreateArchiveRuleCommandInput,

clients/client-accessanalyzer/src/commands/DeleteAnalyzerCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,22 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {}
4747
* @see {@link DeleteAnalyzerCommandOutput} for command's `response` shape.
4848
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
4949
*
50+
* @throws {@link AccessDeniedException} (client fault)
51+
* <p>You do not have sufficient access to perform this action.</p>
52+
*
53+
* @throws {@link InternalServerException} (server fault)
54+
* <p>Internal server error.</p>
55+
*
56+
* @throws {@link ResourceNotFoundException} (client fault)
57+
* <p>The specified resource could not be found.</p>
58+
*
59+
* @throws {@link ThrottlingException} (client fault)
60+
* <p>Throttling limit exceeded error.</p>
61+
*
62+
* @throws {@link ValidationException} (client fault)
63+
* <p>Validation exception error.</p>
64+
*
65+
*
5066
*/
5167
export class DeleteAnalyzerCommand extends $Command<
5268
DeleteAnalyzerCommandInput,

clients/client-accessanalyzer/src/commands/DeleteArchiveRuleCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {}
4545
* @see {@link DeleteArchiveRuleCommandOutput} for command's `response` shape.
4646
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
4747
*
48+
* @throws {@link AccessDeniedException} (client fault)
49+
* <p>You do not have sufficient access to perform this action.</p>
50+
*
51+
* @throws {@link InternalServerException} (server fault)
52+
* <p>Internal server error.</p>
53+
*
54+
* @throws {@link ResourceNotFoundException} (client fault)
55+
* <p>The specified resource could not be found.</p>
56+
*
57+
* @throws {@link ThrottlingException} (client fault)
58+
* <p>Throttling limit exceeded error.</p>
59+
*
60+
* @throws {@link ValidationException} (client fault)
61+
* <p>Validation exception error.</p>
62+
*
63+
*
4864
*/
4965
export class DeleteArchiveRuleCommand extends $Command<
5066
DeleteArchiveRuleCommandInput,

clients/client-accessanalyzer/src/commands/GetAccessPreviewCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,22 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
5050
* @see {@link GetAccessPreviewCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ResourceNotFoundException} (client fault)
60+
* <p>The specified resource could not be found.</p>
61+
*
62+
* @throws {@link ThrottlingException} (client fault)
63+
* <p>Throttling limit exceeded error.</p>
64+
*
65+
* @throws {@link ValidationException} (client fault)
66+
* <p>Validation exception error.</p>
67+
*
68+
*
5369
*/
5470
export class GetAccessPreviewCommand extends $Command<
5571
GetAccessPreviewCommandInput,

clients/client-accessanalyzer/src/commands/GetAnalyzedResourceCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,22 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
5050
* @see {@link GetAnalyzedResourceCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ResourceNotFoundException} (client fault)
60+
* <p>The specified resource could not be found.</p>
61+
*
62+
* @throws {@link ThrottlingException} (client fault)
63+
* <p>Throttling limit exceeded error.</p>
64+
*
65+
* @throws {@link ValidationException} (client fault)
66+
* <p>Validation exception error.</p>
67+
*
68+
*
5369
*/
5470
export class GetAnalyzedResourceCommand extends $Command<
5571
GetAnalyzedResourceCommandInput,

clients/client-accessanalyzer/src/commands/GetAnalyzerCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,22 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
5050
* @see {@link GetAnalyzerCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ResourceNotFoundException} (client fault)
60+
* <p>The specified resource could not be found.</p>
61+
*
62+
* @throws {@link ThrottlingException} (client fault)
63+
* <p>Throttling limit exceeded error.</p>
64+
*
65+
* @throws {@link ValidationException} (client fault)
66+
* <p>Validation exception error.</p>
67+
*
68+
*
5369
*/
5470
export class GetAnalyzerCommand extends $Command<
5571
GetAnalyzerCommandInput,

clients/client-accessanalyzer/src/commands/GetArchiveRuleCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,22 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
5151
* @see {@link GetArchiveRuleCommandOutput} for command's `response` shape.
5252
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5353
*
54+
* @throws {@link AccessDeniedException} (client fault)
55+
* <p>You do not have sufficient access to perform this action.</p>
56+
*
57+
* @throws {@link InternalServerException} (server fault)
58+
* <p>Internal server error.</p>
59+
*
60+
* @throws {@link ResourceNotFoundException} (client fault)
61+
* <p>The specified resource could not be found.</p>
62+
*
63+
* @throws {@link ThrottlingException} (client fault)
64+
* <p>Throttling limit exceeded error.</p>
65+
*
66+
* @throws {@link ValidationException} (client fault)
67+
* <p>Validation exception error.</p>
68+
*
69+
*
5470
*/
5571
export class GetArchiveRuleCommand extends $Command<
5672
GetArchiveRuleCommandInput,

clients/client-accessanalyzer/src/commands/GetFindingCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,22 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
5050
* @see {@link GetFindingCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ResourceNotFoundException} (client fault)
60+
* <p>The specified resource could not be found.</p>
61+
*
62+
* @throws {@link ThrottlingException} (client fault)
63+
* <p>Throttling limit exceeded error.</p>
64+
*
65+
* @throws {@link ValidationException} (client fault)
66+
* <p>Validation exception error.</p>
67+
*
68+
*
5369
*/
5470
export class GetFindingCommand extends $Command<
5571
GetFindingCommandInput,

clients/client-accessanalyzer/src/commands/GetGeneratedPolicyCommand.ts

+13
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
5151
* @see {@link GetGeneratedPolicyCommandOutput} for command's `response` shape.
5252
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5353
*
54+
* @throws {@link AccessDeniedException} (client fault)
55+
* <p>You do not have sufficient access to perform this action.</p>
56+
*
57+
* @throws {@link InternalServerException} (server fault)
58+
* <p>Internal server error.</p>
59+
*
60+
* @throws {@link ThrottlingException} (client fault)
61+
* <p>Throttling limit exceeded error.</p>
62+
*
63+
* @throws {@link ValidationException} (client fault)
64+
* <p>Validation exception error.</p>
65+
*
66+
*
5467
*/
5568
export class GetGeneratedPolicyCommand extends $Command<
5669
GetGeneratedPolicyCommandInput,

clients/client-accessanalyzer/src/commands/ListAccessPreviewFindingsCommand.ts

+19
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,25 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
5151
* @see {@link ListAccessPreviewFindingsCommandOutput} for command's `response` shape.
5252
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5353
*
54+
* @throws {@link AccessDeniedException} (client fault)
55+
* <p>You do not have sufficient access to perform this action.</p>
56+
*
57+
* @throws {@link ConflictException} (client fault)
58+
* <p>A conflict exception error.</p>
59+
*
60+
* @throws {@link InternalServerException} (server fault)
61+
* <p>Internal server error.</p>
62+
*
63+
* @throws {@link ResourceNotFoundException} (client fault)
64+
* <p>The specified resource could not be found.</p>
65+
*
66+
* @throws {@link ThrottlingException} (client fault)
67+
* <p>Throttling limit exceeded error.</p>
68+
*
69+
* @throws {@link ValidationException} (client fault)
70+
* <p>Validation exception error.</p>
71+
*
72+
*
5473
*/
5574
export class ListAccessPreviewFindingsCommand extends $Command<
5675
ListAccessPreviewFindingsCommandInput,

clients/client-accessanalyzer/src/commands/ListAccessPreviewsCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,22 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
5050
* @see {@link ListAccessPreviewsCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ResourceNotFoundException} (client fault)
60+
* <p>The specified resource could not be found.</p>
61+
*
62+
* @throws {@link ThrottlingException} (client fault)
63+
* <p>Throttling limit exceeded error.</p>
64+
*
65+
* @throws {@link ValidationException} (client fault)
66+
* <p>Validation exception error.</p>
67+
*
68+
*
5369
*/
5470
export class ListAccessPreviewsCommand extends $Command<
5571
ListAccessPreviewsCommandInput,

clients/client-accessanalyzer/src/commands/ListAnalyzedResourcesCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,22 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
5151
* @see {@link ListAnalyzedResourcesCommandOutput} for command's `response` shape.
5252
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5353
*
54+
* @throws {@link AccessDeniedException} (client fault)
55+
* <p>You do not have sufficient access to perform this action.</p>
56+
*
57+
* @throws {@link InternalServerException} (server fault)
58+
* <p>Internal server error.</p>
59+
*
60+
* @throws {@link ResourceNotFoundException} (client fault)
61+
* <p>The specified resource could not be found.</p>
62+
*
63+
* @throws {@link ThrottlingException} (client fault)
64+
* <p>Throttling limit exceeded error.</p>
65+
*
66+
* @throws {@link ValidationException} (client fault)
67+
* <p>Validation exception error.</p>
68+
*
69+
*
5470
*/
5571
export class ListAnalyzedResourcesCommand extends $Command<
5672
ListAnalyzedResourcesCommandInput,

clients/client-accessanalyzer/src/commands/ListAnalyzersCommand.ts

+13
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@ export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __Met
5050
* @see {@link ListAnalyzersCommandOutput} for command's `response` shape.
5151
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
5252
*
53+
* @throws {@link AccessDeniedException} (client fault)
54+
* <p>You do not have sufficient access to perform this action.</p>
55+
*
56+
* @throws {@link InternalServerException} (server fault)
57+
* <p>Internal server error.</p>
58+
*
59+
* @throws {@link ThrottlingException} (client fault)
60+
* <p>Throttling limit exceeded error.</p>
61+
*
62+
* @throws {@link ValidationException} (client fault)
63+
* <p>Validation exception error.</p>
64+
*
65+
*
5366
*/
5467
export class ListAnalyzersCommand extends $Command<
5568
ListAnalyzersCommandInput,

0 commit comments

Comments
 (0)