@aws-sdk/client-securityagent 3.1045.0 → 3.1046.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 +77 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +308 -143
- package/dist-cjs/models/SecurityAgentServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +299 -24
- package/dist-es/SecurityAgent.js +29 -1
- package/dist-es/SecurityAgentClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AddArtifactCommand.js +2 -2
- package/dist-es/commands/BatchDeleteCodeReviewsCommand.js +16 -0
- package/dist-es/commands/BatchDeletePentestsCommand.js +2 -2
- package/dist-es/commands/BatchGetAgentSpacesCommand.js +2 -2
- package/dist-es/commands/BatchGetArtifactMetadataCommand.js +2 -2
- package/dist-es/commands/BatchGetCodeReviewJobTasksCommand.js +16 -0
- package/dist-es/commands/BatchGetCodeReviewJobsCommand.js +16 -0
- package/dist-es/commands/BatchGetCodeReviewsCommand.js +16 -0
- package/dist-es/commands/BatchGetFindingsCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestJobTasksCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestJobsCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestsCommand.js +2 -2
- package/dist-es/commands/BatchGetTargetDomainsCommand.js +2 -2
- package/dist-es/commands/CreateAgentSpaceCommand.js +2 -2
- package/dist-es/commands/CreateApplicationCommand.js +2 -2
- package/dist-es/commands/CreateCodeReviewCommand.js +16 -0
- package/dist-es/commands/CreateIntegrationCommand.js +2 -2
- package/dist-es/commands/CreateMembershipCommand.js +2 -2
- package/dist-es/commands/CreatePentestCommand.js +2 -2
- package/dist-es/commands/CreateTargetDomainCommand.js +2 -2
- package/dist-es/commands/DeleteAgentSpaceCommand.js +2 -2
- package/dist-es/commands/DeleteApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteArtifactCommand.js +2 -2
- package/dist-es/commands/DeleteIntegrationCommand.js +2 -2
- package/dist-es/commands/DeleteMembershipCommand.js +2 -2
- package/dist-es/commands/DeleteTargetDomainCommand.js +2 -2
- package/dist-es/commands/GetApplicationCommand.js +2 -2
- package/dist-es/commands/GetArtifactCommand.js +2 -2
- package/dist-es/commands/GetIntegrationCommand.js +2 -2
- package/dist-es/commands/InitiateProviderRegistrationCommand.js +2 -2
- package/dist-es/commands/ListAgentSpacesCommand.js +2 -2
- package/dist-es/commands/ListApplicationsCommand.js +2 -2
- package/dist-es/commands/ListArtifactsCommand.js +2 -2
- package/dist-es/commands/ListCodeReviewJobTasksCommand.js +16 -0
- package/dist-es/commands/ListCodeReviewJobsForCodeReviewCommand.js +16 -0
- package/dist-es/commands/ListCodeReviewsCommand.js +16 -0
- package/dist-es/commands/ListDiscoveredEndpointsCommand.js +2 -2
- package/dist-es/commands/ListFindingsCommand.js +2 -2
- package/dist-es/commands/ListIntegratedResourcesCommand.js +2 -2
- package/dist-es/commands/ListIntegrationsCommand.js +2 -2
- package/dist-es/commands/ListMembershipsCommand.js +2 -2
- package/dist-es/commands/ListPentestJobTasksCommand.js +2 -2
- package/dist-es/commands/ListPentestJobsForPentestCommand.js +2 -2
- package/dist-es/commands/ListPentestsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTargetDomainsCommand.js +2 -2
- package/dist-es/commands/StartCodeRemediationCommand.js +2 -2
- package/dist-es/commands/StartCodeReviewJobCommand.js +16 -0
- package/dist-es/commands/StartPentestJobCommand.js +2 -2
- package/dist-es/commands/StopCodeReviewJobCommand.js +16 -0
- package/dist-es/commands/StopPentestJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAgentSpaceCommand.js +2 -2
- package/dist-es/commands/UpdateApplicationCommand.js +2 -2
- package/dist-es/commands/UpdateCodeReviewCommand.js +16 -0
- package/dist-es/commands/UpdateFindingCommand.js +2 -2
- package/dist-es/commands/UpdateIntegratedResourcesCommand.js +2 -2
- package/dist-es/commands/UpdatePentestCommand.js +2 -2
- package/dist-es/commands/UpdateTargetDomainCommand.js +2 -2
- package/dist-es/commands/VerifyTargetDomainCommand.js +2 -2
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SecurityAgentServiceException.js +1 -1
- package/dist-es/models/enums.js +26 -26
- package/dist-es/pagination/ListCodeReviewJobTasksPaginator.js +4 -0
- package/dist-es/pagination/ListCodeReviewJobsForCodeReviewPaginator.js +4 -0
- package/dist-es/pagination/ListCodeReviewsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +293 -19
- package/dist-types/SecurityAgent.d.ts +98 -0
- package/dist-types/SecurityAgentClient.d.ts +18 -7
- package/dist-types/commands/AddArtifactCommand.d.ts +6 -4
- package/dist-types/commands/BatchDeleteCodeReviewsCommand.d.ts +87 -0
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetCodeReviewJobTasksCommand.d.ts +108 -0
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +134 -0
- package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +133 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +16 -4
- package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
- package/dist-types/commands/CreateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +167 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/CreateMembershipCommand.d.ts +6 -4
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -4
- package/dist-types/commands/CreateTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteArtifactCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteMembershipCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/commands/GetArtifactCommand.d.ts +6 -4
- package/dist-types/commands/GetIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
- package/dist-types/commands/ListAgentSpacesCommand.d.ts +6 -4
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/commands/ListArtifactsCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +94 -0
- package/dist-types/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +89 -0
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +87 -0
- package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/ListFindingsCommand.d.ts +10 -5
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/commands/ListIntegrationsCommand.d.ts +6 -4
- package/dist-types/commands/ListMembershipsCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTargetDomainsCommand.d.ts +6 -4
- package/dist-types/commands/StartCodeRemediationCommand.d.ts +8 -5
- package/dist-types/commands/StartCodeReviewJobCommand.d.ts +83 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +6 -4
- package/dist-types/commands/StopCodeReviewJobCommand.d.ts +75 -0
- package/dist-types/commands/StopPentestJobCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +168 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +6 -4
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePentestCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SecurityAgentServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +58 -58
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1015 -100
- package/dist-types/pagination/ListCodeReviewJobTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeReviewsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +41 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +208 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +74 -14
- package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDeleteCodeReviewsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetCodeReviewJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetCodeReviewJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetCodeReviewsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeReviewJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeReviewJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +32 -32
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +231 -25
- package/dist-types/ts3.4/pagination/ListCodeReviewJobTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
- package/package.json +13 -34
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type AddArtifactCommandInput, type AddArtifactCommandOutput } from "./commands/AddArtifactCommand";
|
|
3
|
+
import { type BatchDeleteCodeReviewsCommandInput, type BatchDeleteCodeReviewsCommandOutput } from "./commands/BatchDeleteCodeReviewsCommand";
|
|
3
4
|
import { type BatchDeletePentestsCommandInput, type BatchDeletePentestsCommandOutput } from "./commands/BatchDeletePentestsCommand";
|
|
4
5
|
import { type BatchGetAgentSpacesCommandInput, type BatchGetAgentSpacesCommandOutput } from "./commands/BatchGetAgentSpacesCommand";
|
|
5
6
|
import { type BatchGetArtifactMetadataCommandInput, type BatchGetArtifactMetadataCommandOutput } from "./commands/BatchGetArtifactMetadataCommand";
|
|
7
|
+
import { type BatchGetCodeReviewJobsCommandInput, type BatchGetCodeReviewJobsCommandOutput } from "./commands/BatchGetCodeReviewJobsCommand";
|
|
8
|
+
import { type BatchGetCodeReviewJobTasksCommandInput, type BatchGetCodeReviewJobTasksCommandOutput } from "./commands/BatchGetCodeReviewJobTasksCommand";
|
|
9
|
+
import { type BatchGetCodeReviewsCommandInput, type BatchGetCodeReviewsCommandOutput } from "./commands/BatchGetCodeReviewsCommand";
|
|
6
10
|
import { type BatchGetFindingsCommandInput, type BatchGetFindingsCommandOutput } from "./commands/BatchGetFindingsCommand";
|
|
7
11
|
import { type BatchGetPentestJobsCommandInput, type BatchGetPentestJobsCommandOutput } from "./commands/BatchGetPentestJobsCommand";
|
|
8
12
|
import { type BatchGetPentestJobTasksCommandInput, type BatchGetPentestJobTasksCommandOutput } from "./commands/BatchGetPentestJobTasksCommand";
|
|
@@ -10,6 +14,7 @@ import { type BatchGetPentestsCommandInput, type BatchGetPentestsCommandOutput }
|
|
|
10
14
|
import { type BatchGetTargetDomainsCommandInput, type BatchGetTargetDomainsCommandOutput } from "./commands/BatchGetTargetDomainsCommand";
|
|
11
15
|
import { type CreateAgentSpaceCommandInput, type CreateAgentSpaceCommandOutput } from "./commands/CreateAgentSpaceCommand";
|
|
12
16
|
import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
17
|
+
import { type CreateCodeReviewCommandInput, type CreateCodeReviewCommandOutput } from "./commands/CreateCodeReviewCommand";
|
|
13
18
|
import { type CreateIntegrationCommandInput, type CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
|
|
14
19
|
import { type CreateMembershipCommandInput, type CreateMembershipCommandOutput } from "./commands/CreateMembershipCommand";
|
|
15
20
|
import { type CreatePentestCommandInput, type CreatePentestCommandOutput } from "./commands/CreatePentestCommand";
|
|
@@ -27,6 +32,9 @@ import { type InitiateProviderRegistrationCommandInput, type InitiateProviderReg
|
|
|
27
32
|
import { type ListAgentSpacesCommandInput, type ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand";
|
|
28
33
|
import { type ListApplicationsCommandInput, type ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
29
34
|
import { type ListArtifactsCommandInput, type ListArtifactsCommandOutput } from "./commands/ListArtifactsCommand";
|
|
35
|
+
import { type ListCodeReviewJobsForCodeReviewCommandInput, type ListCodeReviewJobsForCodeReviewCommandOutput } from "./commands/ListCodeReviewJobsForCodeReviewCommand";
|
|
36
|
+
import { type ListCodeReviewJobTasksCommandInput, type ListCodeReviewJobTasksCommandOutput } from "./commands/ListCodeReviewJobTasksCommand";
|
|
37
|
+
import { type ListCodeReviewsCommandInput, type ListCodeReviewsCommandOutput } from "./commands/ListCodeReviewsCommand";
|
|
30
38
|
import { type ListDiscoveredEndpointsCommandInput, type ListDiscoveredEndpointsCommandOutput } from "./commands/ListDiscoveredEndpointsCommand";
|
|
31
39
|
import { type ListFindingsCommandInput, type ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
32
40
|
import { type ListIntegratedResourcesCommandInput, type ListIntegratedResourcesCommandOutput } from "./commands/ListIntegratedResourcesCommand";
|
|
@@ -38,12 +46,15 @@ import { type ListPentestsCommandInput, type ListPentestsCommandOutput } from ".
|
|
|
38
46
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
39
47
|
import { type ListTargetDomainsCommandInput, type ListTargetDomainsCommandOutput } from "./commands/ListTargetDomainsCommand";
|
|
40
48
|
import { type StartCodeRemediationCommandInput, type StartCodeRemediationCommandOutput } from "./commands/StartCodeRemediationCommand";
|
|
49
|
+
import { type StartCodeReviewJobCommandInput, type StartCodeReviewJobCommandOutput } from "./commands/StartCodeReviewJobCommand";
|
|
41
50
|
import { type StartPentestJobCommandInput, type StartPentestJobCommandOutput } from "./commands/StartPentestJobCommand";
|
|
51
|
+
import { type StopCodeReviewJobCommandInput, type StopCodeReviewJobCommandOutput } from "./commands/StopCodeReviewJobCommand";
|
|
42
52
|
import { type StopPentestJobCommandInput, type StopPentestJobCommandOutput } from "./commands/StopPentestJobCommand";
|
|
43
53
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
44
54
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
45
55
|
import { type UpdateAgentSpaceCommandInput, type UpdateAgentSpaceCommandOutput } from "./commands/UpdateAgentSpaceCommand";
|
|
46
56
|
import { type UpdateApplicationCommandInput, type UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
57
|
+
import { type UpdateCodeReviewCommandInput, type UpdateCodeReviewCommandOutput } from "./commands/UpdateCodeReviewCommand";
|
|
47
58
|
import { type UpdateFindingCommandInput, type UpdateFindingCommandOutput } from "./commands/UpdateFindingCommand";
|
|
48
59
|
import { type UpdateIntegratedResourcesCommandInput, type UpdateIntegratedResourcesCommandOutput } from "./commands/UpdateIntegratedResourcesCommand";
|
|
49
60
|
import { type UpdatePentestCommandInput, type UpdatePentestCommandOutput } from "./commands/UpdatePentestCommand";
|
|
@@ -57,6 +68,12 @@ export interface SecurityAgent {
|
|
|
57
68
|
addArtifact(args: AddArtifactCommandInput, options?: __HttpHandlerOptions): Promise<AddArtifactCommandOutput>;
|
|
58
69
|
addArtifact(args: AddArtifactCommandInput, cb: (err: any, data?: AddArtifactCommandOutput) => void): void;
|
|
59
70
|
addArtifact(args: AddArtifactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddArtifactCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link BatchDeleteCodeReviewsCommand}
|
|
73
|
+
*/
|
|
74
|
+
batchDeleteCodeReviews(args: BatchDeleteCodeReviewsCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteCodeReviewsCommandOutput>;
|
|
75
|
+
batchDeleteCodeReviews(args: BatchDeleteCodeReviewsCommandInput, cb: (err: any, data?: BatchDeleteCodeReviewsCommandOutput) => void): void;
|
|
76
|
+
batchDeleteCodeReviews(args: BatchDeleteCodeReviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteCodeReviewsCommandOutput) => void): void;
|
|
60
77
|
/**
|
|
61
78
|
* @see {@link BatchDeletePentestsCommand}
|
|
62
79
|
*/
|
|
@@ -75,6 +92,24 @@ export interface SecurityAgent {
|
|
|
75
92
|
batchGetArtifactMetadata(args: BatchGetArtifactMetadataCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetArtifactMetadataCommandOutput>;
|
|
76
93
|
batchGetArtifactMetadata(args: BatchGetArtifactMetadataCommandInput, cb: (err: any, data?: BatchGetArtifactMetadataCommandOutput) => void): void;
|
|
77
94
|
batchGetArtifactMetadata(args: BatchGetArtifactMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetArtifactMetadataCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link BatchGetCodeReviewJobsCommand}
|
|
97
|
+
*/
|
|
98
|
+
batchGetCodeReviewJobs(args: BatchGetCodeReviewJobsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCodeReviewJobsCommandOutput>;
|
|
99
|
+
batchGetCodeReviewJobs(args: BatchGetCodeReviewJobsCommandInput, cb: (err: any, data?: BatchGetCodeReviewJobsCommandOutput) => void): void;
|
|
100
|
+
batchGetCodeReviewJobs(args: BatchGetCodeReviewJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCodeReviewJobsCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link BatchGetCodeReviewJobTasksCommand}
|
|
103
|
+
*/
|
|
104
|
+
batchGetCodeReviewJobTasks(args: BatchGetCodeReviewJobTasksCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCodeReviewJobTasksCommandOutput>;
|
|
105
|
+
batchGetCodeReviewJobTasks(args: BatchGetCodeReviewJobTasksCommandInput, cb: (err: any, data?: BatchGetCodeReviewJobTasksCommandOutput) => void): void;
|
|
106
|
+
batchGetCodeReviewJobTasks(args: BatchGetCodeReviewJobTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCodeReviewJobTasksCommandOutput) => void): void;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link BatchGetCodeReviewsCommand}
|
|
109
|
+
*/
|
|
110
|
+
batchGetCodeReviews(args: BatchGetCodeReviewsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCodeReviewsCommandOutput>;
|
|
111
|
+
batchGetCodeReviews(args: BatchGetCodeReviewsCommandInput, cb: (err: any, data?: BatchGetCodeReviewsCommandOutput) => void): void;
|
|
112
|
+
batchGetCodeReviews(args: BatchGetCodeReviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCodeReviewsCommandOutput) => void): void;
|
|
78
113
|
/**
|
|
79
114
|
* @see {@link BatchGetFindingsCommand}
|
|
80
115
|
*/
|
|
@@ -118,6 +153,12 @@ export interface SecurityAgent {
|
|
|
118
153
|
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
119
154
|
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
120
155
|
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link CreateCodeReviewCommand}
|
|
158
|
+
*/
|
|
159
|
+
createCodeReview(args: CreateCodeReviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeReviewCommandOutput>;
|
|
160
|
+
createCodeReview(args: CreateCodeReviewCommandInput, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void;
|
|
161
|
+
createCodeReview(args: CreateCodeReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void;
|
|
121
162
|
/**
|
|
122
163
|
* @see {@link CreateIntegrationCommand}
|
|
123
164
|
*/
|
|
@@ -222,6 +263,24 @@ export interface SecurityAgent {
|
|
|
222
263
|
listArtifacts(args: ListArtifactsCommandInput, options?: __HttpHandlerOptions): Promise<ListArtifactsCommandOutput>;
|
|
223
264
|
listArtifacts(args: ListArtifactsCommandInput, cb: (err: any, data?: ListArtifactsCommandOutput) => void): void;
|
|
224
265
|
listArtifacts(args: ListArtifactsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArtifactsCommandOutput) => void): void;
|
|
266
|
+
/**
|
|
267
|
+
* @see {@link ListCodeReviewJobsForCodeReviewCommand}
|
|
268
|
+
*/
|
|
269
|
+
listCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeReviewJobsForCodeReviewCommandOutput>;
|
|
270
|
+
listCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, cb: (err: any, data?: ListCodeReviewJobsForCodeReviewCommandOutput) => void): void;
|
|
271
|
+
listCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeReviewJobsForCodeReviewCommandOutput) => void): void;
|
|
272
|
+
/**
|
|
273
|
+
* @see {@link ListCodeReviewJobTasksCommand}
|
|
274
|
+
*/
|
|
275
|
+
listCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeReviewJobTasksCommandOutput>;
|
|
276
|
+
listCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, cb: (err: any, data?: ListCodeReviewJobTasksCommandOutput) => void): void;
|
|
277
|
+
listCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeReviewJobTasksCommandOutput) => void): void;
|
|
278
|
+
/**
|
|
279
|
+
* @see {@link ListCodeReviewsCommand}
|
|
280
|
+
*/
|
|
281
|
+
listCodeReviews(args: ListCodeReviewsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeReviewsCommandOutput>;
|
|
282
|
+
listCodeReviews(args: ListCodeReviewsCommandInput, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void;
|
|
283
|
+
listCodeReviews(args: ListCodeReviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void;
|
|
225
284
|
/**
|
|
226
285
|
* @see {@link ListDiscoveredEndpointsCommand}
|
|
227
286
|
*/
|
|
@@ -290,12 +349,24 @@ export interface SecurityAgent {
|
|
|
290
349
|
startCodeRemediation(args: StartCodeRemediationCommandInput, options?: __HttpHandlerOptions): Promise<StartCodeRemediationCommandOutput>;
|
|
291
350
|
startCodeRemediation(args: StartCodeRemediationCommandInput, cb: (err: any, data?: StartCodeRemediationCommandOutput) => void): void;
|
|
292
351
|
startCodeRemediation(args: StartCodeRemediationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCodeRemediationCommandOutput) => void): void;
|
|
352
|
+
/**
|
|
353
|
+
* @see {@link StartCodeReviewJobCommand}
|
|
354
|
+
*/
|
|
355
|
+
startCodeReviewJob(args: StartCodeReviewJobCommandInput, options?: __HttpHandlerOptions): Promise<StartCodeReviewJobCommandOutput>;
|
|
356
|
+
startCodeReviewJob(args: StartCodeReviewJobCommandInput, cb: (err: any, data?: StartCodeReviewJobCommandOutput) => void): void;
|
|
357
|
+
startCodeReviewJob(args: StartCodeReviewJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCodeReviewJobCommandOutput) => void): void;
|
|
293
358
|
/**
|
|
294
359
|
* @see {@link StartPentestJobCommand}
|
|
295
360
|
*/
|
|
296
361
|
startPentestJob(args: StartPentestJobCommandInput, options?: __HttpHandlerOptions): Promise<StartPentestJobCommandOutput>;
|
|
297
362
|
startPentestJob(args: StartPentestJobCommandInput, cb: (err: any, data?: StartPentestJobCommandOutput) => void): void;
|
|
298
363
|
startPentestJob(args: StartPentestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPentestJobCommandOutput) => void): void;
|
|
364
|
+
/**
|
|
365
|
+
* @see {@link StopCodeReviewJobCommand}
|
|
366
|
+
*/
|
|
367
|
+
stopCodeReviewJob(args: StopCodeReviewJobCommandInput, options?: __HttpHandlerOptions): Promise<StopCodeReviewJobCommandOutput>;
|
|
368
|
+
stopCodeReviewJob(args: StopCodeReviewJobCommandInput, cb: (err: any, data?: StopCodeReviewJobCommandOutput) => void): void;
|
|
369
|
+
stopCodeReviewJob(args: StopCodeReviewJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopCodeReviewJobCommandOutput) => void): void;
|
|
299
370
|
/**
|
|
300
371
|
* @see {@link StopPentestJobCommand}
|
|
301
372
|
*/
|
|
@@ -326,6 +397,12 @@ export interface SecurityAgent {
|
|
|
326
397
|
updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
|
|
327
398
|
updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
328
399
|
updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
400
|
+
/**
|
|
401
|
+
* @see {@link UpdateCodeReviewCommand}
|
|
402
|
+
*/
|
|
403
|
+
updateCodeReview(args: UpdateCodeReviewCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCodeReviewCommandOutput>;
|
|
404
|
+
updateCodeReview(args: UpdateCodeReviewCommandInput, cb: (err: any, data?: UpdateCodeReviewCommandOutput) => void): void;
|
|
405
|
+
updateCodeReview(args: UpdateCodeReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCodeReviewCommandOutput) => void): void;
|
|
329
406
|
/**
|
|
330
407
|
* @see {@link UpdateFindingCommand}
|
|
331
408
|
*/
|
|
@@ -377,6 +454,27 @@ export interface SecurityAgent {
|
|
|
377
454
|
* @returns AsyncIterable of {@link ListArtifactsCommandOutput}.
|
|
378
455
|
*/
|
|
379
456
|
paginateListArtifacts(args: ListArtifactsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListArtifactsCommandOutput>;
|
|
457
|
+
/**
|
|
458
|
+
* @see {@link ListCodeReviewJobsForCodeReviewCommand}
|
|
459
|
+
* @param args - command input.
|
|
460
|
+
* @param paginationConfig - optional pagination config.
|
|
461
|
+
* @returns AsyncIterable of {@link ListCodeReviewJobsForCodeReviewCommandOutput}.
|
|
462
|
+
*/
|
|
463
|
+
paginateListCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeReviewJobsForCodeReviewCommandOutput>;
|
|
464
|
+
/**
|
|
465
|
+
* @see {@link ListCodeReviewJobTasksCommand}
|
|
466
|
+
* @param args - command input.
|
|
467
|
+
* @param paginationConfig - optional pagination config.
|
|
468
|
+
* @returns AsyncIterable of {@link ListCodeReviewJobTasksCommandOutput}.
|
|
469
|
+
*/
|
|
470
|
+
paginateListCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeReviewJobTasksCommandOutput>;
|
|
471
|
+
/**
|
|
472
|
+
* @see {@link ListCodeReviewsCommand}
|
|
473
|
+
* @param args - command input.
|
|
474
|
+
* @param paginationConfig - optional pagination config.
|
|
475
|
+
* @returns AsyncIterable of {@link ListCodeReviewsCommandOutput}.
|
|
476
|
+
*/
|
|
477
|
+
paginateListCodeReviews(args: ListCodeReviewsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeReviewsCommandOutput>;
|
|
380
478
|
/**
|
|
381
479
|
* @see {@link ListDiscoveredEndpointsCommand}
|
|
382
480
|
* @param args - command input.
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { type
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
3
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
7
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
8
|
import type { 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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { AddArtifactCommandInput, AddArtifactCommandOutput } from "./commands/AddArtifactCommand";
|
|
11
|
+
import type { BatchDeleteCodeReviewsCommandInput, BatchDeleteCodeReviewsCommandOutput } from "./commands/BatchDeleteCodeReviewsCommand";
|
|
11
12
|
import type { BatchDeletePentestsCommandInput, BatchDeletePentestsCommandOutput } from "./commands/BatchDeletePentestsCommand";
|
|
12
13
|
import type { BatchGetAgentSpacesCommandInput, BatchGetAgentSpacesCommandOutput } from "./commands/BatchGetAgentSpacesCommand";
|
|
13
14
|
import type { BatchGetArtifactMetadataCommandInput, BatchGetArtifactMetadataCommandOutput } from "./commands/BatchGetArtifactMetadataCommand";
|
|
15
|
+
import type { BatchGetCodeReviewJobsCommandInput, BatchGetCodeReviewJobsCommandOutput } from "./commands/BatchGetCodeReviewJobsCommand";
|
|
16
|
+
import type { BatchGetCodeReviewJobTasksCommandInput, BatchGetCodeReviewJobTasksCommandOutput } from "./commands/BatchGetCodeReviewJobTasksCommand";
|
|
17
|
+
import type { BatchGetCodeReviewsCommandInput, BatchGetCodeReviewsCommandOutput } from "./commands/BatchGetCodeReviewsCommand";
|
|
14
18
|
import type { BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput } from "./commands/BatchGetFindingsCommand";
|
|
15
19
|
import type { BatchGetPentestJobsCommandInput, BatchGetPentestJobsCommandOutput } from "./commands/BatchGetPentestJobsCommand";
|
|
16
20
|
import type { BatchGetPentestJobTasksCommandInput, BatchGetPentestJobTasksCommandOutput } from "./commands/BatchGetPentestJobTasksCommand";
|
|
@@ -18,6 +22,7 @@ import type { BatchGetPentestsCommandInput, BatchGetPentestsCommandOutput } from
|
|
|
18
22
|
import type { BatchGetTargetDomainsCommandInput, BatchGetTargetDomainsCommandOutput } from "./commands/BatchGetTargetDomainsCommand";
|
|
19
23
|
import type { CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput } from "./commands/CreateAgentSpaceCommand";
|
|
20
24
|
import type { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
25
|
+
import type { CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput } from "./commands/CreateCodeReviewCommand";
|
|
21
26
|
import type { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
|
|
22
27
|
import type { CreateMembershipCommandInput, CreateMembershipCommandOutput } from "./commands/CreateMembershipCommand";
|
|
23
28
|
import type { CreatePentestCommandInput, CreatePentestCommandOutput } from "./commands/CreatePentestCommand";
|
|
@@ -35,6 +40,9 @@ import type { InitiateProviderRegistrationCommandInput, InitiateProviderRegistra
|
|
|
35
40
|
import type { ListAgentSpacesCommandInput, ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand";
|
|
36
41
|
import type { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
37
42
|
import type { ListArtifactsCommandInput, ListArtifactsCommandOutput } from "./commands/ListArtifactsCommand";
|
|
43
|
+
import type { ListCodeReviewJobsForCodeReviewCommandInput, ListCodeReviewJobsForCodeReviewCommandOutput } from "./commands/ListCodeReviewJobsForCodeReviewCommand";
|
|
44
|
+
import type { ListCodeReviewJobTasksCommandInput, ListCodeReviewJobTasksCommandOutput } from "./commands/ListCodeReviewJobTasksCommand";
|
|
45
|
+
import type { ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput } from "./commands/ListCodeReviewsCommand";
|
|
38
46
|
import type { ListDiscoveredEndpointsCommandInput, ListDiscoveredEndpointsCommandOutput } from "./commands/ListDiscoveredEndpointsCommand";
|
|
39
47
|
import type { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
40
48
|
import type { ListIntegratedResourcesCommandInput, ListIntegratedResourcesCommandOutput } from "./commands/ListIntegratedResourcesCommand";
|
|
@@ -46,12 +54,15 @@ import type { ListPentestsCommandInput, ListPentestsCommandOutput } from "./comm
|
|
|
46
54
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
47
55
|
import type { ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput } from "./commands/ListTargetDomainsCommand";
|
|
48
56
|
import type { StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput } from "./commands/StartCodeRemediationCommand";
|
|
57
|
+
import type { StartCodeReviewJobCommandInput, StartCodeReviewJobCommandOutput } from "./commands/StartCodeReviewJobCommand";
|
|
49
58
|
import type { StartPentestJobCommandInput, StartPentestJobCommandOutput } from "./commands/StartPentestJobCommand";
|
|
59
|
+
import type { StopCodeReviewJobCommandInput, StopCodeReviewJobCommandOutput } from "./commands/StopCodeReviewJobCommand";
|
|
50
60
|
import type { StopPentestJobCommandInput, StopPentestJobCommandOutput } from "./commands/StopPentestJobCommand";
|
|
51
61
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
52
62
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
53
63
|
import type { UpdateAgentSpaceCommandInput, UpdateAgentSpaceCommandOutput } from "./commands/UpdateAgentSpaceCommand";
|
|
54
64
|
import type { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
65
|
+
import type { UpdateCodeReviewCommandInput, UpdateCodeReviewCommandOutput } from "./commands/UpdateCodeReviewCommand";
|
|
55
66
|
import type { UpdateFindingCommandInput, UpdateFindingCommandOutput } from "./commands/UpdateFindingCommand";
|
|
56
67
|
import type { UpdateIntegratedResourcesCommandInput, UpdateIntegratedResourcesCommandOutput } from "./commands/UpdateIntegratedResourcesCommand";
|
|
57
68
|
import type { UpdatePentestCommandInput, UpdatePentestCommandOutput } from "./commands/UpdatePentestCommand";
|
|
@@ -63,11 +74,11 @@ export { __Client };
|
|
|
63
74
|
/**
|
|
64
75
|
* @public
|
|
65
76
|
*/
|
|
66
|
-
export type ServiceInputTypes = AddArtifactCommandInput | BatchDeletePentestsCommandInput | BatchGetAgentSpacesCommandInput | BatchGetArtifactMetadataCommandInput | BatchGetFindingsCommandInput | BatchGetPentestJobTasksCommandInput | BatchGetPentestJobsCommandInput | BatchGetPentestsCommandInput | BatchGetTargetDomainsCommandInput | CreateAgentSpaceCommandInput | CreateApplicationCommandInput | CreateIntegrationCommandInput | CreateMembershipCommandInput | CreatePentestCommandInput | CreateTargetDomainCommandInput | DeleteAgentSpaceCommandInput | DeleteApplicationCommandInput | DeleteArtifactCommandInput | DeleteIntegrationCommandInput | DeleteMembershipCommandInput | DeleteTargetDomainCommandInput | GetApplicationCommandInput | GetArtifactCommandInput | GetIntegrationCommandInput | InitiateProviderRegistrationCommandInput | ListAgentSpacesCommandInput | ListApplicationsCommandInput | ListArtifactsCommandInput | ListDiscoveredEndpointsCommandInput | ListFindingsCommandInput | ListIntegratedResourcesCommandInput | ListIntegrationsCommandInput | ListMembershipsCommandInput | ListPentestJobTasksCommandInput | ListPentestJobsForPentestCommandInput | ListPentestsCommandInput | ListTagsForResourceCommandInput | ListTargetDomainsCommandInput | StartCodeRemediationCommandInput | StartPentestJobCommandInput | StopPentestJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateApplicationCommandInput | UpdateFindingCommandInput | UpdateIntegratedResourcesCommandInput | UpdatePentestCommandInput | UpdateTargetDomainCommandInput | VerifyTargetDomainCommandInput;
|
|
77
|
+
export type ServiceInputTypes = AddArtifactCommandInput | BatchDeleteCodeReviewsCommandInput | BatchDeletePentestsCommandInput | BatchGetAgentSpacesCommandInput | BatchGetArtifactMetadataCommandInput | BatchGetCodeReviewJobTasksCommandInput | BatchGetCodeReviewJobsCommandInput | BatchGetCodeReviewsCommandInput | BatchGetFindingsCommandInput | BatchGetPentestJobTasksCommandInput | BatchGetPentestJobsCommandInput | BatchGetPentestsCommandInput | BatchGetTargetDomainsCommandInput | CreateAgentSpaceCommandInput | CreateApplicationCommandInput | CreateCodeReviewCommandInput | CreateIntegrationCommandInput | CreateMembershipCommandInput | CreatePentestCommandInput | CreateTargetDomainCommandInput | DeleteAgentSpaceCommandInput | DeleteApplicationCommandInput | DeleteArtifactCommandInput | DeleteIntegrationCommandInput | DeleteMembershipCommandInput | DeleteTargetDomainCommandInput | GetApplicationCommandInput | GetArtifactCommandInput | GetIntegrationCommandInput | InitiateProviderRegistrationCommandInput | ListAgentSpacesCommandInput | ListApplicationsCommandInput | ListArtifactsCommandInput | ListCodeReviewJobTasksCommandInput | ListCodeReviewJobsForCodeReviewCommandInput | ListCodeReviewsCommandInput | ListDiscoveredEndpointsCommandInput | ListFindingsCommandInput | ListIntegratedResourcesCommandInput | ListIntegrationsCommandInput | ListMembershipsCommandInput | ListPentestJobTasksCommandInput | ListPentestJobsForPentestCommandInput | ListPentestsCommandInput | ListTagsForResourceCommandInput | ListTargetDomainsCommandInput | StartCodeRemediationCommandInput | StartCodeReviewJobCommandInput | StartPentestJobCommandInput | StopCodeReviewJobCommandInput | StopPentestJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateApplicationCommandInput | UpdateCodeReviewCommandInput | UpdateFindingCommandInput | UpdateIntegratedResourcesCommandInput | UpdatePentestCommandInput | UpdateTargetDomainCommandInput | VerifyTargetDomainCommandInput;
|
|
67
78
|
/**
|
|
68
79
|
* @public
|
|
69
80
|
*/
|
|
70
|
-
export type ServiceOutputTypes = AddArtifactCommandOutput | BatchDeletePentestsCommandOutput | BatchGetAgentSpacesCommandOutput | BatchGetArtifactMetadataCommandOutput | BatchGetFindingsCommandOutput | BatchGetPentestJobTasksCommandOutput | BatchGetPentestJobsCommandOutput | BatchGetPentestsCommandOutput | BatchGetTargetDomainsCommandOutput | CreateAgentSpaceCommandOutput | CreateApplicationCommandOutput | CreateIntegrationCommandOutput | CreateMembershipCommandOutput | CreatePentestCommandOutput | CreateTargetDomainCommandOutput | DeleteAgentSpaceCommandOutput | DeleteApplicationCommandOutput | DeleteArtifactCommandOutput | DeleteIntegrationCommandOutput | DeleteMembershipCommandOutput | DeleteTargetDomainCommandOutput | GetApplicationCommandOutput | GetArtifactCommandOutput | GetIntegrationCommandOutput | InitiateProviderRegistrationCommandOutput | ListAgentSpacesCommandOutput | ListApplicationsCommandOutput | ListArtifactsCommandOutput | ListDiscoveredEndpointsCommandOutput | ListFindingsCommandOutput | ListIntegratedResourcesCommandOutput | ListIntegrationsCommandOutput | ListMembershipsCommandOutput | ListPentestJobTasksCommandOutput | ListPentestJobsForPentestCommandOutput | ListPentestsCommandOutput | ListTagsForResourceCommandOutput | ListTargetDomainsCommandOutput | StartCodeRemediationCommandOutput | StartPentestJobCommandOutput | StopPentestJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateApplicationCommandOutput | UpdateFindingCommandOutput | UpdateIntegratedResourcesCommandOutput | UpdatePentestCommandOutput | UpdateTargetDomainCommandOutput | VerifyTargetDomainCommandOutput;
|
|
81
|
+
export type ServiceOutputTypes = AddArtifactCommandOutput | BatchDeleteCodeReviewsCommandOutput | BatchDeletePentestsCommandOutput | BatchGetAgentSpacesCommandOutput | BatchGetArtifactMetadataCommandOutput | BatchGetCodeReviewJobTasksCommandOutput | BatchGetCodeReviewJobsCommandOutput | BatchGetCodeReviewsCommandOutput | BatchGetFindingsCommandOutput | BatchGetPentestJobTasksCommandOutput | BatchGetPentestJobsCommandOutput | BatchGetPentestsCommandOutput | BatchGetTargetDomainsCommandOutput | CreateAgentSpaceCommandOutput | CreateApplicationCommandOutput | CreateCodeReviewCommandOutput | CreateIntegrationCommandOutput | CreateMembershipCommandOutput | CreatePentestCommandOutput | CreateTargetDomainCommandOutput | DeleteAgentSpaceCommandOutput | DeleteApplicationCommandOutput | DeleteArtifactCommandOutput | DeleteIntegrationCommandOutput | DeleteMembershipCommandOutput | DeleteTargetDomainCommandOutput | GetApplicationCommandOutput | GetArtifactCommandOutput | GetIntegrationCommandOutput | InitiateProviderRegistrationCommandOutput | ListAgentSpacesCommandOutput | ListApplicationsCommandOutput | ListArtifactsCommandOutput | ListCodeReviewJobTasksCommandOutput | ListCodeReviewJobsForCodeReviewCommandOutput | ListCodeReviewsCommandOutput | ListDiscoveredEndpointsCommandOutput | ListFindingsCommandOutput | ListIntegratedResourcesCommandOutput | ListIntegrationsCommandOutput | ListMembershipsCommandOutput | ListPentestJobTasksCommandOutput | ListPentestJobsForPentestCommandOutput | ListPentestsCommandOutput | ListTagsForResourceCommandOutput | ListTargetDomainsCommandOutput | StartCodeRemediationCommandOutput | StartCodeReviewJobCommandOutput | StartPentestJobCommandOutput | StopCodeReviewJobCommandOutput | StopPentestJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateApplicationCommandOutput | UpdateCodeReviewCommandOutput | UpdateFindingCommandOutput | UpdateIntegratedResourcesCommandOutput | UpdatePentestCommandOutput | UpdateTargetDomainCommandOutput | VerifyTargetDomainCommandOutput;
|
|
71
82
|
/**
|
|
72
83
|
* @public
|
|
73
84
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { AddArtifactInput, AddArtifactOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface AddArtifactCommandInput extends AddArtifactInput {
|
|
|
22
22
|
export interface AddArtifactCommandOutput extends AddArtifactOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const AddArtifactCommand_base: {
|
|
25
|
-
new (input: AddArtifactCommandInput): import("@smithy/
|
|
26
|
-
new (input: AddArtifactCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: AddArtifactCommandInput): import("@smithy/core/client").CommandImpl<AddArtifactCommandInput, AddArtifactCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AddArtifactCommandInput): import("@smithy/core/client").CommandImpl<AddArtifactCommandInput, AddArtifactCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.</p>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchDeleteCodeReviewsInput, BatchDeleteCodeReviewsOutput } from "../models/models_0";
|
|
4
|
+
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteCodeReviewsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteCodeReviewsCommandInput extends BatchDeleteCodeReviewsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteCodeReviewsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteCodeReviewsCommandOutput extends BatchDeleteCodeReviewsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteCodeReviewsCommand_base: {
|
|
25
|
+
new (input: BatchDeleteCodeReviewsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteCodeReviewsCommandInput, BatchDeleteCodeReviewsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeleteCodeReviewsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteCodeReviewsCommandInput, BatchDeleteCodeReviewsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes one or more code reviews from an agent space.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, BatchDeleteCodeReviewsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchDeleteCodeReviewsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
38
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
39
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
|
+
* const client = new SecurityAgentClient(config);
|
|
41
|
+
* const input = { // BatchDeleteCodeReviewsInput
|
|
42
|
+
* codeReviewIds: [ // CodeReviewIdList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new BatchDeleteCodeReviewsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // BatchDeleteCodeReviewsOutput
|
|
50
|
+
* // deleted: [ // CodeReviewIdList
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // failed: [ // DeleteCodeReviewFailureList
|
|
54
|
+
* // { // DeleteCodeReviewFailure
|
|
55
|
+
* // codeReviewId: "STRING_VALUE",
|
|
56
|
+
* // reason: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param BatchDeleteCodeReviewsCommandInput - {@link BatchDeleteCodeReviewsCommandInput}
|
|
64
|
+
* @returns {@link BatchDeleteCodeReviewsCommandOutput}
|
|
65
|
+
* @see {@link BatchDeleteCodeReviewsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link BatchDeleteCodeReviewsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link SecurityAgentServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class BatchDeleteCodeReviewsCommand extends BatchDeleteCodeReviewsCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: BatchDeleteCodeReviewsInput;
|
|
80
|
+
output: BatchDeleteCodeReviewsOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: BatchDeleteCodeReviewsCommandInput;
|
|
84
|
+
output: BatchDeleteCodeReviewsCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BatchDeletePentestsInput, BatchDeletePentestsOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchDeletePentestsCommandInput extends BatchDeletePentestsInpu
|
|
|
22
22
|
export interface BatchDeletePentestsCommandOutput extends BatchDeletePentestsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchDeletePentestsCommand_base: {
|
|
25
|
-
new (input: BatchDeletePentestsCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchDeletePentestsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchDeletePentestsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeletePentestsCommandInput, BatchDeletePentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeletePentestsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeletePentestsCommandInput, BatchDeletePentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes one or more pentests from an agent space.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BatchGetAgentSpacesInput, BatchGetAgentSpacesOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchGetAgentSpacesCommandInput extends BatchGetAgentSpacesInpu
|
|
|
22
22
|
export interface BatchGetAgentSpacesCommandOutput extends BatchGetAgentSpacesOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchGetAgentSpacesCommand_base: {
|
|
25
|
-
new (input: BatchGetAgentSpacesCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchGetAgentSpacesCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchGetAgentSpacesCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgentSpacesCommandInput, BatchGetAgentSpacesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetAgentSpacesCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgentSpacesCommandInput, BatchGetAgentSpacesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about one or more agent spaces.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BatchGetArtifactMetadataInput, BatchGetArtifactMetadataOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchGetArtifactMetadataCommandInput extends BatchGetArtifactMe
|
|
|
22
22
|
export interface BatchGetArtifactMetadataCommandOutput extends BatchGetArtifactMetadataOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchGetArtifactMetadataCommand_base: {
|
|
25
|
-
new (input: BatchGetArtifactMetadataCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchGetArtifactMetadataCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchGetArtifactMetadataCommandInput): import("@smithy/core/client").CommandImpl<BatchGetArtifactMetadataCommandInput, BatchGetArtifactMetadataCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetArtifactMetadataCommandInput): import("@smithy/core/client").CommandImpl<BatchGetArtifactMetadataCommandInput, BatchGetArtifactMetadataCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves metadata for one or more artifacts in an agent space.</p>
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetCodeReviewJobTasksInput, BatchGetCodeReviewJobTasksOutput } from "../models/models_0";
|
|
4
|
+
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetCodeReviewJobTasksCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetCodeReviewJobTasksCommandInput extends BatchGetCodeReviewJobTasksInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetCodeReviewJobTasksCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetCodeReviewJobTasksCommandOutput extends BatchGetCodeReviewJobTasksOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetCodeReviewJobTasksCommand_base: {
|
|
25
|
+
new (input: BatchGetCodeReviewJobTasksCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCodeReviewJobTasksCommandInput, BatchGetCodeReviewJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetCodeReviewJobTasksCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCodeReviewJobTasksCommandInput, BatchGetCodeReviewJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves information about one or more tasks within a code review job.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, BatchGetCodeReviewJobTasksCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchGetCodeReviewJobTasksCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
38
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
39
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
|
+
* const client = new SecurityAgentClient(config);
|
|
41
|
+
* const input = { // BatchGetCodeReviewJobTasksInput
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* codeReviewJobTaskIds: [ // TaskIdList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new BatchGetCodeReviewJobTasksCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // BatchGetCodeReviewJobTasksOutput
|
|
50
|
+
* // codeReviewJobTasks: [ // CodeReviewJobTaskList
|
|
51
|
+
* // { // CodeReviewJobTask
|
|
52
|
+
* // taskId: "STRING_VALUE", // required
|
|
53
|
+
* // codeReviewId: "STRING_VALUE",
|
|
54
|
+
* // codeReviewJobId: "STRING_VALUE",
|
|
55
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
56
|
+
* // title: "STRING_VALUE",
|
|
57
|
+
* // description: "STRING_VALUE",
|
|
58
|
+
* // categories: [ // CategoryList
|
|
59
|
+
* // { // Category
|
|
60
|
+
* // name: "STRING_VALUE",
|
|
61
|
+
* // isPrimary: true || false,
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // riskType: "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
|
|
65
|
+
* // executionStatus: "IN_PROGRESS" || "ABORTED" || "COMPLETED" || "INTERNAL_ERROR" || "FAILED",
|
|
66
|
+
* // logsLocation: { // LogLocation
|
|
67
|
+
* // logType: "CLOUDWATCH",
|
|
68
|
+
* // cloudWatchLog: { // CloudWatchLog
|
|
69
|
+
* // logGroup: "STRING_VALUE",
|
|
70
|
+
* // logStream: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
74
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // notFound: [ // TaskIdList
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param BatchGetCodeReviewJobTasksCommandInput - {@link BatchGetCodeReviewJobTasksCommandInput}
|
|
85
|
+
* @returns {@link BatchGetCodeReviewJobTasksCommandOutput}
|
|
86
|
+
* @see {@link BatchGetCodeReviewJobTasksCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link BatchGetCodeReviewJobTasksCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link SecurityAgentServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class BatchGetCodeReviewJobTasksCommand extends BatchGetCodeReviewJobTasksCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: BatchGetCodeReviewJobTasksInput;
|
|
101
|
+
output: BatchGetCodeReviewJobTasksOutput;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: BatchGetCodeReviewJobTasksCommandInput;
|
|
105
|
+
output: BatchGetCodeReviewJobTasksCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|