Skip to content

Commit

Permalink
feat(client-inspector2): Add enums for Agentless scan statuses and EC…
Browse files Browse the repository at this point in the history
…2 enablement error states
  • Loading branch information
awstools committed Aug 22, 2024
1 parent 18135bc commit 52856e7
Show file tree
Hide file tree
Showing 53 changed files with 194 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export interface AssociateMemberCommandOutput extends AssociateMemberResponse, _
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatu
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ export interface BatchGetCodeSnippetCommandOutput extends BatchGetCodeSnippetRes
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ export interface BatchGetFindingDetailsCommandOutput extends BatchGetFindingDeta
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInf
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ export interface BatchGetMemberEc2DeepInspectionStatusCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ export interface BatchUpdateMemberEc2DeepInspectionStatusCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export interface CancelFindingsReportCommandOutput extends CancelFindingsReportR
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export interface CancelSbomExportCommandOutput extends CancelSbomExportResponse,
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ export interface CreateCisScanConfigurationCommandOutput extends CreateCisScanCo
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
3 changes: 3 additions & 0 deletions clients/client-inspector2/src/commands/CreateFilterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link BadRequestException} (client fault)
* <p>One or more tags submitted as part of the request is not valid.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ export interface CreateSbomExportCommandOutput extends CreateSbomExportResponse,
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export interface DeleteCisScanConfigurationCommandOutput extends DeleteCisScanCo
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
3 changes: 3 additions & 0 deletions clients/client-inspector2/src/commands/DeleteFilterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export interface DeleteFilterCommandOutput extends DeleteFilterResponse, __Metad
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export interface DescribeOrganizationConfigurationCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
3 changes: 3 additions & 0 deletions clients/client-inspector2/src/commands/DisableCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ export interface DisableCommandOutput extends DisableResponse, __MetadataBearer
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export interface DisableDelegatedAdminAccountCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link ConflictException} (client fault)
* <p>A conflict occurred.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export interface DisassociateMemberCommandOutput extends DisassociateMemberRespo
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
3 changes: 3 additions & 0 deletions clients/client-inspector2/src/commands/EnableCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ export interface EnableCommandOutput extends EnableResponse, __MetadataBearer {}
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ export interface EnableDelegatedAdminAccountCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link ConflictException} (client fault)
* <p>A conflict occurred.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export interface GetCisScanReportCommandOutput extends GetCisScanReportResponse,
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ export interface GetCisScanResultDetailsCommandOutput extends GetCisScanResultDe
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ export interface GetDelegatedAdminAccountCommandOutput extends GetDelegatedAdmin
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export interface GetEc2DeepInspectionConfigurationCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ export interface GetEncryptionKeyCommandOutput extends GetEncryptionKeyResponse,
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ export interface GetFindingsReportStatusCommandOutput extends GetFindingsReportS
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
3 changes: 3 additions & 0 deletions clients/client-inspector2/src/commands/GetMemberCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ export interface GetSbomExportCommandOutput extends GetSbomExportResponse, __Met
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export interface ListAccountPermissionsCommandOutput extends ListAccountPermissi
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ export interface ListCisScanConfigurationsCommandOutput extends ListCisScanConfi
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ export interface ListCisScanResultsAggregatedByChecksCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export interface ListCisScanResultsAggregatedByTargetResourceCommandOutput
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
3 changes: 3 additions & 0 deletions clients/client-inspector2/src/commands/ListCisScansCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ export interface ListCisScansCommandOutput extends ListCisScansResponse, __Metad
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export interface ListDelegatedAdminAccountsCommandOutput extends ListDelegatedAd
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
3 changes: 3 additions & 0 deletions clients/client-inspector2/src/commands/ListFiltersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You do not have sufficient access to perform this action.</p>
* <p>
* For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.
* </p>
*
* @throws {@link InternalServerException} (server fault)
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
Expand Down
Loading

0 comments on commit 52856e7

Please sign in to comment.