@aws-sdk/client-inspector2 3.830.0 → 3.835.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 +120 -0
- package/dist-cjs/index.js +1297 -313
- package/dist-es/Inspector2.js +30 -0
- package/dist-es/commands/BatchAssociateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/CreateCodeSecurityIntegrationCommand.js +23 -0
- package/dist-es/commands/CreateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteCodeSecurityIntegrationCommand.js +22 -0
- package/dist-es/commands/DeleteCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/GetCodeSecurityIntegrationCommand.js +23 -0
- package/dist-es/commands/GetCodeSecurityScanCommand.js +22 -0
- package/dist-es/commands/GetCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/ListCodeSecurityIntegrationsCommand.js +22 -0
- package/dist-es/commands/ListCodeSecurityScanConfigurationAssociationsCommand.js +22 -0
- package/dist-es/commands/ListCodeSecurityScanConfigurationsCommand.js +22 -0
- package/dist-es/commands/StartCodeSecurityScanCommand.js +22 -0
- package/dist-es/commands/UpdateCodeSecurityIntegrationCommand.js +23 -0
- package/dist-es/commands/UpdateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/models/models_0.js +153 -120
- package/dist-es/models/models_1.js +110 -0
- package/dist-es/protocols/Aws_restJson1.js +509 -3
- package/dist-types/Inspector2.d.ts +107 -0
- package/dist-types/Inspector2Client.d.ts +17 -2
- package/dist-types/commands/AssociateMemberCommand.d.ts +6 -1
- package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
- package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -1
- package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +4 -1
- package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -0
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +4 -1
- package/dist-types/commands/CancelSbomExportCommand.d.ts +4 -1
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +111 -0
- package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +116 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +6 -1
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -2
- package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -1
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +91 -0
- package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +4 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DisableCommand.d.ts +8 -3
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -2
- package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -0
- package/dist-types/commands/EnableCommand.d.ts +6 -1
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -2
- package/dist-types/commands/GetCisScanReportCommand.d.ts +5 -2
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +3 -1
- package/dist-types/commands/GetClustersForImageCommand.d.ts +3 -1
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +104 -0
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +107 -0
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +115 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +3 -2
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +5 -2
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +5 -2
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +7 -2
- package/dist-types/commands/GetMemberCommand.d.ts +5 -2
- package/dist-types/commands/GetSbomExportCommand.d.ts +5 -3
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScansCommand.d.ts +2 -0
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +102 -0
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +113 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +37 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +4 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +3 -2
- package/dist-types/commands/ListFiltersCommand.d.ts +4 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +16 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +7 -0
- package/dist-types/commands/ListMembersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -0
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -2
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -0
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +7 -6
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +7 -6
- package/dist-types/commands/StartCisSessionCommand.d.ts +7 -6
- package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +99 -0
- package/dist-types/commands/StopCisSessionCommand.d.ts +7 -6
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +109 -0
- package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +109 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +5 -1
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -2
- package/dist-types/commands/UpdateFilterCommand.d.ts +6 -1
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2059 -1859
- package/dist-types/models/models_1.d.ts +1582 -49
- package/dist-types/protocols/Aws_restJson1.d.ts +135 -0
- package/dist-types/ts3.4/Inspector2.d.ts +299 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +90 -0
- package/dist-types/ts3.4/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartCodeSecurityScanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +420 -328
- package/dist-types/ts3.4/models/models_1.d.ts +445 -6
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +180 -0
- package/package.json +11 -11
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "./commands/AssociateMemberCommand";
|
|
3
|
+
import { BatchAssociateCodeSecurityScanConfigurationCommandInput, BatchAssociateCodeSecurityScanConfigurationCommandOutput } from "./commands/BatchAssociateCodeSecurityScanConfigurationCommand";
|
|
4
|
+
import { BatchDisassociateCodeSecurityScanConfigurationCommandInput, BatchDisassociateCodeSecurityScanConfigurationCommandOutput } from "./commands/BatchDisassociateCodeSecurityScanConfigurationCommand";
|
|
3
5
|
import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "./commands/BatchGetAccountStatusCommand";
|
|
4
6
|
import { BatchGetCodeSnippetCommandInput, BatchGetCodeSnippetCommandOutput } from "./commands/BatchGetCodeSnippetCommand";
|
|
5
7
|
import { BatchGetFindingDetailsCommandInput, BatchGetFindingDetailsCommandOutput } from "./commands/BatchGetFindingDetailsCommand";
|
|
@@ -9,10 +11,14 @@ import { BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMember
|
|
|
9
11
|
import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "./commands/CancelFindingsReportCommand";
|
|
10
12
|
import { CancelSbomExportCommandInput, CancelSbomExportCommandOutput } from "./commands/CancelSbomExportCommand";
|
|
11
13
|
import { CreateCisScanConfigurationCommandInput, CreateCisScanConfigurationCommandOutput } from "./commands/CreateCisScanConfigurationCommand";
|
|
14
|
+
import { CreateCodeSecurityIntegrationCommandInput, CreateCodeSecurityIntegrationCommandOutput } from "./commands/CreateCodeSecurityIntegrationCommand";
|
|
15
|
+
import { CreateCodeSecurityScanConfigurationCommandInput, CreateCodeSecurityScanConfigurationCommandOutput } from "./commands/CreateCodeSecurityScanConfigurationCommand";
|
|
12
16
|
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
13
17
|
import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "./commands/CreateFindingsReportCommand";
|
|
14
18
|
import { CreateSbomExportCommandInput, CreateSbomExportCommandOutput } from "./commands/CreateSbomExportCommand";
|
|
15
19
|
import { DeleteCisScanConfigurationCommandInput, DeleteCisScanConfigurationCommandOutput } from "./commands/DeleteCisScanConfigurationCommand";
|
|
20
|
+
import { DeleteCodeSecurityIntegrationCommandInput, DeleteCodeSecurityIntegrationCommandOutput } from "./commands/DeleteCodeSecurityIntegrationCommand";
|
|
21
|
+
import { DeleteCodeSecurityScanConfigurationCommandInput, DeleteCodeSecurityScanConfigurationCommandOutput } from "./commands/DeleteCodeSecurityScanConfigurationCommand";
|
|
16
22
|
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
17
23
|
import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
|
|
18
24
|
import { DisableCommandInput, DisableCommandOutput } from "./commands/DisableCommand";
|
|
@@ -23,6 +29,9 @@ import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCom
|
|
|
23
29
|
import { GetCisScanReportCommandInput, GetCisScanReportCommandOutput } from "./commands/GetCisScanReportCommand";
|
|
24
30
|
import { GetCisScanResultDetailsCommandInput, GetCisScanResultDetailsCommandOutput } from "./commands/GetCisScanResultDetailsCommand";
|
|
25
31
|
import { GetClustersForImageCommandInput, GetClustersForImageCommandOutput } from "./commands/GetClustersForImageCommand";
|
|
32
|
+
import { GetCodeSecurityIntegrationCommandInput, GetCodeSecurityIntegrationCommandOutput } from "./commands/GetCodeSecurityIntegrationCommand";
|
|
33
|
+
import { GetCodeSecurityScanCommandInput, GetCodeSecurityScanCommandOutput } from "./commands/GetCodeSecurityScanCommand";
|
|
34
|
+
import { GetCodeSecurityScanConfigurationCommandInput, GetCodeSecurityScanConfigurationCommandOutput } from "./commands/GetCodeSecurityScanConfigurationCommand";
|
|
26
35
|
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
27
36
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
28
37
|
import { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput } from "./commands/GetEc2DeepInspectionConfigurationCommand";
|
|
@@ -35,6 +44,9 @@ import { ListCisScanConfigurationsCommandInput, ListCisScanConfigurationsCommand
|
|
|
35
44
|
import { ListCisScanResultsAggregatedByChecksCommandInput, ListCisScanResultsAggregatedByChecksCommandOutput } from "./commands/ListCisScanResultsAggregatedByChecksCommand";
|
|
36
45
|
import { ListCisScanResultsAggregatedByTargetResourceCommandInput, ListCisScanResultsAggregatedByTargetResourceCommandOutput } from "./commands/ListCisScanResultsAggregatedByTargetResourceCommand";
|
|
37
46
|
import { ListCisScansCommandInput, ListCisScansCommandOutput } from "./commands/ListCisScansCommand";
|
|
47
|
+
import { ListCodeSecurityIntegrationsCommandInput, ListCodeSecurityIntegrationsCommandOutput } from "./commands/ListCodeSecurityIntegrationsCommand";
|
|
48
|
+
import { ListCodeSecurityScanConfigurationAssociationsCommandInput, ListCodeSecurityScanConfigurationAssociationsCommandOutput } from "./commands/ListCodeSecurityScanConfigurationAssociationsCommand";
|
|
49
|
+
import { ListCodeSecurityScanConfigurationsCommandInput, ListCodeSecurityScanConfigurationsCommandOutput } from "./commands/ListCodeSecurityScanConfigurationsCommand";
|
|
38
50
|
import { ListCoverageCommandInput, ListCoverageCommandOutput } from "./commands/ListCoverageCommand";
|
|
39
51
|
import { ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput } from "./commands/ListCoverageStatisticsCommand";
|
|
40
52
|
import { ListDelegatedAdminAccountsCommandInput, ListDelegatedAdminAccountsCommandOutput } from "./commands/ListDelegatedAdminAccountsCommand";
|
|
@@ -49,10 +61,13 @@ import { SearchVulnerabilitiesCommandInput, SearchVulnerabilitiesCommandOutput }
|
|
|
49
61
|
import { SendCisSessionHealthCommandInput, SendCisSessionHealthCommandOutput } from "./commands/SendCisSessionHealthCommand";
|
|
50
62
|
import { SendCisSessionTelemetryCommandInput, SendCisSessionTelemetryCommandOutput } from "./commands/SendCisSessionTelemetryCommand";
|
|
51
63
|
import { StartCisSessionCommandInput, StartCisSessionCommandOutput } from "./commands/StartCisSessionCommand";
|
|
64
|
+
import { StartCodeSecurityScanCommandInput, StartCodeSecurityScanCommandOutput } from "./commands/StartCodeSecurityScanCommand";
|
|
52
65
|
import { StopCisSessionCommandInput, StopCisSessionCommandOutput } from "./commands/StopCisSessionCommand";
|
|
53
66
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
54
67
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
55
68
|
import { UpdateCisScanConfigurationCommandInput, UpdateCisScanConfigurationCommandOutput } from "./commands/UpdateCisScanConfigurationCommand";
|
|
69
|
+
import { UpdateCodeSecurityIntegrationCommandInput, UpdateCodeSecurityIntegrationCommandOutput } from "./commands/UpdateCodeSecurityIntegrationCommand";
|
|
70
|
+
import { UpdateCodeSecurityScanConfigurationCommandInput, UpdateCodeSecurityScanConfigurationCommandOutput } from "./commands/UpdateCodeSecurityScanConfigurationCommand";
|
|
56
71
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
57
72
|
import { UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
|
|
58
73
|
import { UpdateEncryptionKeyCommandInput, UpdateEncryptionKeyCommandOutput } from "./commands/UpdateEncryptionKeyCommand";
|
|
@@ -67,6 +82,18 @@ export interface Inspector2 {
|
|
|
67
82
|
associateMember(args: AssociateMemberCommandInput, options?: __HttpHandlerOptions): Promise<AssociateMemberCommandOutput>;
|
|
68
83
|
associateMember(args: AssociateMemberCommandInput, cb: (err: any, data?: AssociateMemberCommandOutput) => void): void;
|
|
69
84
|
associateMember(args: AssociateMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateMemberCommandOutput) => void): void;
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link BatchAssociateCodeSecurityScanConfigurationCommand}
|
|
87
|
+
*/
|
|
88
|
+
batchAssociateCodeSecurityScanConfiguration(args: BatchAssociateCodeSecurityScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<BatchAssociateCodeSecurityScanConfigurationCommandOutput>;
|
|
89
|
+
batchAssociateCodeSecurityScanConfiguration(args: BatchAssociateCodeSecurityScanConfigurationCommandInput, cb: (err: any, data?: BatchAssociateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
90
|
+
batchAssociateCodeSecurityScanConfiguration(args: BatchAssociateCodeSecurityScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link BatchDisassociateCodeSecurityScanConfigurationCommand}
|
|
93
|
+
*/
|
|
94
|
+
batchDisassociateCodeSecurityScanConfiguration(args: BatchDisassociateCodeSecurityScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisassociateCodeSecurityScanConfigurationCommandOutput>;
|
|
95
|
+
batchDisassociateCodeSecurityScanConfiguration(args: BatchDisassociateCodeSecurityScanConfigurationCommandInput, cb: (err: any, data?: BatchDisassociateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
96
|
+
batchDisassociateCodeSecurityScanConfiguration(args: BatchDisassociateCodeSecurityScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
70
97
|
/**
|
|
71
98
|
* @see {@link BatchGetAccountStatusCommand}
|
|
72
99
|
*/
|
|
@@ -123,6 +150,18 @@ export interface Inspector2 {
|
|
|
123
150
|
createCisScanConfiguration(args: CreateCisScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCisScanConfigurationCommandOutput>;
|
|
124
151
|
createCisScanConfiguration(args: CreateCisScanConfigurationCommandInput, cb: (err: any, data?: CreateCisScanConfigurationCommandOutput) => void): void;
|
|
125
152
|
createCisScanConfiguration(args: CreateCisScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCisScanConfigurationCommandOutput) => void): void;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link CreateCodeSecurityIntegrationCommand}
|
|
155
|
+
*/
|
|
156
|
+
createCodeSecurityIntegration(args: CreateCodeSecurityIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeSecurityIntegrationCommandOutput>;
|
|
157
|
+
createCodeSecurityIntegration(args: CreateCodeSecurityIntegrationCommandInput, cb: (err: any, data?: CreateCodeSecurityIntegrationCommandOutput) => void): void;
|
|
158
|
+
createCodeSecurityIntegration(args: CreateCodeSecurityIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeSecurityIntegrationCommandOutput) => void): void;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link CreateCodeSecurityScanConfigurationCommand}
|
|
161
|
+
*/
|
|
162
|
+
createCodeSecurityScanConfiguration(args: CreateCodeSecurityScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeSecurityScanConfigurationCommandOutput>;
|
|
163
|
+
createCodeSecurityScanConfiguration(args: CreateCodeSecurityScanConfigurationCommandInput, cb: (err: any, data?: CreateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
164
|
+
createCodeSecurityScanConfiguration(args: CreateCodeSecurityScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
126
165
|
/**
|
|
127
166
|
* @see {@link CreateFilterCommand}
|
|
128
167
|
*/
|
|
@@ -147,6 +186,18 @@ export interface Inspector2 {
|
|
|
147
186
|
deleteCisScanConfiguration(args: DeleteCisScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCisScanConfigurationCommandOutput>;
|
|
148
187
|
deleteCisScanConfiguration(args: DeleteCisScanConfigurationCommandInput, cb: (err: any, data?: DeleteCisScanConfigurationCommandOutput) => void): void;
|
|
149
188
|
deleteCisScanConfiguration(args: DeleteCisScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCisScanConfigurationCommandOutput) => void): void;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link DeleteCodeSecurityIntegrationCommand}
|
|
191
|
+
*/
|
|
192
|
+
deleteCodeSecurityIntegration(args: DeleteCodeSecurityIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCodeSecurityIntegrationCommandOutput>;
|
|
193
|
+
deleteCodeSecurityIntegration(args: DeleteCodeSecurityIntegrationCommandInput, cb: (err: any, data?: DeleteCodeSecurityIntegrationCommandOutput) => void): void;
|
|
194
|
+
deleteCodeSecurityIntegration(args: DeleteCodeSecurityIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCodeSecurityIntegrationCommandOutput) => void): void;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link DeleteCodeSecurityScanConfigurationCommand}
|
|
197
|
+
*/
|
|
198
|
+
deleteCodeSecurityScanConfiguration(args: DeleteCodeSecurityScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCodeSecurityScanConfigurationCommandOutput>;
|
|
199
|
+
deleteCodeSecurityScanConfiguration(args: DeleteCodeSecurityScanConfigurationCommandInput, cb: (err: any, data?: DeleteCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
200
|
+
deleteCodeSecurityScanConfiguration(args: DeleteCodeSecurityScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
150
201
|
/**
|
|
151
202
|
* @see {@link DeleteFilterCommand}
|
|
152
203
|
*/
|
|
@@ -209,6 +260,24 @@ export interface Inspector2 {
|
|
|
209
260
|
getClustersForImage(args: GetClustersForImageCommandInput, options?: __HttpHandlerOptions): Promise<GetClustersForImageCommandOutput>;
|
|
210
261
|
getClustersForImage(args: GetClustersForImageCommandInput, cb: (err: any, data?: GetClustersForImageCommandOutput) => void): void;
|
|
211
262
|
getClustersForImage(args: GetClustersForImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClustersForImageCommandOutput) => void): void;
|
|
263
|
+
/**
|
|
264
|
+
* @see {@link GetCodeSecurityIntegrationCommand}
|
|
265
|
+
*/
|
|
266
|
+
getCodeSecurityIntegration(args: GetCodeSecurityIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeSecurityIntegrationCommandOutput>;
|
|
267
|
+
getCodeSecurityIntegration(args: GetCodeSecurityIntegrationCommandInput, cb: (err: any, data?: GetCodeSecurityIntegrationCommandOutput) => void): void;
|
|
268
|
+
getCodeSecurityIntegration(args: GetCodeSecurityIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSecurityIntegrationCommandOutput) => void): void;
|
|
269
|
+
/**
|
|
270
|
+
* @see {@link GetCodeSecurityScanCommand}
|
|
271
|
+
*/
|
|
272
|
+
getCodeSecurityScan(args: GetCodeSecurityScanCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeSecurityScanCommandOutput>;
|
|
273
|
+
getCodeSecurityScan(args: GetCodeSecurityScanCommandInput, cb: (err: any, data?: GetCodeSecurityScanCommandOutput) => void): void;
|
|
274
|
+
getCodeSecurityScan(args: GetCodeSecurityScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSecurityScanCommandOutput) => void): void;
|
|
275
|
+
/**
|
|
276
|
+
* @see {@link GetCodeSecurityScanConfigurationCommand}
|
|
277
|
+
*/
|
|
278
|
+
getCodeSecurityScanConfiguration(args: GetCodeSecurityScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeSecurityScanConfigurationCommandOutput>;
|
|
279
|
+
getCodeSecurityScanConfiguration(args: GetCodeSecurityScanConfigurationCommandInput, cb: (err: any, data?: GetCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
280
|
+
getCodeSecurityScanConfiguration(args: GetCodeSecurityScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
212
281
|
/**
|
|
213
282
|
* @see {@link GetConfigurationCommand}
|
|
214
283
|
*/
|
|
@@ -288,6 +357,26 @@ export interface Inspector2 {
|
|
|
288
357
|
listCisScans(args: ListCisScansCommandInput, options?: __HttpHandlerOptions): Promise<ListCisScansCommandOutput>;
|
|
289
358
|
listCisScans(args: ListCisScansCommandInput, cb: (err: any, data?: ListCisScansCommandOutput) => void): void;
|
|
290
359
|
listCisScans(args: ListCisScansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCisScansCommandOutput) => void): void;
|
|
360
|
+
/**
|
|
361
|
+
* @see {@link ListCodeSecurityIntegrationsCommand}
|
|
362
|
+
*/
|
|
363
|
+
listCodeSecurityIntegrations(): Promise<ListCodeSecurityIntegrationsCommandOutput>;
|
|
364
|
+
listCodeSecurityIntegrations(args: ListCodeSecurityIntegrationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeSecurityIntegrationsCommandOutput>;
|
|
365
|
+
listCodeSecurityIntegrations(args: ListCodeSecurityIntegrationsCommandInput, cb: (err: any, data?: ListCodeSecurityIntegrationsCommandOutput) => void): void;
|
|
366
|
+
listCodeSecurityIntegrations(args: ListCodeSecurityIntegrationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSecurityIntegrationsCommandOutput) => void): void;
|
|
367
|
+
/**
|
|
368
|
+
* @see {@link ListCodeSecurityScanConfigurationAssociationsCommand}
|
|
369
|
+
*/
|
|
370
|
+
listCodeSecurityScanConfigurationAssociations(args: ListCodeSecurityScanConfigurationAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeSecurityScanConfigurationAssociationsCommandOutput>;
|
|
371
|
+
listCodeSecurityScanConfigurationAssociations(args: ListCodeSecurityScanConfigurationAssociationsCommandInput, cb: (err: any, data?: ListCodeSecurityScanConfigurationAssociationsCommandOutput) => void): void;
|
|
372
|
+
listCodeSecurityScanConfigurationAssociations(args: ListCodeSecurityScanConfigurationAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSecurityScanConfigurationAssociationsCommandOutput) => void): void;
|
|
373
|
+
/**
|
|
374
|
+
* @see {@link ListCodeSecurityScanConfigurationsCommand}
|
|
375
|
+
*/
|
|
376
|
+
listCodeSecurityScanConfigurations(): Promise<ListCodeSecurityScanConfigurationsCommandOutput>;
|
|
377
|
+
listCodeSecurityScanConfigurations(args: ListCodeSecurityScanConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeSecurityScanConfigurationsCommandOutput>;
|
|
378
|
+
listCodeSecurityScanConfigurations(args: ListCodeSecurityScanConfigurationsCommandInput, cb: (err: any, data?: ListCodeSecurityScanConfigurationsCommandOutput) => void): void;
|
|
379
|
+
listCodeSecurityScanConfigurations(args: ListCodeSecurityScanConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSecurityScanConfigurationsCommandOutput) => void): void;
|
|
291
380
|
/**
|
|
292
381
|
* @see {@link ListCoverageCommand}
|
|
293
382
|
*/
|
|
@@ -379,6 +468,12 @@ export interface Inspector2 {
|
|
|
379
468
|
startCisSession(args: StartCisSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartCisSessionCommandOutput>;
|
|
380
469
|
startCisSession(args: StartCisSessionCommandInput, cb: (err: any, data?: StartCisSessionCommandOutput) => void): void;
|
|
381
470
|
startCisSession(args: StartCisSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCisSessionCommandOutput) => void): void;
|
|
471
|
+
/**
|
|
472
|
+
* @see {@link StartCodeSecurityScanCommand}
|
|
473
|
+
*/
|
|
474
|
+
startCodeSecurityScan(args: StartCodeSecurityScanCommandInput, options?: __HttpHandlerOptions): Promise<StartCodeSecurityScanCommandOutput>;
|
|
475
|
+
startCodeSecurityScan(args: StartCodeSecurityScanCommandInput, cb: (err: any, data?: StartCodeSecurityScanCommandOutput) => void): void;
|
|
476
|
+
startCodeSecurityScan(args: StartCodeSecurityScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCodeSecurityScanCommandOutput) => void): void;
|
|
382
477
|
/**
|
|
383
478
|
* @see {@link StopCisSessionCommand}
|
|
384
479
|
*/
|
|
@@ -403,6 +498,18 @@ export interface Inspector2 {
|
|
|
403
498
|
updateCisScanConfiguration(args: UpdateCisScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCisScanConfigurationCommandOutput>;
|
|
404
499
|
updateCisScanConfiguration(args: UpdateCisScanConfigurationCommandInput, cb: (err: any, data?: UpdateCisScanConfigurationCommandOutput) => void): void;
|
|
405
500
|
updateCisScanConfiguration(args: UpdateCisScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCisScanConfigurationCommandOutput) => void): void;
|
|
501
|
+
/**
|
|
502
|
+
* @see {@link UpdateCodeSecurityIntegrationCommand}
|
|
503
|
+
*/
|
|
504
|
+
updateCodeSecurityIntegration(args: UpdateCodeSecurityIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCodeSecurityIntegrationCommandOutput>;
|
|
505
|
+
updateCodeSecurityIntegration(args: UpdateCodeSecurityIntegrationCommandInput, cb: (err: any, data?: UpdateCodeSecurityIntegrationCommandOutput) => void): void;
|
|
506
|
+
updateCodeSecurityIntegration(args: UpdateCodeSecurityIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCodeSecurityIntegrationCommandOutput) => void): void;
|
|
507
|
+
/**
|
|
508
|
+
* @see {@link UpdateCodeSecurityScanConfigurationCommand}
|
|
509
|
+
*/
|
|
510
|
+
updateCodeSecurityScanConfiguration(args: UpdateCodeSecurityScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCodeSecurityScanConfigurationCommandOutput>;
|
|
511
|
+
updateCodeSecurityScanConfiguration(args: UpdateCodeSecurityScanConfigurationCommandInput, cb: (err: any, data?: UpdateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
512
|
+
updateCodeSecurityScanConfiguration(args: UpdateCodeSecurityScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCodeSecurityScanConfigurationCommandOutput) => void): void;
|
|
406
513
|
/**
|
|
407
514
|
* @see {@link UpdateConfigurationCommand}
|
|
408
515
|
*/
|
|
@@ -8,6 +8,8 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "./commands/AssociateMemberCommand";
|
|
11
|
+
import { BatchAssociateCodeSecurityScanConfigurationCommandInput, BatchAssociateCodeSecurityScanConfigurationCommandOutput } from "./commands/BatchAssociateCodeSecurityScanConfigurationCommand";
|
|
12
|
+
import { BatchDisassociateCodeSecurityScanConfigurationCommandInput, BatchDisassociateCodeSecurityScanConfigurationCommandOutput } from "./commands/BatchDisassociateCodeSecurityScanConfigurationCommand";
|
|
11
13
|
import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "./commands/BatchGetAccountStatusCommand";
|
|
12
14
|
import { BatchGetCodeSnippetCommandInput, BatchGetCodeSnippetCommandOutput } from "./commands/BatchGetCodeSnippetCommand";
|
|
13
15
|
import { BatchGetFindingDetailsCommandInput, BatchGetFindingDetailsCommandOutput } from "./commands/BatchGetFindingDetailsCommand";
|
|
@@ -17,10 +19,14 @@ import { BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMember
|
|
|
17
19
|
import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "./commands/CancelFindingsReportCommand";
|
|
18
20
|
import { CancelSbomExportCommandInput, CancelSbomExportCommandOutput } from "./commands/CancelSbomExportCommand";
|
|
19
21
|
import { CreateCisScanConfigurationCommandInput, CreateCisScanConfigurationCommandOutput } from "./commands/CreateCisScanConfigurationCommand";
|
|
22
|
+
import { CreateCodeSecurityIntegrationCommandInput, CreateCodeSecurityIntegrationCommandOutput } from "./commands/CreateCodeSecurityIntegrationCommand";
|
|
23
|
+
import { CreateCodeSecurityScanConfigurationCommandInput, CreateCodeSecurityScanConfigurationCommandOutput } from "./commands/CreateCodeSecurityScanConfigurationCommand";
|
|
20
24
|
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
21
25
|
import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "./commands/CreateFindingsReportCommand";
|
|
22
26
|
import { CreateSbomExportCommandInput, CreateSbomExportCommandOutput } from "./commands/CreateSbomExportCommand";
|
|
23
27
|
import { DeleteCisScanConfigurationCommandInput, DeleteCisScanConfigurationCommandOutput } from "./commands/DeleteCisScanConfigurationCommand";
|
|
28
|
+
import { DeleteCodeSecurityIntegrationCommandInput, DeleteCodeSecurityIntegrationCommandOutput } from "./commands/DeleteCodeSecurityIntegrationCommand";
|
|
29
|
+
import { DeleteCodeSecurityScanConfigurationCommandInput, DeleteCodeSecurityScanConfigurationCommandOutput } from "./commands/DeleteCodeSecurityScanConfigurationCommand";
|
|
24
30
|
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
25
31
|
import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
|
|
26
32
|
import { DisableCommandInput, DisableCommandOutput } from "./commands/DisableCommand";
|
|
@@ -31,6 +37,9 @@ import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCom
|
|
|
31
37
|
import { GetCisScanReportCommandInput, GetCisScanReportCommandOutput } from "./commands/GetCisScanReportCommand";
|
|
32
38
|
import { GetCisScanResultDetailsCommandInput, GetCisScanResultDetailsCommandOutput } from "./commands/GetCisScanResultDetailsCommand";
|
|
33
39
|
import { GetClustersForImageCommandInput, GetClustersForImageCommandOutput } from "./commands/GetClustersForImageCommand";
|
|
40
|
+
import { GetCodeSecurityIntegrationCommandInput, GetCodeSecurityIntegrationCommandOutput } from "./commands/GetCodeSecurityIntegrationCommand";
|
|
41
|
+
import { GetCodeSecurityScanCommandInput, GetCodeSecurityScanCommandOutput } from "./commands/GetCodeSecurityScanCommand";
|
|
42
|
+
import { GetCodeSecurityScanConfigurationCommandInput, GetCodeSecurityScanConfigurationCommandOutput } from "./commands/GetCodeSecurityScanConfigurationCommand";
|
|
34
43
|
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
35
44
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
36
45
|
import { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput } from "./commands/GetEc2DeepInspectionConfigurationCommand";
|
|
@@ -43,6 +52,9 @@ import { ListCisScanConfigurationsCommandInput, ListCisScanConfigurationsCommand
|
|
|
43
52
|
import { ListCisScanResultsAggregatedByChecksCommandInput, ListCisScanResultsAggregatedByChecksCommandOutput } from "./commands/ListCisScanResultsAggregatedByChecksCommand";
|
|
44
53
|
import { ListCisScanResultsAggregatedByTargetResourceCommandInput, ListCisScanResultsAggregatedByTargetResourceCommandOutput } from "./commands/ListCisScanResultsAggregatedByTargetResourceCommand";
|
|
45
54
|
import { ListCisScansCommandInput, ListCisScansCommandOutput } from "./commands/ListCisScansCommand";
|
|
55
|
+
import { ListCodeSecurityIntegrationsCommandInput, ListCodeSecurityIntegrationsCommandOutput } from "./commands/ListCodeSecurityIntegrationsCommand";
|
|
56
|
+
import { ListCodeSecurityScanConfigurationAssociationsCommandInput, ListCodeSecurityScanConfigurationAssociationsCommandOutput } from "./commands/ListCodeSecurityScanConfigurationAssociationsCommand";
|
|
57
|
+
import { ListCodeSecurityScanConfigurationsCommandInput, ListCodeSecurityScanConfigurationsCommandOutput } from "./commands/ListCodeSecurityScanConfigurationsCommand";
|
|
46
58
|
import { ListCoverageCommandInput, ListCoverageCommandOutput } from "./commands/ListCoverageCommand";
|
|
47
59
|
import { ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput } from "./commands/ListCoverageStatisticsCommand";
|
|
48
60
|
import { ListDelegatedAdminAccountsCommandInput, ListDelegatedAdminAccountsCommandOutput } from "./commands/ListDelegatedAdminAccountsCommand";
|
|
@@ -57,10 +69,13 @@ import { SearchVulnerabilitiesCommandInput, SearchVulnerabilitiesCommandOutput }
|
|
|
57
69
|
import { SendCisSessionHealthCommandInput, SendCisSessionHealthCommandOutput } from "./commands/SendCisSessionHealthCommand";
|
|
58
70
|
import { SendCisSessionTelemetryCommandInput, SendCisSessionTelemetryCommandOutput } from "./commands/SendCisSessionTelemetryCommand";
|
|
59
71
|
import { StartCisSessionCommandInput, StartCisSessionCommandOutput } from "./commands/StartCisSessionCommand";
|
|
72
|
+
import { StartCodeSecurityScanCommandInput, StartCodeSecurityScanCommandOutput } from "./commands/StartCodeSecurityScanCommand";
|
|
60
73
|
import { StopCisSessionCommandInput, StopCisSessionCommandOutput } from "./commands/StopCisSessionCommand";
|
|
61
74
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
62
75
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
63
76
|
import { UpdateCisScanConfigurationCommandInput, UpdateCisScanConfigurationCommandOutput } from "./commands/UpdateCisScanConfigurationCommand";
|
|
77
|
+
import { UpdateCodeSecurityIntegrationCommandInput, UpdateCodeSecurityIntegrationCommandOutput } from "./commands/UpdateCodeSecurityIntegrationCommand";
|
|
78
|
+
import { UpdateCodeSecurityScanConfigurationCommandInput, UpdateCodeSecurityScanConfigurationCommandOutput } from "./commands/UpdateCodeSecurityScanConfigurationCommand";
|
|
64
79
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
65
80
|
import { UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
|
|
66
81
|
import { UpdateEncryptionKeyCommandInput, UpdateEncryptionKeyCommandOutput } from "./commands/UpdateEncryptionKeyCommand";
|
|
@@ -73,11 +88,11 @@ export { __Client };
|
|
|
73
88
|
/**
|
|
74
89
|
* @public
|
|
75
90
|
*/
|
|
76
|
-
export type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetCodeSnippetCommandInput | BatchGetFindingDetailsCommandInput | BatchGetFreeTrialInfoCommandInput | BatchGetMemberEc2DeepInspectionStatusCommandInput | BatchUpdateMemberEc2DeepInspectionStatusCommandInput | CancelFindingsReportCommandInput | CancelSbomExportCommandInput | CreateCisScanConfigurationCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | CreateSbomExportCommandInput | DeleteCisScanConfigurationCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetCisScanReportCommandInput | GetCisScanResultDetailsCommandInput | GetClustersForImageCommandInput | GetConfigurationCommandInput | GetDelegatedAdminAccountCommandInput | GetEc2DeepInspectionConfigurationCommandInput | GetEncryptionKeyCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | GetSbomExportCommandInput | ListAccountPermissionsCommandInput | ListCisScanConfigurationsCommandInput | ListCisScanResultsAggregatedByChecksCommandInput | ListCisScanResultsAggregatedByTargetResourceCommandInput | ListCisScansCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | ResetEncryptionKeyCommandInput | SearchVulnerabilitiesCommandInput | SendCisSessionHealthCommandInput | SendCisSessionTelemetryCommandInput | StartCisSessionCommandInput | StopCisSessionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCisScanConfigurationCommandInput | UpdateConfigurationCommandInput | UpdateEc2DeepInspectionConfigurationCommandInput | UpdateEncryptionKeyCommandInput | UpdateFilterCommandInput | UpdateOrgEc2DeepInspectionConfigurationCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
91
|
+
export type ServiceInputTypes = AssociateMemberCommandInput | BatchAssociateCodeSecurityScanConfigurationCommandInput | BatchDisassociateCodeSecurityScanConfigurationCommandInput | BatchGetAccountStatusCommandInput | BatchGetCodeSnippetCommandInput | BatchGetFindingDetailsCommandInput | BatchGetFreeTrialInfoCommandInput | BatchGetMemberEc2DeepInspectionStatusCommandInput | BatchUpdateMemberEc2DeepInspectionStatusCommandInput | CancelFindingsReportCommandInput | CancelSbomExportCommandInput | CreateCisScanConfigurationCommandInput | CreateCodeSecurityIntegrationCommandInput | CreateCodeSecurityScanConfigurationCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | CreateSbomExportCommandInput | DeleteCisScanConfigurationCommandInput | DeleteCodeSecurityIntegrationCommandInput | DeleteCodeSecurityScanConfigurationCommandInput | 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 | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | ResetEncryptionKeyCommandInput | SearchVulnerabilitiesCommandInput | SendCisSessionHealthCommandInput | SendCisSessionTelemetryCommandInput | StartCisSessionCommandInput | StartCodeSecurityScanCommandInput | StopCisSessionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCisScanConfigurationCommandInput | UpdateCodeSecurityIntegrationCommandInput | UpdateCodeSecurityScanConfigurationCommandInput | UpdateConfigurationCommandInput | UpdateEc2DeepInspectionConfigurationCommandInput | UpdateEncryptionKeyCommandInput | UpdateFilterCommandInput | UpdateOrgEc2DeepInspectionConfigurationCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
77
92
|
/**
|
|
78
93
|
* @public
|
|
79
94
|
*/
|
|
80
|
-
export type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetCodeSnippetCommandOutput | BatchGetFindingDetailsCommandOutput | BatchGetFreeTrialInfoCommandOutput | BatchGetMemberEc2DeepInspectionStatusCommandOutput | BatchUpdateMemberEc2DeepInspectionStatusCommandOutput | CancelFindingsReportCommandOutput | CancelSbomExportCommandOutput | CreateCisScanConfigurationCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | CreateSbomExportCommandOutput | DeleteCisScanConfigurationCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetCisScanReportCommandOutput | GetCisScanResultDetailsCommandOutput | GetClustersForImageCommandOutput | GetConfigurationCommandOutput | GetDelegatedAdminAccountCommandOutput | GetEc2DeepInspectionConfigurationCommandOutput | GetEncryptionKeyCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | GetSbomExportCommandOutput | ListAccountPermissionsCommandOutput | ListCisScanConfigurationsCommandOutput | ListCisScanResultsAggregatedByChecksCommandOutput | ListCisScanResultsAggregatedByTargetResourceCommandOutput | ListCisScansCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | ResetEncryptionKeyCommandOutput | SearchVulnerabilitiesCommandOutput | SendCisSessionHealthCommandOutput | SendCisSessionTelemetryCommandOutput | StartCisSessionCommandOutput | StopCisSessionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCisScanConfigurationCommandOutput | UpdateConfigurationCommandOutput | UpdateEc2DeepInspectionConfigurationCommandOutput | UpdateEncryptionKeyCommandOutput | UpdateFilterCommandOutput | UpdateOrgEc2DeepInspectionConfigurationCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
95
|
+
export type ServiceOutputTypes = AssociateMemberCommandOutput | BatchAssociateCodeSecurityScanConfigurationCommandOutput | BatchDisassociateCodeSecurityScanConfigurationCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetCodeSnippetCommandOutput | BatchGetFindingDetailsCommandOutput | BatchGetFreeTrialInfoCommandOutput | BatchGetMemberEc2DeepInspectionStatusCommandOutput | BatchUpdateMemberEc2DeepInspectionStatusCommandOutput | CancelFindingsReportCommandOutput | CancelSbomExportCommandOutput | CreateCisScanConfigurationCommandOutput | CreateCodeSecurityIntegrationCommandOutput | CreateCodeSecurityScanConfigurationCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | CreateSbomExportCommandOutput | DeleteCisScanConfigurationCommandOutput | DeleteCodeSecurityIntegrationCommandOutput | DeleteCodeSecurityScanConfigurationCommandOutput | 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 | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | ResetEncryptionKeyCommandOutput | SearchVulnerabilitiesCommandOutput | SendCisSessionHealthCommandOutput | SendCisSessionTelemetryCommandOutput | StartCisSessionCommandOutput | StartCodeSecurityScanCommandOutput | StopCisSessionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCisScanConfigurationCommandOutput | UpdateCodeSecurityIntegrationCommandOutput | UpdateCodeSecurityScanConfigurationCommandOutput | UpdateConfigurationCommandOutput | UpdateEc2DeepInspectionConfigurationCommandOutput | UpdateEncryptionKeyCommandOutput | UpdateFilterCommandOutput | UpdateOrgEc2DeepInspectionConfigurationCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
81
96
|
/**
|
|
82
97
|
* @public
|
|
83
98
|
*/
|
|
@@ -27,7 +27,10 @@ declare const AssociateMemberCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
|
|
30
|
+
* <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response
|
|
31
|
+
* indicates the association was successfully started, but doesn’t indicate whether it was
|
|
32
|
+
* 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
|
|
33
|
+
* accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> for a single account.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -53,6 +56,8 @@ declare const AssociateMemberCommand_base: {
|
|
|
53
56
|
*
|
|
54
57
|
* @throws {@link AccessDeniedException} (client fault)
|
|
55
58
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
60
|
+
* unsupported Amazon Web Services Region. </p>
|
|
56
61
|
*
|
|
57
62
|
* @throws {@link InternalServerException} (server fault)
|
|
58
63
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { BatchAssociateCodeSecurityScanConfigurationRequest, BatchAssociateCodeSecurityScanConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchAssociateCodeSecurityScanConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchAssociateCodeSecurityScanConfigurationCommandInput extends BatchAssociateCodeSecurityScanConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchAssociateCodeSecurityScanConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchAssociateCodeSecurityScanConfigurationCommandOutput extends BatchAssociateCodeSecurityScanConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchAssociateCodeSecurityScanConfigurationCommand_base: {
|
|
25
|
+
new (input: BatchAssociateCodeSecurityScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchAssociateCodeSecurityScanConfigurationCommandInput, BatchAssociateCodeSecurityScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchAssociateCodeSecurityScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchAssociateCodeSecurityScanConfigurationCommandInput, BatchAssociateCodeSecurityScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates multiple code repositories with an Amazon Inspector code security scan
|
|
31
|
+
* configuration.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { Inspector2Client, BatchAssociateCodeSecurityScanConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
36
|
+
* // const { Inspector2Client, BatchAssociateCodeSecurityScanConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
37
|
+
* const client = new Inspector2Client(config);
|
|
38
|
+
* const input = { // BatchAssociateCodeSecurityScanConfigurationRequest
|
|
39
|
+
* associateConfigurationRequests: [ // AssociateConfigurationRequestList // required
|
|
40
|
+
* { // AssociateConfigurationRequest
|
|
41
|
+
* scanConfigurationArn: "STRING_VALUE", // required
|
|
42
|
+
* resource: { // CodeSecurityResource Union: only one key present
|
|
43
|
+
* projectId: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchAssociateCodeSecurityScanConfigurationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchAssociateCodeSecurityScanConfigurationResponse
|
|
51
|
+
* // failedAssociations: [ // FailedAssociationResultList
|
|
52
|
+
* // { // FailedAssociationResult
|
|
53
|
+
* // scanConfigurationArn: "STRING_VALUE",
|
|
54
|
+
* // resource: { // CodeSecurityResource Union: only one key present
|
|
55
|
+
* // projectId: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // statusCode: "INTERNAL_ERROR" || "ACCESS_DENIED" || "SCAN_CONFIGURATION_NOT_FOUND" || "INVALID_INPUT" || "RESOURCE_NOT_FOUND" || "QUOTA_EXCEEDED",
|
|
58
|
+
* // statusMessage: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // successfulAssociations: [ // SuccessfulAssociationResultList
|
|
62
|
+
* // { // SuccessfulAssociationResult
|
|
63
|
+
* // scanConfigurationArn: "STRING_VALUE",
|
|
64
|
+
* // resource: {// Union: only one key present
|
|
65
|
+
* // projectId: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param BatchAssociateCodeSecurityScanConfigurationCommandInput - {@link BatchAssociateCodeSecurityScanConfigurationCommandInput}
|
|
74
|
+
* @returns {@link BatchAssociateCodeSecurityScanConfigurationCommandOutput}
|
|
75
|
+
* @see {@link BatchAssociateCodeSecurityScanConfigurationCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link BatchAssociateCodeSecurityScanConfigurationCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
82
|
+
* unsupported Amazon Web Services Region. </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
86
|
+
* concurrent requests.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
93
|
+
* correctly.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
100
|
+
* inputs.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link Inspector2ServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class BatchAssociateCodeSecurityScanConfigurationCommand extends BatchAssociateCodeSecurityScanConfigurationCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: BatchAssociateCodeSecurityScanConfigurationRequest;
|
|
113
|
+
output: BatchAssociateCodeSecurityScanConfigurationResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: BatchAssociateCodeSecurityScanConfigurationCommandInput;
|
|
117
|
+
output: BatchAssociateCodeSecurityScanConfigurationCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { BatchDisassociateCodeSecurityScanConfigurationRequest, BatchDisassociateCodeSecurityScanConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDisassociateCodeSecurityScanConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDisassociateCodeSecurityScanConfigurationCommandInput extends BatchDisassociateCodeSecurityScanConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDisassociateCodeSecurityScanConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDisassociateCodeSecurityScanConfigurationCommandOutput extends BatchDisassociateCodeSecurityScanConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDisassociateCodeSecurityScanConfigurationCommand_base: {
|
|
25
|
+
new (input: BatchDisassociateCodeSecurityScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDisassociateCodeSecurityScanConfigurationCommandInput, BatchDisassociateCodeSecurityScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDisassociateCodeSecurityScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDisassociateCodeSecurityScanConfigurationCommandInput, BatchDisassociateCodeSecurityScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disassociates multiple code repositories from an Amazon Inspector code security scan
|
|
31
|
+
* configuration.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { Inspector2Client, BatchDisassociateCodeSecurityScanConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
36
|
+
* // const { Inspector2Client, BatchDisassociateCodeSecurityScanConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
37
|
+
* const client = new Inspector2Client(config);
|
|
38
|
+
* const input = { // BatchDisassociateCodeSecurityScanConfigurationRequest
|
|
39
|
+
* disassociateConfigurationRequests: [ // DisassociateConfigurationRequestList // required
|
|
40
|
+
* { // DisassociateConfigurationRequest
|
|
41
|
+
* scanConfigurationArn: "STRING_VALUE", // required
|
|
42
|
+
* resource: { // CodeSecurityResource Union: only one key present
|
|
43
|
+
* projectId: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchDisassociateCodeSecurityScanConfigurationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchDisassociateCodeSecurityScanConfigurationResponse
|
|
51
|
+
* // failedAssociations: [ // FailedAssociationResultList
|
|
52
|
+
* // { // FailedAssociationResult
|
|
53
|
+
* // scanConfigurationArn: "STRING_VALUE",
|
|
54
|
+
* // resource: { // CodeSecurityResource Union: only one key present
|
|
55
|
+
* // projectId: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // statusCode: "INTERNAL_ERROR" || "ACCESS_DENIED" || "SCAN_CONFIGURATION_NOT_FOUND" || "INVALID_INPUT" || "RESOURCE_NOT_FOUND" || "QUOTA_EXCEEDED",
|
|
58
|
+
* // statusMessage: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // successfulAssociations: [ // SuccessfulAssociationResultList
|
|
62
|
+
* // { // SuccessfulAssociationResult
|
|
63
|
+
* // scanConfigurationArn: "STRING_VALUE",
|
|
64
|
+
* // resource: {// Union: only one key present
|
|
65
|
+
* // projectId: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param BatchDisassociateCodeSecurityScanConfigurationCommandInput - {@link BatchDisassociateCodeSecurityScanConfigurationCommandInput}
|
|
74
|
+
* @returns {@link BatchDisassociateCodeSecurityScanConfigurationCommandOutput}
|
|
75
|
+
* @see {@link BatchDisassociateCodeSecurityScanConfigurationCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link BatchDisassociateCodeSecurityScanConfigurationCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
82
|
+
* unsupported Amazon Web Services Region. </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
86
|
+
* concurrent requests.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
93
|
+
* correctly.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
100
|
+
* inputs.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link Inspector2ServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class BatchDisassociateCodeSecurityScanConfigurationCommand extends BatchDisassociateCodeSecurityScanConfigurationCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: BatchDisassociateCodeSecurityScanConfigurationRequest;
|
|
113
|
+
output: BatchDisassociateCodeSecurityScanConfigurationResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: BatchDisassociateCodeSecurityScanConfigurationCommandInput;
|
|
117
|
+
output: BatchDisassociateCodeSecurityScanConfigurationCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -71,6 +71,7 @@ declare const BatchGetAccountStatusCommand_base: {
|
|
|
71
71
|
* // errorCode: "STRING_VALUE", // required
|
|
72
72
|
* // errorMessage: "STRING_VALUE", // required
|
|
73
73
|
* // },
|
|
74
|
+
* // codeRepository: "<State>",
|
|
74
75
|
* // },
|
|
75
76
|
* // },
|
|
76
77
|
* // ],
|
|
@@ -83,6 +84,7 @@ declare const BatchGetAccountStatusCommand_base: {
|
|
|
83
84
|
* // ecr: "STRING_VALUE", // required
|
|
84
85
|
* // lambda: "STRING_VALUE",
|
|
85
86
|
* // lambdaCode: "STRING_VALUE",
|
|
87
|
+
* // codeRepository: "STRING_VALUE",
|
|
86
88
|
* // },
|
|
87
89
|
* // errorCode: "STRING_VALUE", // required
|
|
88
90
|
* // errorMessage: "STRING_VALUE", // required
|
|
@@ -100,12 +102,15 @@ declare const BatchGetAccountStatusCommand_base: {
|
|
|
100
102
|
*
|
|
101
103
|
* @throws {@link AccessDeniedException} (client fault)
|
|
102
104
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
105
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
106
|
+
* unsupported Amazon Web Services Region. </p>
|
|
103
107
|
*
|
|
104
108
|
* @throws {@link InternalServerException} (server fault)
|
|
105
109
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
106
110
|
*
|
|
107
111
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
108
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
112
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
113
|
+
* correctly.</p>
|
|
109
114
|
*
|
|
110
115
|
* @throws {@link ThrottlingException} (client fault)
|
|
111
116
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -27,7 +27,8 @@ declare const BatchGetCodeSnippetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities
|
|
30
|
+
* <p>Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities
|
|
31
|
+
* in.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -80,6 +81,8 @@ declare const BatchGetCodeSnippetCommand_base: {
|
|
|
80
81
|
*
|
|
81
82
|
* @throws {@link AccessDeniedException} (client fault)
|
|
82
83
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
84
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
85
|
+
* unsupported Amazon Web Services Region. </p>
|
|
83
86
|
*
|
|
84
87
|
* @throws {@link InternalServerException} (server fault)
|
|
85
88
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -96,6 +96,8 @@ declare const BatchGetFindingDetailsCommand_base: {
|
|
|
96
96
|
*
|
|
97
97
|
* @throws {@link AccessDeniedException} (client fault)
|
|
98
98
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
99
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
100
|
+
* unsupported Amazon Web Services Region. </p>
|
|
99
101
|
*
|
|
100
102
|
* @throws {@link InternalServerException} (server fault)
|
|
101
103
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|