@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,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetArtifact$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetArtifactCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "GetArtifact", {})
13
+ .n("SecurityAgentClient", "GetArtifactCommand")
14
+ .sc(GetArtifact$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetIntegration$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetIntegrationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "GetIntegration", {})
13
+ .n("SecurityAgentClient", "GetIntegrationCommand")
14
+ .sc(GetIntegration$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { InitiateProviderRegistration$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class InitiateProviderRegistrationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "InitiateProviderRegistration", {})
13
+ .n("SecurityAgentClient", "InitiateProviderRegistrationCommand")
14
+ .sc(InitiateProviderRegistration$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListAgentSpaces$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListAgentSpacesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListAgentSpaces", {})
13
+ .n("SecurityAgentClient", "ListAgentSpacesCommand")
14
+ .sc(ListAgentSpaces$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListApplications$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListApplicationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListApplications", {})
13
+ .n("SecurityAgentClient", "ListApplicationsCommand")
14
+ .sc(ListApplications$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListArtifacts$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListArtifactsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListArtifacts", {})
13
+ .n("SecurityAgentClient", "ListArtifactsCommand")
14
+ .sc(ListArtifacts$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDiscoveredEndpoints$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDiscoveredEndpointsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListDiscoveredEndpoints", {})
13
+ .n("SecurityAgentClient", "ListDiscoveredEndpointsCommand")
14
+ .sc(ListDiscoveredEndpoints$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListFindings$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListFindingsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListFindings", {})
13
+ .n("SecurityAgentClient", "ListFindingsCommand")
14
+ .sc(ListFindings$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListIntegratedResources$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListIntegratedResourcesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListIntegratedResources", {})
13
+ .n("SecurityAgentClient", "ListIntegratedResourcesCommand")
14
+ .sc(ListIntegratedResources$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListIntegrations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListIntegrationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListIntegrations", {})
13
+ .n("SecurityAgentClient", "ListIntegrationsCommand")
14
+ .sc(ListIntegrations$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListMemberships$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListMembershipsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListMemberships", {})
13
+ .n("SecurityAgentClient", "ListMembershipsCommand")
14
+ .sc(ListMemberships$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListPentestJobTasks$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListPentestJobTasksCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListPentestJobTasks", {})
13
+ .n("SecurityAgentClient", "ListPentestJobTasksCommand")
14
+ .sc(ListPentestJobTasks$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListPentestJobsForPentest$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListPentestJobsForPentestCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListPentestJobsForPentest", {})
13
+ .n("SecurityAgentClient", "ListPentestJobsForPentestCommand")
14
+ .sc(ListPentestJobsForPentest$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListPentests$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListPentestsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListPentests", {})
13
+ .n("SecurityAgentClient", "ListPentestsCommand")
14
+ .sc(ListPentests$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListTagsForResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListTagsForResource", {})
13
+ .n("SecurityAgentClient", "ListTagsForResourceCommand")
14
+ .sc(ListTagsForResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListTargetDomains$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListTargetDomainsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "ListTargetDomains", {})
13
+ .n("SecurityAgentClient", "ListTargetDomainsCommand")
14
+ .sc(ListTargetDomains$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StartCodeRemediation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StartCodeRemediationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "StartCodeRemediation", {})
13
+ .n("SecurityAgentClient", "StartCodeRemediationCommand")
14
+ .sc(StartCodeRemediation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StartPentestJob$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StartPentestJobCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "StartPentestJob", {})
13
+ .n("SecurityAgentClient", "StartPentestJobCommand")
14
+ .sc(StartPentestJob$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StopPentestJob$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StopPentestJobCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "StopPentestJob", {})
13
+ .n("SecurityAgentClient", "StopPentestJobCommand")
14
+ .sc(StopPentestJob$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class TagResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "TagResource", {})
13
+ .n("SecurityAgentClient", "TagResourceCommand")
14
+ .sc(TagResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UntagResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UntagResource", {})
13
+ .n("SecurityAgentClient", "UntagResourceCommand")
14
+ .sc(UntagResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateAgentSpace$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateAgentSpaceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UpdateAgentSpace", {})
13
+ .n("SecurityAgentClient", "UpdateAgentSpaceCommand")
14
+ .sc(UpdateAgentSpace$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateApplication$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateApplicationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UpdateApplication", {})
13
+ .n("SecurityAgentClient", "UpdateApplicationCommand")
14
+ .sc(UpdateApplication$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateFinding$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateFindingCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UpdateFinding", {})
13
+ .n("SecurityAgentClient", "UpdateFindingCommand")
14
+ .sc(UpdateFinding$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateIntegratedResources$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateIntegratedResourcesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UpdateIntegratedResources", {})
13
+ .n("SecurityAgentClient", "UpdateIntegratedResourcesCommand")
14
+ .sc(UpdateIntegratedResources$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdatePentest$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdatePentestCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UpdatePentest", {})
13
+ .n("SecurityAgentClient", "UpdatePentestCommand")
14
+ .sc(UpdatePentest$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateTargetDomain$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateTargetDomainCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "UpdateTargetDomain", {})
13
+ .n("SecurityAgentClient", "UpdateTargetDomainCommand")
14
+ .sc(UpdateTargetDomain$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { VerifyTargetDomain$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class VerifyTargetDomainCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SecurityAgent", "VerifyTargetDomain", {})
13
+ .n("SecurityAgentClient", "VerifyTargetDomainCommand")
14
+ .sc(VerifyTargetDomain$)
15
+ .build() {
16
+ }
@@ -0,0 +1,50 @@
1
+ export * from "./AddArtifactCommand";
2
+ export * from "./BatchDeletePentestsCommand";
3
+ export * from "./BatchGetAgentSpacesCommand";
4
+ export * from "./BatchGetArtifactMetadataCommand";
5
+ export * from "./BatchGetFindingsCommand";
6
+ export * from "./BatchGetPentestJobTasksCommand";
7
+ export * from "./BatchGetPentestJobsCommand";
8
+ export * from "./BatchGetPentestsCommand";
9
+ export * from "./BatchGetTargetDomainsCommand";
10
+ export * from "./CreateAgentSpaceCommand";
11
+ export * from "./CreateApplicationCommand";
12
+ export * from "./CreateIntegrationCommand";
13
+ export * from "./CreateMembershipCommand";
14
+ export * from "./CreatePentestCommand";
15
+ export * from "./CreateTargetDomainCommand";
16
+ export * from "./DeleteAgentSpaceCommand";
17
+ export * from "./DeleteApplicationCommand";
18
+ export * from "./DeleteArtifactCommand";
19
+ export * from "./DeleteIntegrationCommand";
20
+ export * from "./DeleteMembershipCommand";
21
+ export * from "./DeleteTargetDomainCommand";
22
+ export * from "./GetApplicationCommand";
23
+ export * from "./GetArtifactCommand";
24
+ export * from "./GetIntegrationCommand";
25
+ export * from "./InitiateProviderRegistrationCommand";
26
+ export * from "./ListAgentSpacesCommand";
27
+ export * from "./ListApplicationsCommand";
28
+ export * from "./ListArtifactsCommand";
29
+ export * from "./ListDiscoveredEndpointsCommand";
30
+ export * from "./ListFindingsCommand";
31
+ export * from "./ListIntegratedResourcesCommand";
32
+ export * from "./ListIntegrationsCommand";
33
+ export * from "./ListMembershipsCommand";
34
+ export * from "./ListPentestJobTasksCommand";
35
+ export * from "./ListPentestJobsForPentestCommand";
36
+ export * from "./ListPentestsCommand";
37
+ export * from "./ListTagsForResourceCommand";
38
+ export * from "./ListTargetDomainsCommand";
39
+ export * from "./StartCodeRemediationCommand";
40
+ export * from "./StartPentestJobCommand";
41
+ export * from "./StopPentestJobCommand";
42
+ export * from "./TagResourceCommand";
43
+ export * from "./UntagResourceCommand";
44
+ export * from "./UpdateAgentSpaceCommand";
45
+ export * from "./UpdateApplicationCommand";
46
+ export * from "./UpdateFindingCommand";
47
+ export * from "./UpdateIntegratedResourcesCommand";
48
+ export * from "./UpdatePentestCommand";
49
+ export * from "./UpdateTargetDomainCommand";
50
+ export * from "./VerifyTargetDomainCommand";
@@ -0,0 +1,11 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return Object.assign(options, {
3
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
4
+ defaultSigningName: "securityagent",
5
+ });
6
+ };
7
+ export const commonParams = {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ };
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const l = "ref";
2
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "string" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://securityagent-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://securityagent.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ export * from "./SecurityAgentClient";
2
+ export * from "./SecurityAgent";
3
+ export * from "./commands";
4
+ export * from "./schemas/schemas_0";
5
+ export * from "./pagination";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
8
+ export * from "./models/models_0";
9
+ export { SecurityAgentServiceException } from "./models/SecurityAgentServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class SecurityAgentServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, SecurityAgentServiceException.prototype);
7
+ }
8
+ }