@aws-sdk/client-securityagent 3.1021.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 (266) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +531 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1084 -0
  7. package/dist-cjs/models/SecurityAgentServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +88 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +54 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +1570 -0
  14. package/dist-es/SecurityAgent.js +133 -0
  15. package/dist-es/SecurityAgentClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/AddArtifactCommand.js +16 -0
  19. package/dist-es/commands/BatchDeletePentestsCommand.js +16 -0
  20. package/dist-es/commands/BatchGetAgentSpacesCommand.js +16 -0
  21. package/dist-es/commands/BatchGetArtifactMetadataCommand.js +16 -0
  22. package/dist-es/commands/BatchGetFindingsCommand.js +16 -0
  23. package/dist-es/commands/BatchGetPentestJobTasksCommand.js +16 -0
  24. package/dist-es/commands/BatchGetPentestJobsCommand.js +16 -0
  25. package/dist-es/commands/BatchGetPentestsCommand.js +16 -0
  26. package/dist-es/commands/BatchGetTargetDomainsCommand.js +16 -0
  27. package/dist-es/commands/CreateAgentSpaceCommand.js +16 -0
  28. package/dist-es/commands/CreateApplicationCommand.js +16 -0
  29. package/dist-es/commands/CreateIntegrationCommand.js +16 -0
  30. package/dist-es/commands/CreateMembershipCommand.js +16 -0
  31. package/dist-es/commands/CreatePentestCommand.js +16 -0
  32. package/dist-es/commands/CreateTargetDomainCommand.js +16 -0
  33. package/dist-es/commands/DeleteAgentSpaceCommand.js +16 -0
  34. package/dist-es/commands/DeleteApplicationCommand.js +16 -0
  35. package/dist-es/commands/DeleteArtifactCommand.js +16 -0
  36. package/dist-es/commands/DeleteIntegrationCommand.js +16 -0
  37. package/dist-es/commands/DeleteMembershipCommand.js +16 -0
  38. package/dist-es/commands/DeleteTargetDomainCommand.js +16 -0
  39. package/dist-es/commands/GetApplicationCommand.js +16 -0
  40. package/dist-es/commands/GetArtifactCommand.js +16 -0
  41. package/dist-es/commands/GetIntegrationCommand.js +16 -0
  42. package/dist-es/commands/InitiateProviderRegistrationCommand.js +16 -0
  43. package/dist-es/commands/ListAgentSpacesCommand.js +16 -0
  44. package/dist-es/commands/ListApplicationsCommand.js +16 -0
  45. package/dist-es/commands/ListArtifactsCommand.js +16 -0
  46. package/dist-es/commands/ListDiscoveredEndpointsCommand.js +16 -0
  47. package/dist-es/commands/ListFindingsCommand.js +16 -0
  48. package/dist-es/commands/ListIntegratedResourcesCommand.js +16 -0
  49. package/dist-es/commands/ListIntegrationsCommand.js +16 -0
  50. package/dist-es/commands/ListMembershipsCommand.js +16 -0
  51. package/dist-es/commands/ListPentestJobTasksCommand.js +16 -0
  52. package/dist-es/commands/ListPentestJobsForPentestCommand.js +16 -0
  53. package/dist-es/commands/ListPentestsCommand.js +16 -0
  54. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  55. package/dist-es/commands/ListTargetDomainsCommand.js +16 -0
  56. package/dist-es/commands/StartCodeRemediationCommand.js +16 -0
  57. package/dist-es/commands/StartPentestJobCommand.js +16 -0
  58. package/dist-es/commands/StopPentestJobCommand.js +16 -0
  59. package/dist-es/commands/TagResourceCommand.js +16 -0
  60. package/dist-es/commands/UntagResourceCommand.js +16 -0
  61. package/dist-es/commands/UpdateAgentSpaceCommand.js +16 -0
  62. package/dist-es/commands/UpdateApplicationCommand.js +16 -0
  63. package/dist-es/commands/UpdateFindingCommand.js +16 -0
  64. package/dist-es/commands/UpdateIntegratedResourcesCommand.js +16 -0
  65. package/dist-es/commands/UpdatePentestCommand.js +16 -0
  66. package/dist-es/commands/UpdateTargetDomainCommand.js +16 -0
  67. package/dist-es/commands/VerifyTargetDomainCommand.js +16 -0
  68. package/dist-es/commands/index.js +50 -0
  69. package/dist-es/endpoint/EndpointParameters.js +11 -0
  70. package/dist-es/endpoint/endpointResolver.js +14 -0
  71. package/dist-es/endpoint/ruleset.js +4 -0
  72. package/dist-es/extensionConfiguration.js +1 -0
  73. package/dist-es/index.js +9 -0
  74. package/dist-es/models/SecurityAgentServiceException.js +8 -0
  75. package/dist-es/models/enums.js +162 -0
  76. package/dist-es/models/errors.js +79 -0
  77. package/dist-es/models/models_0.js +1 -0
  78. package/dist-es/pagination/Interfaces.js +1 -0
  79. package/dist-es/pagination/ListAgentSpacesPaginator.js +4 -0
  80. package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
  81. package/dist-es/pagination/ListArtifactsPaginator.js +4 -0
  82. package/dist-es/pagination/ListDiscoveredEndpointsPaginator.js +4 -0
  83. package/dist-es/pagination/ListFindingsPaginator.js +4 -0
  84. package/dist-es/pagination/ListIntegratedResourcesPaginator.js +4 -0
  85. package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
  86. package/dist-es/pagination/ListMembershipsPaginator.js +4 -0
  87. package/dist-es/pagination/ListPentestJobTasksPaginator.js +4 -0
  88. package/dist-es/pagination/ListPentestJobsForPentestPaginator.js +4 -0
  89. package/dist-es/pagination/ListPentestsPaginator.js +4 -0
  90. package/dist-es/pagination/ListTargetDomainsPaginator.js +4 -0
  91. package/dist-es/pagination/index.js +13 -0
  92. package/dist-es/runtimeConfig.browser.js +33 -0
  93. package/dist-es/runtimeConfig.js +49 -0
  94. package/dist-es/runtimeConfig.native.js +11 -0
  95. package/dist-es/runtimeConfig.shared.js +39 -0
  96. package/dist-es/runtimeExtensions.js +9 -0
  97. package/dist-es/schemas/schemas_0.js +1563 -0
  98. package/dist-types/SecurityAgent.d.ts +449 -0
  99. package/dist-types/SecurityAgentClient.d.ts +237 -0
  100. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  101. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  102. package/dist-types/commands/AddArtifactCommand.d.ts +94 -0
  103. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +161 -0
  104. package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +123 -0
  105. package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +101 -0
  106. package/dist-types/commands/BatchGetFindingsCommand.d.ts +111 -0
  107. package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +109 -0
  108. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +187 -0
  109. package/dist-types/commands/BatchGetPentestsCommand.d.ts +158 -0
  110. package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +99 -0
  111. package/dist-types/commands/CreateAgentSpaceCommand.d.ts +154 -0
  112. package/dist-types/commands/CreateApplicationCommand.d.ts +79 -0
  113. package/dist-types/commands/CreateIntegrationCommand.d.ts +106 -0
  114. package/dist-types/commands/CreateMembershipCommand.d.ts +80 -0
  115. package/dist-types/commands/CreatePentestCommand.d.ts +194 -0
  116. package/dist-types/commands/CreateTargetDomainCommand.d.ts +94 -0
  117. package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +74 -0
  118. package/dist-types/commands/DeleteApplicationCommand.d.ts +72 -0
  119. package/dist-types/commands/DeleteArtifactCommand.d.ts +90 -0
  120. package/dist-types/commands/DeleteIntegrationCommand.d.ts +92 -0
  121. package/dist-types/commands/DeleteMembershipCommand.d.ts +75 -0
  122. package/dist-types/commands/DeleteTargetDomainCommand.d.ts +74 -0
  123. package/dist-types/commands/GetApplicationCommand.d.ts +82 -0
  124. package/dist-types/commands/GetArtifactCommand.d.ts +99 -0
  125. package/dist-types/commands/GetIntegrationCommand.d.ts +96 -0
  126. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +95 -0
  127. package/dist-types/commands/ListAgentSpacesCommand.d.ts +83 -0
  128. package/dist-types/commands/ListApplicationsCommand.d.ts +83 -0
  129. package/dist-types/commands/ListArtifactsCommand.d.ts +100 -0
  130. package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +89 -0
  131. package/dist-types/commands/ListFindingsCommand.d.ts +97 -0
  132. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +114 -0
  133. package/dist-types/commands/ListIntegrationsCommand.d.ts +100 -0
  134. package/dist-types/commands/ListMembershipsCommand.d.ts +101 -0
  135. package/dist-types/commands/ListPentestJobTasksCommand.d.ts +92 -0
  136. package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +87 -0
  137. package/dist-types/commands/ListPentestsCommand.d.ts +85 -0
  138. package/dist-types/commands/ListTagsForResourceCommand.d.ts +76 -0
  139. package/dist-types/commands/ListTargetDomainsCommand.d.ts +82 -0
  140. package/dist-types/commands/StartCodeRemediationCommand.d.ts +76 -0
  141. package/dist-types/commands/StartPentestJobCommand.d.ts +81 -0
  142. package/dist-types/commands/StopPentestJobCommand.d.ts +73 -0
  143. package/dist-types/commands/TagResourceCommand.d.ts +75 -0
  144. package/dist-types/commands/UntagResourceCommand.d.ts +75 -0
  145. package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +150 -0
  146. package/dist-types/commands/UpdateApplicationCommand.d.ts +76 -0
  147. package/dist-types/commands/UpdateFindingCommand.d.ts +75 -0
  148. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +109 -0
  149. package/dist-types/commands/UpdatePentestCommand.d.ts +195 -0
  150. package/dist-types/commands/UpdateTargetDomainCommand.d.ts +91 -0
  151. package/dist-types/commands/VerifyTargetDomainCommand.d.ts +79 -0
  152. package/dist-types/commands/index.d.ts +50 -0
  153. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  154. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  155. package/dist-types/endpoint/ruleset.d.ts +2 -0
  156. package/dist-types/extensionConfiguration.d.ts +9 -0
  157. package/dist-types/index.d.ts +17 -0
  158. package/dist-types/models/SecurityAgentServiceException.d.ts +14 -0
  159. package/dist-types/models/enums.d.ts +609 -0
  160. package/dist-types/models/errors.d.ts +93 -0
  161. package/dist-types/models/models_0.d.ts +3749 -0
  162. package/dist-types/pagination/Interfaces.d.ts +8 -0
  163. package/dist-types/pagination/ListAgentSpacesPaginator.d.ts +7 -0
  164. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  165. package/dist-types/pagination/ListArtifactsPaginator.d.ts +7 -0
  166. package/dist-types/pagination/ListDiscoveredEndpointsPaginator.d.ts +7 -0
  167. package/dist-types/pagination/ListFindingsPaginator.d.ts +7 -0
  168. package/dist-types/pagination/ListIntegratedResourcesPaginator.d.ts +7 -0
  169. package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
  170. package/dist-types/pagination/ListMembershipsPaginator.d.ts +7 -0
  171. package/dist-types/pagination/ListPentestJobTasksPaginator.d.ts +7 -0
  172. package/dist-types/pagination/ListPentestJobsForPentestPaginator.d.ts +7 -0
  173. package/dist-types/pagination/ListPentestsPaginator.d.ts +7 -0
  174. package/dist-types/pagination/ListTargetDomainsPaginator.d.ts +7 -0
  175. package/dist-types/pagination/index.d.ts +13 -0
  176. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  177. package/dist-types/runtimeConfig.d.ts +55 -0
  178. package/dist-types/runtimeConfig.native.d.ts +54 -0
  179. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  180. package/dist-types/runtimeExtensions.d.ts +17 -0
  181. package/dist-types/schemas/schemas_0.d.ts +225 -0
  182. package/dist-types/ts3.4/SecurityAgent.d.ts +950 -0
  183. package/dist-types/ts3.4/SecurityAgentClient.d.ts +419 -0
  184. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  185. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  186. package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +47 -0
  187. package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +51 -0
  188. package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +51 -0
  189. package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +51 -0
  190. package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +50 -0
  191. package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +51 -0
  192. package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +51 -0
  193. package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +50 -0
  194. package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +51 -0
  195. package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +50 -0
  196. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
  197. package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +50 -0
  198. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +50 -0
  199. package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +47 -0
  200. package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +51 -0
  201. package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +50 -0
  202. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +46 -0
  203. package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +47 -0
  204. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +50 -0
  205. package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +50 -0
  206. package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
  208. package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +47 -0
  209. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +47 -0
  210. package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +51 -0
  211. package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +50 -0
  212. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
  213. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +47 -0
  214. package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +51 -0
  215. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +47 -0
  216. package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +50 -0
  218. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +50 -0
  219. package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +51 -0
  221. package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +47 -0
  222. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  223. package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +50 -0
  224. package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +51 -0
  225. package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +50 -0
  226. package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +47 -0
  227. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  228. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
  229. package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +50 -0
  230. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
  231. package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +47 -0
  232. package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +51 -0
  233. package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +47 -0
  234. package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +51 -0
  235. package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +51 -0
  236. package/dist-types/ts3.4/commands/index.d.ts +50 -0
  237. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  238. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  239. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  240. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  241. package/dist-types/ts3.4/index.d.ts +12 -0
  242. package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +9 -0
  243. package/dist-types/ts3.4/models/enums.d.ts +200 -0
  244. package/dist-types/ts3.4/models/errors.d.ts +46 -0
  245. package/dist-types/ts3.4/models/models_0.d.ts +977 -0
  246. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  247. package/dist-types/ts3.4/pagination/ListAgentSpacesPaginator.d.ts +11 -0
  248. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  249. package/dist-types/ts3.4/pagination/ListArtifactsPaginator.d.ts +11 -0
  250. package/dist-types/ts3.4/pagination/ListDiscoveredEndpointsPaginator.d.ts +11 -0
  251. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +11 -0
  252. package/dist-types/ts3.4/pagination/ListIntegratedResourcesPaginator.d.ts +11 -0
  253. package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
  254. package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
  255. package/dist-types/ts3.4/pagination/ListPentestJobTasksPaginator.d.ts +11 -0
  256. package/dist-types/ts3.4/pagination/ListPentestJobsForPentestPaginator.d.ts +11 -0
  257. package/dist-types/ts3.4/pagination/ListPentestsPaginator.d.ts +11 -0
  258. package/dist-types/ts3.4/pagination/ListTargetDomainsPaginator.d.ts +11 -0
  259. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  260. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  261. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  262. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  263. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  264. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  265. package/dist-types/ts3.4/schemas/schemas_0.d.ts +225 -0
  266. package/package.json +100 -0
