@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,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListMembershipsRequest, ListMembershipsResponse } 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 ListMembershipsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListMembershipsCommandInput extends ListMembershipsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListMembershipsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListMembershipsCommandOutput extends ListMembershipsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListMembershipsCommand_base: {
|
|
25
|
+
new (input: ListMembershipsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListMembershipsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists all members associated to an agent space with pagination support
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, ListMembershipsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, ListMembershipsCommand } = 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 = { // ListMembershipsRequest
|
|
40
|
+
* applicationId: "STRING_VALUE", // required
|
|
41
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
42
|
+
* memberType: "USER" || "ALL",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListMembershipsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListMembershipsResponse
|
|
49
|
+
* // membershipSummaries: [ // MembershipSummaryList // required
|
|
50
|
+
* // { // MembershipSummary
|
|
51
|
+
* // membershipId: "STRING_VALUE", // required
|
|
52
|
+
* // applicationId: "STRING_VALUE", // required
|
|
53
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
54
|
+
* // memberType: "USER", // required
|
|
55
|
+
* // config: { // MembershipConfig Union: only one key present
|
|
56
|
+
* // user: { // UserConfig
|
|
57
|
+
* // role: "MEMBER",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // metadata: { // MemberMetadata Union: only one key present
|
|
61
|
+
* // user: { // UserMetadata
|
|
62
|
+
* // username: "STRING_VALUE", // required
|
|
63
|
+
* // email: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
67
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // createdBy: "STRING_VALUE", // required
|
|
69
|
+
* // updatedBy: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // nextToken: "STRING_VALUE",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param ListMembershipsCommandInput - {@link ListMembershipsCommandInput}
|
|
78
|
+
* @returns {@link ListMembershipsCommandOutput}
|
|
79
|
+
* @see {@link ListMembershipsCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link ListMembershipsCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link SecurityAgentServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListMembershipsCommand extends ListMembershipsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListMembershipsRequest;
|
|
94
|
+
output: ListMembershipsResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListMembershipsCommandInput;
|
|
98
|
+
output: ListMembershipsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListPentestJobTasksInput, ListPentestJobTasksOutput } 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 ListPentestJobTasksCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPentestJobTasksCommandInput extends ListPentestJobTasksInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPentestJobTasksCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPentestJobTasksCommandOutput extends ListPentestJobTasksOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPentestJobTasksCommand_base: {
|
|
25
|
+
new (input: ListPentestJobTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobTasksCommandInput, ListPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListPentestJobTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobTasksCommandInput, ListPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists tasks associated with a specific pentest job
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, ListPentestJobTasksCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, ListPentestJobTasksCommand } = 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 = { // ListPentestJobTasksInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* pentestJobId: "STRING_VALUE",
|
|
43
|
+
* stepName: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING",
|
|
44
|
+
* categoryName: "STRING_VALUE",
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListPentestJobTasksCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListPentestJobTasksOutput
|
|
50
|
+
* // taskSummaries: [ // TaskSummaryList
|
|
51
|
+
* // { // TaskSummary
|
|
52
|
+
* // taskId: "STRING_VALUE", // required
|
|
53
|
+
* // pentestId: "STRING_VALUE",
|
|
54
|
+
* // pentestJobId: "STRING_VALUE",
|
|
55
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
56
|
+
* // title: "STRING_VALUE",
|
|
57
|
+
* // riskType: "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",
|
|
58
|
+
* // executionStatus: "IN_PROGRESS" || "ABORTED" || "COMPLETED" || "INTERNAL_ERROR" || "FAILED",
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // nextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListPentestJobTasksCommandInput - {@link ListPentestJobTasksCommandInput}
|
|
69
|
+
* @returns {@link ListPentestJobTasksCommandOutput}
|
|
70
|
+
* @see {@link ListPentestJobTasksCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListPentestJobTasksCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SecurityAgentServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class ListPentestJobTasksCommand extends ListPentestJobTasksCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: ListPentestJobTasksInput;
|
|
85
|
+
output: ListPentestJobTasksOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: ListPentestJobTasksCommandInput;
|
|
89
|
+
output: ListPentestJobTasksCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListPentestJobsForPentestInput, ListPentestJobsForPentestOutput } 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 ListPentestJobsForPentestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPentestJobsForPentestCommandInput extends ListPentestJobsForPentestInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPentestJobsForPentestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPentestJobsForPentestCommandOutput extends ListPentestJobsForPentestOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPentestJobsForPentestCommand_base: {
|
|
25
|
+
new (input: ListPentestJobsForPentestCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobsForPentestCommandInput, ListPentestJobsForPentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListPentestJobsForPentestCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobsForPentestCommandInput, ListPentestJobsForPentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists pentest jobs associated with a pentest
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, ListPentestJobsForPentestCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, ListPentestJobsForPentestCommand } = 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 = { // ListPentestJobsForPentestInput
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* pentestId: "STRING_VALUE", // required
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListPentestJobsForPentestCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListPentestJobsForPentestOutput
|
|
48
|
+
* // pentestJobSummaries: [ // PentestJobSummaryList
|
|
49
|
+
* // { // PentestJobSummary
|
|
50
|
+
* // pentestJobId: "STRING_VALUE", // required
|
|
51
|
+
* // pentestId: "STRING_VALUE", // required
|
|
52
|
+
* // title: "STRING_VALUE",
|
|
53
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListPentestJobsForPentestCommandInput - {@link ListPentestJobsForPentestCommandInput}
|
|
64
|
+
* @returns {@link ListPentestJobsForPentestCommandOutput}
|
|
65
|
+
* @see {@link ListPentestJobsForPentestCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListPentestJobsForPentestCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link SecurityAgentServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class ListPentestJobsForPentestCommand extends ListPentestJobsForPentestCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: ListPentestJobsForPentestInput;
|
|
80
|
+
output: ListPentestJobsForPentestOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: ListPentestJobsForPentestCommandInput;
|
|
84
|
+
output: ListPentestJobsForPentestCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListPentestsInput, ListPentestsOutput } 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 ListPentestsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPentestsCommandInput extends ListPentestsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPentestsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPentestsCommandOutput extends ListPentestsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPentestsCommand_base: {
|
|
25
|
+
new (input: ListPentestsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestsCommandInput, ListPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListPentestsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestsCommandInput, ListPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists pentests with optional filtering by status
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, ListPentestsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, ListPentestsCommand } = 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 = { // ListPentestsInput
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListPentestsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListPentestsOutput
|
|
47
|
+
* // pentestSummaries: [ // PentestSummaryList
|
|
48
|
+
* // { // PentestSummary
|
|
49
|
+
* // pentestId: "STRING_VALUE", // required
|
|
50
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
51
|
+
* // title: "STRING_VALUE", // required
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListPentestsCommandInput - {@link ListPentestsCommandInput}
|
|
62
|
+
* @returns {@link ListPentestsCommandOutput}
|
|
63
|
+
* @see {@link ListPentestsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListPentestsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link SecurityAgentServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class ListPentestsCommand extends ListPentestsCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: ListPentestsInput;
|
|
78
|
+
output: ListPentestsOutput;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: ListPentestsCommandInput;
|
|
82
|
+
output: ListPentestsCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTagsForResourceInput, ListTagsForResourceOutput } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists tags for a Security Agent resource
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, ListTagsForResourceCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceInput
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListTagsForResourceOutput
|
|
45
|
+
* // tags: { // TagMap
|
|
46
|
+
* // "<keys>": "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
53
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
54
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link SecurityAgentServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: ListTagsForResourceInput;
|
|
69
|
+
output: ListTagsForResourceOutput;
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: ListTagsForResourceCommandInput;
|
|
73
|
+
output: ListTagsForResourceCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTargetDomainsInput, ListTargetDomainsOutput } 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 ListTargetDomainsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTargetDomainsCommandInput extends ListTargetDomainsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTargetDomainsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTargetDomainsCommandOutput extends ListTargetDomainsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTargetDomainsCommand_base: {
|
|
25
|
+
new (input: ListTargetDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListTargetDomainsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists target domains
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, ListTargetDomainsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, ListTargetDomainsCommand } = 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 = { // ListTargetDomainsInput
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListTargetDomainsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListTargetDomainsOutput
|
|
46
|
+
* // targetDomainSummaries: [ // TargetDomainSummaryList
|
|
47
|
+
* // { // TargetDomainSummary
|
|
48
|
+
* // targetDomainId: "STRING_VALUE", // required
|
|
49
|
+
* // domainName: "STRING_VALUE", // required
|
|
50
|
+
* // verificationStatus: "PENDING" || "VERIFIED" || "FAILED" || "UNREACHABLE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // nextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListTargetDomainsCommandInput - {@link ListTargetDomainsCommandInput}
|
|
59
|
+
* @returns {@link ListTargetDomainsCommandOutput}
|
|
60
|
+
* @see {@link ListTargetDomainsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListTargetDomainsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link SecurityAgentServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class ListTargetDomainsCommand extends ListTargetDomainsCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: ListTargetDomainsInput;
|
|
75
|
+
output: ListTargetDomainsOutput;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: ListTargetDomainsCommandInput;
|
|
79
|
+
output: ListTargetDomainsCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { StartCodeRemediationInput, StartCodeRemediationOutput } 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 StartCodeRemediationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartCodeRemediationCommandInput extends StartCodeRemediationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartCodeRemediationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartCodeRemediationCommandOutput extends StartCodeRemediationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartCodeRemediationCommand_base: {
|
|
25
|
+
new (input: StartCodeRemediationCommandInput): import("@smithy/smithy-client").CommandImpl<StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartCodeRemediationCommandInput): import("@smithy/smithy-client").CommandImpl<StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Starts code remediation for the specified findings
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, StartCodeRemediationCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, StartCodeRemediationCommand } = 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 = { // StartCodeRemediationInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* pentestJobId: "STRING_VALUE", // required
|
|
42
|
+
* findingIds: [ // FindingIdList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new StartCodeRemediationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param StartCodeRemediationCommandInput - {@link StartCodeRemediationCommandInput}
|
|
53
|
+
* @returns {@link StartCodeRemediationCommandOutput}
|
|
54
|
+
* @see {@link StartCodeRemediationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link StartCodeRemediationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link SecurityAgentServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class StartCodeRemediationCommand extends StartCodeRemediationCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: StartCodeRemediationInput;
|
|
69
|
+
output: {};
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: StartCodeRemediationCommandInput;
|
|
73
|
+
output: StartCodeRemediationCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}
|