@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.
Files changed (162) hide show
  1. package/README.md +217 -0
  2. package/dist-cjs/index.js +573 -1
  3. package/dist-cjs/models/errors.js +12 -0
  4. package/dist-cjs/schemas/schemas_0.js +1143 -103
  5. package/dist-es/SecurityAgent.js +76 -0
  6. package/dist-es/commands/BatchCreateSecurityRequirementsCommand.js +16 -0
  7. package/dist-es/commands/BatchDeleteSecurityRequirementsCommand.js +16 -0
  8. package/dist-es/commands/BatchDeleteThreatModelsCommand.js +16 -0
  9. package/dist-es/commands/BatchGetSecurityRequirementsCommand.js +16 -0
  10. package/dist-es/commands/BatchGetThreatModelJobTasksCommand.js +16 -0
  11. package/dist-es/commands/BatchGetThreatModelJobsCommand.js +16 -0
  12. package/dist-es/commands/BatchGetThreatModelsCommand.js +16 -0
  13. package/dist-es/commands/BatchGetThreatsCommand.js +16 -0
  14. package/dist-es/commands/BatchUpdateSecurityRequirementsCommand.js +16 -0
  15. package/dist-es/commands/CreatePrivateConnectionCommand.js +16 -0
  16. package/dist-es/commands/CreateSecurityRequirementPackCommand.js +16 -0
  17. package/dist-es/commands/CreateThreatCommand.js +16 -0
  18. package/dist-es/commands/CreateThreatModelCommand.js +16 -0
  19. package/dist-es/commands/DeletePrivateConnectionCommand.js +16 -0
  20. package/dist-es/commands/DeleteSecurityRequirementPackCommand.js +16 -0
  21. package/dist-es/commands/DescribePrivateConnectionCommand.js +16 -0
  22. package/dist-es/commands/GetSecurityRequirementPackCommand.js +16 -0
  23. package/dist-es/commands/ImportSecurityRequirementsCommand.js +16 -0
  24. package/dist-es/commands/ListPrivateConnectionsCommand.js +16 -0
  25. package/dist-es/commands/ListSecurityRequirementPacksCommand.js +16 -0
  26. package/dist-es/commands/ListSecurityRequirementsCommand.js +16 -0
  27. package/dist-es/commands/ListThreatModelJobTasksCommand.js +16 -0
  28. package/dist-es/commands/ListThreatModelJobsCommand.js +16 -0
  29. package/dist-es/commands/ListThreatModelsCommand.js +16 -0
  30. package/dist-es/commands/ListThreatsCommand.js +16 -0
  31. package/dist-es/commands/StartThreatModelJobCommand.js +16 -0
  32. package/dist-es/commands/StopThreatModelJobCommand.js +16 -0
  33. package/dist-es/commands/UpdatePrivateConnectionCertificateCommand.js +16 -0
  34. package/dist-es/commands/UpdateSecurityRequirementPackCommand.js +16 -0
  35. package/dist-es/commands/UpdateThreatCommand.js +16 -0
  36. package/dist-es/commands/UpdateThreatModelCommand.js +16 -0
  37. package/dist-es/commands/index.js +31 -0
  38. package/dist-es/models/enums.js +93 -0
  39. package/dist-es/models/errors.js +12 -0
  40. package/dist-es/pagination/ListPrivateConnectionsPaginator.js +4 -0
  41. package/dist-es/pagination/ListSecurityRequirementPacksPaginator.js +4 -0
  42. package/dist-es/pagination/ListSecurityRequirementsPaginator.js +4 -0
  43. package/dist-es/pagination/ListThreatModelJobTasksPaginator.js +4 -0
  44. package/dist-es/pagination/ListThreatModelJobsPaginator.js +4 -0
  45. package/dist-es/pagination/ListThreatModelsPaginator.js +4 -0
  46. package/dist-es/pagination/ListThreatsPaginator.js +4 -0
  47. package/dist-es/pagination/index.js +7 -0
  48. package/dist-es/schemas/schemas_0.js +1040 -103
  49. package/dist-types/SecurityAgent.d.ts +268 -0
  50. package/dist-types/SecurityAgentClient.d.ts +33 -2
  51. package/dist-types/commands/BatchCreateSecurityRequirementsCommand.d.ts +124 -0
  52. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +8 -0
  53. package/dist-types/commands/BatchDeleteSecurityRequirementsCommand.d.ts +106 -0
  54. package/dist-types/commands/BatchDeleteThreatModelsCommand.d.ts +87 -0
  55. package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +5 -1
  56. package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +5 -0
  57. package/dist-types/commands/BatchGetFindingsCommand.d.ts +3 -0
  58. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +9 -1
  59. package/dist-types/commands/BatchGetPentestsCommand.d.ts +8 -0
  60. package/dist-types/commands/BatchGetSecurityRequirementsCommand.d.ts +112 -0
  61. package/dist-types/commands/BatchGetThreatModelJobTasksCommand.d.ts +101 -0
  62. package/dist-types/commands/BatchGetThreatModelJobsCommand.d.ts +130 -0
  63. package/dist-types/commands/BatchGetThreatModelsCommand.d.ts +147 -0
  64. package/dist-types/commands/BatchGetThreatsCommand.d.ts +121 -0
  65. package/dist-types/commands/BatchUpdateSecurityRequirementsCommand.d.ts +112 -0
  66. package/dist-types/commands/CreateCodeReviewCommand.d.ts +10 -0
  67. package/dist-types/commands/CreateIntegrationCommand.d.ts +22 -1
  68. package/dist-types/commands/CreatePentestCommand.d.ts +11 -0
  69. package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +132 -0
  70. package/dist-types/commands/CreateSecurityRequirementPackCommand.d.ts +102 -0
  71. package/dist-types/commands/CreateThreatCommand.d.ts +141 -0
  72. package/dist-types/commands/CreateThreatModelCommand.d.ts +201 -0
  73. package/dist-types/commands/DeletePrivateConnectionCommand.d.ts +106 -0
  74. package/dist-types/commands/DeleteSecurityRequirementPackCommand.d.ts +92 -0
  75. package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +103 -0
  76. package/dist-types/commands/GetIntegrationCommand.d.ts +3 -1
  77. package/dist-types/commands/GetSecurityRequirementPackCommand.d.ts +100 -0
  78. package/dist-types/commands/ImportSecurityRequirementsCommand.d.ts +107 -0
  79. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
  80. package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +1 -1
  81. package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
  82. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +34 -1
  83. package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -2
  84. package/dist-types/commands/ListPentestJobTasksCommand.d.ts +1 -1
  85. package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +106 -0
  86. package/dist-types/commands/ListSecurityRequirementPacksCommand.d.ts +105 -0
  87. package/dist-types/commands/ListSecurityRequirementsCommand.d.ts +102 -0
  88. package/dist-types/commands/ListThreatModelJobTasksCommand.d.ts +91 -0
  89. package/dist-types/commands/ListThreatModelJobsCommand.d.ts +90 -0
  90. package/dist-types/commands/ListThreatModelsCommand.d.ts +87 -0
  91. package/dist-types/commands/ListThreatsCommand.d.ts +96 -0
  92. package/dist-types/commands/StartCodeReviewJobCommand.d.ts +3 -0
  93. package/dist-types/commands/StartThreatModelJobCommand.d.ts +83 -0
  94. package/dist-types/commands/StopThreatModelJobCommand.d.ts +75 -0
  95. package/dist-types/commands/UpdateCodeReviewCommand.d.ts +10 -0
  96. package/dist-types/commands/UpdateFindingCommand.d.ts +7 -0
  97. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +28 -0
  98. package/dist-types/commands/UpdatePentestCommand.d.ts +11 -0
  99. package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +107 -0
  100. package/dist-types/commands/UpdateSecurityRequirementPackCommand.d.ts +100 -0
  101. package/dist-types/commands/UpdateThreatCommand.d.ts +139 -0
  102. package/dist-types/commands/UpdateThreatModelCommand.d.ts +196 -0
  103. package/dist-types/commands/index.d.ts +31 -0
  104. package/dist-types/models/enums.d.ts +250 -0
  105. package/dist-types/models/errors.d.ts +12 -0
  106. package/dist-types/models/models_0.d.ts +4254 -818
  107. package/dist-types/pagination/ListPrivateConnectionsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListSecurityRequirementPacksPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListSecurityRequirementsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/ListThreatModelJobTasksPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListThreatModelJobsPaginator.d.ts +7 -0
  112. package/dist-types/pagination/ListThreatModelsPaginator.d.ts +7 -0
  113. package/dist-types/pagination/ListThreatsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/index.d.ts +7 -0
  115. package/dist-types/schemas/schemas_0.d.ts +134 -0
  116. package/dist-types/ts3.4/SecurityAgent.d.ts +584 -0
  117. package/dist-types/ts3.4/SecurityAgentClient.d.ts +186 -0
  118. package/dist-types/ts3.4/commands/BatchCreateSecurityRequirementsCommand.d.ts +53 -0
  119. package/dist-types/ts3.4/commands/BatchDeleteSecurityRequirementsCommand.d.ts +53 -0
  120. package/dist-types/ts3.4/commands/BatchDeleteThreatModelsCommand.d.ts +53 -0
  121. package/dist-types/ts3.4/commands/BatchGetSecurityRequirementsCommand.d.ts +53 -0
  122. package/dist-types/ts3.4/commands/BatchGetThreatModelJobTasksCommand.d.ts +53 -0
  123. package/dist-types/ts3.4/commands/BatchGetThreatModelJobsCommand.d.ts +53 -0
  124. package/dist-types/ts3.4/commands/BatchGetThreatModelsCommand.d.ts +53 -0
  125. package/dist-types/ts3.4/commands/BatchGetThreatsCommand.d.ts +52 -0
  126. package/dist-types/ts3.4/commands/BatchUpdateSecurityRequirementsCommand.d.ts +53 -0
  127. package/dist-types/ts3.4/commands/CreatePrivateConnectionCommand.d.ts +53 -0
  128. package/dist-types/ts3.4/commands/CreateSecurityRequirementPackCommand.d.ts +53 -0
  129. package/dist-types/ts3.4/commands/CreateThreatCommand.d.ts +49 -0
  130. package/dist-types/ts3.4/commands/CreateThreatModelCommand.d.ts +52 -0
  131. package/dist-types/ts3.4/commands/DeletePrivateConnectionCommand.d.ts +53 -0
  132. package/dist-types/ts3.4/commands/DeleteSecurityRequirementPackCommand.d.ts +53 -0
  133. package/dist-types/ts3.4/commands/DescribePrivateConnectionCommand.d.ts +53 -0
  134. package/dist-types/ts3.4/commands/GetSecurityRequirementPackCommand.d.ts +53 -0
  135. package/dist-types/ts3.4/commands/ImportSecurityRequirementsCommand.d.ts +53 -0
  136. package/dist-types/ts3.4/commands/ListPrivateConnectionsCommand.d.ts +53 -0
  137. package/dist-types/ts3.4/commands/ListSecurityRequirementPacksCommand.d.ts +53 -0
  138. package/dist-types/ts3.4/commands/ListSecurityRequirementsCommand.d.ts +53 -0
  139. package/dist-types/ts3.4/commands/ListThreatModelJobTasksCommand.d.ts +53 -0
  140. package/dist-types/ts3.4/commands/ListThreatModelJobsCommand.d.ts +53 -0
  141. package/dist-types/ts3.4/commands/ListThreatModelsCommand.d.ts +52 -0
  142. package/dist-types/ts3.4/commands/ListThreatsCommand.d.ts +49 -0
  143. package/dist-types/ts3.4/commands/StartThreatModelJobCommand.d.ts +53 -0
  144. package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +53 -0
  145. package/dist-types/ts3.4/commands/UpdatePrivateConnectionCertificateCommand.d.ts +53 -0
  146. package/dist-types/ts3.4/commands/UpdateSecurityRequirementPackCommand.d.ts +53 -0
  147. package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +49 -0
  148. package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +52 -0
  149. package/dist-types/ts3.4/commands/index.d.ts +31 -0
  150. package/dist-types/ts3.4/models/enums.d.ts +123 -0
  151. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  152. package/dist-types/ts3.4/models/models_0.d.ts +924 -0
  153. package/dist-types/ts3.4/pagination/ListPrivateConnectionsPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListSecurityRequirementPacksPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListSecurityRequirementsPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/ListThreatModelJobTasksPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/ListThreatModelJobsPaginator.d.ts +11 -0
  158. package/dist-types/ts3.4/pagination/ListThreatModelsPaginator.d.ts +11 -0
  159. package/dist-types/ts3.4/pagination/ListThreatsPaginator.d.ts +11 -0
  160. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  161. package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
  162. package/package.json +3 -3