@@ -0,0 +1,158 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BatchGetPentestsInput, BatchGetPentestsOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetPentestsCommand}.
14
+ */
15
+ export interface BatchGetPentestsCommandInput extends BatchGetPentestsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetPentestsCommand}.
21
+ */
22
+ export interface BatchGetPentestsCommandOutput extends BatchGetPentestsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchGetPentestsCommand_base: {
25
+ new (input: BatchGetPentestsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetPentestsCommandInput, BatchGetPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchGetPentestsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetPentestsCommandInput, BatchGetPentestsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Retrieves multiple pentests in a single request
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityAgentClient, BatchGetPentestsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
35
+ * // const { SecurityAgentClient, BatchGetPentestsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
36
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
37
+ * const config = {}; // type is SecurityAgentClientConfig
38
+ * const client = new SecurityAgentClient(config);
39
+ * const input = { // BatchGetPentestsInput
40
+ * pentestIds: [ // PentestIdList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * agentSpaceId: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new BatchGetPentestsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // BatchGetPentestsOutput
48
+ * // pentests: [ // PentestList
49
+ * // { // Pentest
50
+ * // pentestId: "STRING_VALUE", // required
51
+ * // agentSpaceId: "STRING_VALUE", // required
52
+ * // title: "STRING_VALUE", // required
53
+ * // assets: { // Assets
54
+ * // endpoints: [ // EndpointList
55
+ * // { // Endpoint
56
+ * // uri: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // actors: [ // ActorList
60
+ * // { // Actor
61
+ * // identifier: "STRING_VALUE",
62
+ * // uris: [ // UriList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // authentication: { // Authentication
66
+ * // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
67
+ * // value: "STRING_VALUE",
68
+ * // },
69
+ * // description: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // documents: [ // DocumentList
73
+ * // { // DocumentInfo
74
+ * // s3Location: "STRING_VALUE",
75
+ * // artifactId: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // sourceCode: [ // SourceCodeRepositoryList
79
+ * // { // SourceCodeRepository
80
+ * // s3Location: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // integratedRepositories: [ // IntegratedRepositoryList
84
+ * // { // IntegratedRepository
85
+ * // integrationId: "STRING_VALUE", // required
86
+ * // providerResourceId: "STRING_VALUE", // required
87
+ * // },
88
+ * // ],
89
+ * // },
90
+ * // excludeRiskTypes: [ // RiskTypeList
91
+ * // "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
92
+ * // ],
93
+ * // serviceRole: "STRING_VALUE",
94
+ * // logConfig: { // CloudWatchLog
95
+ * // logGroup: "STRING_VALUE",
96
+ * // logStream: "STRING_VALUE",
97
+ * // },
98
+ * // vpcConfig: { // VpcConfig
99
+ * // vpcArn: "STRING_VALUE",
100
+ * // securityGroupArns: [ // SecurityGroupArns
101
+ * // "STRING_VALUE",
102
+ * // ],
103
+ * // subnetArns: [ // SubnetArns
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // },
107
+ * // networkTrafficConfig: { // NetworkTrafficConfig
108
+ * // rules: [ // NetworkTrafficRuleList
109
+ * // { // NetworkTrafficRule
110
+ * // effect: "ALLOW" || "DENY",
111
+ * // pattern: "STRING_VALUE",
112
+ * // networkTrafficRuleType: "URL",
113
+ * // },
114
+ * // ],
115
+ * // customHeaders: [ // CustomHeaderList
116
+ * // { // CustomHeader
117
+ * // name: "STRING_VALUE",
118
+ * // value: "STRING_VALUE",
119
+ * // },
120
+ * // ],
121
+ * // },
122
+ * // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
123
+ * // createdAt: new Date("TIMESTAMP"),
124
+ * // updatedAt: new Date("TIMESTAMP"),
125
+ * // },
126
+ * // ],
127
+ * // notFound: [ // PentestIdList
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // };
131
+ *
132
+ * ```
133
+ *
134
+ * @param BatchGetPentestsCommandInput - {@link BatchGetPentestsCommandInput}
135
+ * @returns {@link BatchGetPentestsCommandOutput}
136
+ * @see {@link BatchGetPentestsCommandInput} for command's `input` shape.
137
+ * @see {@link BatchGetPentestsCommandOutput} for command's `response` shape.
138
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
139
+ *
140
+ * @throws {@link SecurityAgentServiceException}
141
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
142
+ *
143
+ *
144
+ * @public
145
+ */
146
+ export declare class BatchGetPentestsCommand extends BatchGetPentestsCommand_base {
147
+ /** @internal type navigation helper, not in runtime. */
148
+ protected static __types: {
149
+ api: {
150
+ input: BatchGetPentestsInput;
151
+ output: BatchGetPentestsOutput;
152
+ };
153
+ sdk: {
154
+ input: BatchGetPentestsCommandInput;
155
+ output: BatchGetPentestsCommandOutput;
156
+ };
157
+ };
158
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BatchGetTargetDomainsInput, BatchGetTargetDomainsOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetTargetDomainsCommand}.
14
+ */
15
+ export interface BatchGetTargetDomainsCommandInput extends BatchGetTargetDomainsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetTargetDomainsCommand}.
21
+ */
22
+ export interface BatchGetTargetDomainsCommandOutput extends BatchGetTargetDomainsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchGetTargetDomainsCommand_base: {
25
+ new (input: BatchGetTargetDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetTargetDomainsCommandInput, BatchGetTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchGetTargetDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetTargetDomainsCommandInput, BatchGetTargetDomainsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Retrieves multiple target domains in a single request
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityAgentClient, BatchGetTargetDomainsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
35
+ * // const { SecurityAgentClient, BatchGetTargetDomainsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
36
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
37
+ * const config = {}; // type is SecurityAgentClientConfig
38
+ * const client = new SecurityAgentClient(config);
39
+ * const input = { // BatchGetTargetDomainsInput
40
+ * targetDomainIds: [ // TargetDomainIdList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * };
44
+ * const command = new BatchGetTargetDomainsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // BatchGetTargetDomainsOutput
47
+ * // targetDomains: [ // TargetDomainList
48
+ * // { // TargetDomain
49
+ * // targetDomainId: "STRING_VALUE", // required
50
+ * // domainName: "STRING_VALUE", // required
51
+ * // verificationStatus: "PENDING" || "VERIFIED" || "FAILED" || "UNREACHABLE",
52
+ * // verificationDetails: { // VerificationDetails
53
+ * // method: "DNS_TXT" || "HTTP_ROUTE",
54
+ * // dnsTxt: { // DnsVerification
55
+ * // token: "STRING_VALUE",
56
+ * // dnsRecordName: "STRING_VALUE",
57
+ * // dnsRecordType: "TXT",
58
+ * // },
59
+ * // httpRoute: { // HttpVerification
60
+ * // token: "STRING_VALUE",
61
+ * // routePath: "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // createdAt: new Date("TIMESTAMP"),
65
+ * // verifiedAt: new Date("TIMESTAMP"),
66
+ * // },
67
+ * // ],
68
+ * // notFound: [ // TargetDomainIdList
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param BatchGetTargetDomainsCommandInput - {@link BatchGetTargetDomainsCommandInput}
76
+ * @returns {@link BatchGetTargetDomainsCommandOutput}
77
+ * @see {@link BatchGetTargetDomainsCommandInput} for command's `input` shape.
78
+ * @see {@link BatchGetTargetDomainsCommandOutput} for command's `response` shape.
79
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
80
+ *
81
+ * @throws {@link SecurityAgentServiceException}
82
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class BatchGetTargetDomainsCommand extends BatchGetTargetDomainsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: BatchGetTargetDomainsInput;
92
+ output: BatchGetTargetDomainsOutput;
93
+ };
94
+ sdk: {
95
+ input: BatchGetTargetDomainsCommandInput;
96
+ output: BatchGetTargetDomainsCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,154 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateAgentSpaceInput, CreateAgentSpaceOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAgentSpaceCommand}.
14
+ */
15
+ export interface CreateAgentSpaceCommandInput extends CreateAgentSpaceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAgentSpaceCommand}.
21
+ */
22
+ export interface CreateAgentSpaceCommandOutput extends CreateAgentSpaceOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateAgentSpaceCommand_base: {
25
+ new (input: CreateAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates an agent space record
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityAgentClient, CreateAgentSpaceCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
35
+ * // const { SecurityAgentClient, CreateAgentSpaceCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
36
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
37
+ * const config = {}; // type is SecurityAgentClientConfig
38
+ * const client = new SecurityAgentClient(config);
39
+ * const input = { // CreateAgentSpaceInput
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * awsResources: { // AWSResources
43
+ * vpcs: [ // VpcConfigs
44
+ * { // VpcConfig
45
+ * vpcArn: "STRING_VALUE",
46
+ * securityGroupArns: [ // SecurityGroupArns
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * subnetArns: [ // SubnetArns
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * },
53
+ * ],
54
+ * logGroups: [ // LogGroupArns
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * s3Buckets: [ // S3BucketArns
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * secretArns: [ // SecretArns
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * lambdaFunctionArns: [ // LambdaFunctionArns
64
+ * "STRING_VALUE",
65
+ * ],
66
+ * iamRoles: [ // IamRoles
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * },
70
+ * targetDomainIds: [ // TargetDomainIdList
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * codeReviewSettings: { // CodeReviewSettings
74
+ * controlsScanning: true || false, // required
75
+ * generalPurposeScanning: true || false, // required
76
+ * },
77
+ * kmsKeyId: "STRING_VALUE",
78
+ * tags: { // TagMap
79
+ * "<keys>": "STRING_VALUE",
80
+ * },
81
+ * };
82
+ * const command = new CreateAgentSpaceCommand(input);
83
+ * const response = await client.send(command);
84
+ * // { // CreateAgentSpaceOutput
85
+ * // agentSpaceId: "STRING_VALUE", // required
86
+ * // name: "STRING_VALUE", // required
87
+ * // description: "STRING_VALUE",
88
+ * // awsResources: { // AWSResources
89
+ * // vpcs: [ // VpcConfigs
90
+ * // { // VpcConfig
91
+ * // vpcArn: "STRING_VALUE",
92
+ * // securityGroupArns: [ // SecurityGroupArns
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // subnetArns: [ // SubnetArns
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // },
99
+ * // ],
100
+ * // logGroups: [ // LogGroupArns
101
+ * // "STRING_VALUE",
102
+ * // ],
103
+ * // s3Buckets: [ // S3BucketArns
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // secretArns: [ // SecretArns
107
+ * // "STRING_VALUE",
108
+ * // ],
109
+ * // lambdaFunctionArns: [ // LambdaFunctionArns
110
+ * // "STRING_VALUE",
111
+ * // ],
112
+ * // iamRoles: [ // IamRoles
113
+ * // "STRING_VALUE",
114
+ * // ],
115
+ * // },
116
+ * // targetDomainIds: [ // TargetDomainIdList
117
+ * // "STRING_VALUE",
118
+ * // ],
119
+ * // codeReviewSettings: { // CodeReviewSettings
120
+ * // controlsScanning: true || false, // required
121
+ * // generalPurposeScanning: true || false, // required
122
+ * // },
123
+ * // kmsKeyId: "STRING_VALUE",
124
+ * // createdAt: new Date("TIMESTAMP"),
125
+ * // updatedAt: new Date("TIMESTAMP"),
126
+ * // };
127
+ *
128
+ * ```
129
+ *
130
+ * @param CreateAgentSpaceCommandInput - {@link CreateAgentSpaceCommandInput}
131
+ * @returns {@link CreateAgentSpaceCommandOutput}
132
+ * @see {@link CreateAgentSpaceCommandInput} for command's `input` shape.
133
+ * @see {@link CreateAgentSpaceCommandOutput} for command's `response` shape.
134
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
135
+ *
136
+ * @throws {@link SecurityAgentServiceException}
137
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
138
+ *
139
+ *
140
+ * @public
141
+ */
142
+ export declare class CreateAgentSpaceCommand extends CreateAgentSpaceCommand_base {
143
+ /** @internal type navigation helper, not in runtime. */
144
+ protected static __types: {
145
+ api: {
146
+ input: CreateAgentSpaceInput;
147
+ output: CreateAgentSpaceOutput;
148
+ };
149
+ sdk: {
150
+ input: CreateAgentSpaceCommandInput;
151
+ output: CreateAgentSpaceCommandOutput;
152
+ };
153
+ };
154
+ }
@@ -0,0 +1,79 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateApplicationCommand}.
14
+ */
15
+ export interface CreateApplicationCommandInput extends CreateApplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateApplicationCommand}.
21
+ */
22
+ export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateApplicationCommand_base: {
25
+ new (input: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [CreateApplicationCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new application
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityAgentClient, CreateApplicationCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
35
+ * // const { SecurityAgentClient, CreateApplicationCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
36
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
37
+ * const config = {}; // type is SecurityAgentClientConfig
38
+ * const client = new SecurityAgentClient(config);
39
+ * const input = { // CreateApplicationRequest
40
+ * idcInstanceArn: "STRING_VALUE",
41
+ * roleArn: "STRING_VALUE",
42
+ * defaultKmsKeyId: "STRING_VALUE",
43
+ * tags: { // TagMap
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new CreateApplicationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateApplicationResponse
50
+ * // applicationId: "STRING_VALUE", // required
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
56
+ * @returns {@link CreateApplicationCommandOutput}
57
+ * @see {@link CreateApplicationCommandInput} for command's `input` shape.
58
+ * @see {@link CreateApplicationCommandOutput} for command's `response` shape.
59
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
60
+ *
61
+ * @throws {@link SecurityAgentServiceException}
62
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
63
+ *
64
+ *
65
+ * @public
66
+ */
67
+ export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
68
+ /** @internal type navigation helper, not in runtime. */
69
+ protected static __types: {
70
+ api: {
71
+ input: CreateApplicationRequest;
72
+ output: CreateApplicationResponse;
73
+ };
74
+ sdk: {
75
+ input: CreateApplicationCommandInput;
76
+ output: CreateApplicationCommandOutput;
77
+ };
78
+ };
79
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateIntegrationInput, CreateIntegrationOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateIntegrationCommand}.
14
+ */
15
+ export interface CreateIntegrationCommandInput extends CreateIntegrationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateIntegrationCommand}.
21
+ */
22
+ export interface CreateIntegrationCommandOutput extends CreateIntegrationOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateIntegrationCommand_base: {
25
+ new (input: CreateIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIntegrationCommandInput, CreateIntegrationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIntegrationCommandInput, CreateIntegrationCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates the Integration of the Security Agent App with an external Provider
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityAgentClient, CreateIntegrationCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
35
+ * // const { SecurityAgentClient, CreateIntegrationCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
36
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
37
+ * const config = {}; // type is SecurityAgentClientConfig
38
+ * const client = new SecurityAgentClient(config);
39
+ * const input = { // CreateIntegrationInput
40
+ * provider: "GITHUB", // required
41
+ * input: { // ProviderInput Union: only one key present
42
+ * github: { // GitHubIntegrationInput
43
+ * code: "STRING_VALUE", // required
44
+ * state: "STRING_VALUE", // required
45
+ * organizationName: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * integrationDisplayName: "STRING_VALUE", // required
49
+ * kmsKeyId: "STRING_VALUE",
50
+ * tags: { // TagMap
51
+ * "<keys>": "STRING_VALUE",
52
+ * },
53
+ * };
54
+ * const command = new CreateIntegrationCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // CreateIntegrationOutput
57
+ * // integrationId: "STRING_VALUE", // required
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param CreateIntegrationCommandInput - {@link CreateIntegrationCommandInput}
63
+ * @returns {@link CreateIntegrationCommandOutput}
64
+ * @see {@link CreateIntegrationCommandInput} for command's `input` shape.
65
+ * @see {@link CreateIntegrationCommandOutput} for command's `response` shape.
66
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * Request denied due to insufficient permissions
70
+ *
71
+ * @throws {@link ConflictException} (client fault)
72
+ * Request conflicts with current resource state
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * Unexpected server error occurred
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * Specified resource was not found
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * Request denied due to throttling
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * A standard error for input validation failures.
85
+ * This should be thrown by services when a member of the input structure
86
+ * falls outside of the modeled or documented constraints.
87
+ *
88
+ * @throws {@link SecurityAgentServiceException}
89
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class CreateIntegrationCommand extends CreateIntegrationCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: CreateIntegrationInput;
99
+ output: CreateIntegrationOutput;
100
+ };
101
+ sdk: {
102
+ input: CreateIntegrationCommandInput;
103
+ output: CreateIntegrationCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,80 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateMembershipRequest, CreateMembershipResponse } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateMembershipCommand}.
14
+ */
15
+ export interface CreateMembershipCommandInput extends CreateMembershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateMembershipCommand}.
21
+ */
22
+ export interface CreateMembershipCommandOutput extends CreateMembershipResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateMembershipCommand_base: {
25
+ new (input: CreateMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMembershipCommandInput, CreateMembershipCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMembershipCommandInput, CreateMembershipCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Adds a single member to an agent space with specified role
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityAgentClient, CreateMembershipCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
35
+ * // const { SecurityAgentClient, CreateMembershipCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
36
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
37
+ * const config = {}; // type is SecurityAgentClientConfig
38
+ * const client = new SecurityAgentClient(config);
39
+ * const input = { // CreateMembershipRequest
40
+ * applicationId: "STRING_VALUE", // required
41
+ * agentSpaceId: "STRING_VALUE", // required
42
+ * membershipId: "STRING_VALUE", // required
43
+ * memberType: "USER", // required
44
+ * config: { // MembershipConfig Union: only one key present
45
+ * user: { // UserConfig
46
+ * role: "MEMBER",
47
+ * },
48
+ * },
49
+ * };
50
+ * const command = new CreateMembershipCommand(input);
51
+ * const response = await client.send(command);
52
+ * // {};
53
+ *
54
+ * ```
55
+ *
56
+ * @param CreateMembershipCommandInput - {@link CreateMembershipCommandInput}
57
+ * @returns {@link CreateMembershipCommandOutput}
58
+ * @see {@link CreateMembershipCommandInput} for command's `input` shape.
59
+ * @see {@link CreateMembershipCommandOutput} for command's `response` shape.
60
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
61
+ *
62
+ * @throws {@link SecurityAgentServiceException}
63
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
64
+ *
65
+ *
66
+ * @public
67
+ */
68
+ export declare class CreateMembershipCommand extends CreateMembershipCommand_base {
69
+ /** @internal type navigation helper, not in runtime. */
70
+ protected static __types: {
71
+ api: {
72
+ input: CreateMembershipRequest;
73
+ output: {};
74
+ };
75
+ sdk: {
76
+ input: CreateMembershipCommandInput;
77
+ output: CreateMembershipCommandOutput;
78
+ };
79
+ };
80
+ }