@aws-sdk/client-securityagent 3.1070.0 → 3.1071.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,124 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchCreateSecurityRequirementsInput, BatchCreateSecurityRequirementsOutput } 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 BatchCreateSecurityRequirementsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchCreateSecurityRequirementsCommandInput extends BatchCreateSecurityRequirementsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchCreateSecurityRequirementsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchCreateSecurityRequirementsCommandOutput extends BatchCreateSecurityRequirementsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchCreateSecurityRequirementsCommand_base: {
|
|
25
|
+
new (input: BatchCreateSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<BatchCreateSecurityRequirementsCommandInput, BatchCreateSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchCreateSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<BatchCreateSecurityRequirementsCommandInput, BatchCreateSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Batch creates security requirements in a customer managed 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, BatchCreateSecurityRequirementsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchCreateSecurityRequirementsCommand } = 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 = { // BatchCreateSecurityRequirementsInput
|
|
42
|
+
* packId: "STRING_VALUE", // required
|
|
43
|
+
* securityRequirements: [ // CreateSecurityRequirementEntryList // required
|
|
44
|
+
* { // CreateSecurityRequirementEntry
|
|
45
|
+
* name: "STRING_VALUE", // required
|
|
46
|
+
* description: "STRING_VALUE", // required
|
|
47
|
+
* domain: "STRING_VALUE", // required
|
|
48
|
+
* evaluation: "STRING_VALUE", // required
|
|
49
|
+
* remediation: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
53
|
+
* const command = new BatchCreateSecurityRequirementsCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // BatchCreateSecurityRequirementsOutput
|
|
56
|
+
* // securityRequirements: [ // BatchCreateSecurityRequirementResultList // required
|
|
57
|
+
* // { // BatchCreateSecurityRequirementResult
|
|
58
|
+
* // packId: "STRING_VALUE", // required
|
|
59
|
+
* // name: "STRING_VALUE", // required
|
|
60
|
+
* // description: "STRING_VALUE", // required
|
|
61
|
+
* // domain: "STRING_VALUE", // required
|
|
62
|
+
* // evaluation: "STRING_VALUE", // required
|
|
63
|
+
* // remediation: "STRING_VALUE",
|
|
64
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
65
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // errors: [ // BatchSecurityRequirementErrors // required
|
|
69
|
+
* // { // BatchSecurityRequirementError
|
|
70
|
+
* // securityRequirementName: "STRING_VALUE", // required
|
|
71
|
+
* // code: "STRING_VALUE", // required
|
|
72
|
+
* // message: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param BatchCreateSecurityRequirementsCommandInput - {@link BatchCreateSecurityRequirementsCommandInput}
|
|
80
|
+
* @returns {@link BatchCreateSecurityRequirementsCommandOutput}
|
|
81
|
+
* @see {@link BatchCreateSecurityRequirementsCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link BatchCreateSecurityRequirementsCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ConflictException} (client fault)
|
|
89
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerException} (server fault)
|
|
92
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <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>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
98
|
+
* <p>The request exceeds a service quota. Review your current usage and request a quota increase if needed.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* <p>The request was denied due to request throttling.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link SecurityAgentServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class BatchCreateSecurityRequirementsCommand extends BatchCreateSecurityRequirementsCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: BatchCreateSecurityRequirementsInput;
|
|
117
|
+
output: BatchCreateSecurityRequirementsOutput;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: BatchCreateSecurityRequirementsCommandInput;
|
|
121
|
+
output: BatchCreateSecurityRequirementsCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -75,6 +75,10 @@ declare const BatchDeletePentestsCommand_base: {
|
|
|
75
75
|
* // { // DocumentInfo
|
|
76
76
|
* // s3Location: "STRING_VALUE",
|
|
77
77
|
* // artifactId: "STRING_VALUE",
|
|
78
|
+
* // integratedDocument: { // IntegratedDocument
|
|
79
|
+
* // integrationId: "STRING_VALUE", // required
|
|
80
|
+
* // resourceId: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
78
82
|
* // },
|
|
79
83
|
* // ],
|
|
80
84
|
* // sourceCode: [ // SourceCodeRepositoryList
|
|
@@ -122,6 +126,10 @@ declare const BatchDeletePentestsCommand_base: {
|
|
|
122
126
|
* // ],
|
|
123
127
|
* // },
|
|
124
128
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
129
|
+
* // cleanUpStrategy: "BEST_EFFORT_DELETE" || "RETAIN_ALL",
|
|
130
|
+
* // disableManagedSkills: [ // SkillTypeList
|
|
131
|
+
* // "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
132
|
+
* // ],
|
|
125
133
|
* // createdAt: new Date("TIMESTAMP"),
|
|
126
134
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
127
135
|
* // },
|
|
@@ -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 { BatchDeleteSecurityRequirementsInput, BatchDeleteSecurityRequirementsOutput } 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 BatchDeleteSecurityRequirementsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteSecurityRequirementsCommandInput extends BatchDeleteSecurityRequirementsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteSecurityRequirementsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteSecurityRequirementsCommandOutput extends BatchDeleteSecurityRequirementsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteSecurityRequirementsCommand_base: {
|
|
25
|
+
new (input: BatchDeleteSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteSecurityRequirementsCommandInput, BatchDeleteSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeleteSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteSecurityRequirementsCommandInput, BatchDeleteSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Batch deletes security requirements from a customer managed 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, BatchDeleteSecurityRequirementsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchDeleteSecurityRequirementsCommand } = 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 = { // BatchDeleteSecurityRequirementsInput
|
|
42
|
+
* packId: "STRING_VALUE", // required
|
|
43
|
+
* securityRequirementNames: [ // SecurityRequirementNameList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new BatchDeleteSecurityRequirementsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // BatchDeleteSecurityRequirementsOutput
|
|
50
|
+
* // deletedSecurityRequirementNames: [ // SecurityRequirementNameList // required
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // errors: [ // BatchSecurityRequirementErrors // required
|
|
54
|
+
* // { // BatchSecurityRequirementError
|
|
55
|
+
* // securityRequirementName: "STRING_VALUE", // required
|
|
56
|
+
* // code: "STRING_VALUE", // required
|
|
57
|
+
* // message: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param BatchDeleteSecurityRequirementsCommandInput - {@link BatchDeleteSecurityRequirementsCommandInput}
|
|
65
|
+
* @returns {@link BatchDeleteSecurityRequirementsCommandOutput}
|
|
66
|
+
* @see {@link BatchDeleteSecurityRequirementsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link BatchDeleteSecurityRequirementsCommandOutput} 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 BatchDeleteSecurityRequirementsCommand extends BatchDeleteSecurityRequirementsCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: BatchDeleteSecurityRequirementsInput;
|
|
99
|
+
output: BatchDeleteSecurityRequirementsOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: BatchDeleteSecurityRequirementsCommandInput;
|
|
103
|
+
output: BatchDeleteSecurityRequirementsCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchDeleteThreatModelsInput, BatchDeleteThreatModelsOutput } 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 BatchDeleteThreatModelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteThreatModelsCommandInput extends BatchDeleteThreatModelsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteThreatModelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteThreatModelsCommandOutput extends BatchDeleteThreatModelsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteThreatModelsCommand_base: {
|
|
25
|
+
new (input: BatchDeleteThreatModelsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteThreatModelsCommandInput, BatchDeleteThreatModelsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeleteThreatModelsCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteThreatModelsCommandInput, BatchDeleteThreatModelsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes one or more threat models from an agent space.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SecurityAgentClient, BatchDeleteThreatModelsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchDeleteThreatModelsCommand } = 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 = { // BatchDeleteThreatModelsInput
|
|
42
|
+
* threatModelIds: [ // ThreatModelIdList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new BatchDeleteThreatModelsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // BatchDeleteThreatModelsOutput
|
|
50
|
+
* // deleted: [ // ThreatModelIdList
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // failed: [ // DeleteThreatModelFailureList
|
|
54
|
+
* // { // DeleteThreatModelFailure
|
|
55
|
+
* // threatModelId: "STRING_VALUE",
|
|
56
|
+
* // reason: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param BatchDeleteThreatModelsCommandInput - {@link BatchDeleteThreatModelsCommandInput}
|
|
64
|
+
* @returns {@link BatchDeleteThreatModelsCommandOutput}
|
|
65
|
+
* @see {@link BatchDeleteThreatModelsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link BatchDeleteThreatModelsCommandOutput} 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 BatchDeleteThreatModelsCommand extends BatchDeleteThreatModelsCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: BatchDeleteThreatModelsInput;
|
|
80
|
+
output: BatchDeleteThreatModelsOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: BatchDeleteThreatModelsCommandInput;
|
|
84
|
+
output: BatchDeleteThreatModelsCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -58,6 +58,10 @@ declare const BatchGetCodeReviewJobsCommand_base: {
|
|
|
58
58
|
* // { // DocumentInfo
|
|
59
59
|
* // s3Location: "STRING_VALUE",
|
|
60
60
|
* // artifactId: "STRING_VALUE",
|
|
61
|
+
* // integratedDocument: { // IntegratedDocument
|
|
62
|
+
* // integrationId: "STRING_VALUE", // required
|
|
63
|
+
* // resourceId: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
61
65
|
* // },
|
|
62
66
|
* // ],
|
|
63
67
|
* // sourceCode: [ // SourceCodeRepositoryList
|
|
@@ -67,7 +71,7 @@ declare const BatchGetCodeReviewJobsCommand_base: {
|
|
|
67
71
|
* // ],
|
|
68
72
|
* // steps: [ // StepList
|
|
69
73
|
* // { // Step
|
|
70
|
-
* // name: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING",
|
|
74
|
+
* // name: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING" || "VALIDATION",
|
|
71
75
|
* // status: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOPPED",
|
|
72
76
|
* // createdAt: new Date("TIMESTAMP"),
|
|
73
77
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
@@ -75,6 +75,10 @@ declare const BatchGetCodeReviewsCommand_base: {
|
|
|
75
75
|
* // { // DocumentInfo
|
|
76
76
|
* // s3Location: "STRING_VALUE",
|
|
77
77
|
* // artifactId: "STRING_VALUE",
|
|
78
|
+
* // integratedDocument: { // IntegratedDocument
|
|
79
|
+
* // integrationId: "STRING_VALUE", // required
|
|
80
|
+
* // resourceId: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
78
82
|
* // },
|
|
79
83
|
* // ],
|
|
80
84
|
* // sourceCode: [ // SourceCodeRepositoryList
|
|
@@ -95,6 +99,7 @@ declare const BatchGetCodeReviewsCommand_base: {
|
|
|
95
99
|
* // logStream: "STRING_VALUE",
|
|
96
100
|
* // },
|
|
97
101
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
102
|
+
* // validationMode: "DISABLED" || "SIMULATED",
|
|
98
103
|
* // createdAt: new Date("TIMESTAMP"),
|
|
99
104
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
100
105
|
* // },
|
|
@@ -64,6 +64,7 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
64
64
|
* // riskScore: "STRING_VALUE",
|
|
65
65
|
* // reasoning: "STRING_VALUE",
|
|
66
66
|
* // confidence: "FALSE_POSITIVE" || "UNCONFIRMED" || "LOW" || "MEDIUM" || "HIGH",
|
|
67
|
+
* // validationStatus: "CONFIRMED" || "NOT_REPRODUCED" || "VALIDATION_FAILED" || "VALIDATING" || "NOT_VALIDATED",
|
|
67
68
|
* // attackScript: "STRING_VALUE",
|
|
68
69
|
* // codeRemediationTask: { // CodeRemediationTask
|
|
69
70
|
* // status: "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
@@ -77,6 +78,7 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
77
78
|
* // ],
|
|
78
79
|
* // },
|
|
79
80
|
* // lastUpdatedBy: "STRING_VALUE",
|
|
81
|
+
* // customerNote: "STRING_VALUE",
|
|
80
82
|
* // codeLocations: [ // CodeLocationList
|
|
81
83
|
* // { // CodeLocation
|
|
82
84
|
* // filePath: "STRING_VALUE", // required
|
|
@@ -96,6 +98,7 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
96
98
|
* // },
|
|
97
99
|
* // ],
|
|
98
100
|
* // },
|
|
101
|
+
* // alignmentRationale: "STRING_VALUE",
|
|
99
102
|
* // createdAt: new Date("TIMESTAMP"),
|
|
100
103
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
101
104
|
* // },
|
|
@@ -76,6 +76,10 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
76
76
|
* // { // DocumentInfo
|
|
77
77
|
* // s3Location: "STRING_VALUE",
|
|
78
78
|
* // artifactId: "STRING_VALUE",
|
|
79
|
+
* // integratedDocument: { // IntegratedDocument
|
|
80
|
+
* // integrationId: "STRING_VALUE", // required
|
|
81
|
+
* // resourceId: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
79
83
|
* // },
|
|
80
84
|
* // ],
|
|
81
85
|
* // sourceCode: [ // SourceCodeRepositoryList
|
|
@@ -98,7 +102,7 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
98
102
|
* // ],
|
|
99
103
|
* // steps: [ // StepList
|
|
100
104
|
* // { // Step
|
|
101
|
-
* // name: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING",
|
|
105
|
+
* // name: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING" || "VALIDATION",
|
|
102
106
|
* // status: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOPPED",
|
|
103
107
|
* // createdAt: new Date("TIMESTAMP"),
|
|
104
108
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
@@ -151,6 +155,10 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
151
155
|
* // },
|
|
152
156
|
* // ],
|
|
153
157
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
158
|
+
* // cleanUpStrategy: "BEST_EFFORT_DELETE" || "RETAIN_ALL",
|
|
159
|
+
* // disableManagedSkills: [ // SkillTypeList
|
|
160
|
+
* // "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
161
|
+
* // ],
|
|
154
162
|
* // createdAt: new Date("TIMESTAMP"),
|
|
155
163
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
156
164
|
* // },
|
|
@@ -75,6 +75,10 @@ declare const BatchGetPentestsCommand_base: {
|
|
|
75
75
|
* // { // DocumentInfo
|
|
76
76
|
* // s3Location: "STRING_VALUE",
|
|
77
77
|
* // artifactId: "STRING_VALUE",
|
|
78
|
+
* // integratedDocument: { // IntegratedDocument
|
|
79
|
+
* // integrationId: "STRING_VALUE", // required
|
|
80
|
+
* // resourceId: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
78
82
|
* // },
|
|
79
83
|
* // ],
|
|
80
84
|
* // sourceCode: [ // SourceCodeRepositoryList
|
|
@@ -122,6 +126,10 @@ declare const BatchGetPentestsCommand_base: {
|
|
|
122
126
|
* // ],
|
|
123
127
|
* // },
|
|
124
128
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
129
|
+
* // cleanUpStrategy: "BEST_EFFORT_DELETE" || "RETAIN_ALL",
|
|
130
|
+
* // disableManagedSkills: [ // SkillTypeList
|
|
131
|
+
* // "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
132
|
+
* // ],
|
|
125
133
|
* // createdAt: new Date("TIMESTAMP"),
|
|
126
134
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
127
135
|
* // },
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetSecurityRequirementsInput, BatchGetSecurityRequirementsOutput } 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 BatchGetSecurityRequirementsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetSecurityRequirementsCommandInput extends BatchGetSecurityRequirementsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetSecurityRequirementsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetSecurityRequirementsCommandOutput extends BatchGetSecurityRequirementsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetSecurityRequirementsCommand_base: {
|
|
25
|
+
new (input: BatchGetSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetSecurityRequirementsCommandInput, BatchGetSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetSecurityRequirementsCommandInput, BatchGetSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Batch retrieves security requirements from a 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, BatchGetSecurityRequirementsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
37
|
+
* // const { SecurityAgentClient, BatchGetSecurityRequirementsCommand } = 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 = { // BatchGetSecurityRequirementsInput
|
|
42
|
+
* packId: "STRING_VALUE", // required
|
|
43
|
+
* securityRequirementNames: [ // SecurityRequirementNameList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new BatchGetSecurityRequirementsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // BatchGetSecurityRequirementsOutput
|
|
50
|
+
* // securityRequirements: [ // BatchGetSecurityRequirementResultList // required
|
|
51
|
+
* // { // BatchGetSecurityRequirementResult
|
|
52
|
+
* // packId: "STRING_VALUE", // required
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // description: "STRING_VALUE", // required
|
|
55
|
+
* // domain: "STRING_VALUE", // required
|
|
56
|
+
* // evaluation: "STRING_VALUE", // required
|
|
57
|
+
* // remediation: "STRING_VALUE",
|
|
58
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // errors: [ // BatchSecurityRequirementErrors // required
|
|
63
|
+
* // { // BatchSecurityRequirementError
|
|
64
|
+
* // securityRequirementName: "STRING_VALUE", // required
|
|
65
|
+
* // code: "STRING_VALUE", // required
|
|
66
|
+
* // message: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param BatchGetSecurityRequirementsCommandInput - {@link BatchGetSecurityRequirementsCommandInput}
|
|
74
|
+
* @returns {@link BatchGetSecurityRequirementsCommandOutput}
|
|
75
|
+
* @see {@link BatchGetSecurityRequirementsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link BatchGetSecurityRequirementsCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>The request was denied due to request throttling.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link SecurityAgentServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class BatchGetSecurityRequirementsCommand extends BatchGetSecurityRequirementsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: BatchGetSecurityRequirementsInput;
|
|
105
|
+
output: BatchGetSecurityRequirementsOutput;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: BatchGetSecurityRequirementsCommandInput;
|
|
109
|
+
output: BatchGetSecurityRequirementsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|