@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,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateIntegratedResourcesInput, UpdateIntegratedResourcesOutput } 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 UpdateIntegratedResourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateIntegratedResourcesCommandInput extends UpdateIntegratedResourcesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateIntegratedResourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateIntegratedResourcesCommandOutput extends UpdateIntegratedResourcesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateIntegratedResourcesCommand_base: {
|
|
25
|
+
new (input: UpdateIntegratedResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateIntegratedResourcesCommandInput, UpdateIntegratedResourcesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateIntegratedResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateIntegratedResourcesCommandInput, UpdateIntegratedResourcesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates the integrated resources for an 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, UpdateIntegratedResourcesCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, UpdateIntegratedResourcesCommand } = 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 = { // UpdateIntegratedResourcesInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* integrationId: "STRING_VALUE", // required
|
|
42
|
+
* items: [ // IntegratedResourceInputItemList // required
|
|
43
|
+
* { // IntegratedResourceInputItem
|
|
44
|
+
* resource: { // IntegratedResource Union: only one key present
|
|
45
|
+
* githubRepository: { // GitHubRepositoryResource
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* owner: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
51
|
+
* github: { // GitHubResourceCapabilities
|
|
52
|
+
* leaveComments: true || false,
|
|
53
|
+
* remediateCode: true || false,
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* };
|
|
59
|
+
* const command = new UpdateIntegratedResourcesCommand(input);
|
|
60
|
+
* const response = await client.send(command);
|
|
61
|
+
* // {};
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param UpdateIntegratedResourcesCommandInput - {@link UpdateIntegratedResourcesCommandInput}
|
|
66
|
+
* @returns {@link UpdateIntegratedResourcesCommandOutput}
|
|
67
|
+
* @see {@link UpdateIntegratedResourcesCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link UpdateIntegratedResourcesCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* Request denied due to insufficient permissions
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConflictException} (client fault)
|
|
75
|
+
* Request conflicts with current resource state
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* Unexpected server error occurred
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* Specified resource was not found
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* Request denied due to throttling
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* A standard error for input validation failures.
|
|
88
|
+
* This should be thrown by services when a member of the input structure
|
|
89
|
+
* falls outside of the modeled or documented constraints.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link SecurityAgentServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class UpdateIntegratedResourcesCommand extends UpdateIntegratedResourcesCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: UpdateIntegratedResourcesInput;
|
|
102
|
+
output: {};
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: UpdateIntegratedResourcesCommandInput;
|
|
106
|
+
output: UpdateIntegratedResourcesCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdatePentestInput, UpdatePentestOutput } 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 UpdatePentestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePentestCommandInput extends UpdatePentestInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePentestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePentestCommandOutput extends UpdatePentestOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePentestCommand_base: {
|
|
25
|
+
new (input: UpdatePentestCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePentestCommandInput, UpdatePentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdatePentestCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePentestCommandInput, UpdatePentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates an existing pentest with new configuration or settings
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, UpdatePentestCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, UpdatePentestCommand } = 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 = { // UpdatePentestInput
|
|
40
|
+
* pentestId: "STRING_VALUE", // required
|
|
41
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
42
|
+
* title: "STRING_VALUE",
|
|
43
|
+
* assets: { // Assets
|
|
44
|
+
* endpoints: [ // EndpointList
|
|
45
|
+
* { // Endpoint
|
|
46
|
+
* uri: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* actors: [ // ActorList
|
|
50
|
+
* { // Actor
|
|
51
|
+
* identifier: "STRING_VALUE",
|
|
52
|
+
* uris: [ // UriList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* authentication: { // Authentication
|
|
56
|
+
* providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
57
|
+
* value: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* description: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* documents: [ // DocumentList
|
|
63
|
+
* { // DocumentInfo
|
|
64
|
+
* s3Location: "STRING_VALUE",
|
|
65
|
+
* artifactId: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* sourceCode: [ // SourceCodeRepositoryList
|
|
69
|
+
* { // SourceCodeRepository
|
|
70
|
+
* s3Location: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* integratedRepositories: [ // IntegratedRepositoryList
|
|
74
|
+
* { // IntegratedRepository
|
|
75
|
+
* integrationId: "STRING_VALUE", // required
|
|
76
|
+
* providerResourceId: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* excludeRiskTypes: [ // RiskTypeList
|
|
81
|
+
* "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",
|
|
82
|
+
* ],
|
|
83
|
+
* serviceRole: "STRING_VALUE",
|
|
84
|
+
* logConfig: { // CloudWatchLog
|
|
85
|
+
* logGroup: "STRING_VALUE",
|
|
86
|
+
* logStream: "STRING_VALUE",
|
|
87
|
+
* },
|
|
88
|
+
* vpcConfig: { // VpcConfig
|
|
89
|
+
* vpcArn: "STRING_VALUE",
|
|
90
|
+
* securityGroupArns: [ // SecurityGroupArns
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* subnetArns: [ // SubnetArns
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* networkTrafficConfig: { // NetworkTrafficConfig
|
|
98
|
+
* rules: [ // NetworkTrafficRuleList
|
|
99
|
+
* { // NetworkTrafficRule
|
|
100
|
+
* effect: "ALLOW" || "DENY",
|
|
101
|
+
* pattern: "STRING_VALUE",
|
|
102
|
+
* networkTrafficRuleType: "URL",
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* customHeaders: [ // CustomHeaderList
|
|
106
|
+
* { // CustomHeader
|
|
107
|
+
* name: "STRING_VALUE",
|
|
108
|
+
* value: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* },
|
|
112
|
+
* codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
113
|
+
* };
|
|
114
|
+
* const command = new UpdatePentestCommand(input);
|
|
115
|
+
* const response = await client.send(command);
|
|
116
|
+
* // { // UpdatePentestOutput
|
|
117
|
+
* // pentestId: "STRING_VALUE",
|
|
118
|
+
* // title: "STRING_VALUE",
|
|
119
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
120
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
121
|
+
* // assets: { // Assets
|
|
122
|
+
* // endpoints: [ // EndpointList
|
|
123
|
+
* // { // Endpoint
|
|
124
|
+
* // uri: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // actors: [ // ActorList
|
|
128
|
+
* // { // Actor
|
|
129
|
+
* // identifier: "STRING_VALUE",
|
|
130
|
+
* // uris: [ // UriList
|
|
131
|
+
* // "STRING_VALUE",
|
|
132
|
+
* // ],
|
|
133
|
+
* // authentication: { // Authentication
|
|
134
|
+
* // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
135
|
+
* // value: "STRING_VALUE",
|
|
136
|
+
* // },
|
|
137
|
+
* // description: "STRING_VALUE",
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // documents: [ // DocumentList
|
|
141
|
+
* // { // DocumentInfo
|
|
142
|
+
* // s3Location: "STRING_VALUE",
|
|
143
|
+
* // artifactId: "STRING_VALUE",
|
|
144
|
+
* // },
|
|
145
|
+
* // ],
|
|
146
|
+
* // sourceCode: [ // SourceCodeRepositoryList
|
|
147
|
+
* // { // SourceCodeRepository
|
|
148
|
+
* // s3Location: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
152
|
+
* // { // IntegratedRepository
|
|
153
|
+
* // integrationId: "STRING_VALUE", // required
|
|
154
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // },
|
|
158
|
+
* // excludeRiskTypes: [ // RiskTypeList
|
|
159
|
+
* // "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",
|
|
160
|
+
* // ],
|
|
161
|
+
* // serviceRole: "STRING_VALUE",
|
|
162
|
+
* // logConfig: { // CloudWatchLog
|
|
163
|
+
* // logGroup: "STRING_VALUE",
|
|
164
|
+
* // logStream: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
167
|
+
* // };
|
|
168
|
+
*
|
|
169
|
+
* ```
|
|
170
|
+
*
|
|
171
|
+
* @param UpdatePentestCommandInput - {@link UpdatePentestCommandInput}
|
|
172
|
+
* @returns {@link UpdatePentestCommandOutput}
|
|
173
|
+
* @see {@link UpdatePentestCommandInput} for command's `input` shape.
|
|
174
|
+
* @see {@link UpdatePentestCommandOutput} for command's `response` shape.
|
|
175
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link SecurityAgentServiceException}
|
|
178
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
179
|
+
*
|
|
180
|
+
*
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export declare class UpdatePentestCommand extends UpdatePentestCommand_base {
|
|
184
|
+
/** @internal type navigation helper, not in runtime. */
|
|
185
|
+
protected static __types: {
|
|
186
|
+
api: {
|
|
187
|
+
input: UpdatePentestInput;
|
|
188
|
+
output: UpdatePentestOutput;
|
|
189
|
+
};
|
|
190
|
+
sdk: {
|
|
191
|
+
input: UpdatePentestCommandInput;
|
|
192
|
+
output: UpdatePentestCommandOutput;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateTargetDomainInput, UpdateTargetDomainOutput } 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 UpdateTargetDomainCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTargetDomainCommandInput extends UpdateTargetDomainInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTargetDomainCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTargetDomainCommandOutput extends UpdateTargetDomainOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateTargetDomainCommand_base: {
|
|
25
|
+
new (input: UpdateTargetDomainCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTargetDomainCommandInput, UpdateTargetDomainCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateTargetDomainCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTargetDomainCommandInput, UpdateTargetDomainCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates 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, UpdateTargetDomainCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, UpdateTargetDomainCommand } = 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 = { // UpdateTargetDomainInput
|
|
40
|
+
* targetDomainId: "STRING_VALUE", // required
|
|
41
|
+
* verificationMethod: "DNS_TXT" || "HTTP_ROUTE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateTargetDomainCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateTargetDomainOutput
|
|
46
|
+
* // targetDomainId: "STRING_VALUE", // required
|
|
47
|
+
* // domainName: "STRING_VALUE", // required
|
|
48
|
+
* // verificationStatus: "PENDING" || "VERIFIED" || "FAILED" || "UNREACHABLE", // required
|
|
49
|
+
* // verificationDetails: { // VerificationDetails
|
|
50
|
+
* // method: "DNS_TXT" || "HTTP_ROUTE",
|
|
51
|
+
* // dnsTxt: { // DnsVerification
|
|
52
|
+
* // token: "STRING_VALUE",
|
|
53
|
+
* // dnsRecordName: "STRING_VALUE",
|
|
54
|
+
* // dnsRecordType: "TXT",
|
|
55
|
+
* // },
|
|
56
|
+
* // httpRoute: { // HttpVerification
|
|
57
|
+
* // token: "STRING_VALUE",
|
|
58
|
+
* // routePath: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // verifiedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param UpdateTargetDomainCommandInput - {@link UpdateTargetDomainCommandInput}
|
|
68
|
+
* @returns {@link UpdateTargetDomainCommandOutput}
|
|
69
|
+
* @see {@link UpdateTargetDomainCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link UpdateTargetDomainCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link SecurityAgentServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class UpdateTargetDomainCommand extends UpdateTargetDomainCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: UpdateTargetDomainInput;
|
|
84
|
+
output: UpdateTargetDomainOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: UpdateTargetDomainCommandInput;
|
|
88
|
+
output: UpdateTargetDomainCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { VerifyTargetDomainInput, VerifyTargetDomainOutput } 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 VerifyTargetDomainCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface VerifyTargetDomainCommandInput extends VerifyTargetDomainInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link VerifyTargetDomainCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface VerifyTargetDomainCommandOutput extends VerifyTargetDomainOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const VerifyTargetDomainCommand_base: {
|
|
25
|
+
new (input: VerifyTargetDomainCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyTargetDomainCommandInput, VerifyTargetDomainCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: VerifyTargetDomainCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyTargetDomainCommandInput, VerifyTargetDomainCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Verifies ownership for a registered target domain
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, VerifyTargetDomainCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, VerifyTargetDomainCommand } = 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 = { // VerifyTargetDomainInput
|
|
40
|
+
* targetDomainId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new VerifyTargetDomainCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // VerifyTargetDomainOutput
|
|
45
|
+
* // targetDomainId: "STRING_VALUE",
|
|
46
|
+
* // domainName: "STRING_VALUE",
|
|
47
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // verifiedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // status: "PENDING" || "VERIFIED" || "FAILED" || "UNREACHABLE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param VerifyTargetDomainCommandInput - {@link VerifyTargetDomainCommandInput}
|
|
56
|
+
* @returns {@link VerifyTargetDomainCommandOutput}
|
|
57
|
+
* @see {@link VerifyTargetDomainCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link VerifyTargetDomainCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link SecurityAgentServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class VerifyTargetDomainCommand extends VerifyTargetDomainCommand_base {
|
|
68
|
+
/** @internal type navigation helper, not in runtime. */
|
|
69
|
+
protected static __types: {
|
|
70
|
+
api: {
|
|
71
|
+
input: VerifyTargetDomainInput;
|
|
72
|
+
output: VerifyTargetDomainOutput;
|
|
73
|
+
};
|
|
74
|
+
sdk: {
|
|
75
|
+
input: VerifyTargetDomainCommandInput;
|
|
76
|
+
output: VerifyTargetDomainCommandOutput;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export * from "./AddArtifactCommand";
|
|
2
|
+
export * from "./BatchDeletePentestsCommand";
|
|
3
|
+
export * from "./BatchGetAgentSpacesCommand";
|
|
4
|
+
export * from "./BatchGetArtifactMetadataCommand";
|
|
5
|
+
export * from "./BatchGetFindingsCommand";
|
|
6
|
+
export * from "./BatchGetPentestJobTasksCommand";
|
|
7
|
+
export * from "./BatchGetPentestJobsCommand";
|
|
8
|
+
export * from "./BatchGetPentestsCommand";
|
|
9
|
+
export * from "./BatchGetTargetDomainsCommand";
|
|
10
|
+
export * from "./CreateAgentSpaceCommand";
|
|
11
|
+
export * from "./CreateApplicationCommand";
|
|
12
|
+
export * from "./CreateIntegrationCommand";
|
|
13
|
+
export * from "./CreateMembershipCommand";
|
|
14
|
+
export * from "./CreatePentestCommand";
|
|
15
|
+
export * from "./CreateTargetDomainCommand";
|
|
16
|
+
export * from "./DeleteAgentSpaceCommand";
|
|
17
|
+
export * from "./DeleteApplicationCommand";
|
|
18
|
+
export * from "./DeleteArtifactCommand";
|
|
19
|
+
export * from "./DeleteIntegrationCommand";
|
|
20
|
+
export * from "./DeleteMembershipCommand";
|
|
21
|
+
export * from "./DeleteTargetDomainCommand";
|
|
22
|
+
export * from "./GetApplicationCommand";
|
|
23
|
+
export * from "./GetArtifactCommand";
|
|
24
|
+
export * from "./GetIntegrationCommand";
|
|
25
|
+
export * from "./InitiateProviderRegistrationCommand";
|
|
26
|
+
export * from "./ListAgentSpacesCommand";
|
|
27
|
+
export * from "./ListApplicationsCommand";
|
|
28
|
+
export * from "./ListArtifactsCommand";
|
|
29
|
+
export * from "./ListDiscoveredEndpointsCommand";
|
|
30
|
+
export * from "./ListFindingsCommand";
|
|
31
|
+
export * from "./ListIntegratedResourcesCommand";
|
|
32
|
+
export * from "./ListIntegrationsCommand";
|
|
33
|
+
export * from "./ListMembershipsCommand";
|
|
34
|
+
export * from "./ListPentestJobTasksCommand";
|
|
35
|
+
export * from "./ListPentestJobsForPentestCommand";
|
|
36
|
+
export * from "./ListPentestsCommand";
|
|
37
|
+
export * from "./ListTagsForResourceCommand";
|
|
38
|
+
export * from "./ListTargetDomainsCommand";
|
|
39
|
+
export * from "./StartCodeRemediationCommand";
|
|
40
|
+
export * from "./StartPentestJobCommand";
|
|
41
|
+
export * from "./StopPentestJobCommand";
|
|
42
|
+
export * from "./TagResourceCommand";
|
|
43
|
+
export * from "./UntagResourceCommand";
|
|
44
|
+
export * from "./UpdateAgentSpaceCommand";
|
|
45
|
+
export * from "./UpdateApplicationCommand";
|
|
46
|
+
export * from "./UpdateFindingCommand";
|
|
47
|
+
export * from "./UpdateIntegratedResourcesCommand";
|
|
48
|
+
export * from "./UpdatePentestCommand";
|
|
49
|
+
export * from "./UpdateTargetDomainCommand";
|
|
50
|
+
export * from "./VerifyTargetDomainCommand";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
14
|
+
defaultSigningName: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const commonParams: {
|
|
24
|
+
readonly UseFIPS: {
|
|
25
|
+
readonly type: "builtInParams";
|
|
26
|
+
readonly name: "useFipsEndpoint";
|
|
27
|
+
};
|
|
28
|
+
readonly Endpoint: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "endpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Region: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "region";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
41
|
+
UseFIPS?: boolean | undefined;
|
|
42
|
+
Endpoint?: string | undefined;
|
|
43
|
+
Region?: string | undefined;
|
|
44
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface SecurityAgentExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>AWS Security Agent service documentation.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./SecurityAgentClient";
|
|
7
|
+
export * from "./SecurityAgent";
|
|
8
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { SecurityAgentExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
13
|
+
export * from "./pagination";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export * from "./models/models_0";
|
|
17
|
+
export { SecurityAgentServiceException } from "./models/SecurityAgentServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from SecurityAgent service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SecurityAgentServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|