@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
package/dist-cjs/index.js CHANGED
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
18
  var errors = require('./models/errors');
20
19
  var SecurityAgentServiceException = require('./models/SecurityAgentServiceException');
@@ -71,12 +70,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
71
70
  };
72
71
 
73
72
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
73
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
74
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
75
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
76
  };
78
77
 
79
- class SecurityAgentClient extends smithyClient.Client {
78
+ class SecurityAgentClient extends client.Client {
80
79
  config;
81
80
  constructor(...[configuration]) {
82
81
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -84,17 +83,17 @@ class SecurityAgentClient extends smithyClient.Client {
84
83
  this.initConfig = _config_0;
85
84
  const _config_1 = resolveClientEndpointParameters(_config_0);
86
85
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
86
+ const _config_3 = retry.resolveRetryConfig(_config_2);
87
+ const _config_4 = config.resolveRegionConfig(_config_3);
89
88
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
89
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
94
93
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
95
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
99
98
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
100
99
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -111,11 +110,11 @@ class SecurityAgentClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class AddArtifactCommand extends smithyClient.Command
113
+ class AddArtifactCommand extends client.Command
115
114
  .classBuilder()
116
115
  .ep(commonParams)
117
116
  .m(function (Command, cs, config, o) {
118
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
117
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
118
  })
120
119
  .s("SecurityAgent", "AddArtifact", {})
121
120
  .n("SecurityAgentClient", "AddArtifactCommand")
@@ -123,11 +122,23 @@ class AddArtifactCommand extends smithyClient.Command
123
122
  .build() {
124
123
  }
125
124
 
126
- class BatchDeletePentestsCommand extends smithyClient.Command
125
+ class BatchDeleteCodeReviewsCommand extends client.Command
127
126
  .classBuilder()
128
127
  .ep(commonParams)
129
128
  .m(function (Command, cs, config, o) {
130
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
129
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
130
+ })
131
+ .s("SecurityAgent", "BatchDeleteCodeReviews", {})
132
+ .n("SecurityAgentClient", "BatchDeleteCodeReviewsCommand")
133
+ .sc(schemas_0.BatchDeleteCodeReviews$)
134
+ .build() {
135
+ }
136
+
137
+ class BatchDeletePentestsCommand extends client.Command
138
+ .classBuilder()
139
+ .ep(commonParams)
140
+ .m(function (Command, cs, config, o) {
141
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
142
  })
132
143
  .s("SecurityAgent", "BatchDeletePentests", {})
133
144
  .n("SecurityAgentClient", "BatchDeletePentestsCommand")
@@ -135,11 +146,11 @@ class BatchDeletePentestsCommand extends smithyClient.Command
135
146
  .build() {
136
147
  }
137
148
 
138
- class BatchGetAgentSpacesCommand extends smithyClient.Command
149
+ class BatchGetAgentSpacesCommand extends client.Command
139
150
  .classBuilder()
140
151
  .ep(commonParams)
141
152
  .m(function (Command, cs, config, o) {
142
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
153
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
154
  })
144
155
  .s("SecurityAgent", "BatchGetAgentSpaces", {})
145
156
  .n("SecurityAgentClient", "BatchGetAgentSpacesCommand")
@@ -147,11 +158,11 @@ class BatchGetAgentSpacesCommand extends smithyClient.Command
147
158
  .build() {
148
159
  }
149
160
 
150
- class BatchGetArtifactMetadataCommand extends smithyClient.Command
161
+ class BatchGetArtifactMetadataCommand extends client.Command
151
162
  .classBuilder()
152
163
  .ep(commonParams)
153
164
  .m(function (Command, cs, config, o) {
154
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
165
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
166
  })
156
167
  .s("SecurityAgent", "BatchGetArtifactMetadata", {})
157
168
  .n("SecurityAgentClient", "BatchGetArtifactMetadataCommand")
@@ -159,11 +170,47 @@ class BatchGetArtifactMetadataCommand extends smithyClient.Command
159
170
  .build() {
160
171
  }
161
172
 
162
- class BatchGetFindingsCommand extends smithyClient.Command
173
+ class BatchGetCodeReviewJobsCommand extends client.Command
163
174
  .classBuilder()
164
175
  .ep(commonParams)
165
176
  .m(function (Command, cs, config, o) {
166
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
177
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
178
+ })
179
+ .s("SecurityAgent", "BatchGetCodeReviewJobs", {})
180
+ .n("SecurityAgentClient", "BatchGetCodeReviewJobsCommand")
181
+ .sc(schemas_0.BatchGetCodeReviewJobs$)
182
+ .build() {
183
+ }
184
+
185
+ class BatchGetCodeReviewJobTasksCommand extends client.Command
186
+ .classBuilder()
187
+ .ep(commonParams)
188
+ .m(function (Command, cs, config, o) {
189
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
190
+ })
191
+ .s("SecurityAgent", "BatchGetCodeReviewJobTasks", {})
192
+ .n("SecurityAgentClient", "BatchGetCodeReviewJobTasksCommand")
193
+ .sc(schemas_0.BatchGetCodeReviewJobTasks$)
194
+ .build() {
195
+ }
196
+
197
+ class BatchGetCodeReviewsCommand extends client.Command
198
+ .classBuilder()
199
+ .ep(commonParams)
200
+ .m(function (Command, cs, config, o) {
201
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
202
+ })
203
+ .s("SecurityAgent", "BatchGetCodeReviews", {})
204
+ .n("SecurityAgentClient", "BatchGetCodeReviewsCommand")
205
+ .sc(schemas_0.BatchGetCodeReviews$)
206
+ .build() {
207
+ }
208
+
209
+ class BatchGetFindingsCommand extends client.Command
210
+ .classBuilder()
211
+ .ep(commonParams)
212
+ .m(function (Command, cs, config, o) {
213
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
167
214
  })
168
215
  .s("SecurityAgent", "BatchGetFindings", {})
169
216
  .n("SecurityAgentClient", "BatchGetFindingsCommand")
@@ -171,11 +218,11 @@ class BatchGetFindingsCommand extends smithyClient.Command
171
218
  .build() {
172
219
  }
173
220
 
174
- class BatchGetPentestJobsCommand extends smithyClient.Command
221
+ class BatchGetPentestJobsCommand extends client.Command
175
222
  .classBuilder()
176
223
  .ep(commonParams)
177
224
  .m(function (Command, cs, config, o) {
178
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
225
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
226
  })
180
227
  .s("SecurityAgent", "BatchGetPentestJobs", {})
181
228
  .n("SecurityAgentClient", "BatchGetPentestJobsCommand")
@@ -183,11 +230,11 @@ class BatchGetPentestJobsCommand extends smithyClient.Command
183
230
  .build() {
184
231
  }
185
232
 
186
- class BatchGetPentestJobTasksCommand extends smithyClient.Command
233
+ class BatchGetPentestJobTasksCommand extends client.Command
187
234
  .classBuilder()
188
235
  .ep(commonParams)
189
236
  .m(function (Command, cs, config, o) {
190
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
237
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
191
238
  })
192
239
  .s("SecurityAgent", "BatchGetPentestJobTasks", {})
193
240
  .n("SecurityAgentClient", "BatchGetPentestJobTasksCommand")
@@ -195,11 +242,11 @@ class BatchGetPentestJobTasksCommand extends smithyClient.Command
195
242
  .build() {
196
243
  }
197
244
 
198
- class BatchGetPentestsCommand extends smithyClient.Command
245
+ class BatchGetPentestsCommand extends client.Command
199
246
  .classBuilder()
200
247
  .ep(commonParams)
201
248
  .m(function (Command, cs, config, o) {
202
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
249
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
203
250
  })
204
251
  .s("SecurityAgent", "BatchGetPentests", {})
205
252
  .n("SecurityAgentClient", "BatchGetPentestsCommand")
@@ -207,11 +254,11 @@ class BatchGetPentestsCommand extends smithyClient.Command
207
254
  .build() {
208
255
  }
209
256
 
210
- class BatchGetTargetDomainsCommand extends smithyClient.Command
257
+ class BatchGetTargetDomainsCommand extends client.Command
211
258
  .classBuilder()
212
259
  .ep(commonParams)
213
260
  .m(function (Command, cs, config, o) {
214
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
261
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
262
  })
216
263
  .s("SecurityAgent", "BatchGetTargetDomains", {})
217
264
  .n("SecurityAgentClient", "BatchGetTargetDomainsCommand")
@@ -219,11 +266,11 @@ class BatchGetTargetDomainsCommand extends smithyClient.Command
219
266
  .build() {
220
267
  }
221
268
 
222
- class CreateAgentSpaceCommand extends smithyClient.Command
269
+ class CreateAgentSpaceCommand extends client.Command
223
270
  .classBuilder()
224
271
  .ep(commonParams)
225
272
  .m(function (Command, cs, config, o) {
226
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
273
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
227
274
  })
228
275
  .s("SecurityAgent", "CreateAgentSpace", {})
229
276
  .n("SecurityAgentClient", "CreateAgentSpaceCommand")
@@ -231,11 +278,11 @@ class CreateAgentSpaceCommand extends smithyClient.Command
231
278
  .build() {
232
279
  }
233
280
 
234
- class CreateApplicationCommand extends smithyClient.Command
281
+ class CreateApplicationCommand extends client.Command
235
282
  .classBuilder()
236
283
  .ep(commonParams)
237
284
  .m(function (Command, cs, config, o) {
238
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
285
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
286
  })
240
287
  .s("SecurityAgent", "CreateApplication", {})
241
288
  .n("SecurityAgentClient", "CreateApplicationCommand")
@@ -243,11 +290,23 @@ class CreateApplicationCommand extends smithyClient.Command
243
290
  .build() {
244
291
  }
245
292
 
246
- class CreateIntegrationCommand extends smithyClient.Command
293
+ class CreateCodeReviewCommand extends client.Command
294
+ .classBuilder()
295
+ .ep(commonParams)
296
+ .m(function (Command, cs, config, o) {
297
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
298
+ })
299
+ .s("SecurityAgent", "CreateCodeReview", {})
300
+ .n("SecurityAgentClient", "CreateCodeReviewCommand")
301
+ .sc(schemas_0.CreateCodeReview$)
302
+ .build() {
303
+ }
304
+
305
+ class CreateIntegrationCommand extends client.Command
247
306
  .classBuilder()
248
307
  .ep(commonParams)
249
308
  .m(function (Command, cs, config, o) {
250
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
309
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
251
310
  })
252
311
  .s("SecurityAgent", "CreateIntegration", {})
253
312
  .n("SecurityAgentClient", "CreateIntegrationCommand")
@@ -255,11 +314,11 @@ class CreateIntegrationCommand extends smithyClient.Command
255
314
  .build() {
256
315
  }
257
316
 
258
- class CreateMembershipCommand extends smithyClient.Command
317
+ class CreateMembershipCommand extends client.Command
259
318
  .classBuilder()
260
319
  .ep(commonParams)
261
320
  .m(function (Command, cs, config, o) {
262
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
321
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
263
322
  })
264
323
  .s("SecurityAgent", "CreateMembership", {})
265
324
  .n("SecurityAgentClient", "CreateMembershipCommand")
@@ -267,11 +326,11 @@ class CreateMembershipCommand extends smithyClient.Command
267
326
  .build() {
268
327
  }
269
328
 
270
- class CreatePentestCommand extends smithyClient.Command
329
+ class CreatePentestCommand extends client.Command
271
330
  .classBuilder()
272
331
  .ep(commonParams)
273
332
  .m(function (Command, cs, config, o) {
274
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
333
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
334
  })
276
335
  .s("SecurityAgent", "CreatePentest", {})
277
336
  .n("SecurityAgentClient", "CreatePentestCommand")
@@ -279,11 +338,11 @@ class CreatePentestCommand extends smithyClient.Command
279
338
  .build() {
280
339
  }
281
340
 
282
- class CreateTargetDomainCommand extends smithyClient.Command
341
+ class CreateTargetDomainCommand extends client.Command
283
342
  .classBuilder()
284
343
  .ep(commonParams)
285
344
  .m(function (Command, cs, config, o) {
286
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
345
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
287
346
  })
288
347
  .s("SecurityAgent", "CreateTargetDomain", {})
289
348
  .n("SecurityAgentClient", "CreateTargetDomainCommand")
@@ -291,11 +350,11 @@ class CreateTargetDomainCommand extends smithyClient.Command
291
350
  .build() {
292
351
  }
293
352
 
294
- class DeleteAgentSpaceCommand extends smithyClient.Command
353
+ class DeleteAgentSpaceCommand extends client.Command
295
354
  .classBuilder()
296
355
  .ep(commonParams)
297
356
  .m(function (Command, cs, config, o) {
298
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
357
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
299
358
  })
300
359
  .s("SecurityAgent", "DeleteAgentSpace", {})
301
360
  .n("SecurityAgentClient", "DeleteAgentSpaceCommand")
@@ -303,11 +362,11 @@ class DeleteAgentSpaceCommand extends smithyClient.Command
303
362
  .build() {
304
363
  }
305
364
 
306
- class DeleteApplicationCommand extends smithyClient.Command
365
+ class DeleteApplicationCommand extends client.Command
307
366
  .classBuilder()
308
367
  .ep(commonParams)
309
368
  .m(function (Command, cs, config, o) {
310
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
369
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
311
370
  })
312
371
  .s("SecurityAgent", "DeleteApplication", {})
313
372
  .n("SecurityAgentClient", "DeleteApplicationCommand")
@@ -315,11 +374,11 @@ class DeleteApplicationCommand extends smithyClient.Command
315
374
  .build() {
316
375
  }
317
376
 
318
- class DeleteArtifactCommand extends smithyClient.Command
377
+ class DeleteArtifactCommand extends client.Command
319
378
  .classBuilder()
320
379
  .ep(commonParams)
321
380
  .m(function (Command, cs, config, o) {
322
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
381
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
323
382
  })
324
383
  .s("SecurityAgent", "DeleteArtifact", {})
325
384
  .n("SecurityAgentClient", "DeleteArtifactCommand")
@@ -327,11 +386,11 @@ class DeleteArtifactCommand extends smithyClient.Command
327
386
  .build() {
328
387
  }
329
388
 
330
- class DeleteIntegrationCommand extends smithyClient.Command
389
+ class DeleteIntegrationCommand extends client.Command
331
390
  .classBuilder()
332
391
  .ep(commonParams)
333
392
  .m(function (Command, cs, config, o) {
334
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
393
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
394
  })
336
395
  .s("SecurityAgent", "DeleteIntegration", {})
337
396
  .n("SecurityAgentClient", "DeleteIntegrationCommand")
@@ -339,11 +398,11 @@ class DeleteIntegrationCommand extends smithyClient.Command
339
398
  .build() {
340
399
  }
341
400
 
342
- class DeleteMembershipCommand extends smithyClient.Command
401
+ class DeleteMembershipCommand extends client.Command
343
402
  .classBuilder()
344
403
  .ep(commonParams)
345
404
  .m(function (Command, cs, config, o) {
346
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
405
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
347
406
  })
348
407
  .s("SecurityAgent", "DeleteMembership", {})
349
408
  .n("SecurityAgentClient", "DeleteMembershipCommand")
@@ -351,11 +410,11 @@ class DeleteMembershipCommand extends smithyClient.Command
351
410
  .build() {
352
411
  }
353
412
 
354
- class DeleteTargetDomainCommand extends smithyClient.Command
413
+ class DeleteTargetDomainCommand extends client.Command
355
414
  .classBuilder()
356
415
  .ep(commonParams)
357
416
  .m(function (Command, cs, config, o) {
358
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
417
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
359
418
  })
360
419
  .s("SecurityAgent", "DeleteTargetDomain", {})
361
420
  .n("SecurityAgentClient", "DeleteTargetDomainCommand")
@@ -363,11 +422,11 @@ class DeleteTargetDomainCommand extends smithyClient.Command
363
422
  .build() {
364
423
  }
365
424
 
366
- class GetApplicationCommand extends smithyClient.Command
425
+ class GetApplicationCommand extends client.Command
367
426
  .classBuilder()
368
427
  .ep(commonParams)
369
428
  .m(function (Command, cs, config, o) {
370
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
429
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
371
430
  })
372
431
  .s("SecurityAgent", "GetApplication", {})
373
432
  .n("SecurityAgentClient", "GetApplicationCommand")
@@ -375,11 +434,11 @@ class GetApplicationCommand extends smithyClient.Command
375
434
  .build() {
376
435
  }
377
436
 
378
- class GetArtifactCommand extends smithyClient.Command
437
+ class GetArtifactCommand extends client.Command
379
438
  .classBuilder()
380
439
  .ep(commonParams)
381
440
  .m(function (Command, cs, config, o) {
382
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
441
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
383
442
  })
384
443
  .s("SecurityAgent", "GetArtifact", {})
385
444
  .n("SecurityAgentClient", "GetArtifactCommand")
@@ -387,11 +446,11 @@ class GetArtifactCommand extends smithyClient.Command
387
446
  .build() {
388
447
  }
389
448
 
390
- class GetIntegrationCommand extends smithyClient.Command
449
+ class GetIntegrationCommand extends client.Command
391
450
  .classBuilder()
392
451
  .ep(commonParams)
393
452
  .m(function (Command, cs, config, o) {
394
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
453
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
454
  })
396
455
  .s("SecurityAgent", "GetIntegration", {})
397
456
  .n("SecurityAgentClient", "GetIntegrationCommand")
@@ -399,11 +458,11 @@ class GetIntegrationCommand extends smithyClient.Command
399
458
  .build() {
400
459
  }
401
460
 
402
- class InitiateProviderRegistrationCommand extends smithyClient.Command
461
+ class InitiateProviderRegistrationCommand extends client.Command
403
462
  .classBuilder()
404
463
  .ep(commonParams)
405
464
  .m(function (Command, cs, config, o) {
406
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
465
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
466
  })
408
467
  .s("SecurityAgent", "InitiateProviderRegistration", {})
409
468
  .n("SecurityAgentClient", "InitiateProviderRegistrationCommand")
@@ -411,11 +470,11 @@ class InitiateProviderRegistrationCommand extends smithyClient.Command
411
470
  .build() {
412
471
  }
413
472
 
414
- class ListAgentSpacesCommand extends smithyClient.Command
473
+ class ListAgentSpacesCommand extends client.Command
415
474
  .classBuilder()
416
475
  .ep(commonParams)
417
476
  .m(function (Command, cs, config, o) {
418
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
477
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
478
  })
420
479
  .s("SecurityAgent", "ListAgentSpaces", {})
421
480
  .n("SecurityAgentClient", "ListAgentSpacesCommand")
@@ -423,11 +482,11 @@ class ListAgentSpacesCommand extends smithyClient.Command
423
482
  .build() {
424
483
  }
425
484
 
426
- class ListApplicationsCommand extends smithyClient.Command
485
+ class ListApplicationsCommand extends client.Command
427
486
  .classBuilder()
428
487
  .ep(commonParams)
429
488
  .m(function (Command, cs, config, o) {
430
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
489
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
431
490
  })
432
491
  .s("SecurityAgent", "ListApplications", {})
433
492
  .n("SecurityAgentClient", "ListApplicationsCommand")
@@ -435,11 +494,11 @@ class ListApplicationsCommand extends smithyClient.Command
435
494
  .build() {
436
495
  }
437
496
 
438
- class ListArtifactsCommand extends smithyClient.Command
497
+ class ListArtifactsCommand extends client.Command
439
498
  .classBuilder()
440
499
  .ep(commonParams)
441
500
  .m(function (Command, cs, config, o) {
442
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
501
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
443
502
  })
444
503
  .s("SecurityAgent", "ListArtifacts", {})
445
504
  .n("SecurityAgentClient", "ListArtifactsCommand")
@@ -447,11 +506,47 @@ class ListArtifactsCommand extends smithyClient.Command
447
506
  .build() {
448
507
  }
449
508
 
450
- class ListDiscoveredEndpointsCommand extends smithyClient.Command
509
+ class ListCodeReviewJobsForCodeReviewCommand extends client.Command
510
+ .classBuilder()
511
+ .ep(commonParams)
512
+ .m(function (Command, cs, config, o) {
513
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
514
+ })
515
+ .s("SecurityAgent", "ListCodeReviewJobsForCodeReview", {})
516
+ .n("SecurityAgentClient", "ListCodeReviewJobsForCodeReviewCommand")
517
+ .sc(schemas_0.ListCodeReviewJobsForCodeReview$)
518
+ .build() {
519
+ }
520
+
521
+ class ListCodeReviewJobTasksCommand extends client.Command
451
522
  .classBuilder()
452
523
  .ep(commonParams)
453
524
  .m(function (Command, cs, config, o) {
454
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
525
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
526
+ })
527
+ .s("SecurityAgent", "ListCodeReviewJobTasks", {})
528
+ .n("SecurityAgentClient", "ListCodeReviewJobTasksCommand")
529
+ .sc(schemas_0.ListCodeReviewJobTasks$)
530
+ .build() {
531
+ }
532
+
533
+ class ListCodeReviewsCommand extends client.Command
534
+ .classBuilder()
535
+ .ep(commonParams)
536
+ .m(function (Command, cs, config, o) {
537
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
538
+ })
539
+ .s("SecurityAgent", "ListCodeReviews", {})
540
+ .n("SecurityAgentClient", "ListCodeReviewsCommand")
541
+ .sc(schemas_0.ListCodeReviews$)
542
+ .build() {
543
+ }
544
+
545
+ class ListDiscoveredEndpointsCommand extends client.Command
546
+ .classBuilder()
547
+ .ep(commonParams)
548
+ .m(function (Command, cs, config, o) {
549
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
455
550
  })
456
551
  .s("SecurityAgent", "ListDiscoveredEndpoints", {})
457
552
  .n("SecurityAgentClient", "ListDiscoveredEndpointsCommand")
@@ -459,11 +554,11 @@ class ListDiscoveredEndpointsCommand extends smithyClient.Command
459
554
  .build() {
460
555
  }
461
556
 
462
- class ListFindingsCommand extends smithyClient.Command
557
+ class ListFindingsCommand extends client.Command
463
558
  .classBuilder()
464
559
  .ep(commonParams)
465
560
  .m(function (Command, cs, config, o) {
466
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
561
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
562
  })
468
563
  .s("SecurityAgent", "ListFindings", {})
469
564
  .n("SecurityAgentClient", "ListFindingsCommand")
@@ -471,11 +566,11 @@ class ListFindingsCommand extends smithyClient.Command
471
566
  .build() {
472
567
  }
473
568
 
474
- class ListIntegratedResourcesCommand extends smithyClient.Command
569
+ class ListIntegratedResourcesCommand extends client.Command
475
570
  .classBuilder()
476
571
  .ep(commonParams)
477
572
  .m(function (Command, cs, config, o) {
478
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
573
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
574
  })
480
575
  .s("SecurityAgent", "ListIntegratedResources", {})
481
576
  .n("SecurityAgentClient", "ListIntegratedResourcesCommand")
@@ -483,11 +578,11 @@ class ListIntegratedResourcesCommand extends smithyClient.Command
483
578
  .build() {
484
579
  }
485
580
 
486
- class ListIntegrationsCommand extends smithyClient.Command
581
+ class ListIntegrationsCommand extends client.Command
487
582
  .classBuilder()
488
583
  .ep(commonParams)
489
584
  .m(function (Command, cs, config, o) {
490
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
585
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
491
586
  })
492
587
  .s("SecurityAgent", "ListIntegrations", {})
493
588
  .n("SecurityAgentClient", "ListIntegrationsCommand")
@@ -495,11 +590,11 @@ class ListIntegrationsCommand extends smithyClient.Command
495
590
  .build() {
496
591
  }
497
592
 
498
- class ListMembershipsCommand extends smithyClient.Command
593
+ class ListMembershipsCommand extends client.Command
499
594
  .classBuilder()
500
595
  .ep(commonParams)
501
596
  .m(function (Command, cs, config, o) {
502
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
597
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
503
598
  })
504
599
  .s("SecurityAgent", "ListMemberships", {})
505
600
  .n("SecurityAgentClient", "ListMembershipsCommand")
@@ -507,11 +602,11 @@ class ListMembershipsCommand extends smithyClient.Command
507
602
  .build() {
508
603
  }
509
604
 
510
- class ListPentestJobsForPentestCommand extends smithyClient.Command
605
+ class ListPentestJobsForPentestCommand extends client.Command
511
606
  .classBuilder()
512
607
  .ep(commonParams)
513
608
  .m(function (Command, cs, config, o) {
514
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
609
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
515
610
  })
516
611
  .s("SecurityAgent", "ListPentestJobsForPentest", {})
517
612
  .n("SecurityAgentClient", "ListPentestJobsForPentestCommand")
@@ -519,11 +614,11 @@ class ListPentestJobsForPentestCommand extends smithyClient.Command
519
614
  .build() {
520
615
  }
521
616
 
522
- class ListPentestJobTasksCommand extends smithyClient.Command
617
+ class ListPentestJobTasksCommand extends client.Command
523
618
  .classBuilder()
524
619
  .ep(commonParams)
525
620
  .m(function (Command, cs, config, o) {
526
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
621
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
622
  })
528
623
  .s("SecurityAgent", "ListPentestJobTasks", {})
529
624
  .n("SecurityAgentClient", "ListPentestJobTasksCommand")
@@ -531,11 +626,11 @@ class ListPentestJobTasksCommand extends smithyClient.Command
531
626
  .build() {
532
627
  }
533
628
 
534
- class ListPentestsCommand extends smithyClient.Command
629
+ class ListPentestsCommand extends client.Command
535
630
  .classBuilder()
536
631
  .ep(commonParams)
537
632
  .m(function (Command, cs, config, o) {
538
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
633
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
634
  })
540
635
  .s("SecurityAgent", "ListPentests", {})
541
636
  .n("SecurityAgentClient", "ListPentestsCommand")
@@ -543,11 +638,11 @@ class ListPentestsCommand extends smithyClient.Command
543
638
  .build() {
544
639
  }
545
640
 
546
- class ListTagsForResourceCommand extends smithyClient.Command
641
+ class ListTagsForResourceCommand extends client.Command
547
642
  .classBuilder()
548
643
  .ep(commonParams)
549
644
  .m(function (Command, cs, config, o) {
550
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
645
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
646
  })
552
647
  .s("SecurityAgent", "ListTagsForResource", {})
553
648
  .n("SecurityAgentClient", "ListTagsForResourceCommand")
@@ -555,11 +650,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
555
650
  .build() {
556
651
  }
557
652
 
558
- class ListTargetDomainsCommand extends smithyClient.Command
653
+ class ListTargetDomainsCommand extends client.Command
559
654
  .classBuilder()
560
655
  .ep(commonParams)
561
656
  .m(function (Command, cs, config, o) {
562
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
657
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
563
658
  })
564
659
  .s("SecurityAgent", "ListTargetDomains", {})
565
660
  .n("SecurityAgentClient", "ListTargetDomainsCommand")
@@ -567,11 +662,11 @@ class ListTargetDomainsCommand extends smithyClient.Command
567
662
  .build() {
568
663
  }
569
664
 
570
- class StartCodeRemediationCommand extends smithyClient.Command
665
+ class StartCodeRemediationCommand extends client.Command
571
666
  .classBuilder()
572
667
  .ep(commonParams)
573
668
  .m(function (Command, cs, config, o) {
574
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
669
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
575
670
  })
576
671
  .s("SecurityAgent", "StartCodeRemediation", {})
577
672
  .n("SecurityAgentClient", "StartCodeRemediationCommand")
@@ -579,11 +674,23 @@ class StartCodeRemediationCommand extends smithyClient.Command
579
674
  .build() {
580
675
  }
581
676
 
582
- class StartPentestJobCommand extends smithyClient.Command
677
+ class StartCodeReviewJobCommand extends client.Command
678
+ .classBuilder()
679
+ .ep(commonParams)
680
+ .m(function (Command, cs, config, o) {
681
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
682
+ })
683
+ .s("SecurityAgent", "StartCodeReviewJob", {})
684
+ .n("SecurityAgentClient", "StartCodeReviewJobCommand")
685
+ .sc(schemas_0.StartCodeReviewJob$)
686
+ .build() {
687
+ }
688
+
689
+ class StartPentestJobCommand extends client.Command
583
690
  .classBuilder()
584
691
  .ep(commonParams)
585
692
  .m(function (Command, cs, config, o) {
586
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
693
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
587
694
  })
588
695
  .s("SecurityAgent", "StartPentestJob", {})
589
696
  .n("SecurityAgentClient", "StartPentestJobCommand")
@@ -591,11 +698,23 @@ class StartPentestJobCommand extends smithyClient.Command
591
698
  .build() {
592
699
  }
593
700
 
594
- class StopPentestJobCommand extends smithyClient.Command
701
+ class StopCodeReviewJobCommand extends client.Command
702
+ .classBuilder()
703
+ .ep(commonParams)
704
+ .m(function (Command, cs, config, o) {
705
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
706
+ })
707
+ .s("SecurityAgent", "StopCodeReviewJob", {})
708
+ .n("SecurityAgentClient", "StopCodeReviewJobCommand")
709
+ .sc(schemas_0.StopCodeReviewJob$)
710
+ .build() {
711
+ }
712
+
713
+ class StopPentestJobCommand extends client.Command
595
714
  .classBuilder()
596
715
  .ep(commonParams)
597
716
  .m(function (Command, cs, config, o) {
598
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
717
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
599
718
  })
600
719
  .s("SecurityAgent", "StopPentestJob", {})
601
720
  .n("SecurityAgentClient", "StopPentestJobCommand")
@@ -603,11 +722,11 @@ class StopPentestJobCommand extends smithyClient.Command
603
722
  .build() {
604
723
  }
605
724
 
606
- class TagResourceCommand extends smithyClient.Command
725
+ class TagResourceCommand extends client.Command
607
726
  .classBuilder()
608
727
  .ep(commonParams)
609
728
  .m(function (Command, cs, config, o) {
610
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
729
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
611
730
  })
612
731
  .s("SecurityAgent", "TagResource", {})
613
732
  .n("SecurityAgentClient", "TagResourceCommand")
@@ -615,11 +734,11 @@ class TagResourceCommand extends smithyClient.Command
615
734
  .build() {
616
735
  }
617
736
 
618
- class UntagResourceCommand extends smithyClient.Command
737
+ class UntagResourceCommand extends client.Command
619
738
  .classBuilder()
620
739
  .ep(commonParams)
621
740
  .m(function (Command, cs, config, o) {
622
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
741
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
623
742
  })
624
743
  .s("SecurityAgent", "UntagResource", {})
625
744
  .n("SecurityAgentClient", "UntagResourceCommand")
@@ -627,11 +746,11 @@ class UntagResourceCommand extends smithyClient.Command
627
746
  .build() {
628
747
  }
629
748
 
630
- class UpdateAgentSpaceCommand extends smithyClient.Command
749
+ class UpdateAgentSpaceCommand extends client.Command
631
750
  .classBuilder()
632
751
  .ep(commonParams)
633
752
  .m(function (Command, cs, config, o) {
634
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
753
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
635
754
  })
636
755
  .s("SecurityAgent", "UpdateAgentSpace", {})
637
756
  .n("SecurityAgentClient", "UpdateAgentSpaceCommand")
@@ -639,11 +758,11 @@ class UpdateAgentSpaceCommand extends smithyClient.Command
639
758
  .build() {
640
759
  }
641
760
 
642
- class UpdateApplicationCommand extends smithyClient.Command
761
+ class UpdateApplicationCommand extends client.Command
643
762
  .classBuilder()
644
763
  .ep(commonParams)
645
764
  .m(function (Command, cs, config, o) {
646
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
765
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
647
766
  })
648
767
  .s("SecurityAgent", "UpdateApplication", {})
649
768
  .n("SecurityAgentClient", "UpdateApplicationCommand")
@@ -651,11 +770,23 @@ class UpdateApplicationCommand extends smithyClient.Command
651
770
  .build() {
652
771
  }
653
772
 
654
- class UpdateFindingCommand extends smithyClient.Command
773
+ class UpdateCodeReviewCommand extends client.Command
655
774
  .classBuilder()
656
775
  .ep(commonParams)
657
776
  .m(function (Command, cs, config, o) {
658
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
777
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
778
+ })
779
+ .s("SecurityAgent", "UpdateCodeReview", {})
780
+ .n("SecurityAgentClient", "UpdateCodeReviewCommand")
781
+ .sc(schemas_0.UpdateCodeReview$)
782
+ .build() {
783
+ }
784
+
785
+ class UpdateFindingCommand extends client.Command
786
+ .classBuilder()
787
+ .ep(commonParams)
788
+ .m(function (Command, cs, config, o) {
789
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
659
790
  })
660
791
  .s("SecurityAgent", "UpdateFinding", {})
661
792
  .n("SecurityAgentClient", "UpdateFindingCommand")
@@ -663,11 +794,11 @@ class UpdateFindingCommand extends smithyClient.Command
663
794
  .build() {
664
795
  }
665
796
 
666
- class UpdateIntegratedResourcesCommand extends smithyClient.Command
797
+ class UpdateIntegratedResourcesCommand extends client.Command
667
798
  .classBuilder()
668
799
  .ep(commonParams)
669
800
  .m(function (Command, cs, config, o) {
670
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
801
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
671
802
  })
672
803
  .s("SecurityAgent", "UpdateIntegratedResources", {})
673
804
  .n("SecurityAgentClient", "UpdateIntegratedResourcesCommand")
@@ -675,11 +806,11 @@ class UpdateIntegratedResourcesCommand extends smithyClient.Command
675
806
  .build() {
676
807
  }
677
808
 
678
- class UpdatePentestCommand extends smithyClient.Command
809
+ class UpdatePentestCommand extends client.Command
679
810
  .classBuilder()
680
811
  .ep(commonParams)
681
812
  .m(function (Command, cs, config, o) {
682
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
813
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
683
814
  })
684
815
  .s("SecurityAgent", "UpdatePentest", {})
685
816
  .n("SecurityAgentClient", "UpdatePentestCommand")
@@ -687,11 +818,11 @@ class UpdatePentestCommand extends smithyClient.Command
687
818
  .build() {
688
819
  }
689
820
 
690
- class UpdateTargetDomainCommand extends smithyClient.Command
821
+ class UpdateTargetDomainCommand extends client.Command
691
822
  .classBuilder()
692
823
  .ep(commonParams)
693
824
  .m(function (Command, cs, config, o) {
694
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
825
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
826
  })
696
827
  .s("SecurityAgent", "UpdateTargetDomain", {})
697
828
  .n("SecurityAgentClient", "UpdateTargetDomainCommand")
@@ -699,11 +830,11 @@ class UpdateTargetDomainCommand extends smithyClient.Command
699
830
  .build() {
700
831
  }
701
832
 
702
- class VerifyTargetDomainCommand extends smithyClient.Command
833
+ class VerifyTargetDomainCommand extends client.Command
703
834
  .classBuilder()
704
835
  .ep(commonParams)
705
836
  .m(function (Command, cs, config, o) {
706
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
837
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
707
838
  })
708
839
  .s("SecurityAgent", "VerifyTargetDomain", {})
709
840
  .n("SecurityAgentClient", "VerifyTargetDomainCommand")
@@ -717,6 +848,12 @@ const paginateListApplications = core.createPaginator(SecurityAgentClient, ListA
717
848
 
718
849
  const paginateListArtifacts = core.createPaginator(SecurityAgentClient, ListArtifactsCommand, "nextToken", "nextToken", "maxResults");
719
850
 
851
+ const paginateListCodeReviewJobsForCodeReview = core.createPaginator(SecurityAgentClient, ListCodeReviewJobsForCodeReviewCommand, "nextToken", "nextToken", "maxResults");
852
+
853
+ const paginateListCodeReviewJobTasks = core.createPaginator(SecurityAgentClient, ListCodeReviewJobTasksCommand, "nextToken", "nextToken", "maxResults");
854
+
855
+ const paginateListCodeReviews = core.createPaginator(SecurityAgentClient, ListCodeReviewsCommand, "nextToken", "nextToken", "maxResults");
856
+
720
857
  const paginateListDiscoveredEndpoints = core.createPaginator(SecurityAgentClient, ListDiscoveredEndpointsCommand, "nextToken", "nextToken", "maxResults");
721
858
 
722
859
  const paginateListFindings = core.createPaginator(SecurityAgentClient, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
@@ -737,9 +874,13 @@ const paginateListTargetDomains = core.createPaginator(SecurityAgentClient, List
737
874
 
738
875
  const commands = {
739
876
  AddArtifactCommand,
877
+ BatchDeleteCodeReviewsCommand,
740
878
  BatchDeletePentestsCommand,
741
879
  BatchGetAgentSpacesCommand,
742
880
  BatchGetArtifactMetadataCommand,
881
+ BatchGetCodeReviewJobsCommand,
882
+ BatchGetCodeReviewJobTasksCommand,
883
+ BatchGetCodeReviewsCommand,
743
884
  BatchGetFindingsCommand,
744
885
  BatchGetPentestJobsCommand,
745
886
  BatchGetPentestJobTasksCommand,
@@ -747,6 +888,7 @@ const commands = {
747
888
  BatchGetTargetDomainsCommand,
748
889
  CreateAgentSpaceCommand,
749
890
  CreateApplicationCommand,
891
+ CreateCodeReviewCommand,
750
892
  CreateIntegrationCommand,
751
893
  CreateMembershipCommand,
752
894
  CreatePentestCommand,
@@ -764,6 +906,9 @@ const commands = {
764
906
  ListAgentSpacesCommand,
765
907
  ListApplicationsCommand,
766
908
  ListArtifactsCommand,
909
+ ListCodeReviewJobsForCodeReviewCommand,
910
+ ListCodeReviewJobTasksCommand,
911
+ ListCodeReviewsCommand,
767
912
  ListDiscoveredEndpointsCommand,
768
913
  ListFindingsCommand,
769
914
  ListIntegratedResourcesCommand,
@@ -775,12 +920,15 @@ const commands = {
775
920
  ListTagsForResourceCommand,
776
921
  ListTargetDomainsCommand,
777
922
  StartCodeRemediationCommand,
923
+ StartCodeReviewJobCommand,
778
924
  StartPentestJobCommand,
925
+ StopCodeReviewJobCommand,
779
926
  StopPentestJobCommand,
780
927
  TagResourceCommand,
781
928
  UntagResourceCommand,
782
929
  UpdateAgentSpaceCommand,
783
930
  UpdateApplicationCommand,
931
+ UpdateCodeReviewCommand,
784
932
  UpdateFindingCommand,
785
933
  UpdateIntegratedResourcesCommand,
786
934
  UpdatePentestCommand,
@@ -791,6 +939,9 @@ const paginators = {
791
939
  paginateListAgentSpaces,
792
940
  paginateListApplications,
793
941
  paginateListArtifacts,
942
+ paginateListCodeReviewJobsForCodeReview,
943
+ paginateListCodeReviewJobTasks,
944
+ paginateListCodeReviews,
794
945
  paginateListDiscoveredEndpoints,
795
946
  paginateListFindings,
796
947
  paginateListIntegratedResources,
@@ -803,7 +954,7 @@ const paginators = {
803
954
  };
804
955
  class SecurityAgent extends SecurityAgentClient {
805
956
  }
806
- smithyClient.createAggregatedClient(commands, SecurityAgent, { paginators });
957
+ client.createAggregatedClient(commands, SecurityAgent, { paginators });
807
958
 
808
959
  const AccessType = {
809
960
  PRIVATE: "PRIVATE",
@@ -867,32 +1018,6 @@ const NetworkTrafficRuleEffect = {
867
1018
  const NetworkTrafficRuleType = {
868
1019
  URL: "URL",
869
1020
  };
870
- const CodeRemediationTaskStatus = {
871
- COMPLETED: "COMPLETED",
872
- FAILED: "FAILED",
873
- IN_PROGRESS: "IN_PROGRESS",
874
- };
875
- const ConfidenceLevel = {
876
- FALSE_POSITIVE: "FALSE_POSITIVE",
877
- HIGH: "HIGH",
878
- LOW: "LOW",
879
- MEDIUM: "MEDIUM",
880
- UNCONFIRMED: "UNCONFIRMED",
881
- };
882
- const RiskLevel = {
883
- CRITICAL: "CRITICAL",
884
- HIGH: "HIGH",
885
- INFORMATIONAL: "INFORMATIONAL",
886
- LOW: "LOW",
887
- MEDIUM: "MEDIUM",
888
- UNKNOWN: "UNKNOWN",
889
- };
890
- const FindingStatus = {
891
- ACCEPTED: "ACCEPTED",
892
- ACTIVE: "ACTIVE",
893
- FALSE_POSITIVE: "FALSE_POSITIVE",
894
- RESOLVED: "RESOLVED",
895
- };
896
1021
  const ErrorCode = {
897
1022
  CLIENT_ERROR: "CLIENT_ERROR",
898
1023
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -934,6 +1059,32 @@ const TaskExecutionStatus = {
934
1059
  const LogType = {
935
1060
  CLOUDWATCH: "CLOUDWATCH",
936
1061
  };
1062
+ const CodeRemediationTaskStatus = {
1063
+ COMPLETED: "COMPLETED",
1064
+ FAILED: "FAILED",
1065
+ IN_PROGRESS: "IN_PROGRESS",
1066
+ };
1067
+ const ConfidenceLevel = {
1068
+ FALSE_POSITIVE: "FALSE_POSITIVE",
1069
+ HIGH: "HIGH",
1070
+ LOW: "LOW",
1071
+ MEDIUM: "MEDIUM",
1072
+ UNCONFIRMED: "UNCONFIRMED",
1073
+ };
1074
+ const RiskLevel = {
1075
+ CRITICAL: "CRITICAL",
1076
+ HIGH: "HIGH",
1077
+ INFORMATIONAL: "INFORMATIONAL",
1078
+ LOW: "LOW",
1079
+ MEDIUM: "MEDIUM",
1080
+ UNKNOWN: "UNKNOWN",
1081
+ };
1082
+ const FindingStatus = {
1083
+ ACCEPTED: "ACCEPTED",
1084
+ ACTIVE: "ACTIVE",
1085
+ FALSE_POSITIVE: "FALSE_POSITIVE",
1086
+ RESOLVED: "RESOLVED",
1087
+ };
937
1088
  const DNSRecordType = {
938
1089
  TXT: "TXT",
939
1090
  };
@@ -969,16 +1120,20 @@ const MembershipTypeFilter = {
969
1120
  USER: "USER",
970
1121
  };
971
1122
 
972
- exports.$Command = smithyClient.Command;
973
- exports.__Client = smithyClient.Client;
1123
+ exports.$Command = client.Command;
1124
+ exports.__Client = client.Client;
974
1125
  exports.SecurityAgentServiceException = SecurityAgentServiceException.SecurityAgentServiceException;
975
1126
  exports.AccessType = AccessType;
976
1127
  exports.AddArtifactCommand = AddArtifactCommand;
977
1128
  exports.ArtifactType = ArtifactType;
978
1129
  exports.AuthenticationProviderType = AuthenticationProviderType;
1130
+ exports.BatchDeleteCodeReviewsCommand = BatchDeleteCodeReviewsCommand;
979
1131
  exports.BatchDeletePentestsCommand = BatchDeletePentestsCommand;
980
1132
  exports.BatchGetAgentSpacesCommand = BatchGetAgentSpacesCommand;
981
1133
  exports.BatchGetArtifactMetadataCommand = BatchGetArtifactMetadataCommand;
1134
+ exports.BatchGetCodeReviewJobTasksCommand = BatchGetCodeReviewJobTasksCommand;
1135
+ exports.BatchGetCodeReviewJobsCommand = BatchGetCodeReviewJobsCommand;
1136
+ exports.BatchGetCodeReviewsCommand = BatchGetCodeReviewsCommand;
982
1137
  exports.BatchGetFindingsCommand = BatchGetFindingsCommand;
983
1138
  exports.BatchGetPentestJobTasksCommand = BatchGetPentestJobTasksCommand;
984
1139
  exports.BatchGetPentestJobsCommand = BatchGetPentestJobsCommand;
@@ -990,6 +1145,7 @@ exports.ConfidenceLevel = ConfidenceLevel;
990
1145
  exports.ContextType = ContextType;
991
1146
  exports.CreateAgentSpaceCommand = CreateAgentSpaceCommand;
992
1147
  exports.CreateApplicationCommand = CreateApplicationCommand;
1148
+ exports.CreateCodeReviewCommand = CreateCodeReviewCommand;
993
1149
  exports.CreateIntegrationCommand = CreateIntegrationCommand;
994
1150
  exports.CreateMembershipCommand = CreateMembershipCommand;
995
1151
  exports.CreatePentestCommand = CreatePentestCommand;
@@ -1012,6 +1168,9 @@ exports.JobStatus = JobStatus;
1012
1168
  exports.ListAgentSpacesCommand = ListAgentSpacesCommand;
1013
1169
  exports.ListApplicationsCommand = ListApplicationsCommand;
1014
1170
  exports.ListArtifactsCommand = ListArtifactsCommand;
1171
+ exports.ListCodeReviewJobTasksCommand = ListCodeReviewJobTasksCommand;
1172
+ exports.ListCodeReviewJobsForCodeReviewCommand = ListCodeReviewJobsForCodeReviewCommand;
1173
+ exports.ListCodeReviewsCommand = ListCodeReviewsCommand;
1015
1174
  exports.ListDiscoveredEndpointsCommand = ListDiscoveredEndpointsCommand;
1016
1175
  exports.ListFindingsCommand = ListFindingsCommand;
1017
1176
  exports.ListIntegratedResourcesCommand = ListIntegratedResourcesCommand;
@@ -1035,9 +1194,11 @@ exports.RiskType = RiskType;
1035
1194
  exports.SecurityAgent = SecurityAgent;
1036
1195
  exports.SecurityAgentClient = SecurityAgentClient;
1037
1196
  exports.StartCodeRemediationCommand = StartCodeRemediationCommand;
1197
+ exports.StartCodeReviewJobCommand = StartCodeReviewJobCommand;
1038
1198
  exports.StartPentestJobCommand = StartPentestJobCommand;
1039
1199
  exports.StepName = StepName;
1040
1200
  exports.StepStatus = StepStatus;
1201
+ exports.StopCodeReviewJobCommand = StopCodeReviewJobCommand;
1041
1202
  exports.StopPentestJobCommand = StopPentestJobCommand;
1042
1203
  exports.TagResourceCommand = TagResourceCommand;
1043
1204
  exports.TargetDomainStatus = TargetDomainStatus;
@@ -1045,6 +1206,7 @@ exports.TaskExecutionStatus = TaskExecutionStatus;
1045
1206
  exports.UntagResourceCommand = UntagResourceCommand;
1046
1207
  exports.UpdateAgentSpaceCommand = UpdateAgentSpaceCommand;
1047
1208
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
1209
+ exports.UpdateCodeReviewCommand = UpdateCodeReviewCommand;
1048
1210
  exports.UpdateFindingCommand = UpdateFindingCommand;
1049
1211
  exports.UpdateIntegratedResourcesCommand = UpdateIntegratedResourcesCommand;
1050
1212
  exports.UpdatePentestCommand = UpdatePentestCommand;
@@ -1054,6 +1216,9 @@ exports.VerifyTargetDomainCommand = VerifyTargetDomainCommand;
1054
1216
  exports.paginateListAgentSpaces = paginateListAgentSpaces;
1055
1217
  exports.paginateListApplications = paginateListApplications;
1056
1218
  exports.paginateListArtifacts = paginateListArtifacts;
1219
+ exports.paginateListCodeReviewJobTasks = paginateListCodeReviewJobTasks;
1220
+ exports.paginateListCodeReviewJobsForCodeReview = paginateListCodeReviewJobsForCodeReview;
1221
+ exports.paginateListCodeReviews = paginateListCodeReviews;
1057
1222
  exports.paginateListDiscoveredEndpoints = paginateListDiscoveredEndpoints;
1058
1223
  exports.paginateListFindings = paginateListFindings;
1059
1224
  exports.paginateListIntegratedResources = paginateListIntegratedResources;