@aws-sdk/client-securityagent 3.1045.0 → 3.1046.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 (245) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  3. package/dist-cjs/endpoint/bdd.js +2 -2
  4. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  5. package/dist-cjs/index.js +308 -143
  6. package/dist-cjs/models/SecurityAgentServiceException.js +3 -3
  7. package/dist-cjs/runtimeConfig.browser.js +12 -14
  8. package/dist-cjs/runtimeConfig.js +18 -22
  9. package/dist-cjs/runtimeConfig.shared.js +9 -10
  10. package/dist-cjs/schemas/schemas_0.js +299 -24
  11. package/dist-es/SecurityAgent.js +29 -1
  12. package/dist-es/SecurityAgentClient.js +5 -5
  13. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  14. package/dist-es/commands/AddArtifactCommand.js +2 -2
  15. package/dist-es/commands/BatchDeleteCodeReviewsCommand.js +16 -0
  16. package/dist-es/commands/BatchDeletePentestsCommand.js +2 -2
  17. package/dist-es/commands/BatchGetAgentSpacesCommand.js +2 -2
  18. package/dist-es/commands/BatchGetArtifactMetadataCommand.js +2 -2
  19. package/dist-es/commands/BatchGetCodeReviewJobTasksCommand.js +16 -0
  20. package/dist-es/commands/BatchGetCodeReviewJobsCommand.js +16 -0
  21. package/dist-es/commands/BatchGetCodeReviewsCommand.js +16 -0
  22. package/dist-es/commands/BatchGetFindingsCommand.js +2 -2
  23. package/dist-es/commands/BatchGetPentestJobTasksCommand.js +2 -2
  24. package/dist-es/commands/BatchGetPentestJobsCommand.js +2 -2
  25. package/dist-es/commands/BatchGetPentestsCommand.js +2 -2
  26. package/dist-es/commands/BatchGetTargetDomainsCommand.js +2 -2
  27. package/dist-es/commands/CreateAgentSpaceCommand.js +2 -2
  28. package/dist-es/commands/CreateApplicationCommand.js +2 -2
  29. package/dist-es/commands/CreateCodeReviewCommand.js +16 -0
  30. package/dist-es/commands/CreateIntegrationCommand.js +2 -2
  31. package/dist-es/commands/CreateMembershipCommand.js +2 -2
  32. package/dist-es/commands/CreatePentestCommand.js +2 -2
  33. package/dist-es/commands/CreateTargetDomainCommand.js +2 -2
  34. package/dist-es/commands/DeleteAgentSpaceCommand.js +2 -2
  35. package/dist-es/commands/DeleteApplicationCommand.js +2 -2
  36. package/dist-es/commands/DeleteArtifactCommand.js +2 -2
  37. package/dist-es/commands/DeleteIntegrationCommand.js +2 -2
  38. package/dist-es/commands/DeleteMembershipCommand.js +2 -2
  39. package/dist-es/commands/DeleteTargetDomainCommand.js +2 -2
  40. package/dist-es/commands/GetApplicationCommand.js +2 -2
  41. package/dist-es/commands/GetArtifactCommand.js +2 -2
  42. package/dist-es/commands/GetIntegrationCommand.js +2 -2
  43. package/dist-es/commands/InitiateProviderRegistrationCommand.js +2 -2
  44. package/dist-es/commands/ListAgentSpacesCommand.js +2 -2
  45. package/dist-es/commands/ListApplicationsCommand.js +2 -2
  46. package/dist-es/commands/ListArtifactsCommand.js +2 -2
  47. package/dist-es/commands/ListCodeReviewJobTasksCommand.js +16 -0
  48. package/dist-es/commands/ListCodeReviewJobsForCodeReviewCommand.js +16 -0
  49. package/dist-es/commands/ListCodeReviewsCommand.js +16 -0
  50. package/dist-es/commands/ListDiscoveredEndpointsCommand.js +2 -2
  51. package/dist-es/commands/ListFindingsCommand.js +2 -2
  52. package/dist-es/commands/ListIntegratedResourcesCommand.js +2 -2
  53. package/dist-es/commands/ListIntegrationsCommand.js +2 -2
  54. package/dist-es/commands/ListMembershipsCommand.js +2 -2
  55. package/dist-es/commands/ListPentestJobTasksCommand.js +2 -2
  56. package/dist-es/commands/ListPentestJobsForPentestCommand.js +2 -2
  57. package/dist-es/commands/ListPentestsCommand.js +2 -2
  58. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  59. package/dist-es/commands/ListTargetDomainsCommand.js +2 -2
  60. package/dist-es/commands/StartCodeRemediationCommand.js +2 -2
  61. package/dist-es/commands/StartCodeReviewJobCommand.js +16 -0
  62. package/dist-es/commands/StartPentestJobCommand.js +2 -2
  63. package/dist-es/commands/StopCodeReviewJobCommand.js +16 -0
  64. package/dist-es/commands/StopPentestJobCommand.js +2 -2
  65. package/dist-es/commands/TagResourceCommand.js +2 -2
  66. package/dist-es/commands/UntagResourceCommand.js +2 -2
  67. package/dist-es/commands/UpdateAgentSpaceCommand.js +2 -2
  68. package/dist-es/commands/UpdateApplicationCommand.js +2 -2
  69. package/dist-es/commands/UpdateCodeReviewCommand.js +16 -0
  70. package/dist-es/commands/UpdateFindingCommand.js +2 -2
  71. package/dist-es/commands/UpdateIntegratedResourcesCommand.js +2 -2
  72. package/dist-es/commands/UpdatePentestCommand.js +2 -2
  73. package/dist-es/commands/UpdateTargetDomainCommand.js +2 -2
  74. package/dist-es/commands/VerifyTargetDomainCommand.js +2 -2
  75. package/dist-es/commands/index.js +11 -0
  76. package/dist-es/endpoint/bdd.js +1 -1
  77. package/dist-es/endpoint/endpointResolver.js +1 -1
  78. package/dist-es/models/SecurityAgentServiceException.js +1 -1
  79. package/dist-es/models/enums.js +26 -26
  80. package/dist-es/pagination/ListCodeReviewJobTasksPaginator.js +4 -0
  81. package/dist-es/pagination/ListCodeReviewJobsForCodeReviewPaginator.js +4 -0
  82. package/dist-es/pagination/ListCodeReviewsPaginator.js +4 -0
  83. package/dist-es/pagination/index.js +3 -0
  84. package/dist-es/runtimeConfig.browser.js +4 -6
  85. package/dist-es/runtimeConfig.js +4 -8
  86. package/dist-es/runtimeConfig.shared.js +3 -4
  87. package/dist-es/runtimeExtensions.js +2 -2
  88. package/dist-es/schemas/schemas_0.js +293 -19
  89. package/dist-types/SecurityAgent.d.ts +98 -0
  90. package/dist-types/SecurityAgentClient.d.ts +18 -7
  91. package/dist-types/commands/AddArtifactCommand.d.ts +6 -4
  92. package/dist-types/commands/BatchDeleteCodeReviewsCommand.d.ts +87 -0
  93. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +6 -4
  94. package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
  95. package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
  96. package/dist-types/commands/BatchGetCodeReviewJobTasksCommand.d.ts +108 -0
  97. package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +134 -0
  98. package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +133 -0
  99. package/dist-types/commands/BatchGetFindingsCommand.d.ts +16 -4
  100. package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
  101. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +6 -4
  102. package/dist-types/commands/BatchGetPentestsCommand.d.ts +6 -4
  103. package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
  104. package/dist-types/commands/CreateAgentSpaceCommand.d.ts +6 -4
  105. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -4
  106. package/dist-types/commands/CreateCodeReviewCommand.d.ts +167 -0
  107. package/dist-types/commands/CreateIntegrationCommand.d.ts +6 -4
  108. package/dist-types/commands/CreateMembershipCommand.d.ts +6 -4
  109. package/dist-types/commands/CreatePentestCommand.d.ts +6 -4
  110. package/dist-types/commands/CreateTargetDomainCommand.d.ts +6 -4
  111. package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +6 -4
  112. package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -4
  113. package/dist-types/commands/DeleteArtifactCommand.d.ts +6 -4
  114. package/dist-types/commands/DeleteIntegrationCommand.d.ts +6 -4
  115. package/dist-types/commands/DeleteMembershipCommand.d.ts +6 -4
  116. package/dist-types/commands/DeleteTargetDomainCommand.d.ts +6 -4
  117. package/dist-types/commands/GetApplicationCommand.d.ts +6 -4
  118. package/dist-types/commands/GetArtifactCommand.d.ts +6 -4
  119. package/dist-types/commands/GetIntegrationCommand.d.ts +6 -4
  120. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
  121. package/dist-types/commands/ListAgentSpacesCommand.d.ts +6 -4
  122. package/dist-types/commands/ListApplicationsCommand.d.ts +6 -4
  123. package/dist-types/commands/ListArtifactsCommand.d.ts +6 -4
  124. package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +94 -0
  125. package/dist-types/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +89 -0
  126. package/dist-types/commands/ListCodeReviewsCommand.d.ts +87 -0
  127. package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
  128. package/dist-types/commands/ListFindingsCommand.d.ts +10 -5
  129. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +6 -4
  130. package/dist-types/commands/ListIntegrationsCommand.d.ts +6 -4
  131. package/dist-types/commands/ListMembershipsCommand.d.ts +6 -4
  132. package/dist-types/commands/ListPentestJobTasksCommand.d.ts +6 -4
  133. package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
  134. package/dist-types/commands/ListPentestsCommand.d.ts +6 -4
  135. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  136. package/dist-types/commands/ListTargetDomainsCommand.d.ts +6 -4
  137. package/dist-types/commands/StartCodeRemediationCommand.d.ts +8 -5
  138. package/dist-types/commands/StartCodeReviewJobCommand.d.ts +83 -0
  139. package/dist-types/commands/StartPentestJobCommand.d.ts +6 -4
  140. package/dist-types/commands/StopCodeReviewJobCommand.d.ts +75 -0
  141. package/dist-types/commands/StopPentestJobCommand.d.ts +6 -4
  142. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  143. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  144. package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +6 -4
  145. package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -4
  146. package/dist-types/commands/UpdateCodeReviewCommand.d.ts +168 -0
  147. package/dist-types/commands/UpdateFindingCommand.d.ts +6 -4
  148. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
  149. package/dist-types/commands/UpdatePentestCommand.d.ts +6 -4
  150. package/dist-types/commands/UpdateTargetDomainCommand.d.ts +6 -4
  151. package/dist-types/commands/VerifyTargetDomainCommand.d.ts +6 -4
  152. package/dist-types/commands/index.d.ts +11 -0
  153. package/dist-types/endpoint/bdd.d.ts +1 -1
  154. package/dist-types/extensionConfiguration.d.ts +1 -1
  155. package/dist-types/models/SecurityAgentServiceException.d.ts +1 -1
  156. package/dist-types/models/enums.d.ts +58 -58
  157. package/dist-types/models/errors.d.ts +1 -1
  158. package/dist-types/models/models_0.d.ts +1015 -100
  159. package/dist-types/pagination/ListCodeReviewJobTasksPaginator.d.ts +7 -0
  160. package/dist-types/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +7 -0
  161. package/dist-types/pagination/ListCodeReviewsPaginator.d.ts +7 -0
  162. package/dist-types/pagination/index.d.ts +3 -0
  163. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  164. package/dist-types/runtimeConfig.d.ts +2 -2
  165. package/dist-types/runtimeConfig.native.d.ts +2 -2
  166. package/dist-types/schemas/schemas_0.d.ts +41 -0
  167. package/dist-types/ts3.4/SecurityAgent.d.ts +208 -0
  168. package/dist-types/ts3.4/SecurityAgentClient.d.ts +74 -14
  169. package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/BatchDeleteCodeReviewsCommand.d.ts +53 -0
  171. package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +6 -4
  172. package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
  173. package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
  174. package/dist-types/ts3.4/commands/BatchGetCodeReviewJobTasksCommand.d.ts +53 -0
  175. package/dist-types/ts3.4/commands/BatchGetCodeReviewJobsCommand.d.ts +53 -0
  176. package/dist-types/ts3.4/commands/BatchGetCodeReviewsCommand.d.ts +53 -0
  177. package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +6 -4
  178. package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +6 -4
  181. package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +52 -0
  185. package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +6 -4
  190. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +6 -4
  192. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +6 -4
  193. package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +6 -4
  194. package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +6 -4
  195. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +6 -4
  196. package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +6 -4
  197. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +6 -4
  198. package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +6 -4
  200. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +6 -4
  201. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +6 -4
  202. package/dist-types/ts3.4/commands/ListCodeReviewJobTasksCommand.d.ts +53 -0
  203. package/dist-types/ts3.4/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +53 -0
  204. package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +52 -0
  205. package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
  206. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +6 -4
  207. package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +6 -4
  208. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +6 -4
  209. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +6 -4
  210. package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +6 -4
  211. package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
  212. package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +6 -4
  213. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  214. package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +6 -4
  215. package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +6 -4
  216. package/dist-types/ts3.4/commands/StartCodeReviewJobCommand.d.ts +53 -0
  217. package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +6 -4
  218. package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +52 -0
  219. package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +6 -4
  220. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  221. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  222. package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +6 -4
  223. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +6 -4
  224. package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +52 -0
  225. package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +6 -4
  226. package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
  227. package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +6 -4
  228. package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +6 -4
  229. package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +6 -4
  230. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  231. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  232. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  233. package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -1
  234. package/dist-types/ts3.4/models/enums.d.ts +32 -32
  235. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  236. package/dist-types/ts3.4/models/models_0.d.ts +231 -25
  237. package/dist-types/ts3.4/pagination/ListCodeReviewJobTasksPaginator.d.ts +11 -0
  238. package/dist-types/ts3.4/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +11 -0
  239. package/dist-types/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +11 -0
  240. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  241. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  242. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  243. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  244. package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
  245. package/package.json +13 -34
