@aws-sdk/client-securityagent 3.1070.0 → 3.1072.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/README.md +217 -0
- package/dist-cjs/index.js +573 -1
- package/dist-cjs/models/errors.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +1143 -103
- package/dist-es/SecurityAgent.js +76 -0
- package/dist-es/commands/BatchCreateSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/BatchDeleteSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/BatchDeleteThreatModelsCommand.js +16 -0
- package/dist-es/commands/BatchGetSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatModelJobTasksCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatModelJobsCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatModelsCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatsCommand.js +16 -0
- package/dist-es/commands/BatchUpdateSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/CreatePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/CreateSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/CreateThreatCommand.js +16 -0
- package/dist-es/commands/CreateThreatModelCommand.js +16 -0
- package/dist-es/commands/DeletePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/DeleteSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/DescribePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/GetSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/ImportSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/ListPrivateConnectionsCommand.js +16 -0
- package/dist-es/commands/ListSecurityRequirementPacksCommand.js +16 -0
- package/dist-es/commands/ListSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/ListThreatModelJobTasksCommand.js +16 -0
- package/dist-es/commands/ListThreatModelJobsCommand.js +16 -0
- package/dist-es/commands/ListThreatModelsCommand.js +16 -0
- package/dist-es/commands/ListThreatsCommand.js +16 -0
- package/dist-es/commands/StartThreatModelJobCommand.js +16 -0
- package/dist-es/commands/StopThreatModelJobCommand.js +16 -0
- package/dist-es/commands/UpdatePrivateConnectionCertificateCommand.js +16 -0
- package/dist-es/commands/UpdateSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/UpdateThreatCommand.js +16 -0
- package/dist-es/commands/UpdateThreatModelCommand.js +16 -0
- package/dist-es/commands/index.js +31 -0
- package/dist-es/models/enums.js +93 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/ListPrivateConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListSecurityRequirementPacksPaginator.js +4 -0
- package/dist-es/pagination/ListSecurityRequirementsPaginator.js +4 -0
- package/dist-es/pagination/ListThreatModelJobTasksPaginator.js +4 -0
- package/dist-es/pagination/ListThreatModelJobsPaginator.js +4 -0
- package/dist-es/pagination/ListThreatModelsPaginator.js +4 -0
- package/dist-es/pagination/ListThreatsPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/schemas/schemas_0.js +1040 -103
- package/dist-types/SecurityAgent.d.ts +268 -0
- package/dist-types/SecurityAgentClient.d.ts +33 -2
- package/dist-types/commands/BatchCreateSecurityRequirementsCommand.d.ts +124 -0
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +8 -0
- package/dist-types/commands/BatchDeleteSecurityRequirementsCommand.d.ts +106 -0
- package/dist-types/commands/BatchDeleteThreatModelsCommand.d.ts +87 -0
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +5 -1
- package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +9 -1
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +8 -0
- package/dist-types/commands/BatchGetSecurityRequirementsCommand.d.ts +112 -0
- package/dist-types/commands/BatchGetThreatModelJobTasksCommand.d.ts +101 -0
- package/dist-types/commands/BatchGetThreatModelJobsCommand.d.ts +130 -0
- package/dist-types/commands/BatchGetThreatModelsCommand.d.ts +147 -0
- package/dist-types/commands/BatchGetThreatsCommand.d.ts +121 -0
- package/dist-types/commands/BatchUpdateSecurityRequirementsCommand.d.ts +112 -0
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +10 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +22 -1
- package/dist-types/commands/CreatePentestCommand.d.ts +11 -0
- package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +132 -0
- package/dist-types/commands/CreateSecurityRequirementPackCommand.d.ts +102 -0
- package/dist-types/commands/CreateThreatCommand.d.ts +141 -0
- package/dist-types/commands/CreateThreatModelCommand.d.ts +201 -0
- package/dist-types/commands/DeletePrivateConnectionCommand.d.ts +106 -0
- package/dist-types/commands/DeleteSecurityRequirementPackCommand.d.ts +92 -0
- package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +103 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +3 -1
- package/dist-types/commands/GetSecurityRequirementPackCommand.d.ts +100 -0
- package/dist-types/commands/ImportSecurityRequirementsCommand.d.ts +107 -0
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +34 -1
- package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -2
- package/dist-types/commands/ListPentestJobTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +106 -0
- package/dist-types/commands/ListSecurityRequirementPacksCommand.d.ts +105 -0
- package/dist-types/commands/ListSecurityRequirementsCommand.d.ts +102 -0
- package/dist-types/commands/ListThreatModelJobTasksCommand.d.ts +91 -0
- package/dist-types/commands/ListThreatModelJobsCommand.d.ts +90 -0
- package/dist-types/commands/ListThreatModelsCommand.d.ts +87 -0
- package/dist-types/commands/ListThreatsCommand.d.ts +96 -0
- package/dist-types/commands/StartCodeReviewJobCommand.d.ts +3 -0
- package/dist-types/commands/StartThreatModelJobCommand.d.ts +83 -0
- package/dist-types/commands/StopThreatModelJobCommand.d.ts +75 -0
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +10 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +7 -0
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +28 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +11 -0
- package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +107 -0
- package/dist-types/commands/UpdateSecurityRequirementPackCommand.d.ts +100 -0
- package/dist-types/commands/UpdateThreatCommand.d.ts +139 -0
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +196 -0
- package/dist-types/commands/index.d.ts +31 -0
- package/dist-types/models/enums.d.ts +250 -0
- package/dist-types/models/errors.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +4254 -818
- package/dist-types/pagination/ListPrivateConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSecurityRequirementPacksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSecurityRequirementsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatModelJobTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatModelJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/schemas/schemas_0.d.ts +134 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +584 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +186 -0
- package/dist-types/ts3.4/commands/BatchCreateSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeleteSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeleteThreatModelsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatModelJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatModelJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatModelsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/BatchUpdateSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreatePrivateConnectionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateThreatCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateThreatModelCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeletePrivateConnectionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DescribePrivateConnectionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ImportSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListPrivateConnectionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListSecurityRequirementPacksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListThreatModelJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListThreatModelJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListThreatModelsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListThreatsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/StartThreatModelJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdatePrivateConnectionCertificateCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +31 -0
- package/dist-types/ts3.4/models/enums.d.ts +123 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +924 -0
- package/dist-types/ts3.4/pagination/ListPrivateConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityRequirementPacksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityRequirementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatModelJobTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatModelJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
- package/package.json +3 -3
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeletePrivateConnectionInput, DeletePrivateConnectionOutput } 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 DeletePrivateConnectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePrivateConnectionCommandInput extends DeletePrivateConnectionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePrivateConnectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePrivateConnectionCommandOutput extends DeletePrivateConnectionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePrivateConnectionCommand_base: {
|
|
25
|
+
new (input: DeletePrivateConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeletePrivateConnectionCommandInput, DeletePrivateConnectionCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePrivateConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeletePrivateConnectionCommandInput, DeletePrivateConnectionCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a private connection.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, DeletePrivateConnectionCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, DeletePrivateConnectionCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
38
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
39
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
|
+
* const client = new SecurityAgentClient(config);
|
|
41
|
+
* const input = { // DeletePrivateConnectionInput
|
|
42
|
+
* privateConnectionName: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeletePrivateConnectionCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DeletePrivateConnectionOutput
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // type: "SERVICE_MANAGED" || "SELF_MANAGED", // required
|
|
49
|
+
* // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
50
|
+
* // resourceGatewayId: "STRING_VALUE",
|
|
51
|
+
* // hostAddress: "STRING_VALUE",
|
|
52
|
+
* // vpcId: "STRING_VALUE",
|
|
53
|
+
* // resourceConfigurationId: "STRING_VALUE",
|
|
54
|
+
* // certificateExpiryTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // dnsResolution: "PUBLIC" || "IN_VPC",
|
|
56
|
+
* // failureMessage: "STRING_VALUE",
|
|
57
|
+
* // tags: { // TagMap
|
|
58
|
+
* // "<keys>": "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param DeletePrivateConnectionCommandInput - {@link DeletePrivateConnectionCommandInput}
|
|
65
|
+
* @returns {@link DeletePrivateConnectionCommandOutput}
|
|
66
|
+
* @see {@link DeletePrivateConnectionCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link DeletePrivateConnectionCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConflictException} (client fault)
|
|
74
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The request was denied due to request throttling.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link SecurityAgentServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class DeletePrivateConnectionCommand extends DeletePrivateConnectionCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: DeletePrivateConnectionInput;
|
|
99
|
+
output: DeletePrivateConnectionOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: DeletePrivateConnectionCommandInput;
|
|
103
|
+
output: DeletePrivateConnectionCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteSecurityRequirementPackInput, DeleteSecurityRequirementPackOutput } 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 DeleteSecurityRequirementPackCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSecurityRequirementPackCommandInput extends DeleteSecurityRequirementPackInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSecurityRequirementPackCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSecurityRequirementPackCommandOutput extends DeleteSecurityRequirementPackOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteSecurityRequirementPackCommand_base: {
|
|
25
|
+
new (input: DeleteSecurityRequirementPackCommandInput): import("@smithy/core/client").CommandImpl<DeleteSecurityRequirementPackCommandInput, DeleteSecurityRequirementPackCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteSecurityRequirementPackCommandInput): import("@smithy/core/client").CommandImpl<DeleteSecurityRequirementPackCommandInput, DeleteSecurityRequirementPackCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a customer managed security requirement pack and all its associated security requirements.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, DeleteSecurityRequirementPackCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, DeleteSecurityRequirementPackCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
38
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
39
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
|
+
* const client = new SecurityAgentClient(config);
|
|
41
|
+
* const input = { // DeleteSecurityRequirementPackInput
|
|
42
|
+
* packId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteSecurityRequirementPackCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteSecurityRequirementPackCommandInput - {@link DeleteSecurityRequirementPackCommandInput}
|
|
51
|
+
* @returns {@link DeleteSecurityRequirementPackCommandOutput}
|
|
52
|
+
* @see {@link DeleteSecurityRequirementPackCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteSecurityRequirementPackCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
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 DeleteSecurityRequirementPackCommand extends DeleteSecurityRequirementPackCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteSecurityRequirementPackInput;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteSecurityRequirementPackCommandInput;
|
|
89
|
+
output: DeleteSecurityRequirementPackCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DescribePrivateConnectionInput, DescribePrivateConnectionOutput } 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 DescribePrivateConnectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribePrivateConnectionCommandInput extends DescribePrivateConnectionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribePrivateConnectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribePrivateConnectionCommandOutput extends DescribePrivateConnectionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribePrivateConnectionCommand_base: {
|
|
25
|
+
new (input: DescribePrivateConnectionCommandInput): import("@smithy/core/client").CommandImpl<DescribePrivateConnectionCommandInput, DescribePrivateConnectionCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribePrivateConnectionCommandInput): import("@smithy/core/client").CommandImpl<DescribePrivateConnectionCommandInput, DescribePrivateConnectionCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves the details of a private connection.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, DescribePrivateConnectionCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, DescribePrivateConnectionCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
38
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
39
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
|
+
* const client = new SecurityAgentClient(config);
|
|
41
|
+
* const input = { // DescribePrivateConnectionInput
|
|
42
|
+
* privateConnectionName: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DescribePrivateConnectionCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DescribePrivateConnectionOutput
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // type: "SERVICE_MANAGED" || "SELF_MANAGED", // required
|
|
49
|
+
* // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
50
|
+
* // resourceGatewayId: "STRING_VALUE",
|
|
51
|
+
* // hostAddress: "STRING_VALUE",
|
|
52
|
+
* // vpcId: "STRING_VALUE",
|
|
53
|
+
* // resourceConfigurationId: "STRING_VALUE",
|
|
54
|
+
* // certificateExpiryTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // dnsResolution: "PUBLIC" || "IN_VPC",
|
|
56
|
+
* // failureMessage: "STRING_VALUE",
|
|
57
|
+
* // tags: { // TagMap
|
|
58
|
+
* // "<keys>": "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param DescribePrivateConnectionCommandInput - {@link DescribePrivateConnectionCommandInput}
|
|
65
|
+
* @returns {@link DescribePrivateConnectionCommandOutput}
|
|
66
|
+
* @see {@link DescribePrivateConnectionCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link DescribePrivateConnectionCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link SecurityAgentServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class DescribePrivateConnectionCommand extends DescribePrivateConnectionCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: DescribePrivateConnectionInput;
|
|
96
|
+
output: DescribePrivateConnectionOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: DescribePrivateConnectionCommandInput;
|
|
100
|
+
output: DescribePrivateConnectionCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -46,10 +46,12 @@ declare const GetIntegrationCommand_base: {
|
|
|
46
46
|
* // { // GetIntegrationOutput
|
|
47
47
|
* // integrationId: "STRING_VALUE", // required
|
|
48
48
|
* // installationId: "STRING_VALUE", // required
|
|
49
|
-
* // provider: "GITHUB", // required
|
|
49
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE", // required
|
|
50
50
|
* // providerType: "SOURCE_CODE" || "DOCUMENTATION", // required
|
|
51
51
|
* // displayName: "STRING_VALUE",
|
|
52
52
|
* // kmsKeyId: "STRING_VALUE",
|
|
53
|
+
* // targetUrl: "STRING_VALUE",
|
|
54
|
+
* // privateConnectionName: "STRING_VALUE",
|
|
53
55
|
* // };
|
|
54
56
|
*
|
|
55
57
|
* ```
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetSecurityRequirementPackInput, GetSecurityRequirementPackOutput } 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 GetSecurityRequirementPackCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSecurityRequirementPackCommandInput extends GetSecurityRequirementPackInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSecurityRequirementPackCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSecurityRequirementPackCommandOutput extends GetSecurityRequirementPackOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSecurityRequirementPackCommand_base: {
|
|
25
|
+
new (input: GetSecurityRequirementPackCommandInput): import("@smithy/core/client").CommandImpl<GetSecurityRequirementPackCommandInput, GetSecurityRequirementPackCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetSecurityRequirementPackCommandInput): import("@smithy/core/client").CommandImpl<GetSecurityRequirementPackCommandInput, GetSecurityRequirementPackCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves information about a security requirement pack.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, GetSecurityRequirementPackCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, GetSecurityRequirementPackCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
38
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
39
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
|
+
* const client = new SecurityAgentClient(config);
|
|
41
|
+
* const input = { // GetSecurityRequirementPackInput
|
|
42
|
+
* packId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetSecurityRequirementPackCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetSecurityRequirementPackOutput
|
|
47
|
+
* // packId: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // vendorName: "STRING_VALUE",
|
|
51
|
+
* // managementType: "AWS_MANAGED" || "CUSTOMER_MANAGED", // required
|
|
52
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
53
|
+
* // importStatus: "PENDING" || "IN_PROGRESS" || "FAILED" || "COMPLETED",
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetSecurityRequirementPackCommandInput - {@link GetSecurityRequirementPackCommandInput}
|
|
62
|
+
* @returns {@link GetSecurityRequirementPackCommandOutput}
|
|
63
|
+
* @see {@link GetSecurityRequirementPackCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetSecurityRequirementPackCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link SecurityAgentServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class GetSecurityRequirementPackCommand extends GetSecurityRequirementPackCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: GetSecurityRequirementPackInput;
|
|
93
|
+
output: GetSecurityRequirementPackOutput;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: GetSecurityRequirementPackCommandInput;
|
|
97
|
+
output: GetSecurityRequirementPackCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ImportSecurityRequirementsInput, ImportSecurityRequirementsOutput } 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 ImportSecurityRequirementsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ImportSecurityRequirementsCommandInput extends ImportSecurityRequirementsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ImportSecurityRequirementsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ImportSecurityRequirementsCommandOutput extends ImportSecurityRequirementsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ImportSecurityRequirementsCommand_base: {
|
|
25
|
+
new (input: ImportSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<ImportSecurityRequirementsCommandInput, ImportSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ImportSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<ImportSecurityRequirementsCommandInput, ImportSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Imports security requirements from uploaded documents into a customer managed security requirement pack. The import process asynchronously extracts and generates structured security requirements from the provided source files.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, ImportSecurityRequirementsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, ImportSecurityRequirementsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
38
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
39
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
|
+
* const client = new SecurityAgentClient(config);
|
|
41
|
+
* const input = { // ImportSecurityRequirementsInput
|
|
42
|
+
* packId: "STRING_VALUE", // required
|
|
43
|
+
* input: { // ImportSource Union: only one key present
|
|
44
|
+
* documents: [ // SecurityRequirementArtifactList
|
|
45
|
+
* { // SecurityRequirementArtifact
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* format: "MD" || "PDF" || "TXT" || "DOCX" || "DOC", // required
|
|
48
|
+
* content: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
53
|
+
* const command = new ImportSecurityRequirementsCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // ImportSecurityRequirementsOutput
|
|
56
|
+
* // packId: "STRING_VALUE", // required
|
|
57
|
+
* // importStatus: "PENDING" || "IN_PROGRESS" || "FAILED" || "COMPLETED", // required
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param ImportSecurityRequirementsCommandInput - {@link ImportSecurityRequirementsCommandInput}
|
|
63
|
+
* @returns {@link ImportSecurityRequirementsCommandOutput}
|
|
64
|
+
* @see {@link ImportSecurityRequirementsCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link ImportSecurityRequirementsCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
81
|
+
* <p>The request exceeds a service quota. Review your current usage and request a quota increase if needed.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request was denied due to request throttling.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link SecurityAgentServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class ImportSecurityRequirementsCommand extends ImportSecurityRequirementsCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: ImportSecurityRequirementsInput;
|
|
100
|
+
output: ImportSecurityRequirementsOutput;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: ImportSecurityRequirementsCommandInput;
|
|
104
|
+
output: ImportSecurityRequirementsCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -39,7 +39,7 @@ declare const InitiateProviderRegistrationCommand_base: {
|
|
|
39
39
|
* const config = {}; // type is SecurityAgentClientConfig
|
|
40
40
|
* const client = new SecurityAgentClient(config);
|
|
41
41
|
* const input = { // InitiateProviderRegistrationInput
|
|
42
|
-
* provider: "GITHUB", // required
|
|
42
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE", // required
|
|
43
43
|
* };
|
|
44
44
|
* const command = new InitiateProviderRegistrationCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
@@ -42,7 +42,7 @@ declare const ListCodeReviewJobTasksCommand_base: {
|
|
|
42
42
|
* agentSpaceId: "STRING_VALUE", // required
|
|
43
43
|
* maxResults: Number("int"),
|
|
44
44
|
* codeReviewJobId: "STRING_VALUE",
|
|
45
|
-
* stepName: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING",
|
|
45
|
+
* stepName: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING" || "VALIDATION",
|
|
46
46
|
* categoryName: "STRING_VALUE",
|
|
47
47
|
* nextToken: "STRING_VALUE",
|
|
48
48
|
* };
|
|
@@ -66,6 +66,7 @@ declare const ListFindingsCommand_base: {
|
|
|
66
66
|
* // riskType: "STRING_VALUE",
|
|
67
67
|
* // riskLevel: "UNKNOWN" || "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
68
68
|
* // confidence: "FALSE_POSITIVE" || "UNCONFIRMED" || "LOW" || "MEDIUM" || "HIGH",
|
|
69
|
+
* // validationStatus: "CONFIRMED" || "NOT_REPRODUCED" || "VALIDATION_FAILED" || "VALIDATING" || "NOT_VALIDATED",
|
|
69
70
|
* // createdAt: new Date("TIMESTAMP"),
|
|
70
71
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
71
72
|
* // },
|
|
@@ -41,7 +41,7 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
41
41
|
* const input = { // ListIntegratedResourcesInput
|
|
42
42
|
* agentSpaceId: "STRING_VALUE", // required
|
|
43
43
|
* integrationId: "STRING_VALUE",
|
|
44
|
-
* resourceType: "CODE_REPOSITORY",
|
|
44
|
+
* resourceType: "CODE_REPOSITORY" || "DOCUMENT",
|
|
45
45
|
* nextToken: "STRING_VALUE",
|
|
46
46
|
* maxResults: Number("int"),
|
|
47
47
|
* };
|
|
@@ -58,12 +58,45 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
58
58
|
* // owner: "STRING_VALUE", // required
|
|
59
59
|
* // accessType: "PRIVATE" || "PUBLIC",
|
|
60
60
|
* // },
|
|
61
|
+
* // gitlabRepository: { // GitLabRepositoryMetadata
|
|
62
|
+
* // name: "STRING_VALUE", // required
|
|
63
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
64
|
+
* // namespace: "STRING_VALUE", // required
|
|
65
|
+
* // accessType: "PRIVATE" || "PUBLIC",
|
|
66
|
+
* // },
|
|
67
|
+
* // bitbucketRepository: { // BitbucketRepositoryMetadata
|
|
68
|
+
* // name: "STRING_VALUE", // required
|
|
69
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
70
|
+
* // workspace: "STRING_VALUE", // required
|
|
71
|
+
* // accessType: "PRIVATE" || "PUBLIC",
|
|
72
|
+
* // },
|
|
73
|
+
* // confluenceDocument: { // ConfluenceDocumentMetadata
|
|
74
|
+
* // name: "STRING_VALUE", // required
|
|
75
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
76
|
+
* // spaceKey: "STRING_VALUE", // required
|
|
77
|
+
* // pageId: "STRING_VALUE", // required
|
|
78
|
+
* // title: "STRING_VALUE",
|
|
79
|
+
* // spaceTitle: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
61
81
|
* // },
|
|
62
82
|
* // capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
63
83
|
* // github: { // GitHubResourceCapabilities
|
|
64
84
|
* // leaveComments: true || false,
|
|
65
85
|
* // remediateCode: true || false,
|
|
66
86
|
* // },
|
|
87
|
+
* // gitlab: { // GitLabResourceCapabilities
|
|
88
|
+
* // leaveComments: true || false,
|
|
89
|
+
* // remediateCode: true || false,
|
|
90
|
+
* // },
|
|
91
|
+
* // bitbucket: { // BitbucketResourceCapabilities
|
|
92
|
+
* // leaveComments: true || false,
|
|
93
|
+
* // remediateCode: true || false,
|
|
94
|
+
* // },
|
|
95
|
+
* // confluence: { // ConfluenceResourceCapabilities
|
|
96
|
+
* // fetchDocument: true || false,
|
|
97
|
+
* // createDocument: true || false,
|
|
98
|
+
* // updateDocument: true || false,
|
|
99
|
+
* // },
|
|
67
100
|
* // },
|
|
68
101
|
* // },
|
|
69
102
|
* // ],
|
|
@@ -40,7 +40,7 @@ declare const ListIntegrationsCommand_base: {
|
|
|
40
40
|
* const client = new SecurityAgentClient(config);
|
|
41
41
|
* const input = { // ListIntegrationsInput
|
|
42
42
|
* filter: { // IntegrationFilter Union: only one key present
|
|
43
|
-
* provider: "GITHUB",
|
|
43
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE",
|
|
44
44
|
* providerType: "SOURCE_CODE" || "DOCUMENTATION",
|
|
45
45
|
* },
|
|
46
46
|
* nextToken: "STRING_VALUE",
|
|
@@ -53,9 +53,11 @@ declare const ListIntegrationsCommand_base: {
|
|
|
53
53
|
* // { // IntegrationSummary
|
|
54
54
|
* // integrationId: "STRING_VALUE", // required
|
|
55
55
|
* // installationId: "STRING_VALUE", // required
|
|
56
|
-
* // provider: "GITHUB", // required
|
|
56
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE", // required
|
|
57
57
|
* // providerType: "SOURCE_CODE" || "DOCUMENTATION", // required
|
|
58
58
|
* // displayName: "STRING_VALUE", // required
|
|
59
|
+
* // targetUrl: "STRING_VALUE",
|
|
60
|
+
* // privateConnectionName: "STRING_VALUE",
|
|
59
61
|
* // },
|
|
60
62
|
* // ],
|
|
61
63
|
* // nextToken: "STRING_VALUE",
|
|
@@ -42,7 +42,7 @@ declare const ListPentestJobTasksCommand_base: {
|
|
|
42
42
|
* agentSpaceId: "STRING_VALUE", // required
|
|
43
43
|
* maxResults: Number("int"),
|
|
44
44
|
* pentestJobId: "STRING_VALUE",
|
|
45
|
-
* stepName: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING",
|
|
45
|
+
* stepName: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING" || "VALIDATION",
|
|
46
46
|
* categoryName: "STRING_VALUE",
|
|
47
47
|
* nextToken: "STRING_VALUE",
|
|
48
48
|
* };
|