@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,194 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreatePentestInput, CreatePentestOutput } 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 CreatePentestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePentestCommandInput extends CreatePentestInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePentestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePentestCommandOutput extends CreatePentestOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePentestCommand_base: {
|
|
25
|
+
new (input: CreatePentestCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePentestCommandInput, CreatePentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePentestCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePentestCommandInput, CreatePentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new pentest configuration
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, CreatePentestCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, CreatePentestCommand } = 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 = { // CreatePentestInput
|
|
40
|
+
* title: "STRING_VALUE", // required
|
|
41
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
42
|
+
* assets: { // Assets
|
|
43
|
+
* endpoints: [ // EndpointList
|
|
44
|
+
* { // Endpoint
|
|
45
|
+
* uri: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* actors: [ // ActorList
|
|
49
|
+
* { // Actor
|
|
50
|
+
* identifier: "STRING_VALUE",
|
|
51
|
+
* uris: [ // UriList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* authentication: { // Authentication
|
|
55
|
+
* providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
56
|
+
* value: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* description: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* documents: [ // DocumentList
|
|
62
|
+
* { // DocumentInfo
|
|
63
|
+
* s3Location: "STRING_VALUE",
|
|
64
|
+
* artifactId: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* sourceCode: [ // SourceCodeRepositoryList
|
|
68
|
+
* { // SourceCodeRepository
|
|
69
|
+
* s3Location: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* integratedRepositories: [ // IntegratedRepositoryList
|
|
73
|
+
* { // IntegratedRepository
|
|
74
|
+
* integrationId: "STRING_VALUE", // required
|
|
75
|
+
* providerResourceId: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* excludeRiskTypes: [ // RiskTypeList
|
|
80
|
+
* "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
|
|
81
|
+
* ],
|
|
82
|
+
* serviceRole: "STRING_VALUE",
|
|
83
|
+
* logConfig: { // CloudWatchLog
|
|
84
|
+
* logGroup: "STRING_VALUE",
|
|
85
|
+
* logStream: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* vpcConfig: { // VpcConfig
|
|
88
|
+
* vpcArn: "STRING_VALUE",
|
|
89
|
+
* securityGroupArns: [ // SecurityGroupArns
|
|
90
|
+
* "STRING_VALUE",
|
|
91
|
+
* ],
|
|
92
|
+
* subnetArns: [ // SubnetArns
|
|
93
|
+
* "STRING_VALUE",
|
|
94
|
+
* ],
|
|
95
|
+
* },
|
|
96
|
+
* networkTrafficConfig: { // NetworkTrafficConfig
|
|
97
|
+
* rules: [ // NetworkTrafficRuleList
|
|
98
|
+
* { // NetworkTrafficRule
|
|
99
|
+
* effect: "ALLOW" || "DENY",
|
|
100
|
+
* pattern: "STRING_VALUE",
|
|
101
|
+
* networkTrafficRuleType: "URL",
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* customHeaders: [ // CustomHeaderList
|
|
105
|
+
* { // CustomHeader
|
|
106
|
+
* name: "STRING_VALUE",
|
|
107
|
+
* value: "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* },
|
|
111
|
+
* codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
112
|
+
* };
|
|
113
|
+
* const command = new CreatePentestCommand(input);
|
|
114
|
+
* const response = await client.send(command);
|
|
115
|
+
* // { // CreatePentestOutput
|
|
116
|
+
* // pentestId: "STRING_VALUE",
|
|
117
|
+
* // title: "STRING_VALUE",
|
|
118
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
119
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
120
|
+
* // assets: { // Assets
|
|
121
|
+
* // endpoints: [ // EndpointList
|
|
122
|
+
* // { // Endpoint
|
|
123
|
+
* // uri: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // actors: [ // ActorList
|
|
127
|
+
* // { // Actor
|
|
128
|
+
* // identifier: "STRING_VALUE",
|
|
129
|
+
* // uris: [ // UriList
|
|
130
|
+
* // "STRING_VALUE",
|
|
131
|
+
* // ],
|
|
132
|
+
* // authentication: { // Authentication
|
|
133
|
+
* // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
134
|
+
* // value: "STRING_VALUE",
|
|
135
|
+
* // },
|
|
136
|
+
* // description: "STRING_VALUE",
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // documents: [ // DocumentList
|
|
140
|
+
* // { // DocumentInfo
|
|
141
|
+
* // s3Location: "STRING_VALUE",
|
|
142
|
+
* // artifactId: "STRING_VALUE",
|
|
143
|
+
* // },
|
|
144
|
+
* // ],
|
|
145
|
+
* // sourceCode: [ // SourceCodeRepositoryList
|
|
146
|
+
* // { // SourceCodeRepository
|
|
147
|
+
* // s3Location: "STRING_VALUE",
|
|
148
|
+
* // },
|
|
149
|
+
* // ],
|
|
150
|
+
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
151
|
+
* // { // IntegratedRepository
|
|
152
|
+
* // integrationId: "STRING_VALUE", // required
|
|
153
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // },
|
|
157
|
+
* // excludeRiskTypes: [ // RiskTypeList
|
|
158
|
+
* // "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
|
|
159
|
+
* // ],
|
|
160
|
+
* // serviceRole: "STRING_VALUE",
|
|
161
|
+
* // logConfig: { // CloudWatchLog
|
|
162
|
+
* // logGroup: "STRING_VALUE",
|
|
163
|
+
* // logStream: "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
166
|
+
* // };
|
|
167
|
+
*
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
170
|
+
* @param CreatePentestCommandInput - {@link CreatePentestCommandInput}
|
|
171
|
+
* @returns {@link CreatePentestCommandOutput}
|
|
172
|
+
* @see {@link CreatePentestCommandInput} for command's `input` shape.
|
|
173
|
+
* @see {@link CreatePentestCommandOutput} for command's `response` shape.
|
|
174
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link SecurityAgentServiceException}
|
|
177
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
178
|
+
*
|
|
179
|
+
*
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export declare class CreatePentestCommand extends CreatePentestCommand_base {
|
|
183
|
+
/** @internal type navigation helper, not in runtime. */
|
|
184
|
+
protected static __types: {
|
|
185
|
+
api: {
|
|
186
|
+
input: CreatePentestInput;
|
|
187
|
+
output: CreatePentestOutput;
|
|
188
|
+
};
|
|
189
|
+
sdk: {
|
|
190
|
+
input: CreatePentestCommandInput;
|
|
191
|
+
output: CreatePentestCommandOutput;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateTargetDomainInput, CreateTargetDomainOutput } 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 CreateTargetDomainCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTargetDomainCommandInput extends CreateTargetDomainInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTargetDomainCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTargetDomainCommandOutput extends CreateTargetDomainOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateTargetDomainCommand_base: {
|
|
25
|
+
new (input: CreateTargetDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTargetDomainCommandInput, CreateTargetDomainCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateTargetDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTargetDomainCommandInput, CreateTargetDomainCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates a target domain record
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, CreateTargetDomainCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, CreateTargetDomainCommand } = 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 = { // CreateTargetDomainInput
|
|
40
|
+
* targetDomainName: "STRING_VALUE", // required
|
|
41
|
+
* verificationMethod: "DNS_TXT" || "HTTP_ROUTE", // required
|
|
42
|
+
* tags: { // TagMap
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateTargetDomainCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CreateTargetDomainOutput
|
|
49
|
+
* // targetDomainId: "STRING_VALUE", // required
|
|
50
|
+
* // domainName: "STRING_VALUE", // required
|
|
51
|
+
* // verificationStatus: "PENDING" || "VERIFIED" || "FAILED" || "UNREACHABLE", // required
|
|
52
|
+
* // verificationDetails: { // VerificationDetails
|
|
53
|
+
* // method: "DNS_TXT" || "HTTP_ROUTE",
|
|
54
|
+
* // dnsTxt: { // DnsVerification
|
|
55
|
+
* // token: "STRING_VALUE",
|
|
56
|
+
* // dnsRecordName: "STRING_VALUE",
|
|
57
|
+
* // dnsRecordType: "TXT",
|
|
58
|
+
* // },
|
|
59
|
+
* // httpRoute: { // HttpVerification
|
|
60
|
+
* // token: "STRING_VALUE",
|
|
61
|
+
* // routePath: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
65
|
+
* // verifiedAt: new Date("TIMESTAMP"),
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param CreateTargetDomainCommandInput - {@link CreateTargetDomainCommandInput}
|
|
71
|
+
* @returns {@link CreateTargetDomainCommandOutput}
|
|
72
|
+
* @see {@link CreateTargetDomainCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link CreateTargetDomainCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link SecurityAgentServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class CreateTargetDomainCommand extends CreateTargetDomainCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: CreateTargetDomainInput;
|
|
87
|
+
output: CreateTargetDomainOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: CreateTargetDomainCommandInput;
|
|
91
|
+
output: CreateTargetDomainCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteAgentSpaceInput, DeleteAgentSpaceOutput } 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 DeleteAgentSpaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAgentSpaceCommandInput extends DeleteAgentSpaceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAgentSpaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAgentSpaceCommandOutput extends DeleteAgentSpaceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAgentSpaceCommand_base: {
|
|
25
|
+
new (input: DeleteAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAgentSpaceCommandInput, DeleteAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAgentSpaceCommandInput, DeleteAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes 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, DeleteAgentSpaceCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, DeleteAgentSpaceCommand } = 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 = { // DeleteAgentSpaceInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteAgentSpaceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DeleteAgentSpaceOutput
|
|
45
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteAgentSpaceCommandInput - {@link DeleteAgentSpaceCommandInput}
|
|
51
|
+
* @returns {@link DeleteAgentSpaceCommandOutput}
|
|
52
|
+
* @see {@link DeleteAgentSpaceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteAgentSpaceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link SecurityAgentServiceException}
|
|
57
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeleteAgentSpaceCommand extends DeleteAgentSpaceCommand_base {
|
|
63
|
+
/** @internal type navigation helper, not in runtime. */
|
|
64
|
+
protected static __types: {
|
|
65
|
+
api: {
|
|
66
|
+
input: DeleteAgentSpaceInput;
|
|
67
|
+
output: DeleteAgentSpaceOutput;
|
|
68
|
+
};
|
|
69
|
+
sdk: {
|
|
70
|
+
input: DeleteAgentSpaceCommandInput;
|
|
71
|
+
output: DeleteAgentSpaceCommandOutput;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteApplicationRequest } 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 DeleteApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteApplicationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteApplicationCommand_base: {
|
|
25
|
+
new (input: DeleteApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes an application
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, DeleteApplicationCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, DeleteApplicationCommand } = 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 = { // DeleteApplicationRequest
|
|
40
|
+
* applicationId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteApplicationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
|
|
49
|
+
* @returns {@link DeleteApplicationCommandOutput}
|
|
50
|
+
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link SecurityAgentServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
|
|
61
|
+
/** @internal type navigation helper, not in runtime. */
|
|
62
|
+
protected static __types: {
|
|
63
|
+
api: {
|
|
64
|
+
input: DeleteApplicationRequest;
|
|
65
|
+
output: {};
|
|
66
|
+
};
|
|
67
|
+
sdk: {
|
|
68
|
+
input: DeleteApplicationCommandInput;
|
|
69
|
+
output: DeleteApplicationCommandOutput;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteArtifactInput, DeleteArtifactOutput } 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 DeleteArtifactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteArtifactCommandInput extends DeleteArtifactInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteArtifactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteArtifactCommandOutput extends DeleteArtifactOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteArtifactCommand_base: {
|
|
25
|
+
new (input: DeleteArtifactCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteArtifactCommandInput, DeleteArtifactCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteArtifactCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteArtifactCommandInput, DeleteArtifactCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Delete an Artifact from the given agent space
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, DeleteArtifactCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, DeleteArtifactCommand } = 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 = { // DeleteArtifactInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* artifactId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteArtifactCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteArtifactCommandInput - {@link DeleteArtifactCommandInput}
|
|
50
|
+
* @returns {@link DeleteArtifactCommandOutput}
|
|
51
|
+
* @see {@link DeleteArtifactCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteArtifactCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* Request denied due to insufficient permissions
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* Unexpected server error occurred
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* Specified resource was not found
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* Request denied due to throttling
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* A standard error for input validation failures.
|
|
69
|
+
* This should be thrown by services when a member of the input structure
|
|
70
|
+
* falls outside of the modeled or documented constraints.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link SecurityAgentServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DeleteArtifactCommand extends DeleteArtifactCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DeleteArtifactInput;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DeleteArtifactCommandInput;
|
|
87
|
+
output: DeleteArtifactCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteIntegrationInput, DeleteIntegrationOutput } 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 DeleteIntegrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteIntegrationCommandInput extends DeleteIntegrationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteIntegrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteIntegrationCommandOutput extends DeleteIntegrationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteIntegrationCommand_base: {
|
|
25
|
+
new (input: DeleteIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes the Integration of the Security Agent App with an external Provider
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, DeleteIntegrationCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, DeleteIntegrationCommand } = 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 = { // DeleteIntegrationInput
|
|
40
|
+
* integrationId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteIntegrationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteIntegrationCommandInput - {@link DeleteIntegrationCommandInput}
|
|
49
|
+
* @returns {@link DeleteIntegrationCommandOutput}
|
|
50
|
+
* @see {@link DeleteIntegrationCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteIntegrationCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* Request denied due to insufficient permissions
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* Request conflicts with current resource state
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* Unexpected server error occurred
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* Specified resource was not found
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* Request denied due to throttling
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* A standard error for input validation failures.
|
|
71
|
+
* This should be thrown by services when a member of the input structure
|
|
72
|
+
* falls outside of the modeled or documented constraints.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SecurityAgentServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteIntegrationCommand extends DeleteIntegrationCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteIntegrationInput;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteIntegrationCommandInput;
|
|
89
|
+
output: DeleteIntegrationCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|