@@ -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 { ListCodeReviewsInput, ListCodeReviewsOutput } 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 ListCodeReviewsCommand}.
14
+ */
15
+ export interface ListCodeReviewsCommandInput extends ListCodeReviewsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCodeReviewsCommand}.
21
+ */
22
+ export interface ListCodeReviewsCommandOutput extends ListCodeReviewsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListCodeReviewsCommand_base: {
25
+ new (input: ListCodeReviewsCommandInput): import("@smithy/core/client").CommandImpl<ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListCodeReviewsCommandInput): import("@smithy/core/client").CommandImpl<ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Returns a paginated list of code review summaries for the specified 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, ListCodeReviewsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, ListCodeReviewsCommand } = 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 = { // ListCodeReviewsInput
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * agentSpaceId: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new ListCodeReviewsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListCodeReviewsOutput
49
+ * // codeReviewSummaries: [ // CodeReviewSummaryList
50
+ * // { // CodeReviewSummary
51
+ * // codeReviewId: "STRING_VALUE", // required
52
+ * // agentSpaceId: "STRING_VALUE", // required
53
+ * // title: "STRING_VALUE", // required
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListCodeReviewsCommandInput - {@link ListCodeReviewsCommandInput}
64
+ * @returns {@link ListCodeReviewsCommandOutput}
65
+ * @see {@link ListCodeReviewsCommandInput} for command's `input` shape.
66
+ * @see {@link ListCodeReviewsCommandOutput} 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 ListCodeReviewsCommand extends ListCodeReviewsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: ListCodeReviewsInput;
80
+ output: ListCodeReviewsOutput;
81
+ };
82
+ sdk: {
83
+ input: ListCodeReviewsCommandInput;
84
+ output: ListCodeReviewsCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListDiscoveredEndpointsInput, ListDiscoveredEndpointsOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListDiscoveredEndpointsCommandInput extends ListDiscoveredEndpo
22
22
  export interface ListDiscoveredEndpointsCommandOutput extends ListDiscoveredEndpointsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListDiscoveredEndpointsCommand_base: {
25
- new (input: ListDiscoveredEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDiscoveredEndpointsCommandInput, ListDiscoveredEndpointsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListDiscoveredEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDiscoveredEndpointsCommandInput, ListDiscoveredEndpointsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListDiscoveredEndpointsCommandInput): import("@smithy/core/client").CommandImpl<ListDiscoveredEndpointsCommandInput, ListDiscoveredEndpointsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListDiscoveredEndpointsCommandInput): import("@smithy/core/client").CommandImpl<ListDiscoveredEndpointsCommandInput, ListDiscoveredEndpointsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a paginated list of endpoints discovered during a pentest job execution.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListFindingsInput, ListFindingsOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListFindingsCommandInput extends ListFindingsInput {
22
22
  export interface ListFindingsCommandOutput extends ListFindingsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListFindingsCommand_base: {
25
- new (input: ListFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFindingsCommandInput, ListFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFindingsCommandInput, ListFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListFindingsCommandInput, ListFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListFindingsCommandInput, ListFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Lists the security findings for a pentest job.</p>
@@ -38,7 +40,8 @@ declare const ListFindingsCommand_base: {
38
40
  * const client = new SecurityAgentClient(config);
39
41
  * const input = { // ListFindingsInput
40
42
  * maxResults: Number("int"),
41
- * pentestJobId: "STRING_VALUE", // required
43
+ * pentestJobId: "STRING_VALUE",
44
+ * codeReviewJobId: "STRING_VALUE",
42
45
  * agentSpaceId: "STRING_VALUE", // required
43
46
  * nextToken: "STRING_VALUE",
44
47
  * riskType: "STRING_VALUE",
@@ -56,6 +59,8 @@ declare const ListFindingsCommand_base: {
56
59
  * // agentSpaceId: "STRING_VALUE", // required
57
60
  * // pentestId: "STRING_VALUE",
58
61
  * // pentestJobId: "STRING_VALUE",
62
+ * // codeReviewId: "STRING_VALUE",
63
+ * // codeReviewJobId: "STRING_VALUE",
59
64
  * // name: "STRING_VALUE",
60
65
  * // status: "ACTIVE" || "RESOLVED" || "ACCEPTED" || "FALSE_POSITIVE",
61
66
  * // riskType: "STRING_VALUE",
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListIntegratedResourcesInput, ListIntegratedResourcesOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListIntegratedResourcesCommandInput extends ListIntegratedResou
22
22
  export interface ListIntegratedResourcesCommandOutput extends ListIntegratedResourcesOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListIntegratedResourcesCommand_base: {
25
- new (input: ListIntegratedResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListIntegratedResourcesCommandInput, ListIntegratedResourcesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListIntegratedResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListIntegratedResourcesCommandInput, ListIntegratedResourcesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListIntegratedResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListIntegratedResourcesCommandInput, ListIntegratedResourcesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListIntegratedResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListIntegratedResourcesCommandInput, ListIntegratedResourcesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Lists the integrated resources for an agent space, optionally filtered by integration or resource type.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListIntegrationsInput, ListIntegrationsOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListIntegrationsCommandInput extends ListIntegrationsInput {
22
22
  export interface ListIntegrationsCommandOutput extends ListIntegrationsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListIntegrationsCommand_base: {
25
- new (input: ListIntegrationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListIntegrationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListIntegrationsCommandInput): import("@smithy/core/client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListIntegrationsCommandInput]): import("@smithy/core/client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Lists the integrations in your account, optionally filtered by provider or provider type.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListMembershipsRequest, ListMembershipsResponse } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListMembershipsCommandInput extends ListMembershipsRequest {
22
22
  export interface ListMembershipsCommandOutput extends ListMembershipsResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ListMembershipsCommand_base: {
25
- new (input: ListMembershipsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListMembershipsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListMembershipsCommandInput): import("@smithy/core/client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListMembershipsCommandInput): import("@smithy/core/client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a paginated list of membership summaries for the specified agent space within an application.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListPentestJobTasksInput, ListPentestJobTasksOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListPentestJobTasksCommandInput extends ListPentestJobTasksInpu
22
22
  export interface ListPentestJobTasksCommandOutput extends ListPentestJobTasksOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListPentestJobTasksCommand_base: {
25
- new (input: ListPentestJobTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobTasksCommandInput, ListPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListPentestJobTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobTasksCommandInput, ListPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListPentestJobTasksCommandInput): import("@smithy/core/client").CommandImpl<ListPentestJobTasksCommandInput, ListPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListPentestJobTasksCommandInput): import("@smithy/core/client").CommandImpl<ListPentestJobTasksCommandInput, ListPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListPentestJobsForPentestInput, ListPentestJobsForPentestOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListPentestJobsForPentestCommandInput extends ListPentestJobsFo
22
22
  export interface ListPentestJobsForPentestCommandOutput extends ListPentestJobsForPentestOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListPentestJobsForPentestCommand_base: {
25
- new (input: ListPentestJobsForPentestCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobsForPentestCommandInput, ListPentestJobsForPentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListPentestJobsForPentestCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestJobsForPentestCommandInput, ListPentestJobsForPentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListPentestJobsForPentestCommandInput): import("@smithy/core/client").CommandImpl<ListPentestJobsForPentestCommandInput, ListPentestJobsForPentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListPentestJobsForPentestCommandInput): import("@smithy/core/client").CommandImpl<ListPentestJobsForPentestCommandInput, ListPentestJobsForPentestCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a paginated list of pentest job summaries for the specified pentest configuration.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListPentestsInput, ListPentestsOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListPentestsCommandInput extends ListPentestsInput {
22
22
  export interface ListPentestsCommandOutput extends ListPentestsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListPentestsCommand_base: {
25
- new (input: ListPentestsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestsCommandInput, ListPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListPentestsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPentestsCommandInput, ListPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListPentestsCommandInput): import("@smithy/core/client").CommandImpl<ListPentestsCommandInput, ListPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListPentestsCommandInput): import("@smithy/core/client").CommandImpl<ListPentestsCommandInput, ListPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a paginated list of pentest summaries for the specified agent space.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInpu
22
22
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListTagsForResourceCommand_base: {
25
- new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns the tags associated with the specified resource.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ListTargetDomainsInput, ListTargetDomainsOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface ListTargetDomainsCommandInput extends ListTargetDomainsInput {
22
22
  export interface ListTargetDomainsCommandOutput extends ListTargetDomainsOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ListTargetDomainsCommand_base: {
25
- new (input: ListTargetDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListTargetDomainsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListTargetDomainsCommandInput): import("@smithy/core/client").CommandImpl<ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTargetDomainsCommandInput]): import("@smithy/core/client").CommandImpl<ListTargetDomainsCommandInput, ListTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a paginated list of target domain summaries in your account.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { StartCodeRemediationInput, StartCodeRemediationOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface StartCodeRemediationCommandInput extends StartCodeRemediationIn
22
22
  export interface StartCodeRemediationCommandOutput extends StartCodeRemediationOutput, __MetadataBearer {
23
23
  }
24
24
  declare const StartCodeRemediationCommand_base: {
25
- new (input: StartCodeRemediationCommandInput): import("@smithy/smithy-client").CommandImpl<StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartCodeRemediationCommandInput): import("@smithy/smithy-client").CommandImpl<StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: StartCodeRemediationCommandInput): import("@smithy/core/client").CommandImpl<StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartCodeRemediationCommandInput): import("@smithy/core/client").CommandImpl<StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.</p>
@@ -38,7 +40,8 @@ declare const StartCodeRemediationCommand_base: {
38
40
  * const client = new SecurityAgentClient(config);
39
41
  * const input = { // StartCodeRemediationInput
40
42
  * agentSpaceId: "STRING_VALUE", // required
41
- * pentestJobId: "STRING_VALUE", // required
43
+ * pentestJobId: "STRING_VALUE",
44
+ * codeReviewJobId: "STRING_VALUE",
42
45
  * findingIds: [ // FindingIdList // required
43
46
  * "STRING_VALUE",
44
47
  * ],
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StartCodeReviewJobInput, StartCodeReviewJobOutput } 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 StartCodeReviewJobCommand}.
14
+ */
15
+ export interface StartCodeReviewJobCommandInput extends StartCodeReviewJobInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartCodeReviewJobCommand}.
21
+ */
22
+ export interface StartCodeReviewJobCommandOutput extends StartCodeReviewJobOutput, __MetadataBearer {
23
+ }
24
+ declare const StartCodeReviewJobCommand_base: {
25
+ new (input: StartCodeReviewJobCommandInput): import("@smithy/core/client").CommandImpl<StartCodeReviewJobCommandInput, StartCodeReviewJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartCodeReviewJobCommandInput): import("@smithy/core/client").CommandImpl<StartCodeReviewJobCommandInput, StartCodeReviewJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Starts a new code review job for a code review configuration. The job executes the security-focused code analysis defined in the code review.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, StartCodeReviewJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, StartCodeReviewJobCommand } = 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 = { // StartCodeReviewJobInput
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * codeReviewId: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new StartCodeReviewJobCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartCodeReviewJobOutput
48
+ * // title: "STRING_VALUE",
49
+ * // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
50
+ * // createdAt: new Date("TIMESTAMP"),
51
+ * // updatedAt: new Date("TIMESTAMP"),
52
+ * // codeReviewId: "STRING_VALUE", // required
53
+ * // codeReviewJobId: "STRING_VALUE", // required
54
+ * // agentSpaceId: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param StartCodeReviewJobCommandInput - {@link StartCodeReviewJobCommandInput}
60
+ * @returns {@link StartCodeReviewJobCommandOutput}
61
+ * @see {@link StartCodeReviewJobCommandInput} for command's `input` shape.
62
+ * @see {@link StartCodeReviewJobCommandOutput} for command's `response` shape.
63
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
64
+ *
65
+ * @throws {@link SecurityAgentServiceException}
66
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class StartCodeReviewJobCommand extends StartCodeReviewJobCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: StartCodeReviewJobInput;
76
+ output: StartCodeReviewJobOutput;
77
+ };
78
+ sdk: {
79
+ input: StartCodeReviewJobCommandInput;
80
+ output: StartCodeReviewJobCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { StartPentestJobInput, StartPentestJobOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface StartPentestJobCommandInput extends StartPentestJobInput {
22
22
  export interface StartPentestJobCommandOutput extends StartPentestJobOutput, __MetadataBearer {
23
23
  }
24
24
  declare const StartPentestJobCommand_base: {
25
- new (input: StartPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPentestJobCommandInput, StartPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPentestJobCommandInput, StartPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: StartPentestJobCommandInput): import("@smithy/core/client").CommandImpl<StartPentestJobCommandInput, StartPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartPentestJobCommandInput): import("@smithy/core/client").CommandImpl<StartPentestJobCommandInput, StartPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.</p>
@@ -0,0 +1,75 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StopCodeReviewJobInput, StopCodeReviewJobOutput } 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 StopCodeReviewJobCommand}.
14
+ */
15
+ export interface StopCodeReviewJobCommandInput extends StopCodeReviewJobInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopCodeReviewJobCommand}.
21
+ */
22
+ export interface StopCodeReviewJobCommandOutput extends StopCodeReviewJobOutput, __MetadataBearer {
23
+ }
24
+ declare const StopCodeReviewJobCommand_base: {
25
+ new (input: StopCodeReviewJobCommandInput): import("@smithy/core/client").CommandImpl<StopCodeReviewJobCommandInput, StopCodeReviewJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopCodeReviewJobCommandInput): import("@smithy/core/client").CommandImpl<StopCodeReviewJobCommandInput, StopCodeReviewJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Stops a running code review job. The job transitions to a stopping state and then to stopped after cleanup completes.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, StopCodeReviewJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, StopCodeReviewJobCommand } = 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 = { // StopCodeReviewJobInput
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * codeReviewJobId: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new StopCodeReviewJobCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param StopCodeReviewJobCommandInput - {@link StopCodeReviewJobCommandInput}
52
+ * @returns {@link StopCodeReviewJobCommandOutput}
53
+ * @see {@link StopCodeReviewJobCommandInput} for command's `input` shape.
54
+ * @see {@link StopCodeReviewJobCommandOutput} for command's `response` shape.
55
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
56
+ *
57
+ * @throws {@link SecurityAgentServiceException}
58
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
59
+ *
60
+ *
61
+ * @public
62
+ */
63
+ export declare class StopCodeReviewJobCommand extends StopCodeReviewJobCommand_base {
64
+ /** @internal type navigation helper, not in runtime. */
65
+ protected static __types: {
66
+ api: {
67
+ input: StopCodeReviewJobInput;
68
+ output: {};
69
+ };
70
+ sdk: {
71
+ input: StopCodeReviewJobCommandInput;
72
+ output: StopCodeReviewJobCommandOutput;
73
+ };
74
+ };
75
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { StopPentestJobInput, StopPentestJobOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface StopPentestJobCommandInput extends StopPentestJobInput {
22
22
  export interface StopPentestJobCommandOutput extends StopPentestJobOutput, __MetadataBearer {
23
23
  }
24
24
  declare const StopPentestJobCommand_base: {
25
- new (input: StopPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopPentestJobCommandInput, StopPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StopPentestJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopPentestJobCommandInput, StopPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: StopPentestJobCommandInput): import("@smithy/core/client").CommandImpl<StopPentestJobCommandInput, StopPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopPentestJobCommandInput): import("@smithy/core/client").CommandImpl<StopPentestJobCommandInput, StopPentestJobCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { TagResourceInput, TagResourceOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface TagResourceCommandInput extends TagResourceInput {
22
22
  export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
23
23
  }
24
24
  declare const TagResourceCommand_base: {
25
- new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Adds tags to a resource.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
4
4
  import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
@@ -22,9 +22,11 @@ export interface UntagResourceCommandInput extends UntagResourceInput {
22
22
  export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
23
23
  }
24
24
  declare const UntagResourceCommand_base: {
25
- new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Removes tags from a resource.</p>