@aws-sdk/client-inspector2 3.828.0 → 3.831.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 +7 -7
- 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/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- 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 +7 -7
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +2 -2
|
@@ -40,6 +40,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
40
40
|
* ecr: true || false, // required
|
|
41
41
|
* lambda: true || false,
|
|
42
42
|
* lambdaCode: true || false,
|
|
43
|
+
* codeRepository: true || false,
|
|
43
44
|
* },
|
|
44
45
|
* };
|
|
45
46
|
* const command = new UpdateOrganizationConfigurationCommand(input);
|
|
@@ -50,6 +51,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
50
51
|
* // ecr: true || false, // required
|
|
51
52
|
* // lambda: true || false,
|
|
52
53
|
* // lambdaCode: true || false,
|
|
54
|
+
* // codeRepository: true || false,
|
|
53
55
|
* // },
|
|
54
56
|
* // };
|
|
55
57
|
*
|
|
@@ -63,6 +65,8 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
63
65
|
*
|
|
64
66
|
* @throws {@link AccessDeniedException} (client fault)
|
|
65
67
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
69
|
+
* unsupported Amazon Web Services Region. </p>
|
|
66
70
|
*
|
|
67
71
|
* @throws {@link InternalServerException} (server fault)
|
|
68
72
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./AssociateMemberCommand";
|
|
2
|
+
export * from "./BatchAssociateCodeSecurityScanConfigurationCommand";
|
|
3
|
+
export * from "./BatchDisassociateCodeSecurityScanConfigurationCommand";
|
|
2
4
|
export * from "./BatchGetAccountStatusCommand";
|
|
3
5
|
export * from "./BatchGetCodeSnippetCommand";
|
|
4
6
|
export * from "./BatchGetFindingDetailsCommand";
|
|
@@ -8,10 +10,14 @@ export * from "./BatchUpdateMemberEc2DeepInspectionStatusCommand";
|
|
|
8
10
|
export * from "./CancelFindingsReportCommand";
|
|
9
11
|
export * from "./CancelSbomExportCommand";
|
|
10
12
|
export * from "./CreateCisScanConfigurationCommand";
|
|
13
|
+
export * from "./CreateCodeSecurityIntegrationCommand";
|
|
14
|
+
export * from "./CreateCodeSecurityScanConfigurationCommand";
|
|
11
15
|
export * from "./CreateFilterCommand";
|
|
12
16
|
export * from "./CreateFindingsReportCommand";
|
|
13
17
|
export * from "./CreateSbomExportCommand";
|
|
14
18
|
export * from "./DeleteCisScanConfigurationCommand";
|
|
19
|
+
export * from "./DeleteCodeSecurityIntegrationCommand";
|
|
20
|
+
export * from "./DeleteCodeSecurityScanConfigurationCommand";
|
|
15
21
|
export * from "./DeleteFilterCommand";
|
|
16
22
|
export * from "./DescribeOrganizationConfigurationCommand";
|
|
17
23
|
export * from "./DisableCommand";
|
|
@@ -22,6 +28,9 @@ export * from "./EnableDelegatedAdminAccountCommand";
|
|
|
22
28
|
export * from "./GetCisScanReportCommand";
|
|
23
29
|
export * from "./GetCisScanResultDetailsCommand";
|
|
24
30
|
export * from "./GetClustersForImageCommand";
|
|
31
|
+
export * from "./GetCodeSecurityIntegrationCommand";
|
|
32
|
+
export * from "./GetCodeSecurityScanCommand";
|
|
33
|
+
export * from "./GetCodeSecurityScanConfigurationCommand";
|
|
25
34
|
export * from "./GetConfigurationCommand";
|
|
26
35
|
export * from "./GetDelegatedAdminAccountCommand";
|
|
27
36
|
export * from "./GetEc2DeepInspectionConfigurationCommand";
|
|
@@ -34,6 +43,9 @@ export * from "./ListCisScanConfigurationsCommand";
|
|
|
34
43
|
export * from "./ListCisScanResultsAggregatedByChecksCommand";
|
|
35
44
|
export * from "./ListCisScanResultsAggregatedByTargetResourceCommand";
|
|
36
45
|
export * from "./ListCisScansCommand";
|
|
46
|
+
export * from "./ListCodeSecurityIntegrationsCommand";
|
|
47
|
+
export * from "./ListCodeSecurityScanConfigurationAssociationsCommand";
|
|
48
|
+
export * from "./ListCodeSecurityScanConfigurationsCommand";
|
|
37
49
|
export * from "./ListCoverageCommand";
|
|
38
50
|
export * from "./ListCoverageStatisticsCommand";
|
|
39
51
|
export * from "./ListDelegatedAdminAccountsCommand";
|
|
@@ -48,10 +60,13 @@ export * from "./SearchVulnerabilitiesCommand";
|
|
|
48
60
|
export * from "./SendCisSessionHealthCommand";
|
|
49
61
|
export * from "./SendCisSessionTelemetryCommand";
|
|
50
62
|
export * from "./StartCisSessionCommand";
|
|
63
|
+
export * from "./StartCodeSecurityScanCommand";
|
|
51
64
|
export * from "./StopCisSessionCommand";
|
|
52
65
|
export * from "./TagResourceCommand";
|
|
53
66
|
export * from "./UntagResourceCommand";
|
|
54
67
|
export * from "./UpdateCisScanConfigurationCommand";
|
|
68
|
+
export * from "./UpdateCodeSecurityIntegrationCommand";
|
|
69
|
+
export * from "./UpdateCodeSecurityScanConfigurationCommand";
|
|
55
70
|
export * from "./UpdateConfigurationCommand";
|
|
56
71
|
export * from "./UpdateEc2DeepInspectionConfigurationCommand";
|
|
57
72
|
export * from "./UpdateEncryptionKeyCommand";
|
|
@@ -3,9 +3,9 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | Provider<string>;
|
|
7
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
11
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
@@ -31,8 +31,8 @@ export declare const commonParams: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
-
Region?: string;
|
|
35
|
-
UseDualStack?: boolean;
|
|
36
|
-
UseFIPS?: boolean;
|
|
37
|
-
Endpoint?: string;
|
|
34
|
+
Region?: string | undefined;
|
|
35
|
+
UseDualStack?: boolean | undefined;
|
|
36
|
+
UseFIPS?: boolean | undefined;
|
|
37
|
+
Endpoint?: string | undefined;
|
|
38
38
|
}
|