@aws-sdk/client-securityagent 3.1021.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/LICENSE +201 -0
- package/README.md +531 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1084 -0
- package/dist-cjs/models/SecurityAgentServiceException.js +12 -0
- package/dist-cjs/models/errors.js +88 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +54 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +1570 -0
- package/dist-es/SecurityAgent.js +133 -0
- package/dist-es/SecurityAgentClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AddArtifactCommand.js +16 -0
- package/dist-es/commands/BatchDeletePentestsCommand.js +16 -0
- package/dist-es/commands/BatchGetAgentSpacesCommand.js +16 -0
- package/dist-es/commands/BatchGetArtifactMetadataCommand.js +16 -0
- package/dist-es/commands/BatchGetFindingsCommand.js +16 -0
- package/dist-es/commands/BatchGetPentestJobTasksCommand.js +16 -0
- package/dist-es/commands/BatchGetPentestJobsCommand.js +16 -0
- package/dist-es/commands/BatchGetPentestsCommand.js +16 -0
- package/dist-es/commands/BatchGetTargetDomainsCommand.js +16 -0
- package/dist-es/commands/CreateAgentSpaceCommand.js +16 -0
- package/dist-es/commands/CreateApplicationCommand.js +16 -0
- package/dist-es/commands/CreateIntegrationCommand.js +16 -0
- package/dist-es/commands/CreateMembershipCommand.js +16 -0
- package/dist-es/commands/CreatePentestCommand.js +16 -0
- package/dist-es/commands/CreateTargetDomainCommand.js +16 -0
- package/dist-es/commands/DeleteAgentSpaceCommand.js +16 -0
- package/dist-es/commands/DeleteApplicationCommand.js +16 -0
- package/dist-es/commands/DeleteArtifactCommand.js +16 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +16 -0
- package/dist-es/commands/DeleteMembershipCommand.js +16 -0
- package/dist-es/commands/DeleteTargetDomainCommand.js +16 -0
- package/dist-es/commands/GetApplicationCommand.js +16 -0
- package/dist-es/commands/GetArtifactCommand.js +16 -0
- package/dist-es/commands/GetIntegrationCommand.js +16 -0
- package/dist-es/commands/InitiateProviderRegistrationCommand.js +16 -0
- package/dist-es/commands/ListAgentSpacesCommand.js +16 -0
- package/dist-es/commands/ListApplicationsCommand.js +16 -0
- package/dist-es/commands/ListArtifactsCommand.js +16 -0
- package/dist-es/commands/ListDiscoveredEndpointsCommand.js +16 -0
- package/dist-es/commands/ListFindingsCommand.js +16 -0
- package/dist-es/commands/ListIntegratedResourcesCommand.js +16 -0
- package/dist-es/commands/ListIntegrationsCommand.js +16 -0
- package/dist-es/commands/ListMembershipsCommand.js +16 -0
- package/dist-es/commands/ListPentestJobTasksCommand.js +16 -0
- package/dist-es/commands/ListPentestJobsForPentestCommand.js +16 -0
- package/dist-es/commands/ListPentestsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/ListTargetDomainsCommand.js +16 -0
- package/dist-es/commands/StartCodeRemediationCommand.js +16 -0
- package/dist-es/commands/StartPentestJobCommand.js +16 -0
- package/dist-es/commands/StopPentestJobCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAgentSpaceCommand.js +16 -0
- package/dist-es/commands/UpdateApplicationCommand.js +16 -0
- package/dist-es/commands/UpdateFindingCommand.js +16 -0
- package/dist-es/commands/UpdateIntegratedResourcesCommand.js +16 -0
- package/dist-es/commands/UpdatePentestCommand.js +16 -0
- package/dist-es/commands/UpdateTargetDomainCommand.js +16 -0
- package/dist-es/commands/VerifyTargetDomainCommand.js +16 -0
- package/dist-es/commands/index.js +50 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/SecurityAgentServiceException.js +8 -0
- package/dist-es/models/enums.js +162 -0
- package/dist-es/models/errors.js +79 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAgentSpacesPaginator.js +4 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
- package/dist-es/pagination/ListArtifactsPaginator.js +4 -0
- package/dist-es/pagination/ListDiscoveredEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListFindingsPaginator.js +4 -0
- package/dist-es/pagination/ListIntegratedResourcesPaginator.js +4 -0
- package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
- package/dist-es/pagination/ListMembershipsPaginator.js +4 -0
- package/dist-es/pagination/ListPentestJobTasksPaginator.js +4 -0
- package/dist-es/pagination/ListPentestJobsForPentestPaginator.js +4 -0
- package/dist-es/pagination/ListPentestsPaginator.js +4 -0
- package/dist-es/pagination/ListTargetDomainsPaginator.js +4 -0
- package/dist-es/pagination/index.js +13 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +49 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1563 -0
- package/dist-types/SecurityAgent.d.ts +449 -0
- package/dist-types/SecurityAgentClient.d.ts +237 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AddArtifactCommand.d.ts +94 -0
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +161 -0
- package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +123 -0
- package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +101 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +111 -0
- package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +109 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +187 -0
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +158 -0
- package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +99 -0
- package/dist-types/commands/CreateAgentSpaceCommand.d.ts +154 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +79 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +106 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +80 -0
- package/dist-types/commands/CreatePentestCommand.d.ts +194 -0
- package/dist-types/commands/CreateTargetDomainCommand.d.ts +94 -0
- package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +74 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +72 -0
- package/dist-types/commands/DeleteArtifactCommand.d.ts +90 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/DeleteMembershipCommand.d.ts +75 -0
- package/dist-types/commands/DeleteTargetDomainCommand.d.ts +74 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +82 -0
- package/dist-types/commands/GetArtifactCommand.d.ts +99 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +96 -0
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +95 -0
- package/dist-types/commands/ListAgentSpacesCommand.d.ts +83 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +83 -0
- package/dist-types/commands/ListArtifactsCommand.d.ts +100 -0
- package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +89 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +97 -0
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +114 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +100 -0
- package/dist-types/commands/ListMembershipsCommand.d.ts +101 -0
- package/dist-types/commands/ListPentestJobTasksCommand.d.ts +92 -0
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +87 -0
- package/dist-types/commands/ListPentestsCommand.d.ts +85 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +76 -0
- package/dist-types/commands/ListTargetDomainsCommand.d.ts +82 -0
- package/dist-types/commands/StartCodeRemediationCommand.d.ts +76 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +81 -0
- package/dist-types/commands/StopPentestJobCommand.d.ts +73 -0
- package/dist-types/commands/TagResourceCommand.d.ts +75 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +75 -0
- package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +150 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +76 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +75 -0
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +109 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +195 -0
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +91 -0
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +79 -0
- package/dist-types/commands/index.d.ts +50 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/SecurityAgentServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +609 -0
- package/dist-types/models/errors.d.ts +93 -0
- package/dist-types/models/models_0.d.ts +3749 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAgentSpacesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListArtifactsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDiscoveredEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntegratedResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMembershipsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPentestJobTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPentestJobsForPentestPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPentestsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTargetDomainsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +225 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +950 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +419 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +50 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +200 -0
- package/dist-types/ts3.4/models/errors.d.ts +46 -0
- package/dist-types/ts3.4/models/models_0.d.ts +977 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAgentSpacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListArtifactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDiscoveredEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntegratedResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPentestJobTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPentestJobsForPentestPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPentestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTargetDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +225 -0
- package/package.json +100 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { StartPentestJobInput, StartPentestJobOutput } 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 StartPentestJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartPentestJobCommandInput extends StartPentestJobInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartPentestJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartPentestJobCommandOutput extends StartPentestJobOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartPentestJobCommand_base: {
|
|
25
|
+
new (input: StartPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPentestJobCommandInput, StartPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPentestJobCommandInput, StartPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Initiates the execution of a pentest
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, StartPentestJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, StartPentestJobCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // StartPentestJobInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* pentestId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new StartPentestJobCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // StartPentestJobOutput
|
|
46
|
+
* // title: "STRING_VALUE",
|
|
47
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
48
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // pentestId: "STRING_VALUE",
|
|
51
|
+
* // pentestJobId: "STRING_VALUE",
|
|
52
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param StartPentestJobCommandInput - {@link StartPentestJobCommandInput}
|
|
58
|
+
* @returns {@link StartPentestJobCommandOutput}
|
|
59
|
+
* @see {@link StartPentestJobCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link StartPentestJobCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link SecurityAgentServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class StartPentestJobCommand extends StartPentestJobCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: StartPentestJobInput;
|
|
74
|
+
output: StartPentestJobOutput;
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: StartPentestJobCommandInput;
|
|
78
|
+
output: StartPentestJobCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { StopPentestJobInput, StopPentestJobOutput } 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 StopPentestJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopPentestJobCommandInput extends StopPentestJobInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopPentestJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopPentestJobCommandOutput extends StopPentestJobOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopPentestJobCommand_base: {
|
|
25
|
+
new (input: StopPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopPentestJobCommandInput, StopPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopPentestJobCommandInput, StopPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Stops the execution of a running pentest
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, StopPentestJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, StopPentestJobCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // StopPentestJobInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* pentestJobId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new StopPentestJobCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param StopPentestJobCommandInput - {@link StopPentestJobCommandInput}
|
|
50
|
+
* @returns {@link StopPentestJobCommandOutput}
|
|
51
|
+
* @see {@link StopPentestJobCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link StopPentestJobCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link SecurityAgentServiceException}
|
|
56
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class StopPentestJobCommand extends StopPentestJobCommand_base {
|
|
62
|
+
/** @internal type navigation helper, not in runtime. */
|
|
63
|
+
protected static __types: {
|
|
64
|
+
api: {
|
|
65
|
+
input: StopPentestJobInput;
|
|
66
|
+
output: {};
|
|
67
|
+
};
|
|
68
|
+
sdk: {
|
|
69
|
+
input: StopPentestJobCommandInput;
|
|
70
|
+
output: StopPentestJobCommandOutput;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { TagResourceInput, TagResourceOutput } 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 TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Adds tags to a Security Agent resource
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, TagResourceCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, TagResourceCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // TagResourceInput
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* tags: { // TagMap // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new TagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
52
|
+
* @returns {@link TagResourceCommandOutput}
|
|
53
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link SecurityAgentServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: TagResourceInput;
|
|
68
|
+
output: {};
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: TagResourceCommandInput;
|
|
72
|
+
output: TagResourceCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UntagResourceInput, UntagResourceOutput } 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 UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Removes tags from a Security Agent resource
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, UntagResourceCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, UntagResourceCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // UntagResourceInput
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* tagKeys: [ // TagKeyList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UntagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
52
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
53
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link SecurityAgentServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: UntagResourceInput;
|
|
68
|
+
output: {};
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: UntagResourceCommandInput;
|
|
72
|
+
output: UntagResourceCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateAgentSpaceInput, UpdateAgentSpaceOutput } 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 UpdateAgentSpaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAgentSpaceCommandInput extends UpdateAgentSpaceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAgentSpaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAgentSpaceCommandOutput extends UpdateAgentSpaceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAgentSpaceCommand_base: {
|
|
25
|
+
new (input: UpdateAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAgentSpaceCommandInput, UpdateAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAgentSpaceCommandInput, UpdateAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates an agent space record
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, UpdateAgentSpaceCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, UpdateAgentSpaceCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // UpdateAgentSpaceInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE",
|
|
42
|
+
* description: "STRING_VALUE",
|
|
43
|
+
* awsResources: { // AWSResources
|
|
44
|
+
* vpcs: [ // VpcConfigs
|
|
45
|
+
* { // VpcConfig
|
|
46
|
+
* vpcArn: "STRING_VALUE",
|
|
47
|
+
* securityGroupArns: [ // SecurityGroupArns
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* subnetArns: [ // SubnetArns
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* logGroups: [ // LogGroupArns
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* s3Buckets: [ // S3BucketArns
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* secretArns: [ // SecretArns
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* lambdaFunctionArns: [ // LambdaFunctionArns
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* iamRoles: [ // IamRoles
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* targetDomainIds: [ // TargetDomainIdList
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* codeReviewSettings: { // CodeReviewSettings
|
|
75
|
+
* controlsScanning: true || false, // required
|
|
76
|
+
* generalPurposeScanning: true || false, // required
|
|
77
|
+
* },
|
|
78
|
+
* };
|
|
79
|
+
* const command = new UpdateAgentSpaceCommand(input);
|
|
80
|
+
* const response = await client.send(command);
|
|
81
|
+
* // { // UpdateAgentSpaceOutput
|
|
82
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
83
|
+
* // name: "STRING_VALUE", // required
|
|
84
|
+
* // description: "STRING_VALUE",
|
|
85
|
+
* // awsResources: { // AWSResources
|
|
86
|
+
* // vpcs: [ // VpcConfigs
|
|
87
|
+
* // { // VpcConfig
|
|
88
|
+
* // vpcArn: "STRING_VALUE",
|
|
89
|
+
* // securityGroupArns: [ // SecurityGroupArns
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // subnetArns: [ // SubnetArns
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // logGroups: [ // LogGroupArns
|
|
98
|
+
* // "STRING_VALUE",
|
|
99
|
+
* // ],
|
|
100
|
+
* // s3Buckets: [ // S3BucketArns
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // secretArns: [ // SecretArns
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // lambdaFunctionArns: [ // LambdaFunctionArns
|
|
107
|
+
* // "STRING_VALUE",
|
|
108
|
+
* // ],
|
|
109
|
+
* // iamRoles: [ // IamRoles
|
|
110
|
+
* // "STRING_VALUE",
|
|
111
|
+
* // ],
|
|
112
|
+
* // },
|
|
113
|
+
* // targetDomainIds: [ // TargetDomainIdList
|
|
114
|
+
* // "STRING_VALUE",
|
|
115
|
+
* // ],
|
|
116
|
+
* // codeReviewSettings: { // CodeReviewSettings
|
|
117
|
+
* // controlsScanning: true || false, // required
|
|
118
|
+
* // generalPurposeScanning: true || false, // required
|
|
119
|
+
* // },
|
|
120
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
121
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
122
|
+
* // };
|
|
123
|
+
*
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @param UpdateAgentSpaceCommandInput - {@link UpdateAgentSpaceCommandInput}
|
|
127
|
+
* @returns {@link UpdateAgentSpaceCommandOutput}
|
|
128
|
+
* @see {@link UpdateAgentSpaceCommandInput} for command's `input` shape.
|
|
129
|
+
* @see {@link UpdateAgentSpaceCommandOutput} for command's `response` shape.
|
|
130
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link SecurityAgentServiceException}
|
|
133
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class UpdateAgentSpaceCommand extends UpdateAgentSpaceCommand_base {
|
|
139
|
+
/** @internal type navigation helper, not in runtime. */
|
|
140
|
+
protected static __types: {
|
|
141
|
+
api: {
|
|
142
|
+
input: UpdateAgentSpaceInput;
|
|
143
|
+
output: UpdateAgentSpaceOutput;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
input: UpdateAgentSpaceCommandInput;
|
|
147
|
+
output: UpdateAgentSpaceCommandOutput;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateApplicationRequest, UpdateApplicationResponse } 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 UpdateApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateApplicationCommand_base: {
|
|
25
|
+
new (input: UpdateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates application configuration
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, UpdateApplicationCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, UpdateApplicationCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // UpdateApplicationRequest
|
|
40
|
+
* applicationId: "STRING_VALUE", // required
|
|
41
|
+
* roleArn: "STRING_VALUE",
|
|
42
|
+
* defaultKmsKeyId: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UpdateApplicationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // UpdateApplicationResponse
|
|
47
|
+
* // applicationId: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param UpdateApplicationCommandInput - {@link UpdateApplicationCommandInput}
|
|
53
|
+
* @returns {@link UpdateApplicationCommandOutput}
|
|
54
|
+
* @see {@link UpdateApplicationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link SecurityAgentServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class UpdateApplicationCommand extends UpdateApplicationCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: UpdateApplicationRequest;
|
|
69
|
+
output: UpdateApplicationResponse;
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: UpdateApplicationCommandInput;
|
|
73
|
+
output: UpdateApplicationCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateFindingInput, UpdateFindingOutput } 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 UpdateFindingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateFindingCommandInput extends UpdateFindingInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateFindingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateFindingCommandOutput extends UpdateFindingOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateFindingCommand_base: {
|
|
25
|
+
new (input: UpdateFindingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFindingCommandInput, UpdateFindingCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateFindingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFindingCommandInput, UpdateFindingCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates an existing security finding with new details or status
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, UpdateFindingCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, UpdateFindingCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // UpdateFindingInput
|
|
40
|
+
* findingId: "STRING_VALUE", // required
|
|
41
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
42
|
+
* riskLevel: "UNKNOWN" || "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
43
|
+
* status: "ACTIVE" || "RESOLVED" || "ACCEPTED" || "FALSE_POSITIVE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UpdateFindingCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateFindingCommandInput - {@link UpdateFindingCommandInput}
|
|
52
|
+
* @returns {@link UpdateFindingCommandOutput}
|
|
53
|
+
* @see {@link UpdateFindingCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateFindingCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link SecurityAgentServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class UpdateFindingCommand extends UpdateFindingCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: UpdateFindingInput;
|
|
68
|
+
output: {};
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: UpdateFindingCommandInput;
|
|
72
|
+
output: UpdateFindingCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|