@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
|
@@ -27,8 +27,8 @@ declare const DisableCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an
|
|
31
|
-
* disables the Amazon Inspector service.</p>
|
|
30
|
+
* <p>Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an
|
|
31
|
+
* account disables the Amazon Inspector service.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -55,6 +55,7 @@ declare const DisableCommand_base: {
|
|
|
55
55
|
* // ecr: "STRING_VALUE", // required
|
|
56
56
|
* // lambda: "STRING_VALUE",
|
|
57
57
|
* // lambdaCode: "STRING_VALUE",
|
|
58
|
+
* // codeRepository: "STRING_VALUE",
|
|
58
59
|
* // },
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
@@ -67,6 +68,7 @@ declare const DisableCommand_base: {
|
|
|
67
68
|
* // ecr: "STRING_VALUE", // required
|
|
68
69
|
* // lambda: "STRING_VALUE",
|
|
69
70
|
* // lambdaCode: "STRING_VALUE",
|
|
71
|
+
* // codeRepository: "STRING_VALUE",
|
|
70
72
|
* // },
|
|
71
73
|
* // errorCode: "STRING_VALUE", // required
|
|
72
74
|
* // errorMessage: "STRING_VALUE", // required
|
|
@@ -84,12 +86,15 @@ declare const DisableCommand_base: {
|
|
|
84
86
|
*
|
|
85
87
|
* @throws {@link AccessDeniedException} (client fault)
|
|
86
88
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
89
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
90
|
+
* unsupported Amazon Web Services Region. </p>
|
|
87
91
|
*
|
|
88
92
|
* @throws {@link InternalServerException} (server fault)
|
|
89
93
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
90
94
|
*
|
|
91
95
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
96
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
97
|
+
* correctly.</p>
|
|
93
98
|
*
|
|
94
99
|
* @throws {@link ThrottlingException} (client fault)
|
|
95
100
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -53,15 +53,19 @@ declare const DisableDelegatedAdminAccountCommand_base: {
|
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link AccessDeniedException} (client fault)
|
|
55
55
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
57
|
+
* unsupported Amazon Web Services Region. </p>
|
|
56
58
|
*
|
|
57
59
|
* @throws {@link ConflictException} (client fault)
|
|
58
|
-
* <p>A conflict occurred
|
|
60
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
61
|
+
* concurrent requests.</p>
|
|
59
62
|
*
|
|
60
63
|
* @throws {@link InternalServerException} (server fault)
|
|
61
64
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
62
65
|
*
|
|
63
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
67
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
68
|
+
* correctly.</p>
|
|
65
69
|
*
|
|
66
70
|
* @throws {@link ThrottlingException} (client fault)
|
|
67
71
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -53,6 +53,8 @@ declare const DisassociateMemberCommand_base: {
|
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link AccessDeniedException} (client fault)
|
|
55
55
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
57
|
+
* unsupported Amazon Web Services Region. </p>
|
|
56
58
|
*
|
|
57
59
|
* @throws {@link InternalServerException} (server fault)
|
|
58
60
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -55,6 +55,7 @@ declare const EnableCommand_base: {
|
|
|
55
55
|
* // ecr: "STRING_VALUE", // required
|
|
56
56
|
* // lambda: "STRING_VALUE",
|
|
57
57
|
* // lambdaCode: "STRING_VALUE",
|
|
58
|
+
* // codeRepository: "STRING_VALUE",
|
|
58
59
|
* // },
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
@@ -67,6 +68,7 @@ declare const EnableCommand_base: {
|
|
|
67
68
|
* // ecr: "STRING_VALUE", // required
|
|
68
69
|
* // lambda: "STRING_VALUE",
|
|
69
70
|
* // lambdaCode: "STRING_VALUE",
|
|
71
|
+
* // codeRepository: "STRING_VALUE",
|
|
70
72
|
* // },
|
|
71
73
|
* // errorCode: "STRING_VALUE", // required
|
|
72
74
|
* // errorMessage: "STRING_VALUE", // required
|
|
@@ -84,12 +86,15 @@ declare const EnableCommand_base: {
|
|
|
84
86
|
*
|
|
85
87
|
* @throws {@link AccessDeniedException} (client fault)
|
|
86
88
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
89
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
90
|
+
* unsupported Amazon Web Services Region. </p>
|
|
87
91
|
*
|
|
88
92
|
* @throws {@link InternalServerException} (server fault)
|
|
89
93
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
90
94
|
*
|
|
91
95
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
96
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
97
|
+
* correctly.</p>
|
|
93
98
|
*
|
|
94
99
|
* @throws {@link ThrottlingException} (client fault)
|
|
95
100
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -54,15 +54,19 @@ declare const EnableDelegatedAdminAccountCommand_base: {
|
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link AccessDeniedException} (client fault)
|
|
56
56
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
58
|
+
* unsupported Amazon Web Services Region. </p>
|
|
57
59
|
*
|
|
58
60
|
* @throws {@link ConflictException} (client fault)
|
|
59
|
-
* <p>A conflict occurred
|
|
61
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
62
|
+
* concurrent requests.</p>
|
|
60
63
|
*
|
|
61
64
|
* @throws {@link InternalServerException} (server fault)
|
|
62
65
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
63
66
|
*
|
|
64
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
68
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
69
|
+
* correctly.</p>
|
|
66
70
|
*
|
|
67
71
|
* @throws {@link ThrottlingException} (client fault)
|
|
68
72
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetCisScanReportRequest, GetCisScanReportResponse } from "../models/
|
|
4
|
+
import { GetCisScanReportRequest, GetCisScanReportResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -58,12 +58,15 @@ declare const GetCisScanReportCommand_base: {
|
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link AccessDeniedException} (client fault)
|
|
60
60
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
62
|
+
* unsupported Amazon Web Services Region. </p>
|
|
61
63
|
*
|
|
62
64
|
* @throws {@link InternalServerException} (server fault)
|
|
63
65
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
64
66
|
*
|
|
65
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
68
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
69
|
+
* correctly.</p>
|
|
67
70
|
*
|
|
68
71
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
72
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetCisScanResultDetailsRequest, GetCisScanResultDetailsResponse } from "../models/
|
|
4
|
+
import { GetCisScanResultDetailsRequest, GetCisScanResultDetailsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -107,6 +107,8 @@ declare const GetCisScanResultDetailsCommand_base: {
|
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link AccessDeniedException} (client fault)
|
|
109
109
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
110
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
111
|
+
* unsupported Amazon Web Services Region. </p>
|
|
110
112
|
*
|
|
111
113
|
* @throws {@link InternalServerException} (server fault)
|
|
112
114
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetClustersForImageRequest, GetClustersForImageResponse } from "../models/
|
|
4
|
+
import { GetClustersForImageRequest, GetClustersForImageResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -84,6 +84,8 @@ declare const GetClustersForImageCommand_base: {
|
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link AccessDeniedException} (client fault)
|
|
86
86
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
87
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
88
|
+
* unsupported Amazon Web Services Region. </p>
|
|
87
89
|
*
|
|
88
90
|
* @throws {@link InternalServerException} (server fault)
|
|
89
91
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { GetCodeSecurityIntegrationRequest, GetCodeSecurityIntegrationResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetCodeSecurityIntegrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCodeSecurityIntegrationCommandInput extends GetCodeSecurityIntegrationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetCodeSecurityIntegrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCodeSecurityIntegrationCommandOutput extends GetCodeSecurityIntegrationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetCodeSecurityIntegrationCommand_base: {
|
|
25
|
+
new (input: GetCodeSecurityIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeSecurityIntegrationCommandInput, GetCodeSecurityIntegrationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetCodeSecurityIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeSecurityIntegrationCommandInput, GetCodeSecurityIntegrationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a code security integration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Inspector2Client, GetCodeSecurityIntegrationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
35
|
+
* // const { Inspector2Client, GetCodeSecurityIntegrationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
36
|
+
* const client = new Inspector2Client(config);
|
|
37
|
+
* const input = { // GetCodeSecurityIntegrationRequest
|
|
38
|
+
* integrationArn: "STRING_VALUE", // required
|
|
39
|
+
* tags: { // TagMap
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetCodeSecurityIntegrationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetCodeSecurityIntegrationResponse
|
|
46
|
+
* // integrationArn: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // type: "GITLAB_SELF_MANAGED" || "GITHUB", // required
|
|
49
|
+
* // status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "INACTIVE" || "DISABLING", // required
|
|
50
|
+
* // statusReason: "STRING_VALUE", // required
|
|
51
|
+
* // createdOn: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // lastUpdateOn: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // tags: { // TagMap
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // authorizationUrl: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetCodeSecurityIntegrationCommandInput - {@link GetCodeSecurityIntegrationCommandInput}
|
|
62
|
+
* @returns {@link GetCodeSecurityIntegrationCommandOutput}
|
|
63
|
+
* @see {@link GetCodeSecurityIntegrationCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetCodeSecurityIntegrationCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
70
|
+
* unsupported Amazon Web Services Region. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
77
|
+
* correctly.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
84
|
+
* inputs.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link Inspector2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class GetCodeSecurityIntegrationCommand extends GetCodeSecurityIntegrationCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: GetCodeSecurityIntegrationRequest;
|
|
97
|
+
output: GetCodeSecurityIntegrationResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: GetCodeSecurityIntegrationCommandInput;
|
|
101
|
+
output: GetCodeSecurityIntegrationCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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 { GetCodeSecurityScanRequest, GetCodeSecurityScanResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetCodeSecurityScanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCodeSecurityScanCommandInput extends GetCodeSecurityScanRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetCodeSecurityScanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCodeSecurityScanCommandOutput extends GetCodeSecurityScanResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetCodeSecurityScanCommand_base: {
|
|
25
|
+
new (input: GetCodeSecurityScanCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeSecurityScanCommandInput, GetCodeSecurityScanCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetCodeSecurityScanCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeSecurityScanCommandInput, GetCodeSecurityScanCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a specific code security scan.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Inspector2Client, GetCodeSecurityScanCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
35
|
+
* // const { Inspector2Client, GetCodeSecurityScanCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
36
|
+
* const client = new Inspector2Client(config);
|
|
37
|
+
* const input = { // GetCodeSecurityScanRequest
|
|
38
|
+
* resource: { // CodeSecurityResource Union: only one key present
|
|
39
|
+
* projectId: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* scanId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetCodeSecurityScanCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetCodeSecurityScanResponse
|
|
46
|
+
* // scanId: "STRING_VALUE",
|
|
47
|
+
* // resource: { // CodeSecurityResource Union: only one key present
|
|
48
|
+
* // projectId: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // accountId: "STRING_VALUE",
|
|
51
|
+
* // status: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "SKIPPED",
|
|
52
|
+
* // statusReason: "STRING_VALUE",
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // lastCommitId: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetCodeSecurityScanCommandInput - {@link GetCodeSecurityScanCommandInput}
|
|
61
|
+
* @returns {@link GetCodeSecurityScanCommandOutput}
|
|
62
|
+
* @see {@link GetCodeSecurityScanCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetCodeSecurityScanCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
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>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
73
|
+
* concurrent requests.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
80
|
+
* correctly.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
87
|
+
* inputs.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link Inspector2ServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class GetCodeSecurityScanCommand extends GetCodeSecurityScanCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: GetCodeSecurityScanRequest;
|
|
100
|
+
output: GetCodeSecurityScanResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: GetCodeSecurityScanCommandInput;
|
|
104
|
+
output: GetCodeSecurityScanCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { GetCodeSecurityScanConfigurationRequest, GetCodeSecurityScanConfigurationResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetCodeSecurityScanConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCodeSecurityScanConfigurationCommandInput extends GetCodeSecurityScanConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetCodeSecurityScanConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCodeSecurityScanConfigurationCommandOutput extends GetCodeSecurityScanConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetCodeSecurityScanConfigurationCommand_base: {
|
|
25
|
+
new (input: GetCodeSecurityScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeSecurityScanConfigurationCommandInput, GetCodeSecurityScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetCodeSecurityScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeSecurityScanConfigurationCommandInput, GetCodeSecurityScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a code security scan configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Inspector2Client, GetCodeSecurityScanConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
35
|
+
* // const { Inspector2Client, GetCodeSecurityScanConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
36
|
+
* const client = new Inspector2Client(config);
|
|
37
|
+
* const input = { // GetCodeSecurityScanConfigurationRequest
|
|
38
|
+
* scanConfigurationArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCodeSecurityScanConfigurationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCodeSecurityScanConfigurationResponse
|
|
43
|
+
* // scanConfigurationArn: "STRING_VALUE",
|
|
44
|
+
* // name: "STRING_VALUE",
|
|
45
|
+
* // configuration: { // CodeSecurityScanConfiguration
|
|
46
|
+
* // periodicScanConfiguration: { // PeriodicScanConfiguration
|
|
47
|
+
* // frequency: "WEEKLY" || "MONTHLY" || "NEVER",
|
|
48
|
+
* // frequencyExpression: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // continuousIntegrationScanConfiguration: { // ContinuousIntegrationScanConfiguration
|
|
51
|
+
* // supportedEvents: [ // ContinuousIntegrationScanSupportedEvents // required
|
|
52
|
+
* // "PULL_REQUEST" || "PUSH",
|
|
53
|
+
* // ],
|
|
54
|
+
* // },
|
|
55
|
+
* // ruleSetCategories: [ // RuleSetCategories // required
|
|
56
|
+
* // "SAST" || "IAC" || "SCA",
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // level: "ORGANIZATION" || "ACCOUNT",
|
|
60
|
+
* // scopeSettings: { // ScopeSettings
|
|
61
|
+
* // projectSelectionScope: "ALL",
|
|
62
|
+
* // },
|
|
63
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
65
|
+
* // tags: { // TagMap
|
|
66
|
+
* // "<keys>": "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param GetCodeSecurityScanConfigurationCommandInput - {@link GetCodeSecurityScanConfigurationCommandInput}
|
|
73
|
+
* @returns {@link GetCodeSecurityScanConfigurationCommandOutput}
|
|
74
|
+
* @see {@link GetCodeSecurityScanConfigurationCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link GetCodeSecurityScanConfigurationCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @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>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
88
|
+
* correctly.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
95
|
+
* inputs.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link Inspector2ServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class GetCodeSecurityScanConfigurationCommand extends GetCodeSecurityScanConfigurationCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: GetCodeSecurityScanConfigurationRequest;
|
|
108
|
+
output: GetCodeSecurityScanConfigurationResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: GetCodeSecurityScanConfigurationCommandInput;
|
|
112
|
+
output: GetCodeSecurityScanConfigurationCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetConfigurationRequest, GetConfigurationResponse } from "../models/
|
|
4
|
+
import { GetConfigurationRequest, GetConfigurationResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -67,7 +67,8 @@ declare const GetConfigurationCommand_base: {
|
|
|
67
67
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
70
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
71
|
+
* correctly.</p>
|
|
71
72
|
*
|
|
72
73
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
74
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetDelegatedAdminAccountRequest, GetDelegatedAdminAccountResponse } from "../models/
|
|
4
|
+
import { GetDelegatedAdminAccountRequest, GetDelegatedAdminAccountResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -55,12 +55,15 @@ declare const GetDelegatedAdminAccountCommand_base: {
|
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link AccessDeniedException} (client fault)
|
|
57
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>
|
|
58
60
|
*
|
|
59
61
|
* @throws {@link InternalServerException} (server fault)
|
|
60
62
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
61
63
|
*
|
|
62
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
65
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
66
|
+
* correctly.</p>
|
|
64
67
|
*
|
|
65
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
66
69
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetEc2DeepInspectionConfigurationRequest, GetEc2DeepInspectionConfigurationResponse } from "../models/
|
|
4
|
+
import { GetEc2DeepInspectionConfigurationRequest, GetEc2DeepInspectionConfigurationResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,8 +27,8 @@ declare const GetEc2DeepInspectionConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated
|
|
31
|
-
*
|
|
30
|
+
* <p>Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated
|
|
31
|
+
* with your account. </p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -59,12 +59,15 @@ declare const GetEc2DeepInspectionConfigurationCommand_base: {
|
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link AccessDeniedException} (client fault)
|
|
61
61
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
62
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
63
|
+
* unsupported Amazon Web Services Region. </p>
|
|
62
64
|
*
|
|
63
65
|
* @throws {@link InternalServerException} (server fault)
|
|
64
66
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
65
67
|
*
|
|
66
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
69
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
70
|
+
* correctly.</p>
|
|
68
71
|
*
|
|
69
72
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
73
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetEncryptionKeyRequest, GetEncryptionKeyResponse } from "../models/
|
|
4
|
+
import { GetEncryptionKeyRequest, GetEncryptionKeyResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -54,12 +54,15 @@ declare const GetEncryptionKeyCommand_base: {
|
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link AccessDeniedException} (client fault)
|
|
56
56
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
58
|
+
* unsupported Amazon Web Services Region. </p>
|
|
57
59
|
*
|
|
58
60
|
* @throws {@link InternalServerException} (server fault)
|
|
59
61
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
60
62
|
*
|
|
61
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
64
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
65
|
+
* correctly.</p>
|
|
63
66
|
*
|
|
64
67
|
* @throws {@link ThrottlingException} (client fault)
|
|
65
68
|
* <p>The limit on the number of requests per second was exceeded.</p>
|