@aws-sdk/client-inspector2 3.1157.0 → 3.1159.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -2
- package/dist-cjs/index.js +273 -61
- package/dist-es/Inspector2.js +8 -0
- package/dist-es/commands/GetOnDemandScanStatusCommand.js +4 -0
- package/dist-es/commands/ListOnDemandScansCommand.js +4 -0
- package/dist-es/commands/StartOnDemandScanCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +49 -0
- package/dist-es/pagination/ListOnDemandScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +181 -60
- package/dist-types/Inspector2.d.ts +29 -2
- package/dist-types/Inspector2Client.d.ts +6 -4
- package/dist-types/commands/AssociateMemberCommand.d.ts +4 -11
- package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
- package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +5 -7
- package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +3 -7
- package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -5
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -5
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +3 -7
- package/dist-types/commands/CancelSbomExportCommand.d.ts +3 -7
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -5
- package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +5 -14
- package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +4 -9
- package/dist-types/commands/CreateConnectorCommand.d.ts +4 -9
- package/dist-types/commands/CreateFilterCommand.d.ts +8 -9
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -10
- package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -7
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +3 -7
- package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/DeleteConnectorCommand.d.ts +4 -9
- package/dist-types/commands/DeleteFilterCommand.d.ts +3 -7
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -5
- package/dist-types/commands/DisableCommand.d.ts +6 -9
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +4 -9
- package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -5
- package/dist-types/commands/EnableCommand.d.ts +5 -7
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +4 -9
- package/dist-types/commands/GetCisScanReportCommand.d.ts +3 -7
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +2 -5
- package/dist-types/commands/GetClustersForImageCommand.d.ts +2 -5
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +3 -7
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +4 -9
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/GetConfigurationCommand.d.ts +21 -12
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +4 -9
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +3 -7
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +8 -7
- package/dist-types/commands/GetMemberCommand.d.ts +3 -7
- package/dist-types/commands/GetOnDemandScanStatusCommand.d.ts +94 -0
- package/dist-types/commands/GetSbomExportCommand.d.ts +4 -7
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +3 -9
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -5
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -5
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +3 -6
- package/dist-types/commands/ListCisScansCommand.d.ts +3 -6
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +3 -6
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +5 -11
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +3 -7
- package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +2 -5
- package/dist-types/commands/ListConnectorsCommand.d.ts +2 -5
- package/dist-types/commands/ListCoverageCommand.d.ts +14 -2
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +8 -2
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +2 -5
- package/dist-types/commands/ListFiltersCommand.d.ts +6 -5
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +5 -2
- package/dist-types/commands/ListFindingsCommand.d.ts +18 -2
- package/dist-types/commands/ListMembersCommand.d.ts +3 -7
- package/dist-types/commands/ListOnDemandScansCommand.d.ts +97 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -4
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -5
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +4 -9
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -5
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +4 -10
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +4 -10
- package/dist-types/commands/StartCisSessionCommand.d.ts +4 -10
- package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +4 -9
- package/dist-types/commands/StartOnDemandScanCommand.d.ts +88 -0
- package/dist-types/commands/StopCisSessionCommand.d.ts +4 -10
- package/dist-types/commands/TagResourceCommand.d.ts +2 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +5 -14
- package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +4 -9
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +22 -11
- package/dist-types/commands/UpdateConnectorCommand.d.ts +4 -9
- package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +4 -9
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +4 -9
- package/dist-types/commands/UpdateFilterCommand.d.ts +7 -7
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -5
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -2
- package/dist-types/models/enums.d.ts +113 -0
- package/dist-types/models/errors.d.ts +5 -11
- package/dist-types/models/models_0.d.ts +533 -1195
- package/dist-types/models/models_1.d.ts +381 -170
- package/dist-types/pagination/ListOnDemandScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/Inspector2.d.ts +58 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetOnDemandScanStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListOnDemandScansCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartOnDemandScanCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +59 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -52
- package/dist-types/ts3.4/models/models_1.d.ts +95 -0
- package/dist-types/ts3.4/pagination/ListOnDemandScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +3 -3
|
@@ -41,6 +41,7 @@ import { type GetEc2DeepInspectionConfigurationCommandInput, type GetEc2DeepInsp
|
|
|
41
41
|
import { type GetEncryptionKeyCommandInput, type GetEncryptionKeyCommandOutput } from "./commands/GetEncryptionKeyCommand";
|
|
42
42
|
import { type GetFindingsReportStatusCommandInput, type GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
43
43
|
import { type GetMemberCommandInput, type GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
44
|
+
import { type GetOnDemandScanStatusCommandInput, type GetOnDemandScanStatusCommandOutput } from "./commands/GetOnDemandScanStatusCommand";
|
|
44
45
|
import { type GetSbomExportCommandInput, type GetSbomExportCommandOutput } from "./commands/GetSbomExportCommand";
|
|
45
46
|
import { type ListAccountPermissionsCommandInput, type ListAccountPermissionsCommandOutput } from "./commands/ListAccountPermissionsCommand";
|
|
46
47
|
import { type ListCisScanConfigurationsCommandInput, type ListCisScanConfigurationsCommandOutput } from "./commands/ListCisScanConfigurationsCommand";
|
|
@@ -59,6 +60,7 @@ import { type ListFiltersCommandInput, type ListFiltersCommandOutput } from "./c
|
|
|
59
60
|
import { type ListFindingAggregationsCommandInput, type ListFindingAggregationsCommandOutput } from "./commands/ListFindingAggregationsCommand";
|
|
60
61
|
import { type ListFindingsCommandInput, type ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
61
62
|
import { type ListMembersCommandInput, type ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
63
|
+
import { type ListOnDemandScansCommandInput, type ListOnDemandScansCommandOutput } from "./commands/ListOnDemandScansCommand";
|
|
62
64
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
63
65
|
import { type ListUsageTotalsCommandInput, type ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
64
66
|
import { type ResetEncryptionKeyCommandInput, type ResetEncryptionKeyCommandOutput } from "./commands/ResetEncryptionKeyCommand";
|
|
@@ -67,6 +69,7 @@ import { type SendCisSessionHealthCommandInput, type SendCisSessionHealthCommand
|
|
|
67
69
|
import { type SendCisSessionTelemetryCommandInput, type SendCisSessionTelemetryCommandOutput } from "./commands/SendCisSessionTelemetryCommand";
|
|
68
70
|
import { type StartCisSessionCommandInput, type StartCisSessionCommandOutput } from "./commands/StartCisSessionCommand";
|
|
69
71
|
import { type StartCodeSecurityScanCommandInput, type StartCodeSecurityScanCommandOutput } from "./commands/StartCodeSecurityScanCommand";
|
|
72
|
+
import { type StartOnDemandScanCommandInput, type StartOnDemandScanCommandOutput } from "./commands/StartOnDemandScanCommand";
|
|
70
73
|
import { type StopCisSessionCommandInput, type StopCisSessionCommandOutput } from "./commands/StopCisSessionCommand";
|
|
71
74
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
72
75
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -343,6 +346,12 @@ export interface Inspector2 {
|
|
|
343
346
|
getMember(args: GetMemberCommandInput, options?: Inspector2RequestOptions): Promise<GetMemberCommandOutput>;
|
|
344
347
|
getMember(args: GetMemberCommandInput, cb: (err: any, data?: GetMemberCommandOutput) => void): void;
|
|
345
348
|
getMember(args: GetMemberCommandInput, options: Inspector2RequestOptions, cb: (err: any, data?: GetMemberCommandOutput) => void): void;
|
|
349
|
+
/**
|
|
350
|
+
* @see {@link GetOnDemandScanStatusCommand}
|
|
351
|
+
*/
|
|
352
|
+
getOnDemandScanStatus(args: GetOnDemandScanStatusCommandInput, options?: Inspector2RequestOptions): Promise<GetOnDemandScanStatusCommandOutput>;
|
|
353
|
+
getOnDemandScanStatus(args: GetOnDemandScanStatusCommandInput, cb: (err: any, data?: GetOnDemandScanStatusCommandOutput) => void): void;
|
|
354
|
+
getOnDemandScanStatus(args: GetOnDemandScanStatusCommandInput, options: Inspector2RequestOptions, cb: (err: any, data?: GetOnDemandScanStatusCommandOutput) => void): void;
|
|
346
355
|
/**
|
|
347
356
|
* @see {@link GetSbomExportCommand}
|
|
348
357
|
*/
|
|
@@ -464,6 +473,12 @@ export interface Inspector2 {
|
|
|
464
473
|
listMembers(args: ListMembersCommandInput, options?: Inspector2RequestOptions): Promise<ListMembersCommandOutput>;
|
|
465
474
|
listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
466
475
|
listMembers(args: ListMembersCommandInput, options: Inspector2RequestOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
476
|
+
/**
|
|
477
|
+
* @see {@link ListOnDemandScansCommand}
|
|
478
|
+
*/
|
|
479
|
+
listOnDemandScans(args: ListOnDemandScansCommandInput, options?: Inspector2RequestOptions): Promise<ListOnDemandScansCommandOutput>;
|
|
480
|
+
listOnDemandScans(args: ListOnDemandScansCommandInput, cb: (err: any, data?: ListOnDemandScansCommandOutput) => void): void;
|
|
481
|
+
listOnDemandScans(args: ListOnDemandScansCommandInput, options: Inspector2RequestOptions, cb: (err: any, data?: ListOnDemandScansCommandOutput) => void): void;
|
|
467
482
|
/**
|
|
468
483
|
* @see {@link ListTagsForResourceCommand}
|
|
469
484
|
*/
|
|
@@ -513,6 +528,12 @@ export interface Inspector2 {
|
|
|
513
528
|
startCodeSecurityScan(args: StartCodeSecurityScanCommandInput, options?: Inspector2RequestOptions): Promise<StartCodeSecurityScanCommandOutput>;
|
|
514
529
|
startCodeSecurityScan(args: StartCodeSecurityScanCommandInput, cb: (err: any, data?: StartCodeSecurityScanCommandOutput) => void): void;
|
|
515
530
|
startCodeSecurityScan(args: StartCodeSecurityScanCommandInput, options: Inspector2RequestOptions, cb: (err: any, data?: StartCodeSecurityScanCommandOutput) => void): void;
|
|
531
|
+
/**
|
|
532
|
+
* @see {@link StartOnDemandScanCommand}
|
|
533
|
+
*/
|
|
534
|
+
startOnDemandScan(args: StartOnDemandScanCommandInput, options?: Inspector2RequestOptions): Promise<StartOnDemandScanCommandOutput>;
|
|
535
|
+
startOnDemandScan(args: StartOnDemandScanCommandInput, cb: (err: any, data?: StartOnDemandScanCommandOutput) => void): void;
|
|
536
|
+
startOnDemandScan(args: StartOnDemandScanCommandInput, options: Inspector2RequestOptions, cb: (err: any, data?: StartOnDemandScanCommandOutput) => void): void;
|
|
516
537
|
/**
|
|
517
538
|
* @see {@link StopCisSessionCommand}
|
|
518
539
|
*/
|
|
@@ -711,6 +732,13 @@ export interface Inspector2 {
|
|
|
711
732
|
* @returns AsyncIterable of {@link ListMembersCommandOutput}.
|
|
712
733
|
*/
|
|
713
734
|
paginateListMembers(args?: ListMembersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMembersCommandOutput>;
|
|
735
|
+
/**
|
|
736
|
+
* @see {@link ListOnDemandScansCommand}
|
|
737
|
+
* @param args - command input.
|
|
738
|
+
* @param paginationConfig - optional pagination config.
|
|
739
|
+
* @returns AsyncIterable of {@link ListOnDemandScansCommandOutput}.
|
|
740
|
+
*/
|
|
741
|
+
paginateListOnDemandScans(args: ListOnDemandScansCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListOnDemandScansCommandOutput>;
|
|
714
742
|
/**
|
|
715
743
|
* @see {@link ListUsageTotalsCommand}
|
|
716
744
|
* @param args - command input.
|
|
@@ -745,8 +773,7 @@ export interface Inspector2 {
|
|
|
745
773
|
waitUntilConnectorConnected(args: ListConnectorsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Inspector2>, "client">): Promise<WaiterResult<ListConnectorsCommandOutput>>;
|
|
746
774
|
}
|
|
747
775
|
/**
|
|
748
|
-
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for
|
|
749
|
-
* security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.</p>
|
|
776
|
+
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.</p>
|
|
750
777
|
* @public
|
|
751
778
|
*/
|
|
752
779
|
export declare class Inspector2 extends Inspector2Client implements Inspector2 {
|
|
@@ -47,6 +47,7 @@ import type { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectio
|
|
|
47
47
|
import type { GetEncryptionKeyCommandInput, GetEncryptionKeyCommandOutput } from "./commands/GetEncryptionKeyCommand";
|
|
48
48
|
import type { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
49
49
|
import type { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
50
|
+
import type { GetOnDemandScanStatusCommandInput, GetOnDemandScanStatusCommandOutput } from "./commands/GetOnDemandScanStatusCommand";
|
|
50
51
|
import type { GetSbomExportCommandInput, GetSbomExportCommandOutput } from "./commands/GetSbomExportCommand";
|
|
51
52
|
import type { ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput } from "./commands/ListAccountPermissionsCommand";
|
|
52
53
|
import type { ListCisScanConfigurationsCommandInput, ListCisScanConfigurationsCommandOutput } from "./commands/ListCisScanConfigurationsCommand";
|
|
@@ -65,6 +66,7 @@ import type { ListFiltersCommandInput, ListFiltersCommandOutput } from "./comman
|
|
|
65
66
|
import type { ListFindingAggregationsCommandInput, ListFindingAggregationsCommandOutput } from "./commands/ListFindingAggregationsCommand";
|
|
66
67
|
import type { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
67
68
|
import type { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
69
|
+
import type { ListOnDemandScansCommandInput, ListOnDemandScansCommandOutput } from "./commands/ListOnDemandScansCommand";
|
|
68
70
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
69
71
|
import type { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
70
72
|
import type { ResetEncryptionKeyCommandInput, ResetEncryptionKeyCommandOutput } from "./commands/ResetEncryptionKeyCommand";
|
|
@@ -73,6 +75,7 @@ import type { SendCisSessionHealthCommandInput, SendCisSessionHealthCommandOutpu
|
|
|
73
75
|
import type { SendCisSessionTelemetryCommandInput, SendCisSessionTelemetryCommandOutput } from "./commands/SendCisSessionTelemetryCommand";
|
|
74
76
|
import type { StartCisSessionCommandInput, StartCisSessionCommandOutput } from "./commands/StartCisSessionCommand";
|
|
75
77
|
import type { StartCodeSecurityScanCommandInput, StartCodeSecurityScanCommandOutput } from "./commands/StartCodeSecurityScanCommand";
|
|
78
|
+
import type { StartOnDemandScanCommandInput, StartOnDemandScanCommandOutput } from "./commands/StartOnDemandScanCommand";
|
|
76
79
|
import type { StopCisSessionCommandInput, StopCisSessionCommandOutput } from "./commands/StopCisSessionCommand";
|
|
77
80
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
78
81
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -93,11 +96,11 @@ export { __Client };
|
|
|
93
96
|
/**
|
|
94
97
|
* @public
|
|
95
98
|
*/
|
|
96
|
-
export type ServiceInputTypes = AssociateMemberCommandInput | BatchAssociateCodeSecurityScanConfigurationCommandInput | BatchDisassociateCodeSecurityScanConfigurationCommandInput | BatchGetAccountStatusCommandInput | BatchGetCodeSnippetCommandInput | BatchGetFindingDetailsCommandInput | BatchGetFreeTrialInfoCommandInput | BatchGetMemberEc2DeepInspectionStatusCommandInput | BatchUpdateMemberEc2DeepInspectionStatusCommandInput | CancelFindingsReportCommandInput | CancelSbomExportCommandInput | CreateCisScanConfigurationCommandInput | CreateCodeSecurityIntegrationCommandInput | CreateCodeSecurityScanConfigurationCommandInput | CreateConnectorCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | CreateSbomExportCommandInput | DeleteCisScanConfigurationCommandInput | DeleteCodeSecurityIntegrationCommandInput | DeleteCodeSecurityScanConfigurationCommandInput | DeleteConnectorCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetCisScanReportCommandInput | GetCisScanResultDetailsCommandInput | GetClustersForImageCommandInput | GetCodeSecurityIntegrationCommandInput | GetCodeSecurityScanCommandInput | GetCodeSecurityScanConfigurationCommandInput | GetConfigurationCommandInput | GetDelegatedAdminAccountCommandInput | GetEc2DeepInspectionConfigurationCommandInput | GetEncryptionKeyCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | GetSbomExportCommandInput | ListAccountPermissionsCommandInput | ListCisScanConfigurationsCommandInput | ListCisScanResultsAggregatedByChecksCommandInput | ListCisScanResultsAggregatedByTargetResourceCommandInput | ListCisScansCommandInput | ListCodeSecurityIntegrationsCommandInput | ListCodeSecurityScanConfigurationAssociationsCommandInput | ListCodeSecurityScanConfigurationsCommandInput | ListConnectorScanConfigurationsCommandInput | ListConnectorsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | ResetEncryptionKeyCommandInput | SearchVulnerabilitiesCommandInput | SendCisSessionHealthCommandInput | SendCisSessionTelemetryCommandInput | StartCisSessionCommandInput | StartCodeSecurityScanCommandInput | StopCisSessionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCisScanConfigurationCommandInput | UpdateCodeSecurityIntegrationCommandInput | UpdateCodeSecurityScanConfigurationCommandInput | UpdateConfigurationCommandInput | UpdateConnectorCommandInput | UpdateConnectorScanConfigurationCommandInput | UpdateEc2DeepInspectionConfigurationCommandInput | UpdateEncryptionKeyCommandInput | UpdateFilterCommandInput | UpdateOrgEc2DeepInspectionConfigurationCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
99
|
+
export type ServiceInputTypes = AssociateMemberCommandInput | BatchAssociateCodeSecurityScanConfigurationCommandInput | BatchDisassociateCodeSecurityScanConfigurationCommandInput | BatchGetAccountStatusCommandInput | BatchGetCodeSnippetCommandInput | BatchGetFindingDetailsCommandInput | BatchGetFreeTrialInfoCommandInput | BatchGetMemberEc2DeepInspectionStatusCommandInput | BatchUpdateMemberEc2DeepInspectionStatusCommandInput | CancelFindingsReportCommandInput | CancelSbomExportCommandInput | CreateCisScanConfigurationCommandInput | CreateCodeSecurityIntegrationCommandInput | CreateCodeSecurityScanConfigurationCommandInput | CreateConnectorCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | CreateSbomExportCommandInput | DeleteCisScanConfigurationCommandInput | DeleteCodeSecurityIntegrationCommandInput | DeleteCodeSecurityScanConfigurationCommandInput | DeleteConnectorCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetCisScanReportCommandInput | GetCisScanResultDetailsCommandInput | GetClustersForImageCommandInput | GetCodeSecurityIntegrationCommandInput | GetCodeSecurityScanCommandInput | GetCodeSecurityScanConfigurationCommandInput | GetConfigurationCommandInput | GetDelegatedAdminAccountCommandInput | GetEc2DeepInspectionConfigurationCommandInput | GetEncryptionKeyCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | GetOnDemandScanStatusCommandInput | GetSbomExportCommandInput | ListAccountPermissionsCommandInput | ListCisScanConfigurationsCommandInput | ListCisScanResultsAggregatedByChecksCommandInput | ListCisScanResultsAggregatedByTargetResourceCommandInput | ListCisScansCommandInput | ListCodeSecurityIntegrationsCommandInput | ListCodeSecurityScanConfigurationAssociationsCommandInput | ListCodeSecurityScanConfigurationsCommandInput | ListConnectorScanConfigurationsCommandInput | ListConnectorsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListOnDemandScansCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | ResetEncryptionKeyCommandInput | SearchVulnerabilitiesCommandInput | SendCisSessionHealthCommandInput | SendCisSessionTelemetryCommandInput | StartCisSessionCommandInput | StartCodeSecurityScanCommandInput | StartOnDemandScanCommandInput | StopCisSessionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCisScanConfigurationCommandInput | UpdateCodeSecurityIntegrationCommandInput | UpdateCodeSecurityScanConfigurationCommandInput | UpdateConfigurationCommandInput | UpdateConnectorCommandInput | UpdateConnectorScanConfigurationCommandInput | UpdateEc2DeepInspectionConfigurationCommandInput | UpdateEncryptionKeyCommandInput | UpdateFilterCommandInput | UpdateOrgEc2DeepInspectionConfigurationCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
97
100
|
/**
|
|
98
101
|
* @public
|
|
99
102
|
*/
|
|
100
|
-
export type ServiceOutputTypes = AssociateMemberCommandOutput | BatchAssociateCodeSecurityScanConfigurationCommandOutput | BatchDisassociateCodeSecurityScanConfigurationCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetCodeSnippetCommandOutput | BatchGetFindingDetailsCommandOutput | BatchGetFreeTrialInfoCommandOutput | BatchGetMemberEc2DeepInspectionStatusCommandOutput | BatchUpdateMemberEc2DeepInspectionStatusCommandOutput | CancelFindingsReportCommandOutput | CancelSbomExportCommandOutput | CreateCisScanConfigurationCommandOutput | CreateCodeSecurityIntegrationCommandOutput | CreateCodeSecurityScanConfigurationCommandOutput | CreateConnectorCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | CreateSbomExportCommandOutput | DeleteCisScanConfigurationCommandOutput | DeleteCodeSecurityIntegrationCommandOutput | DeleteCodeSecurityScanConfigurationCommandOutput | DeleteConnectorCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetCisScanReportCommandOutput | GetCisScanResultDetailsCommandOutput | GetClustersForImageCommandOutput | GetCodeSecurityIntegrationCommandOutput | GetCodeSecurityScanCommandOutput | GetCodeSecurityScanConfigurationCommandOutput | GetConfigurationCommandOutput | GetDelegatedAdminAccountCommandOutput | GetEc2DeepInspectionConfigurationCommandOutput | GetEncryptionKeyCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | GetSbomExportCommandOutput | ListAccountPermissionsCommandOutput | ListCisScanConfigurationsCommandOutput | ListCisScanResultsAggregatedByChecksCommandOutput | ListCisScanResultsAggregatedByTargetResourceCommandOutput | ListCisScansCommandOutput | ListCodeSecurityIntegrationsCommandOutput | ListCodeSecurityScanConfigurationAssociationsCommandOutput | ListCodeSecurityScanConfigurationsCommandOutput | ListConnectorScanConfigurationsCommandOutput | ListConnectorsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | ResetEncryptionKeyCommandOutput | SearchVulnerabilitiesCommandOutput | SendCisSessionHealthCommandOutput | SendCisSessionTelemetryCommandOutput | StartCisSessionCommandOutput | StartCodeSecurityScanCommandOutput | StopCisSessionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCisScanConfigurationCommandOutput | UpdateCodeSecurityIntegrationCommandOutput | UpdateCodeSecurityScanConfigurationCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorScanConfigurationCommandOutput | UpdateEc2DeepInspectionConfigurationCommandOutput | UpdateEncryptionKeyCommandOutput | UpdateFilterCommandOutput | UpdateOrgEc2DeepInspectionConfigurationCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
103
|
+
export type ServiceOutputTypes = AssociateMemberCommandOutput | BatchAssociateCodeSecurityScanConfigurationCommandOutput | BatchDisassociateCodeSecurityScanConfigurationCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetCodeSnippetCommandOutput | BatchGetFindingDetailsCommandOutput | BatchGetFreeTrialInfoCommandOutput | BatchGetMemberEc2DeepInspectionStatusCommandOutput | BatchUpdateMemberEc2DeepInspectionStatusCommandOutput | CancelFindingsReportCommandOutput | CancelSbomExportCommandOutput | CreateCisScanConfigurationCommandOutput | CreateCodeSecurityIntegrationCommandOutput | CreateCodeSecurityScanConfigurationCommandOutput | CreateConnectorCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | CreateSbomExportCommandOutput | DeleteCisScanConfigurationCommandOutput | DeleteCodeSecurityIntegrationCommandOutput | DeleteCodeSecurityScanConfigurationCommandOutput | DeleteConnectorCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetCisScanReportCommandOutput | GetCisScanResultDetailsCommandOutput | GetClustersForImageCommandOutput | GetCodeSecurityIntegrationCommandOutput | GetCodeSecurityScanCommandOutput | GetCodeSecurityScanConfigurationCommandOutput | GetConfigurationCommandOutput | GetDelegatedAdminAccountCommandOutput | GetEc2DeepInspectionConfigurationCommandOutput | GetEncryptionKeyCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | GetOnDemandScanStatusCommandOutput | GetSbomExportCommandOutput | ListAccountPermissionsCommandOutput | ListCisScanConfigurationsCommandOutput | ListCisScanResultsAggregatedByChecksCommandOutput | ListCisScanResultsAggregatedByTargetResourceCommandOutput | ListCisScansCommandOutput | ListCodeSecurityIntegrationsCommandOutput | ListCodeSecurityScanConfigurationAssociationsCommandOutput | ListCodeSecurityScanConfigurationsCommandOutput | ListConnectorScanConfigurationsCommandOutput | ListConnectorsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListOnDemandScansCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | ResetEncryptionKeyCommandOutput | SearchVulnerabilitiesCommandOutput | SendCisSessionHealthCommandOutput | SendCisSessionTelemetryCommandOutput | StartCisSessionCommandOutput | StartCodeSecurityScanCommandOutput | StartOnDemandScanCommandOutput | StopCisSessionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCisScanConfigurationCommandOutput | UpdateCodeSecurityIntegrationCommandOutput | UpdateCodeSecurityScanConfigurationCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorScanConfigurationCommandOutput | UpdateEc2DeepInspectionConfigurationCommandOutput | UpdateEncryptionKeyCommandOutput | UpdateFilterCommandOutput | UpdateOrgEc2DeepInspectionConfigurationCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
101
104
|
/**
|
|
102
105
|
* @public
|
|
103
106
|
*/
|
|
@@ -250,8 +253,7 @@ export type Inspector2ClientResolvedConfigType = __SmithyResolvedConfiguration<_
|
|
|
250
253
|
export interface Inspector2ClientResolvedConfig extends Inspector2ClientResolvedConfigType {
|
|
251
254
|
}
|
|
252
255
|
/**
|
|
253
|
-
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for
|
|
254
|
-
* security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.</p>
|
|
256
|
+
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.</p>
|
|
255
257
|
* @public
|
|
256
258
|
*/
|
|
257
259
|
export declare class Inspector2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Inspector2ClientResolvedConfig> {
|
|
@@ -24,10 +24,7 @@ declare const AssociateMemberCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response
|
|
28
|
-
* indicates the association was successfully started, but doesn’t indicate whether it was
|
|
29
|
-
* completed. You can check if the association completed by using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html">ListMembers</a> for multiple
|
|
30
|
-
* accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> for a single account.</p>
|
|
27
|
+
* <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html">ListMembers</a> for multiple accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> for a single account.</p>
|
|
31
28
|
* @example
|
|
32
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
30
|
* ```javascript
|
|
@@ -54,23 +51,19 @@ declare const AssociateMemberCommand_base: {
|
|
|
54
51
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
55
52
|
*
|
|
56
53
|
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
58
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
59
|
-
* unsupported Amazon Web Services Region. </p>
|
|
54
|
+
* <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>
|
|
60
55
|
*
|
|
61
56
|
* @throws {@link InternalServerException} (server fault)
|
|
62
57
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
63
58
|
*
|
|
64
59
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
65
|
-
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
66
|
-
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
60
|
+
* <p>You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
67
61
|
*
|
|
68
62
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
63
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
70
64
|
*
|
|
71
65
|
* @throws {@link ValidationException} (client fault)
|
|
72
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
73
|
-
* inputs.</p>
|
|
66
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
74
67
|
*
|
|
75
68
|
* @throws {@link Inspector2ServiceException}
|
|
76
69
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -24,8 +24,7 @@ declare const BatchAssociateCodeSecurityScanConfigurationCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Associates multiple code repositories with an Amazon Inspector code security scan
|
|
28
|
-
* configuration.</p>
|
|
27
|
+
* <p>Associates multiple code repositories with an Amazon Inspector code security scan configuration.</p>
|
|
29
28
|
* @example
|
|
30
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
30
|
* ```javascript
|
|
@@ -76,27 +75,22 @@ declare const BatchAssociateCodeSecurityScanConfigurationCommand_base: {
|
|
|
76
75
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
77
76
|
*
|
|
78
77
|
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
80
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
81
|
-
* unsupported Amazon Web Services Region. </p>
|
|
78
|
+
* <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>
|
|
82
79
|
*
|
|
83
80
|
* @throws {@link ConflictException} (client fault)
|
|
84
|
-
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
85
|
-
* concurrent requests.</p>
|
|
81
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
|
|
86
82
|
*
|
|
87
83
|
* @throws {@link InternalServerException} (server fault)
|
|
88
84
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
89
85
|
*
|
|
90
86
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
92
|
-
* correctly.</p>
|
|
87
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
93
88
|
*
|
|
94
89
|
* @throws {@link ThrottlingException} (client fault)
|
|
95
90
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
96
91
|
*
|
|
97
92
|
* @throws {@link ValidationException} (client fault)
|
|
98
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
99
|
-
* inputs.</p>
|
|
93
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
100
94
|
*
|
|
101
95
|
* @throws {@link Inspector2ServiceException}
|
|
102
96
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -24,8 +24,7 @@ declare const BatchDisassociateCodeSecurityScanConfigurationCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Disassociates multiple code repositories from an Amazon Inspector code security scan
|
|
28
|
-
* configuration.</p>
|
|
27
|
+
* <p>Disassociates multiple code repositories from an Amazon Inspector code security scan configuration.</p>
|
|
29
28
|
* @example
|
|
30
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
30
|
* ```javascript
|
|
@@ -76,27 +75,22 @@ declare const BatchDisassociateCodeSecurityScanConfigurationCommand_base: {
|
|
|
76
75
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
77
76
|
*
|
|
78
77
|
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
80
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
81
|
-
* unsupported Amazon Web Services Region. </p>
|
|
78
|
+
* <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>
|
|
82
79
|
*
|
|
83
80
|
* @throws {@link ConflictException} (client fault)
|
|
84
|
-
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
85
|
-
* concurrent requests.</p>
|
|
81
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
|
|
86
82
|
*
|
|
87
83
|
* @throws {@link InternalServerException} (server fault)
|
|
88
84
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
89
85
|
*
|
|
90
86
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
92
|
-
* correctly.</p>
|
|
87
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
93
88
|
*
|
|
94
89
|
* @throws {@link ThrottlingException} (client fault)
|
|
95
90
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
96
91
|
*
|
|
97
92
|
* @throws {@link ValidationException} (client fault)
|
|
98
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
99
|
-
* inputs.</p>
|
|
93
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
100
94
|
*
|
|
101
95
|
* @throws {@link Inspector2ServiceException}
|
|
102
96
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -71,6 +71,7 @@ declare const BatchGetAccountStatusCommand_base: {
|
|
|
71
71
|
* // errorMessage: "STRING_VALUE", // required
|
|
72
72
|
* // },
|
|
73
73
|
* // codeRepository: "<State>",
|
|
74
|
+
* // ami: "<State>",
|
|
74
75
|
* // },
|
|
75
76
|
* // },
|
|
76
77
|
* // ],
|
|
@@ -84,6 +85,7 @@ declare const BatchGetAccountStatusCommand_base: {
|
|
|
84
85
|
* // lambda: "STRING_VALUE",
|
|
85
86
|
* // lambdaCode: "STRING_VALUE",
|
|
86
87
|
* // codeRepository: "STRING_VALUE",
|
|
88
|
+
* // ami: "STRING_VALUE",
|
|
87
89
|
* // },
|
|
88
90
|
* // errorCode: "STRING_VALUE", // required
|
|
89
91
|
* // errorMessage: "STRING_VALUE", // required
|
|
@@ -100,23 +102,19 @@ declare const BatchGetAccountStatusCommand_base: {
|
|
|
100
102
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
101
103
|
*
|
|
102
104
|
* @throws {@link AccessDeniedException} (client fault)
|
|
103
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
104
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
105
|
-
* unsupported Amazon Web Services Region. </p>
|
|
105
|
+
* <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>
|
|
106
106
|
*
|
|
107
107
|
* @throws {@link InternalServerException} (server fault)
|
|
108
108
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
109
109
|
*
|
|
110
110
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
111
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
112
|
-
* correctly.</p>
|
|
111
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
113
112
|
*
|
|
114
113
|
* @throws {@link ThrottlingException} (client fault)
|
|
115
114
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
116
115
|
*
|
|
117
116
|
* @throws {@link ValidationException} (client fault)
|
|
118
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
119
|
-
* inputs.</p>
|
|
117
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
120
118
|
*
|
|
121
119
|
* @throws {@link Inspector2ServiceException}
|
|
122
120
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -24,8 +24,7 @@ declare const BatchGetCodeSnippetCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities
|
|
28
|
-
* in.</p>
|
|
27
|
+
* <p>Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.</p>
|
|
29
28
|
* @example
|
|
30
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
30
|
* ```javascript
|
|
@@ -79,9 +78,7 @@ declare const BatchGetCodeSnippetCommand_base: {
|
|
|
79
78
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
80
79
|
*
|
|
81
80
|
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
83
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
84
|
-
* unsupported Amazon Web Services Region. </p>
|
|
81
|
+
* <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>
|
|
85
82
|
*
|
|
86
83
|
* @throws {@link InternalServerException} (server fault)
|
|
87
84
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -90,8 +87,7 @@ declare const BatchGetCodeSnippetCommand_base: {
|
|
|
90
87
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
91
88
|
*
|
|
92
89
|
* @throws {@link ValidationException} (client fault)
|
|
93
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
94
|
-
* inputs.</p>
|
|
90
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
95
91
|
*
|
|
96
92
|
* @throws {@link Inspector2ServiceException}
|
|
97
93
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -94,9 +94,7 @@ declare const BatchGetFindingDetailsCommand_base: {
|
|
|
94
94
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link AccessDeniedException} (client fault)
|
|
97
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
98
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
99
|
-
* unsupported Amazon Web Services Region. </p>
|
|
97
|
+
* <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>
|
|
100
98
|
*
|
|
101
99
|
* @throws {@link InternalServerException} (server fault)
|
|
102
100
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -105,8 +103,7 @@ declare const BatchGetFindingDetailsCommand_base: {
|
|
|
105
103
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
106
104
|
*
|
|
107
105
|
* @throws {@link ValidationException} (client fault)
|
|
108
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
109
|
-
* inputs.</p>
|
|
106
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
110
107
|
*
|
|
111
108
|
* @throws {@link Inspector2ServiceException}
|
|
112
109
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -73,9 +73,7 @@ declare const BatchGetFreeTrialInfoCommand_base: {
|
|
|
73
73
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
77
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
78
|
-
* unsupported Amazon Web Services Region. </p>
|
|
76
|
+
* <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>
|
|
79
77
|
*
|
|
80
78
|
* @throws {@link InternalServerException} (server fault)
|
|
81
79
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -84,8 +82,7 @@ declare const BatchGetFreeTrialInfoCommand_base: {
|
|
|
84
82
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
85
83
|
*
|
|
86
84
|
* @throws {@link ValidationException} (client fault)
|
|
87
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
88
|
-
* inputs.</p>
|
|
85
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
89
86
|
*
|
|
90
87
|
* @throws {@link Inspector2ServiceException}
|
|
91
88
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -24,9 +24,7 @@ declare const BatchGetMemberEc2DeepInspectionStatusCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within
|
|
28
|
-
* your organization. You must be the delegated administrator of an organization in Amazon Inspector to
|
|
29
|
-
* use this API.</p>
|
|
27
|
+
* <p>Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -68,9 +66,7 @@ declare const BatchGetMemberEc2DeepInspectionStatusCommand_base: {
|
|
|
68
66
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
69
67
|
*
|
|
70
68
|
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
73
|
-
* unsupported Amazon Web Services Region. </p>
|
|
69
|
+
* <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>
|
|
74
70
|
*
|
|
75
71
|
* @throws {@link InternalServerException} (server fault)
|
|
76
72
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -79,8 +75,7 @@ declare const BatchGetMemberEc2DeepInspectionStatusCommand_base: {
|
|
|
79
75
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
80
76
|
*
|
|
81
77
|
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
83
|
-
* inputs.</p>
|
|
78
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
84
79
|
*
|
|
85
80
|
* @throws {@link Inspector2ServiceException}
|
|
86
81
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -24,9 +24,7 @@ declare const BatchUpdateMemberEc2DeepInspectionStatusCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your
|
|
28
|
-
* organization. You must be the delegated administrator of an organization in Amazon Inspector to use
|
|
29
|
-
* this API.</p>
|
|
27
|
+
* <p>Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -71,9 +69,7 @@ declare const BatchUpdateMemberEc2DeepInspectionStatusCommand_base: {
|
|
|
71
69
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
72
70
|
*
|
|
73
71
|
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
75
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
76
|
-
* unsupported Amazon Web Services Region. </p>
|
|
72
|
+
* <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>
|
|
77
73
|
*
|
|
78
74
|
* @throws {@link InternalServerException} (server fault)
|
|
79
75
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -82,8 +78,7 @@ declare const BatchUpdateMemberEc2DeepInspectionStatusCommand_base: {
|
|
|
82
78
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
83
79
|
*
|
|
84
80
|
* @throws {@link ValidationException} (client fault)
|
|
85
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
86
|
-
* inputs.</p>
|
|
81
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
87
82
|
*
|
|
88
83
|
* @throws {@link Inspector2ServiceException}
|
|
89
84
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -51,23 +51,19 @@ declare const CancelFindingsReportCommand_base: {
|
|
|
51
51
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
56
|
-
* unsupported Amazon Web Services Region. </p>
|
|
54
|
+
* <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>
|
|
57
55
|
*
|
|
58
56
|
* @throws {@link InternalServerException} (server fault)
|
|
59
57
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
60
58
|
*
|
|
61
59
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
63
|
-
* correctly.</p>
|
|
60
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
64
61
|
*
|
|
65
62
|
* @throws {@link ThrottlingException} (client fault)
|
|
66
63
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
67
64
|
*
|
|
68
65
|
* @throws {@link ValidationException} (client fault)
|
|
69
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
70
|
-
* inputs.</p>
|
|
66
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
71
67
|
*
|
|
72
68
|
* @throws {@link Inspector2ServiceException}
|
|
73
69
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -51,23 +51,19 @@ declare const CancelSbomExportCommand_base: {
|
|
|
51
51
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
56
|
-
* unsupported Amazon Web Services Region. </p>
|
|
54
|
+
* <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>
|
|
57
55
|
*
|
|
58
56
|
* @throws {@link InternalServerException} (server fault)
|
|
59
57
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
60
58
|
*
|
|
61
59
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
63
|
-
* correctly.</p>
|
|
60
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
64
61
|
*
|
|
65
62
|
* @throws {@link ThrottlingException} (client fault)
|
|
66
63
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
67
64
|
*
|
|
68
65
|
* @throws {@link ValidationException} (client fault)
|
|
69
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
70
|
-
* inputs.</p>
|
|
66
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
71
67
|
*
|
|
72
68
|
* @throws {@link Inspector2ServiceException}
|
|
73
69
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -90,9 +90,7 @@ declare const CreateCisScanConfigurationCommand_base: {
|
|
|
90
90
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link AccessDeniedException} (client fault)
|
|
93
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
94
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
95
|
-
* unsupported Amazon Web Services Region. </p>
|
|
93
|
+
* <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>
|
|
96
94
|
*
|
|
97
95
|
* @throws {@link InternalServerException} (server fault)
|
|
98
96
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -101,8 +99,7 @@ declare const CreateCisScanConfigurationCommand_base: {
|
|
|
101
99
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
102
100
|
*
|
|
103
101
|
* @throws {@link ValidationException} (client fault)
|
|
104
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
105
|
-
* inputs.</p>
|
|
102
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
106
103
|
*
|
|
107
104
|
* @throws {@link Inspector2ServiceException}
|
|
108
105
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -24,11 +24,7 @@ declare const CreateCodeSecurityIntegrationCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates a code security integration with a source code repository provider.</p>
|
|
28
|
-
* <p>After calling the <code>CreateCodeSecurityIntegration</code> operation, you complete
|
|
29
|
-
* authentication and authorization with your provider. Next you call the
|
|
30
|
-
* <code>UpdateCodeSecurityIntegration</code> operation to provide the <code>details</code>
|
|
31
|
-
* to complete the integration setup</p>
|
|
27
|
+
* <p>Creates a code security integration with a source code repository provider.</p> <p>After calling the <code>CreateCodeSecurityIntegration</code> operation, you complete authentication and authorization with your provider. Next you call the <code>UpdateCodeSecurityIntegration</code> operation to provide the <code>details</code> to complete the integration setup</p>
|
|
32
28
|
* @example
|
|
33
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
30
|
* ```javascript
|
|
@@ -67,27 +63,22 @@ declare const CreateCodeSecurityIntegrationCommand_base: {
|
|
|
67
63
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
68
64
|
*
|
|
69
65
|
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
71
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
72
|
-
* unsupported Amazon Web Services Region. </p>
|
|
66
|
+
* <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>
|
|
73
67
|
*
|
|
74
68
|
* @throws {@link ConflictException} (client fault)
|
|
75
|
-
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
76
|
-
* concurrent requests.</p>
|
|
69
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
|
|
77
70
|
*
|
|
78
71
|
* @throws {@link InternalServerException} (server fault)
|
|
79
72
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
80
73
|
*
|
|
81
74
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
-
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
83
|
-
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
75
|
+
* <p>You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
84
76
|
*
|
|
85
77
|
* @throws {@link ThrottlingException} (client fault)
|
|
86
78
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
87
79
|
*
|
|
88
80
|
* @throws {@link ValidationException} (client fault)
|
|
89
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
90
|
-
* inputs.</p>
|
|
81
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
91
82
|
*
|
|
92
83
|
* @throws {@link Inspector2ServiceException}
|
|
93
84
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|