@@ -0,0 +1,139 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateThreatInput, UpdateThreatOutput } 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 UpdateThreatCommand}.
14
+ */
15
+ export interface UpdateThreatCommandInput extends UpdateThreatInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateThreatCommand}.
21
+ */
22
+ export interface UpdateThreatCommandOutput extends UpdateThreatOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateThreatCommand_base: {
25
+ new (input: UpdateThreatCommandInput): import("@smithy/core/client").CommandImpl<UpdateThreatCommandInput, UpdateThreatCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateThreatCommandInput): import("@smithy/core/client").CommandImpl<UpdateThreatCommandInput, UpdateThreatCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates a threat.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, UpdateThreatCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, UpdateThreatCommand } = 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 = { // UpdateThreatInput
42
+ * threatId: "STRING_VALUE", // required
43
+ * agentSpaceId: "STRING_VALUE", // required
44
+ * title: "STRING_VALUE",
45
+ * status: "OPEN" || "RESOLVED" || "DISMISSED",
46
+ * comments: "STRING_VALUE",
47
+ * statement: "STRING_VALUE",
48
+ * severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFO",
49
+ * threatSource: "STRING_VALUE",
50
+ * prerequisites: "STRING_VALUE",
51
+ * threatAction: "STRING_VALUE",
52
+ * threatImpact: "STRING_VALUE",
53
+ * impactedGoal: [ // StringList
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * impactedAssets: [
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * anchor: { // ThreatAnchorShape
60
+ * kind: "STRING_VALUE",
61
+ * id: "STRING_VALUE",
62
+ * packageId: "STRING_VALUE",
63
+ * },
64
+ * evidence: [ // ThreatEvidenceList
65
+ * { // ThreatEvidenceShape
66
+ * packageId: "STRING_VALUE",
67
+ * path: "STRING_VALUE",
68
+ * },
69
+ * ],
70
+ * recommendation: "STRING_VALUE",
71
+ * };
72
+ * const command = new UpdateThreatCommand(input);
73
+ * const response = await client.send(command);
74
+ * // { // UpdateThreatOutput
75
+ * // threatId: "STRING_VALUE", // required
76
+ * // threatJobId: "STRING_VALUE", // required
77
+ * // title: "STRING_VALUE",
78
+ * // statement: "STRING_VALUE",
79
+ * // severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFO",
80
+ * // status: "OPEN" || "RESOLVED" || "DISMISSED",
81
+ * // comments: "STRING_VALUE",
82
+ * // stride: [ // StrideCategoryList
83
+ * // "SPOOFING" || "TAMPERING" || "REPUDIATION" || "INFORMATION_DISCLOSURE" || "DENIAL_OF_SERVICE" || "ELEVATION_OF_PRIVILEGE",
84
+ * // ],
85
+ * // threatSource: "STRING_VALUE",
86
+ * // prerequisites: "STRING_VALUE",
87
+ * // threatAction: "STRING_VALUE",
88
+ * // threatImpact: "STRING_VALUE",
89
+ * // impactedGoal: [ // StringList
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // impactedAssets: [
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // anchor: { // ThreatAnchorShape
96
+ * // kind: "STRING_VALUE",
97
+ * // id: "STRING_VALUE",
98
+ * // packageId: "STRING_VALUE",
99
+ * // },
100
+ * // evidence: [ // ThreatEvidenceList
101
+ * // { // ThreatEvidenceShape
102
+ * // packageId: "STRING_VALUE",
103
+ * // path: "STRING_VALUE",
104
+ * // },
105
+ * // ],
106
+ * // recommendation: "STRING_VALUE",
107
+ * // createdBy: "CUSTOMER" || "AGENT",
108
+ * // updatedBy: "CUSTOMER" || "AGENT",
109
+ * // createdAt: new Date("TIMESTAMP"),
110
+ * // updatedAt: new Date("TIMESTAMP"),
111
+ * // };
112
+ *
113
+ * ```
114
+ *
115
+ * @param UpdateThreatCommandInput - {@link UpdateThreatCommandInput}
116
+ * @returns {@link UpdateThreatCommandOutput}
117
+ * @see {@link UpdateThreatCommandInput} for command's `input` shape.
118
+ * @see {@link UpdateThreatCommandOutput} for command's `response` shape.
119
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
120
+ *
121
+ * @throws {@link SecurityAgentServiceException}
122
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
123
+ *
124
+ *
125
+ * @public
126
+ */
127
+ export declare class UpdateThreatCommand extends UpdateThreatCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: UpdateThreatInput;
132
+ output: UpdateThreatOutput;
133
+ };
134
+ sdk: {
135
+ input: UpdateThreatCommandInput;
136
+ output: UpdateThreatCommandOutput;
137
+ };
138
+ };
139
+ }
@@ -0,0 +1,196 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateThreatModelInput, UpdateThreatModelOutput } 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 UpdateThreatModelCommand}.
14
+ */
15
+ export interface UpdateThreatModelCommandInput extends UpdateThreatModelInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateThreatModelCommand}.
21
+ */
22
+ export interface UpdateThreatModelCommandOutput extends UpdateThreatModelOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateThreatModelCommand_base: {
25
+ new (input: UpdateThreatModelCommandInput): import("@smithy/core/client").CommandImpl<UpdateThreatModelCommandInput, UpdateThreatModelCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateThreatModelCommandInput): import("@smithy/core/client").CommandImpl<UpdateThreatModelCommandInput, UpdateThreatModelCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates an existing threat model configuration.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, UpdateThreatModelCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, UpdateThreatModelCommand } = 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 = { // UpdateThreatModelInput
42
+ * threatModelId: "STRING_VALUE", // required
43
+ * agentSpaceId: "STRING_VALUE", // required
44
+ * title: "STRING_VALUE",
45
+ * description: "STRING_VALUE",
46
+ * assets: { // Assets
47
+ * endpoints: [ // EndpointList
48
+ * { // Endpoint
49
+ * uri: "STRING_VALUE",
50
+ * },
51
+ * ],
52
+ * actors: [ // ActorList
53
+ * { // Actor
54
+ * identifier: "STRING_VALUE",
55
+ * uris: [ // UriList
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * authentication: { // Authentication
59
+ * providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
60
+ * value: "STRING_VALUE",
61
+ * },
62
+ * description: "STRING_VALUE",
63
+ * },
64
+ * ],
65
+ * documents: [ // DocumentList
66
+ * { // DocumentInfo
67
+ * s3Location: "STRING_VALUE",
68
+ * artifactId: "STRING_VALUE",
69
+ * integratedDocument: { // IntegratedDocument
70
+ * integrationId: "STRING_VALUE", // required
71
+ * resourceId: "STRING_VALUE", // required
72
+ * },
73
+ * },
74
+ * ],
75
+ * sourceCode: [ // SourceCodeRepositoryList
76
+ * { // SourceCodeRepository
77
+ * s3Location: "STRING_VALUE",
78
+ * },
79
+ * ],
80
+ * integratedRepositories: [ // IntegratedRepositoryList
81
+ * { // IntegratedRepository
82
+ * integrationId: "STRING_VALUE", // required
83
+ * providerResourceId: "STRING_VALUE", // required
84
+ * },
85
+ * ],
86
+ * },
87
+ * scopeDocs: [
88
+ * {
89
+ * s3Location: "STRING_VALUE",
90
+ * artifactId: "STRING_VALUE",
91
+ * integratedDocument: {
92
+ * integrationId: "STRING_VALUE", // required
93
+ * resourceId: "STRING_VALUE", // required
94
+ * },
95
+ * },
96
+ * ],
97
+ * serviceRole: "STRING_VALUE",
98
+ * logConfig: { // CloudWatchLog
99
+ * logGroup: "STRING_VALUE",
100
+ * logStream: "STRING_VALUE",
101
+ * },
102
+ * };
103
+ * const command = new UpdateThreatModelCommand(input);
104
+ * const response = await client.send(command);
105
+ * // { // UpdateThreatModelOutput
106
+ * // threatModelId: "STRING_VALUE", // required
107
+ * // title: "STRING_VALUE",
108
+ * // agentSpaceId: "STRING_VALUE",
109
+ * // description: "STRING_VALUE",
110
+ * // assets: { // Assets
111
+ * // endpoints: [ // EndpointList
112
+ * // { // Endpoint
113
+ * // uri: "STRING_VALUE",
114
+ * // },
115
+ * // ],
116
+ * // actors: [ // ActorList
117
+ * // { // Actor
118
+ * // identifier: "STRING_VALUE",
119
+ * // uris: [ // UriList
120
+ * // "STRING_VALUE",
121
+ * // ],
122
+ * // authentication: { // Authentication
123
+ * // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
124
+ * // value: "STRING_VALUE",
125
+ * // },
126
+ * // description: "STRING_VALUE",
127
+ * // },
128
+ * // ],
129
+ * // documents: [ // DocumentList
130
+ * // { // DocumentInfo
131
+ * // s3Location: "STRING_VALUE",
132
+ * // artifactId: "STRING_VALUE",
133
+ * // integratedDocument: { // IntegratedDocument
134
+ * // integrationId: "STRING_VALUE", // required
135
+ * // resourceId: "STRING_VALUE", // required
136
+ * // },
137
+ * // },
138
+ * // ],
139
+ * // sourceCode: [ // SourceCodeRepositoryList
140
+ * // { // SourceCodeRepository
141
+ * // s3Location: "STRING_VALUE",
142
+ * // },
143
+ * // ],
144
+ * // integratedRepositories: [ // IntegratedRepositoryList
145
+ * // { // IntegratedRepository
146
+ * // integrationId: "STRING_VALUE", // required
147
+ * // providerResourceId: "STRING_VALUE", // required
148
+ * // },
149
+ * // ],
150
+ * // },
151
+ * // scopeDocs: [
152
+ * // {
153
+ * // s3Location: "STRING_VALUE",
154
+ * // artifactId: "STRING_VALUE",
155
+ * // integratedDocument: {
156
+ * // integrationId: "STRING_VALUE", // required
157
+ * // resourceId: "STRING_VALUE", // required
158
+ * // },
159
+ * // },
160
+ * // ],
161
+ * // serviceRole: "STRING_VALUE",
162
+ * // logConfig: { // CloudWatchLog
163
+ * // logGroup: "STRING_VALUE",
164
+ * // logStream: "STRING_VALUE",
165
+ * // },
166
+ * // createdAt: new Date("TIMESTAMP"),
167
+ * // updatedAt: new Date("TIMESTAMP"),
168
+ * // };
169
+ *
170
+ * ```
171
+ *
172
+ * @param UpdateThreatModelCommandInput - {@link UpdateThreatModelCommandInput}
173
+ * @returns {@link UpdateThreatModelCommandOutput}
174
+ * @see {@link UpdateThreatModelCommandInput} for command's `input` shape.
175
+ * @see {@link UpdateThreatModelCommandOutput} for command's `response` shape.
176
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
177
+ *
178
+ * @throws {@link SecurityAgentServiceException}
179
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
180
+ *
181
+ *
182
+ * @public
183
+ */
184
+ export declare class UpdateThreatModelCommand extends UpdateThreatModelCommand_base {
185
+ /** @internal type navigation helper, not in runtime. */
186
+ protected static __types: {
187
+ api: {
188
+ input: UpdateThreatModelInput;
189
+ output: UpdateThreatModelOutput;
190
+ };
191
+ sdk: {
192
+ input: UpdateThreatModelCommandInput;
193
+ output: UpdateThreatModelCommandOutput;
194
+ };
195
+ };
196
+ }
@@ -1,6 +1,9 @@
1
1
  export * from "./AddArtifactCommand";
2
+ export * from "./BatchCreateSecurityRequirementsCommand";
2
3
  export * from "./BatchDeleteCodeReviewsCommand";
3
4
  export * from "./BatchDeletePentestsCommand";
5
+ export * from "./BatchDeleteSecurityRequirementsCommand";
6
+ export * from "./BatchDeleteThreatModelsCommand";
4
7
  export * from "./BatchGetAgentSpacesCommand";
5
8
  export * from "./BatchGetArtifactMetadataCommand";
6
9
  export * from "./BatchGetCodeReviewJobTasksCommand";
@@ -10,23 +13,38 @@ export * from "./BatchGetFindingsCommand";
10
13
  export * from "./BatchGetPentestJobTasksCommand";
11
14
  export * from "./BatchGetPentestJobsCommand";
12
15
  export * from "./BatchGetPentestsCommand";
16
+ export * from "./BatchGetSecurityRequirementsCommand";
13
17
  export * from "./BatchGetTargetDomainsCommand";
18
+ export * from "./BatchGetThreatModelJobTasksCommand";
19
+ export * from "./BatchGetThreatModelJobsCommand";
20
+ export * from "./BatchGetThreatModelsCommand";
21
+ export * from "./BatchGetThreatsCommand";
22
+ export * from "./BatchUpdateSecurityRequirementsCommand";
14
23
  export * from "./CreateAgentSpaceCommand";
15
24
  export * from "./CreateApplicationCommand";
16
25
  export * from "./CreateCodeReviewCommand";
17
26
  export * from "./CreateIntegrationCommand";
18
27
  export * from "./CreateMembershipCommand";
19
28
  export * from "./CreatePentestCommand";
29
+ export * from "./CreatePrivateConnectionCommand";
30
+ export * from "./CreateSecurityRequirementPackCommand";
20
31
  export * from "./CreateTargetDomainCommand";
32
+ export * from "./CreateThreatCommand";
33
+ export * from "./CreateThreatModelCommand";
21
34
  export * from "./DeleteAgentSpaceCommand";
22
35
  export * from "./DeleteApplicationCommand";
23
36
  export * from "./DeleteArtifactCommand";
24
37
  export * from "./DeleteIntegrationCommand";
25
38
  export * from "./DeleteMembershipCommand";
39
+ export * from "./DeletePrivateConnectionCommand";
40
+ export * from "./DeleteSecurityRequirementPackCommand";
26
41
  export * from "./DeleteTargetDomainCommand";
42
+ export * from "./DescribePrivateConnectionCommand";
27
43
  export * from "./GetApplicationCommand";
28
44
  export * from "./GetArtifactCommand";
29
45
  export * from "./GetIntegrationCommand";
46
+ export * from "./GetSecurityRequirementPackCommand";
47
+ export * from "./ImportSecurityRequirementsCommand";
30
48
  export * from "./InitiateProviderRegistrationCommand";
31
49
  export * from "./ListAgentSpacesCommand";
32
50
  export * from "./ListApplicationsCommand";
@@ -42,13 +60,22 @@ export * from "./ListMembershipsCommand";
42
60
  export * from "./ListPentestJobTasksCommand";
43
61
  export * from "./ListPentestJobsForPentestCommand";
44
62
  export * from "./ListPentestsCommand";
63
+ export * from "./ListPrivateConnectionsCommand";
64
+ export * from "./ListSecurityRequirementPacksCommand";
65
+ export * from "./ListSecurityRequirementsCommand";
45
66
  export * from "./ListTagsForResourceCommand";
46
67
  export * from "./ListTargetDomainsCommand";
68
+ export * from "./ListThreatModelJobTasksCommand";
69
+ export * from "./ListThreatModelJobsCommand";
70
+ export * from "./ListThreatModelsCommand";
71
+ export * from "./ListThreatsCommand";
47
72
  export * from "./StartCodeRemediationCommand";
48
73
  export * from "./StartCodeReviewJobCommand";
49
74
  export * from "./StartPentestJobCommand";
75
+ export * from "./StartThreatModelJobCommand";
50
76
  export * from "./StopCodeReviewJobCommand";
51
77
  export * from "./StopPentestJobCommand";
78
+ export * from "./StopThreatModelJobCommand";
52
79
  export * from "./TagResourceCommand";
53
80
  export * from "./UntagResourceCommand";
54
81
  export * from "./UpdateAgentSpaceCommand";
@@ -57,5 +84,9 @@ export * from "./UpdateCodeReviewCommand";
57
84
  export * from "./UpdateFindingCommand";
58
85
  export * from "./UpdateIntegratedResourcesCommand";
59
86
  export * from "./UpdatePentestCommand";
87
+ export * from "./UpdatePrivateConnectionCertificateCommand";
88
+ export * from "./UpdateSecurityRequirementPackCommand";
60
89
  export * from "./UpdateTargetDomainCommand";
90
+ export * from "./UpdateThreatCommand";
91
+ export * from "./UpdateThreatModelCommand";
61
92
  export * from "./VerifyTargetDomainCommand";