@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,237 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import type { AddArtifactCommandInput, AddArtifactCommandOutput } from "./commands/AddArtifactCommand";
|
|
11
|
+
import type { BatchDeletePentestsCommandInput, BatchDeletePentestsCommandOutput } from "./commands/BatchDeletePentestsCommand";
|
|
12
|
+
import type { BatchGetAgentSpacesCommandInput, BatchGetAgentSpacesCommandOutput } from "./commands/BatchGetAgentSpacesCommand";
|
|
13
|
+
import type { BatchGetArtifactMetadataCommandInput, BatchGetArtifactMetadataCommandOutput } from "./commands/BatchGetArtifactMetadataCommand";
|
|
14
|
+
import type { BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput } from "./commands/BatchGetFindingsCommand";
|
|
15
|
+
import type { BatchGetPentestJobsCommandInput, BatchGetPentestJobsCommandOutput } from "./commands/BatchGetPentestJobsCommand";
|
|
16
|
+
import type { BatchGetPentestJobTasksCommandInput, BatchGetPentestJobTasksCommandOutput } from "./commands/BatchGetPentestJobTasksCommand";
|
|
17
|
+
import type { BatchGetPentestsCommandInput, BatchGetPentestsCommandOutput } from "./commands/BatchGetPentestsCommand";
|
|
18
|
+
import type { BatchGetTargetDomainsCommandInput, BatchGetTargetDomainsCommandOutput } from "./commands/BatchGetTargetDomainsCommand";
|
|
19
|
+
import type { CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput } from "./commands/CreateAgentSpaceCommand";
|
|
20
|
+
import type { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
21
|
+
import type { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
|
|
22
|
+
import type { CreateMembershipCommandInput, CreateMembershipCommandOutput } from "./commands/CreateMembershipCommand";
|
|
23
|
+
import type { CreatePentestCommandInput, CreatePentestCommandOutput } from "./commands/CreatePentestCommand";
|
|
24
|
+
import type { CreateTargetDomainCommandInput, CreateTargetDomainCommandOutput } from "./commands/CreateTargetDomainCommand";
|
|
25
|
+
import type { DeleteAgentSpaceCommandInput, DeleteAgentSpaceCommandOutput } from "./commands/DeleteAgentSpaceCommand";
|
|
26
|
+
import type { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
27
|
+
import type { DeleteArtifactCommandInput, DeleteArtifactCommandOutput } from "./commands/DeleteArtifactCommand";
|
|
28
|
+
import type { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
29
|
+
import type { DeleteMembershipCommandInput, DeleteMembershipCommandOutput } from "./commands/DeleteMembershipCommand";
|
|
30
|
+
import type { DeleteTargetDomainCommandInput, DeleteTargetDomainCommandOutput } from "./commands/DeleteTargetDomainCommand";
|
|
31
|
+
import type { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
32
|
+
import type { GetArtifactCommandInput, GetArtifactCommandOutput } from "./commands/GetArtifactCommand";
|
|
33
|
+
import type { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
34
|
+
import type { InitiateProviderRegistrationCommandInput, InitiateProviderRegistrationCommandOutput } from "./commands/InitiateProviderRegistrationCommand";
|
|
35
|
+
import type { ListAgentSpacesCommandInput, ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand";
|
|
36
|
+
import type { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
37
|
+
import type { ListArtifactsCommandInput, ListArtifactsCommandOutput } from "./commands/ListArtifactsCommand";
|
|
38
|
+
import type { ListDiscoveredEndpointsCommandInput, ListDiscoveredEndpointsCommandOutput } from "./commands/ListDiscoveredEndpointsCommand";
|
|
39
|
+
import type { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
40
|
+
import type { ListIntegratedResourcesCommandInput, ListIntegratedResourcesCommandOutput } from "./commands/ListIntegratedResourcesCommand";
|
|
41
|
+
import type { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
42
|
+
import type { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "./commands/ListMembershipsCommand";
|
|
43
|
+
import type { ListPentestJobsForPentestCommandInput, ListPentestJobsForPentestCommandOutput } from "./commands/ListPentestJobsForPentestCommand";
|
|
44
|
+
import type { ListPentestJobTasksCommandInput, ListPentestJobTasksCommandOutput } from "./commands/ListPentestJobTasksCommand";
|
|
45
|
+
import type { ListPentestsCommandInput, ListPentestsCommandOutput } from "./commands/ListPentestsCommand";
|
|
46
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
47
|
+
import type { ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput } from "./commands/ListTargetDomainsCommand";
|
|
48
|
+
import type { StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput } from "./commands/StartCodeRemediationCommand";
|
|
49
|
+
import type { StartPentestJobCommandInput, StartPentestJobCommandOutput } from "./commands/StartPentestJobCommand";
|
|
50
|
+
import type { StopPentestJobCommandInput, StopPentestJobCommandOutput } from "./commands/StopPentestJobCommand";
|
|
51
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
52
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
53
|
+
import type { UpdateAgentSpaceCommandInput, UpdateAgentSpaceCommandOutput } from "./commands/UpdateAgentSpaceCommand";
|
|
54
|
+
import type { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
55
|
+
import type { UpdateFindingCommandInput, UpdateFindingCommandOutput } from "./commands/UpdateFindingCommand";
|
|
56
|
+
import type { UpdateIntegratedResourcesCommandInput, UpdateIntegratedResourcesCommandOutput } from "./commands/UpdateIntegratedResourcesCommand";
|
|
57
|
+
import type { UpdatePentestCommandInput, UpdatePentestCommandOutput } from "./commands/UpdatePentestCommand";
|
|
58
|
+
import type { UpdateTargetDomainCommandInput, UpdateTargetDomainCommandOutput } from "./commands/UpdateTargetDomainCommand";
|
|
59
|
+
import type { VerifyTargetDomainCommandInput, VerifyTargetDomainCommandOutput } from "./commands/VerifyTargetDomainCommand";
|
|
60
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
61
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
62
|
+
export { __Client };
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type ServiceInputTypes = AddArtifactCommandInput | BatchDeletePentestsCommandInput | BatchGetAgentSpacesCommandInput | BatchGetArtifactMetadataCommandInput | BatchGetFindingsCommandInput | BatchGetPentestJobTasksCommandInput | BatchGetPentestJobsCommandInput | BatchGetPentestsCommandInput | BatchGetTargetDomainsCommandInput | CreateAgentSpaceCommandInput | CreateApplicationCommandInput | CreateIntegrationCommandInput | CreateMembershipCommandInput | CreatePentestCommandInput | CreateTargetDomainCommandInput | DeleteAgentSpaceCommandInput | DeleteApplicationCommandInput | DeleteArtifactCommandInput | DeleteIntegrationCommandInput | DeleteMembershipCommandInput | DeleteTargetDomainCommandInput | GetApplicationCommandInput | GetArtifactCommandInput | GetIntegrationCommandInput | InitiateProviderRegistrationCommandInput | ListAgentSpacesCommandInput | ListApplicationsCommandInput | ListArtifactsCommandInput | ListDiscoveredEndpointsCommandInput | ListFindingsCommandInput | ListIntegratedResourcesCommandInput | ListIntegrationsCommandInput | ListMembershipsCommandInput | ListPentestJobTasksCommandInput | ListPentestJobsForPentestCommandInput | ListPentestsCommandInput | ListTagsForResourceCommandInput | ListTargetDomainsCommandInput | StartCodeRemediationCommandInput | StartPentestJobCommandInput | StopPentestJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateApplicationCommandInput | UpdateFindingCommandInput | UpdateIntegratedResourcesCommandInput | UpdatePentestCommandInput | UpdateTargetDomainCommandInput | VerifyTargetDomainCommandInput;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export type ServiceOutputTypes = AddArtifactCommandOutput | BatchDeletePentestsCommandOutput | BatchGetAgentSpacesCommandOutput | BatchGetArtifactMetadataCommandOutput | BatchGetFindingsCommandOutput | BatchGetPentestJobTasksCommandOutput | BatchGetPentestJobsCommandOutput | BatchGetPentestsCommandOutput | BatchGetTargetDomainsCommandOutput | CreateAgentSpaceCommandOutput | CreateApplicationCommandOutput | CreateIntegrationCommandOutput | CreateMembershipCommandOutput | CreatePentestCommandOutput | CreateTargetDomainCommandOutput | DeleteAgentSpaceCommandOutput | DeleteApplicationCommandOutput | DeleteArtifactCommandOutput | DeleteIntegrationCommandOutput | DeleteMembershipCommandOutput | DeleteTargetDomainCommandOutput | GetApplicationCommandOutput | GetArtifactCommandOutput | GetIntegrationCommandOutput | InitiateProviderRegistrationCommandOutput | ListAgentSpacesCommandOutput | ListApplicationsCommandOutput | ListArtifactsCommandOutput | ListDiscoveredEndpointsCommandOutput | ListFindingsCommandOutput | ListIntegratedResourcesCommandOutput | ListIntegrationsCommandOutput | ListMembershipsCommandOutput | ListPentestJobTasksCommandOutput | ListPentestJobsForPentestCommandOutput | ListPentestsCommandOutput | ListTagsForResourceCommandOutput | ListTargetDomainsCommandOutput | StartCodeRemediationCommandOutput | StartPentestJobCommandOutput | StopPentestJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateApplicationCommandOutput | UpdateFindingCommandOutput | UpdateIntegratedResourcesCommandOutput | UpdatePentestCommandOutput | UpdateTargetDomainCommandOutput | VerifyTargetDomainCommandOutput;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
75
|
+
/**
|
|
76
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
77
|
+
*/
|
|
78
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
79
|
+
/**
|
|
80
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
81
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
85
|
+
/**
|
|
86
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
urlParser?: __UrlParser;
|
|
90
|
+
/**
|
|
91
|
+
* A function that can calculate the length of a request body.
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
95
|
+
/**
|
|
96
|
+
* A function that converts a stream into an array of bytes.
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
streamCollector?: __StreamCollector;
|
|
100
|
+
/**
|
|
101
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
base64Decoder?: __Decoder;
|
|
105
|
+
/**
|
|
106
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
base64Encoder?: __Encoder;
|
|
110
|
+
/**
|
|
111
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
utf8Decoder?: __Decoder;
|
|
115
|
+
/**
|
|
116
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
utf8Encoder?: __Encoder;
|
|
120
|
+
/**
|
|
121
|
+
* The runtime environment.
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
runtime?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
127
|
+
* trait of an operation.
|
|
128
|
+
*/
|
|
129
|
+
disableHostPrefix?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Unique service identifier.
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
serviceId?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
137
|
+
*/
|
|
138
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* Enables FIPS compatible endpoints.
|
|
141
|
+
*/
|
|
142
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
143
|
+
/**
|
|
144
|
+
* The AWS region to which this client will send requests
|
|
145
|
+
*/
|
|
146
|
+
region?: string | __Provider<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Setting a client profile is similar to setting a value for the
|
|
149
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
150
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
151
|
+
*
|
|
152
|
+
* When set, and only for environments where an AWS configuration
|
|
153
|
+
* file exists, fields configurable by this file will be retrieved
|
|
154
|
+
* from the specified profile within that file.
|
|
155
|
+
* Conflicting code configuration and environment variables will
|
|
156
|
+
* still have higher priority.
|
|
157
|
+
*
|
|
158
|
+
* For client credential resolution that involves checking the AWS
|
|
159
|
+
* configuration file, the client's profile (this value) will be
|
|
160
|
+
* used unless a different profile is set in the credential
|
|
161
|
+
* provider options.
|
|
162
|
+
*
|
|
163
|
+
*/
|
|
164
|
+
profile?: string;
|
|
165
|
+
/**
|
|
166
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
170
|
+
/**
|
|
171
|
+
* Default credentials provider; Not available in browser runtime.
|
|
172
|
+
* @deprecated
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
176
|
+
/**
|
|
177
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
178
|
+
*/
|
|
179
|
+
maxAttempts?: number | __Provider<number>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies which retry algorithm to use.
|
|
182
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
183
|
+
*
|
|
184
|
+
*/
|
|
185
|
+
retryMode?: string | __Provider<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Optional logger for logging debug/info/warn/error.
|
|
188
|
+
*/
|
|
189
|
+
logger?: __Logger;
|
|
190
|
+
/**
|
|
191
|
+
* Optional extensions
|
|
192
|
+
*/
|
|
193
|
+
extensions?: RuntimeExtension[];
|
|
194
|
+
/**
|
|
195
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
196
|
+
*/
|
|
197
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export type SecurityAgentClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*
|
|
206
|
+
* The configuration interface of SecurityAgentClient class constructor that set the region, credentials and other options.
|
|
207
|
+
*/
|
|
208
|
+
export interface SecurityAgentClientConfig extends SecurityAgentClientConfigType {
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
export type SecurityAgentClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
*
|
|
217
|
+
* The resolved configuration interface of SecurityAgentClient class. This is resolved and normalized from the {@link SecurityAgentClientConfig | constructor configuration interface}.
|
|
218
|
+
*/
|
|
219
|
+
export interface SecurityAgentClientResolvedConfig extends SecurityAgentClientResolvedConfigType {
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* <p>AWS Security Agent service documentation.</p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export declare class SecurityAgentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SecurityAgentClientResolvedConfig> {
|
|
226
|
+
/**
|
|
227
|
+
* The resolved configuration of SecurityAgentClient class. This is resolved and normalized from the {@link SecurityAgentClientConfig | constructor configuration interface}.
|
|
228
|
+
*/
|
|
229
|
+
readonly config: SecurityAgentClientResolvedConfig;
|
|
230
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<SecurityAgentClientConfig>);
|
|
231
|
+
/**
|
|
232
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
233
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
234
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
235
|
+
*/
|
|
236
|
+
destroy(): void;
|
|
237
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import type { SecurityAgentHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: SecurityAgentHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): SecurityAgentHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: SecurityAgentHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type SecurityAgentClientResolvedConfig } from "../SecurityAgentClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface SecurityAgentHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface SecurityAgentHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<SecurityAgentClientResolvedConfig, HandlerExecutionContext, SecurityAgentHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultSecurityAgentHttpAuthSchemeParametersProvider: (config: SecurityAgentClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<SecurityAgentHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface SecurityAgentHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SecurityAgentHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultSecurityAgentHttpAuthSchemeProvider: SecurityAgentHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: SecurityAgentHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: SecurityAgentHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -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 { AddArtifactInput, AddArtifactOutput } 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 AddArtifactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AddArtifactCommandInput extends AddArtifactInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AddArtifactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AddArtifactCommandOutput extends AddArtifactOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AddArtifactCommand_base: {
|
|
25
|
+
new (input: AddArtifactCommandInput): import("@smithy/smithy-client").CommandImpl<AddArtifactCommandInput, AddArtifactCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AddArtifactCommandInput): import("@smithy/smithy-client").CommandImpl<AddArtifactCommandInput, AddArtifactCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Adds an Artifact for 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, AddArtifactCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, AddArtifactCommand } = 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 = { // AddArtifactInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* artifactContent: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
42
|
+
* artifactType: "TXT" || "PNG" || "JPEG" || "MD" || "PDF" || "DOCX" || "DOC" || "JSON" || "YAML", // required
|
|
43
|
+
* fileName: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new AddArtifactCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // AddArtifactOutput
|
|
48
|
+
* // artifactId: "STRING_VALUE", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param AddArtifactCommandInput - {@link AddArtifactCommandInput}
|
|
54
|
+
* @returns {@link AddArtifactCommandOutput}
|
|
55
|
+
* @see {@link AddArtifactCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link AddArtifactCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* Request denied due to insufficient permissions
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* Unexpected server error occurred
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* Specified resource was not found
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* Request denied due to throttling
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* A standard error for input validation failures.
|
|
73
|
+
* This should be thrown by services when a member of the input structure
|
|
74
|
+
* falls outside of the modeled or documented constraints.
|
|
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 AddArtifactCommand extends AddArtifactCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: AddArtifactInput;
|
|
87
|
+
output: AddArtifactOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: AddArtifactCommandInput;
|
|
91
|
+
output: AddArtifactCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchDeletePentestsInput, BatchDeletePentestsOutput } 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 BatchDeletePentestsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeletePentestsCommandInput extends BatchDeletePentestsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeletePentestsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeletePentestsCommandOutput extends BatchDeletePentestsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeletePentestsCommand_base: {
|
|
25
|
+
new (input: BatchDeletePentestsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeletePentestsCommandInput, BatchDeletePentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeletePentestsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeletePentestsCommandInput, BatchDeletePentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes multiple pentests in a single request
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, BatchDeletePentestsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, BatchDeletePentestsCommand } = 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 = { // BatchDeletePentestsInput
|
|
40
|
+
* pentestIds: [ // PentestIdList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new BatchDeletePentestsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // BatchDeletePentestsOutput
|
|
48
|
+
* // deleted: [ // PentestList
|
|
49
|
+
* // { // Pentest
|
|
50
|
+
* // pentestId: "STRING_VALUE", // required
|
|
51
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
52
|
+
* // title: "STRING_VALUE", // required
|
|
53
|
+
* // assets: { // Assets
|
|
54
|
+
* // endpoints: [ // EndpointList
|
|
55
|
+
* // { // Endpoint
|
|
56
|
+
* // uri: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // actors: [ // ActorList
|
|
60
|
+
* // { // Actor
|
|
61
|
+
* // identifier: "STRING_VALUE",
|
|
62
|
+
* // uris: [ // UriList
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // authentication: { // Authentication
|
|
66
|
+
* // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
67
|
+
* // value: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // description: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // documents: [ // DocumentList
|
|
73
|
+
* // { // DocumentInfo
|
|
74
|
+
* // s3Location: "STRING_VALUE",
|
|
75
|
+
* // artifactId: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // sourceCode: [ // SourceCodeRepositoryList
|
|
79
|
+
* // { // SourceCodeRepository
|
|
80
|
+
* // s3Location: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
84
|
+
* // { // IntegratedRepository
|
|
85
|
+
* // integrationId: "STRING_VALUE", // required
|
|
86
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // excludeRiskTypes: [ // RiskTypeList
|
|
91
|
+
* // "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",
|
|
92
|
+
* // ],
|
|
93
|
+
* // serviceRole: "STRING_VALUE",
|
|
94
|
+
* // logConfig: { // CloudWatchLog
|
|
95
|
+
* // logGroup: "STRING_VALUE",
|
|
96
|
+
* // logStream: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // vpcConfig: { // VpcConfig
|
|
99
|
+
* // vpcArn: "STRING_VALUE",
|
|
100
|
+
* // securityGroupArns: [ // SecurityGroupArns
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // subnetArns: [ // SubnetArns
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // networkTrafficConfig: { // NetworkTrafficConfig
|
|
108
|
+
* // rules: [ // NetworkTrafficRuleList
|
|
109
|
+
* // { // NetworkTrafficRule
|
|
110
|
+
* // effect: "ALLOW" || "DENY",
|
|
111
|
+
* // pattern: "STRING_VALUE",
|
|
112
|
+
* // networkTrafficRuleType: "URL",
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // customHeaders: [ // CustomHeaderList
|
|
116
|
+
* // { // CustomHeader
|
|
117
|
+
* // name: "STRING_VALUE",
|
|
118
|
+
* // value: "STRING_VALUE",
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
123
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
124
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // failed: [ // DeletePentestFailureList
|
|
128
|
+
* // { // DeletePentestFailure
|
|
129
|
+
* // pentestId: "STRING_VALUE",
|
|
130
|
+
* // reason: "STRING_VALUE",
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // };
|
|
134
|
+
*
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* @param BatchDeletePentestsCommandInput - {@link BatchDeletePentestsCommandInput}
|
|
138
|
+
* @returns {@link BatchDeletePentestsCommandOutput}
|
|
139
|
+
* @see {@link BatchDeletePentestsCommandInput} for command's `input` shape.
|
|
140
|
+
* @see {@link BatchDeletePentestsCommandOutput} for command's `response` shape.
|
|
141
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link SecurityAgentServiceException}
|
|
144
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
145
|
+
*
|
|
146
|
+
*
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class BatchDeletePentestsCommand extends BatchDeletePentestsCommand_base {
|
|
150
|
+
/** @internal type navigation helper, not in runtime. */
|
|
151
|
+
protected static __types: {
|
|
152
|
+
api: {
|
|
153
|
+
input: BatchDeletePentestsInput;
|
|
154
|
+
output: BatchDeletePentestsOutput;
|
|
155
|
+
};
|
|
156
|
+
sdk: {
|
|
157
|
+
input: BatchDeletePentestsCommandInput;
|
|
158
|
+
output: BatchDeletePentestsCommandOutput;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
}
|