@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
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListPentests$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListTargetDomains$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StartCodeRemediation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StartCodeReviewJob$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StartCodeReviewJobCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "StartCodeReviewJob", {})
13
+ .n("SecurityAgentClient", "StartCodeReviewJobCommand")
14
+ .sc(StartCodeReviewJob$)
15
+ .build() {
16
+ }
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StartPentestJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StopCodeReviewJob$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StopCodeReviewJobCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "StopCodeReviewJob", {})
13
+ .n("SecurityAgentClient", "StopCodeReviewJobCommand")
14
+ .sc(StopCodeReviewJob$)
15
+ .build() {
16
+ }
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StopPentestJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateAgentSpace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateApplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateCodeReview$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateCodeReviewCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UpdateCodeReview", {})
13
+ .n("SecurityAgentClient", "UpdateCodeReviewCommand")
14
+ .sc(UpdateCodeReview$)
15
+ .build() {
16
+ }
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateFinding$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateIntegratedResources$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdatePentest$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateTargetDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { VerifyTargetDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,7 +1,11 @@
1
1
  export * from "./AddArtifactCommand";
2
+ export * from "./BatchDeleteCodeReviewsCommand";
2
3
  export * from "./BatchDeletePentestsCommand";
3
4
  export * from "./BatchGetAgentSpacesCommand";
4
5
  export * from "./BatchGetArtifactMetadataCommand";
6
+ export * from "./BatchGetCodeReviewJobTasksCommand";
7
+ export * from "./BatchGetCodeReviewJobsCommand";
8
+ export * from "./BatchGetCodeReviewsCommand";
5
9
  export * from "./BatchGetFindingsCommand";
6
10
  export * from "./BatchGetPentestJobTasksCommand";
7
11
  export * from "./BatchGetPentestJobsCommand";
@@ -9,6 +13,7 @@ export * from "./BatchGetPentestsCommand";
9
13
  export * from "./BatchGetTargetDomainsCommand";
10
14
  export * from "./CreateAgentSpaceCommand";
11
15
  export * from "./CreateApplicationCommand";
16
+ export * from "./CreateCodeReviewCommand";
12
17
  export * from "./CreateIntegrationCommand";
13
18
  export * from "./CreateMembershipCommand";
14
19
  export * from "./CreatePentestCommand";
@@ -26,6 +31,9 @@ export * from "./InitiateProviderRegistrationCommand";
26
31
  export * from "./ListAgentSpacesCommand";
27
32
  export * from "./ListApplicationsCommand";
28
33
  export * from "./ListArtifactsCommand";
34
+ export * from "./ListCodeReviewJobTasksCommand";
35
+ export * from "./ListCodeReviewJobsForCodeReviewCommand";
36
+ export * from "./ListCodeReviewsCommand";
29
37
  export * from "./ListDiscoveredEndpointsCommand";
30
38
  export * from "./ListFindingsCommand";
31
39
  export * from "./ListIntegratedResourcesCommand";
@@ -37,12 +45,15 @@ export * from "./ListPentestsCommand";
37
45
  export * from "./ListTagsForResourceCommand";
38
46
  export * from "./ListTargetDomainsCommand";
39
47
  export * from "./StartCodeRemediationCommand";
48
+ export * from "./StartCodeReviewJobCommand";
40
49
  export * from "./StartPentestJobCommand";
50
+ export * from "./StopCodeReviewJobCommand";
41
51
  export * from "./StopPentestJobCommand";
42
52
  export * from "./TagResourceCommand";
43
53
  export * from "./UntagResourceCommand";
44
54
  export * from "./UpdateAgentSpaceCommand";
45
55
  export * from "./UpdateApplicationCommand";
56
+ export * from "./UpdateCodeReviewCommand";
46
57
  export * from "./UpdateFindingCommand";
47
58
  export * from "./UpdateIntegratedResourcesCommand";
48
59
  export * from "./UpdatePentestCommand";
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
3
3
  const _data = {
4
4
  conditions: [
@@ -1,5 +1,5 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class SecurityAgentServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -60,32 +60,6 @@ export const NetworkTrafficRuleEffect = {
60
60
  export const NetworkTrafficRuleType = {
61
61
  URL: "URL",
62
62
  };
63
- export const CodeRemediationTaskStatus = {
64
- COMPLETED: "COMPLETED",
65
- FAILED: "FAILED",
66
- IN_PROGRESS: "IN_PROGRESS",
67
- };
68
- export const ConfidenceLevel = {
69
- FALSE_POSITIVE: "FALSE_POSITIVE",
70
- HIGH: "HIGH",
71
- LOW: "LOW",
72
- MEDIUM: "MEDIUM",
73
- UNCONFIRMED: "UNCONFIRMED",
74
- };
75
- export const RiskLevel = {
76
- CRITICAL: "CRITICAL",
77
- HIGH: "HIGH",
78
- INFORMATIONAL: "INFORMATIONAL",
79
- LOW: "LOW",
80
- MEDIUM: "MEDIUM",
81
- UNKNOWN: "UNKNOWN",
82
- };
83
- export const FindingStatus = {
84
- ACCEPTED: "ACCEPTED",
85
- ACTIVE: "ACTIVE",
86
- FALSE_POSITIVE: "FALSE_POSITIVE",
87
- RESOLVED: "RESOLVED",
88
- };
89
63
  export const ErrorCode = {
90
64
  CLIENT_ERROR: "CLIENT_ERROR",
91
65
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -127,6 +101,32 @@ export const TaskExecutionStatus = {
127
101
  export const LogType = {
128
102
  CLOUDWATCH: "CLOUDWATCH",
129
103
  };
104
+ export const CodeRemediationTaskStatus = {
105
+ COMPLETED: "COMPLETED",
106
+ FAILED: "FAILED",
107
+ IN_PROGRESS: "IN_PROGRESS",
108
+ };
109
+ export const ConfidenceLevel = {
110
+ FALSE_POSITIVE: "FALSE_POSITIVE",
111
+ HIGH: "HIGH",
112
+ LOW: "LOW",
113
+ MEDIUM: "MEDIUM",
114
+ UNCONFIRMED: "UNCONFIRMED",
115
+ };
116
+ export const RiskLevel = {
117
+ CRITICAL: "CRITICAL",
118
+ HIGH: "HIGH",
119
+ INFORMATIONAL: "INFORMATIONAL",
120
+ LOW: "LOW",
121
+ MEDIUM: "MEDIUM",
122
+ UNKNOWN: "UNKNOWN",
123
+ };
124
+ export const FindingStatus = {
125
+ ACCEPTED: "ACCEPTED",
126
+ ACTIVE: "ACTIVE",
127
+ FALSE_POSITIVE: "FALSE_POSITIVE",
128
+ RESOLVED: "RESOLVED",
129
+ };
130
130
  export const DNSRecordType = {
131
131
  TXT: "TXT",
132
132
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListCodeReviewJobTasksCommand, } from "../commands/ListCodeReviewJobTasksCommand";
3
+ import { SecurityAgentClient } from "../SecurityAgentClient";
4
+ export const paginateListCodeReviewJobTasks = createPaginator(SecurityAgentClient, ListCodeReviewJobTasksCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListCodeReviewJobsForCodeReviewCommand, } from "../commands/ListCodeReviewJobsForCodeReviewCommand";
3
+ import { SecurityAgentClient } from "../SecurityAgentClient";
4
+ export const paginateListCodeReviewJobsForCodeReview = createPaginator(SecurityAgentClient, ListCodeReviewJobsForCodeReviewCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListCodeReviewsCommand, } from "../commands/ListCodeReviewsCommand";
3
+ import { SecurityAgentClient } from "../SecurityAgentClient";
4
+ export const paginateListCodeReviews = createPaginator(SecurityAgentClient, ListCodeReviewsCommand, "nextToken", "nextToken", "maxResults");
@@ -2,6 +2,9 @@ export * from "./Interfaces";
2
2
  export * from "./ListAgentSpacesPaginator";
3
3
  export * from "./ListApplicationsPaginator";
4
4
  export * from "./ListArtifactsPaginator";
5
+ export * from "./ListCodeReviewJobsForCodeReviewPaginator";
6
+ export * from "./ListCodeReviewJobTasksPaginator";
7
+ export * from "./ListCodeReviewsPaginator";
5
8
  export * from "./ListDiscoveredEndpointsPaginator";
6
9
  export * from "./ListFindingsPaginator";
7
10
  export * from "./ListIntegratedResourcesPaginator";
@@ -1,13 +1,11 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
4
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
5
8
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
- import { invalidProvider } from "@smithy/invalid-dependency";
7
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
10
  export const getRuntimeConfig = (config) => {
13
11
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
- import { Hash } from "@smithy/hash-node";
8
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
9
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
6
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
+ import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
9
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
10
10
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
12
- import { calculateBodyLength } from "@smithy/util-body-length-node";
13
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
14
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
15
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
12
  export const getRuntimeConfig = (config) => {
17
13
  emitWarningIfUnsupportedVersion(process.version);
@@ -1,9 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
- import { NoOpLogger } from "@smithy/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
6
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { NoOpLogger } from "@smithy/core/client";
4
+ import { parseUrl } from "@smithy/core/protocols";
5
+ import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
7
6
  import { defaultSecurityAgentHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
7
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
8
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));