@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
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetCodeReviewJobsInput, BatchGetCodeReviewJobsOutput } 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 BatchGetCodeReviewJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetCodeReviewJobsCommandInput extends BatchGetCodeReviewJobsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetCodeReviewJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetCodeReviewJobsCommandOutput extends BatchGetCodeReviewJobsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetCodeReviewJobsCommand_base: {
|
|
25
|
+
new (input: BatchGetCodeReviewJobsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCodeReviewJobsCommandInput, BatchGetCodeReviewJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetCodeReviewJobsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCodeReviewJobsCommandInput, BatchGetCodeReviewJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves information about one or more code review jobs in 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, BatchGetCodeReviewJobsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchGetCodeReviewJobsCommand } = 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 = { // BatchGetCodeReviewJobsInput
|
|
42
|
+
* codeReviewJobIds: [ // CodeReviewJobIdList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new BatchGetCodeReviewJobsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // BatchGetCodeReviewJobsOutput
|
|
50
|
+
* // codeReviewJobs: [ // CodeReviewJobList
|
|
51
|
+
* // { // CodeReviewJob
|
|
52
|
+
* // codeReviewJobId: "STRING_VALUE",
|
|
53
|
+
* // codeReviewId: "STRING_VALUE",
|
|
54
|
+
* // title: "STRING_VALUE",
|
|
55
|
+
* // overview: "STRING_VALUE",
|
|
56
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
57
|
+
* // documents: [ // DocumentList
|
|
58
|
+
* // { // DocumentInfo
|
|
59
|
+
* // s3Location: "STRING_VALUE",
|
|
60
|
+
* // artifactId: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // sourceCode: [ // SourceCodeRepositoryList
|
|
64
|
+
* // { // SourceCodeRepository
|
|
65
|
+
* // s3Location: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // steps: [ // StepList
|
|
69
|
+
* // { // Step
|
|
70
|
+
* // name: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING",
|
|
71
|
+
* // status: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOPPED",
|
|
72
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
73
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // executionContext: [ // ExecutionContextList
|
|
77
|
+
* // { // ExecutionContext
|
|
78
|
+
* // contextType: "ERROR" || "CLIENT_ERROR" || "WARNING" || "INFO",
|
|
79
|
+
* // context: "STRING_VALUE",
|
|
80
|
+
* // timestamp: new Date("TIMESTAMP"),
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // serviceRole: "STRING_VALUE",
|
|
84
|
+
* // logConfig: { // CloudWatchLog
|
|
85
|
+
* // logGroup: "STRING_VALUE",
|
|
86
|
+
* // logStream: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // errorInformation: { // ErrorInformation
|
|
89
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER",
|
|
90
|
+
* // message: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
93
|
+
* // { // IntegratedRepository
|
|
94
|
+
* // integrationId: "STRING_VALUE", // required
|
|
95
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
99
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
100
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // notFound: [ // CodeReviewJobIdList
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // };
|
|
107
|
+
*
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @param BatchGetCodeReviewJobsCommandInput - {@link BatchGetCodeReviewJobsCommandInput}
|
|
111
|
+
* @returns {@link BatchGetCodeReviewJobsCommandOutput}
|
|
112
|
+
* @see {@link BatchGetCodeReviewJobsCommandInput} for command's `input` shape.
|
|
113
|
+
* @see {@link BatchGetCodeReviewJobsCommandOutput} for command's `response` shape.
|
|
114
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link SecurityAgentServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
118
|
+
*
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export declare class BatchGetCodeReviewJobsCommand extends BatchGetCodeReviewJobsCommand_base {
|
|
123
|
+
/** @internal type navigation helper, not in runtime. */
|
|
124
|
+
protected static __types: {
|
|
125
|
+
api: {
|
|
126
|
+
input: BatchGetCodeReviewJobsInput;
|
|
127
|
+
output: BatchGetCodeReviewJobsOutput;
|
|
128
|
+
};
|
|
129
|
+
sdk: {
|
|
130
|
+
input: BatchGetCodeReviewJobsCommandInput;
|
|
131
|
+
output: BatchGetCodeReviewJobsCommandOutput;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetCodeReviewsInput, BatchGetCodeReviewsOutput } 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 BatchGetCodeReviewsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetCodeReviewsCommandInput extends BatchGetCodeReviewsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetCodeReviewsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetCodeReviewsCommandOutput extends BatchGetCodeReviewsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetCodeReviewsCommand_base: {
|
|
25
|
+
new (input: BatchGetCodeReviewsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCodeReviewsCommandInput, BatchGetCodeReviewsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetCodeReviewsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCodeReviewsCommandInput, BatchGetCodeReviewsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves information about one or more code reviews in 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, BatchGetCodeReviewsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchGetCodeReviewsCommand } = 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 = { // BatchGetCodeReviewsInput
|
|
42
|
+
* codeReviewIds: [ // CodeReviewIdList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new BatchGetCodeReviewsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // BatchGetCodeReviewsOutput
|
|
50
|
+
* // codeReviews: [ // CodeReviewList
|
|
51
|
+
* // { // CodeReview
|
|
52
|
+
* // codeReviewId: "STRING_VALUE", // required
|
|
53
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
54
|
+
* // title: "STRING_VALUE", // required
|
|
55
|
+
* // assets: { // Assets
|
|
56
|
+
* // endpoints: [ // EndpointList
|
|
57
|
+
* // { // Endpoint
|
|
58
|
+
* // uri: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // actors: [ // ActorList
|
|
62
|
+
* // { // Actor
|
|
63
|
+
* // identifier: "STRING_VALUE",
|
|
64
|
+
* // uris: [ // UriList
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // authentication: { // Authentication
|
|
68
|
+
* // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
69
|
+
* // value: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // description: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // documents: [ // DocumentList
|
|
75
|
+
* // { // DocumentInfo
|
|
76
|
+
* // s3Location: "STRING_VALUE",
|
|
77
|
+
* // artifactId: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // sourceCode: [ // SourceCodeRepositoryList
|
|
81
|
+
* // { // SourceCodeRepository
|
|
82
|
+
* // s3Location: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
86
|
+
* // { // IntegratedRepository
|
|
87
|
+
* // integrationId: "STRING_VALUE", // required
|
|
88
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // serviceRole: "STRING_VALUE",
|
|
93
|
+
* // logConfig: { // CloudWatchLog
|
|
94
|
+
* // logGroup: "STRING_VALUE",
|
|
95
|
+
* // logStream: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
98
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
99
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // notFound: [ // CodeReviewIdList
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // };
|
|
106
|
+
*
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @param BatchGetCodeReviewsCommandInput - {@link BatchGetCodeReviewsCommandInput}
|
|
110
|
+
* @returns {@link BatchGetCodeReviewsCommandOutput}
|
|
111
|
+
* @see {@link BatchGetCodeReviewsCommandInput} for command's `input` shape.
|
|
112
|
+
* @see {@link BatchGetCodeReviewsCommandOutput} for command's `response` shape.
|
|
113
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link SecurityAgentServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
117
|
+
*
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class BatchGetCodeReviewsCommand extends BatchGetCodeReviewsCommand_base {
|
|
122
|
+
/** @internal type navigation helper, not in runtime. */
|
|
123
|
+
protected static __types: {
|
|
124
|
+
api: {
|
|
125
|
+
input: BatchGetCodeReviewsInput;
|
|
126
|
+
output: BatchGetCodeReviewsOutput;
|
|
127
|
+
};
|
|
128
|
+
sdk: {
|
|
129
|
+
input: BatchGetCodeReviewsCommandInput;
|
|
130
|
+
output: BatchGetCodeReviewsCommandOutput;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -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 { BatchGetFindingsInput, BatchGetFindingsOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchGetFindingsCommandInput extends BatchGetFindingsInput {
|
|
|
22
22
|
export interface BatchGetFindingsCommandOutput extends BatchGetFindingsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchGetFindingsCommand_base: {
|
|
25
|
-
new (input: BatchGetFindingsCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchGetFindingsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchGetFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about one or more security findings in an agent space.</p>
|
|
@@ -51,6 +53,8 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
51
53
|
* // agentSpaceId: "STRING_VALUE", // required
|
|
52
54
|
* // pentestId: "STRING_VALUE",
|
|
53
55
|
* // pentestJobId: "STRING_VALUE",
|
|
56
|
+
* // codeReviewId: "STRING_VALUE",
|
|
57
|
+
* // codeReviewJobId: "STRING_VALUE",
|
|
54
58
|
* // taskId: "STRING_VALUE",
|
|
55
59
|
* // name: "STRING_VALUE",
|
|
56
60
|
* // description: "STRING_VALUE",
|
|
@@ -73,6 +77,14 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
73
77
|
* // ],
|
|
74
78
|
* // },
|
|
75
79
|
* // lastUpdatedBy: "STRING_VALUE",
|
|
80
|
+
* // codeLocations: [ // CodeLocationList
|
|
81
|
+
* // { // CodeLocation
|
|
82
|
+
* // filePath: "STRING_VALUE", // required
|
|
83
|
+
* // lineStart: Number("int"),
|
|
84
|
+
* // lineEnd: Number("int"),
|
|
85
|
+
* // label: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
76
88
|
* // createdAt: new Date("TIMESTAMP"),
|
|
77
89
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
78
90
|
* // },
|
|
@@ -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 { BatchGetPentestJobTasksInput, BatchGetPentestJobTasksOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchGetPentestJobTasksCommandInput extends BatchGetPentestJobT
|
|
|
22
22
|
export interface BatchGetPentestJobTasksCommandOutput extends BatchGetPentestJobTasksOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchGetPentestJobTasksCommand_base: {
|
|
25
|
-
new (input: BatchGetPentestJobTasksCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchGetPentestJobTasksCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchGetPentestJobTasksCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPentestJobTasksCommandInput, BatchGetPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetPentestJobTasksCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPentestJobTasksCommandInput, BatchGetPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about one or more tasks within a pentest job.</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 { BatchGetPentestJobsInput, BatchGetPentestJobsOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchGetPentestJobsCommandInput extends BatchGetPentestJobsInpu
|
|
|
22
22
|
export interface BatchGetPentestJobsCommandOutput extends BatchGetPentestJobsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchGetPentestJobsCommand_base: {
|
|
25
|
-
new (input: BatchGetPentestJobsCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchGetPentestJobsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchGetPentestJobsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPentestJobsCommandInput, BatchGetPentestJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetPentestJobsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPentestJobsCommandInput, BatchGetPentestJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about one or more pentest jobs in 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 { BatchGetPentestsInput, BatchGetPentestsOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchGetPentestsCommandInput extends BatchGetPentestsInput {
|
|
|
22
22
|
export interface BatchGetPentestsCommandOutput extends BatchGetPentestsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchGetPentestsCommand_base: {
|
|
25
|
-
new (input: BatchGetPentestsCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchGetPentestsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchGetPentestsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPentestsCommandInput, BatchGetPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetPentestsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPentestsCommandInput, BatchGetPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about one or more pentests in 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 { BatchGetTargetDomainsInput, BatchGetTargetDomainsOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface BatchGetTargetDomainsCommandInput extends BatchGetTargetDomains
|
|
|
22
22
|
export interface BatchGetTargetDomainsCommandOutput extends BatchGetTargetDomainsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchGetTargetDomainsCommand_base: {
|
|
25
|
-
new (input: BatchGetTargetDomainsCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchGetTargetDomainsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchGetTargetDomainsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetTargetDomainsCommandInput, BatchGetTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetTargetDomainsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetTargetDomainsCommandInput, BatchGetTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about one or more target domains.</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 { CreateAgentSpaceInput, CreateAgentSpaceOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface CreateAgentSpaceCommandInput extends CreateAgentSpaceInput {
|
|
|
22
22
|
export interface CreateAgentSpaceCommandOutput extends CreateAgentSpaceOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAgentSpaceCommand_base: {
|
|
25
|
-
new (input: CreateAgentSpaceCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateAgentSpaceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateAgentSpaceCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAgentSpaceCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.</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 { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface CreateApplicationCommandInput extends CreateApplicationRequest
|
|
|
22
22
|
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateApplicationCommand_base: {
|
|
25
|
-
new (input: CreateApplicationCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [CreateApplicationCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [CreateApplicationCommandInput]): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new application. An application is the top-level organizational unit that supports IAM Identity Center integration.</p>
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateCodeReviewInput, CreateCodeReviewOutput } 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 CreateCodeReviewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateCodeReviewCommandInput extends CreateCodeReviewInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateCodeReviewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCodeReviewCommandOutput extends CreateCodeReviewOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateCodeReviewCommand_base: {
|
|
25
|
+
new (input: CreateCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a new code review configuration in an agent space. A code review defines the parameters for automated security-focused code analysis.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, CreateCodeReviewCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, CreateCodeReviewCommand } = 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 = { // CreateCodeReviewInput
|
|
42
|
+
* title: "STRING_VALUE", // required
|
|
43
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
44
|
+
* assets: { // Assets
|
|
45
|
+
* endpoints: [ // EndpointList
|
|
46
|
+
* { // Endpoint
|
|
47
|
+
* uri: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* actors: [ // ActorList
|
|
51
|
+
* { // Actor
|
|
52
|
+
* identifier: "STRING_VALUE",
|
|
53
|
+
* uris: [ // UriList
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* authentication: { // Authentication
|
|
57
|
+
* providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
58
|
+
* value: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* description: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* documents: [ // DocumentList
|
|
64
|
+
* { // DocumentInfo
|
|
65
|
+
* s3Location: "STRING_VALUE",
|
|
66
|
+
* artifactId: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* sourceCode: [ // SourceCodeRepositoryList
|
|
70
|
+
* { // SourceCodeRepository
|
|
71
|
+
* s3Location: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* integratedRepositories: [ // IntegratedRepositoryList
|
|
75
|
+
* { // IntegratedRepository
|
|
76
|
+
* integrationId: "STRING_VALUE", // required
|
|
77
|
+
* providerResourceId: "STRING_VALUE", // required
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* },
|
|
81
|
+
* serviceRole: "STRING_VALUE",
|
|
82
|
+
* logConfig: { // CloudWatchLog
|
|
83
|
+
* logGroup: "STRING_VALUE",
|
|
84
|
+
* logStream: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
87
|
+
* };
|
|
88
|
+
* const command = new CreateCodeReviewCommand(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* // { // CreateCodeReviewOutput
|
|
91
|
+
* // codeReviewId: "STRING_VALUE", // required
|
|
92
|
+
* // title: "STRING_VALUE",
|
|
93
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
94
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
95
|
+
* // assets: { // Assets
|
|
96
|
+
* // endpoints: [ // EndpointList
|
|
97
|
+
* // { // Endpoint
|
|
98
|
+
* // uri: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // actors: [ // ActorList
|
|
102
|
+
* // { // Actor
|
|
103
|
+
* // identifier: "STRING_VALUE",
|
|
104
|
+
* // uris: [ // UriList
|
|
105
|
+
* // "STRING_VALUE",
|
|
106
|
+
* // ],
|
|
107
|
+
* // authentication: { // Authentication
|
|
108
|
+
* // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
109
|
+
* // value: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // description: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // documents: [ // DocumentList
|
|
115
|
+
* // { // DocumentInfo
|
|
116
|
+
* // s3Location: "STRING_VALUE",
|
|
117
|
+
* // artifactId: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // sourceCode: [ // SourceCodeRepositoryList
|
|
121
|
+
* // { // SourceCodeRepository
|
|
122
|
+
* // s3Location: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
126
|
+
* // { // IntegratedRepository
|
|
127
|
+
* // integrationId: "STRING_VALUE", // required
|
|
128
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // serviceRole: "STRING_VALUE",
|
|
133
|
+
* // logConfig: { // CloudWatchLog
|
|
134
|
+
* // logGroup: "STRING_VALUE",
|
|
135
|
+
* // logStream: "STRING_VALUE",
|
|
136
|
+
* // },
|
|
137
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
138
|
+
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
139
|
+
* // };
|
|
140
|
+
*
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* @param CreateCodeReviewCommandInput - {@link CreateCodeReviewCommandInput}
|
|
144
|
+
* @returns {@link CreateCodeReviewCommandOutput}
|
|
145
|
+
* @see {@link CreateCodeReviewCommandInput} for command's `input` shape.
|
|
146
|
+
* @see {@link CreateCodeReviewCommandOutput} for command's `response` shape.
|
|
147
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link SecurityAgentServiceException}
|
|
150
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
151
|
+
*
|
|
152
|
+
*
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export declare class CreateCodeReviewCommand extends CreateCodeReviewCommand_base {
|
|
156
|
+
/** @internal type navigation helper, not in runtime. */
|
|
157
|
+
protected static __types: {
|
|
158
|
+
api: {
|
|
159
|
+
input: CreateCodeReviewInput;
|
|
160
|
+
output: CreateCodeReviewOutput;
|
|
161
|
+
};
|
|
162
|
+
sdk: {
|
|
163
|
+
input: CreateCodeReviewCommandInput;
|
|
164
|
+
output: CreateCodeReviewCommandOutput;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
}
|
|
@@ -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 { CreateIntegrationInput, CreateIntegrationOutput } from "../models/models_0";
|
|
4
4
|
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
@@ -22,9 +22,11 @@ export interface CreateIntegrationCommandInput extends CreateIntegrationInput {
|
|
|
22
22
|
export interface CreateIntegrationCommandOutput extends CreateIntegrationOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateIntegrationCommand_base: {
|
|
25
|
-
new (input: CreateIntegrationCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateIntegrationCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateIntegrationCommandInput): import("@smithy/core/client").CommandImpl<CreateIntegrationCommandInput, CreateIntegrationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateIntegrationCommandInput): import("@smithy/core/client").CommandImpl<CreateIntegrationCommandInput, CreateIntegrationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.</p>
|