@aws-sdk/client-inspector 3.35.0 → 3.36.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 (301) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/Inspector.js +0 -1
  3. package/dist-cjs/InspectorClient.js +0 -1
  4. package/dist-cjs/commands/AddAttributesToFindingsCommand.js +0 -1
  5. package/dist-cjs/commands/CreateAssessmentTargetCommand.js +0 -1
  6. package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +0 -1
  7. package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +0 -1
  8. package/dist-cjs/commands/CreateResourceGroupCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteAssessmentRunCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +0 -1
  13. package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +0 -1
  14. package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +0 -1
  15. package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +0 -1
  16. package/dist-cjs/commands/DescribeExclusionsCommand.js +0 -1
  17. package/dist-cjs/commands/DescribeFindingsCommand.js +0 -1
  18. package/dist-cjs/commands/DescribeResourceGroupsCommand.js +0 -1
  19. package/dist-cjs/commands/DescribeRulesPackagesCommand.js +0 -1
  20. package/dist-cjs/commands/GetAssessmentReportCommand.js +0 -1
  21. package/dist-cjs/commands/GetExclusionsPreviewCommand.js +0 -1
  22. package/dist-cjs/commands/GetTelemetryMetadataCommand.js +0 -1
  23. package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +0 -1
  24. package/dist-cjs/commands/ListAssessmentRunsCommand.js +0 -1
  25. package/dist-cjs/commands/ListAssessmentTargetsCommand.js +0 -1
  26. package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +0 -1
  27. package/dist-cjs/commands/ListEventSubscriptionsCommand.js +0 -1
  28. package/dist-cjs/commands/ListExclusionsCommand.js +0 -1
  29. package/dist-cjs/commands/ListFindingsCommand.js +0 -1
  30. package/dist-cjs/commands/ListRulesPackagesCommand.js +0 -1
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  32. package/dist-cjs/commands/PreviewAgentsCommand.js +0 -1
  33. package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +0 -1
  34. package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +0 -1
  35. package/dist-cjs/commands/SetTagsForResourceCommand.js +0 -1
  36. package/dist-cjs/commands/StartAssessmentRunCommand.js +0 -1
  37. package/dist-cjs/commands/StopAssessmentRunCommand.js +0 -1
  38. package/dist-cjs/commands/SubscribeToEventCommand.js +0 -1
  39. package/dist-cjs/commands/UnsubscribeFromEventCommand.js +0 -1
  40. package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +0 -1
  41. package/dist-cjs/endpoints.js +0 -1
  42. package/dist-cjs/index.js +0 -1
  43. package/dist-cjs/models/index.js +0 -1
  44. package/dist-cjs/models/models_0.js +0 -1
  45. package/dist-cjs/pagination/GetExclusionsPreviewPaginator.js +0 -1
  46. package/dist-cjs/pagination/Interfaces.js +0 -1
  47. package/dist-cjs/pagination/ListAssessmentRunAgentsPaginator.js +0 -1
  48. package/dist-cjs/pagination/ListAssessmentRunsPaginator.js +0 -1
  49. package/dist-cjs/pagination/ListAssessmentTargetsPaginator.js +0 -1
  50. package/dist-cjs/pagination/ListAssessmentTemplatesPaginator.js +0 -1
  51. package/dist-cjs/pagination/ListEventSubscriptionsPaginator.js +0 -1
  52. package/dist-cjs/pagination/ListExclusionsPaginator.js +0 -1
  53. package/dist-cjs/pagination/ListFindingsPaginator.js +0 -1
  54. package/dist-cjs/pagination/ListRulesPackagesPaginator.js +0 -1
  55. package/dist-cjs/pagination/PreviewAgentsPaginator.js +0 -1
  56. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  57. package/dist-cjs/runtimeConfig.browser.js +2 -3
  58. package/dist-cjs/runtimeConfig.js +3 -4
  59. package/dist-cjs/runtimeConfig.native.js +0 -1
  60. package/dist-cjs/runtimeConfig.shared.js +0 -1
  61. package/dist-es/Inspector.js +0 -1
  62. package/dist-es/InspectorClient.js +0 -1
  63. package/dist-es/commands/AddAttributesToFindingsCommand.js +0 -1
  64. package/dist-es/commands/CreateAssessmentTargetCommand.js +0 -1
  65. package/dist-es/commands/CreateAssessmentTemplateCommand.js +0 -1
  66. package/dist-es/commands/CreateExclusionsPreviewCommand.js +0 -1
  67. package/dist-es/commands/CreateResourceGroupCommand.js +0 -1
  68. package/dist-es/commands/DeleteAssessmentRunCommand.js +0 -1
  69. package/dist-es/commands/DeleteAssessmentTargetCommand.js +0 -1
  70. package/dist-es/commands/DeleteAssessmentTemplateCommand.js +0 -1
  71. package/dist-es/commands/DescribeAssessmentRunsCommand.js +0 -1
  72. package/dist-es/commands/DescribeAssessmentTargetsCommand.js +0 -1
  73. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +0 -1
  74. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +0 -1
  75. package/dist-es/commands/DescribeExclusionsCommand.js +0 -1
  76. package/dist-es/commands/DescribeFindingsCommand.js +0 -1
  77. package/dist-es/commands/DescribeResourceGroupsCommand.js +0 -1
  78. package/dist-es/commands/DescribeRulesPackagesCommand.js +0 -1
  79. package/dist-es/commands/GetAssessmentReportCommand.js +0 -1
  80. package/dist-es/commands/GetExclusionsPreviewCommand.js +0 -1
  81. package/dist-es/commands/GetTelemetryMetadataCommand.js +0 -1
  82. package/dist-es/commands/ListAssessmentRunAgentsCommand.js +0 -1
  83. package/dist-es/commands/ListAssessmentRunsCommand.js +0 -1
  84. package/dist-es/commands/ListAssessmentTargetsCommand.js +0 -1
  85. package/dist-es/commands/ListAssessmentTemplatesCommand.js +0 -1
  86. package/dist-es/commands/ListEventSubscriptionsCommand.js +0 -1
  87. package/dist-es/commands/ListExclusionsCommand.js +0 -1
  88. package/dist-es/commands/ListFindingsCommand.js +0 -1
  89. package/dist-es/commands/ListRulesPackagesCommand.js +0 -1
  90. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  91. package/dist-es/commands/PreviewAgentsCommand.js +0 -1
  92. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +0 -1
  93. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +0 -1
  94. package/dist-es/commands/SetTagsForResourceCommand.js +0 -1
  95. package/dist-es/commands/StartAssessmentRunCommand.js +0 -1
  96. package/dist-es/commands/StopAssessmentRunCommand.js +0 -1
  97. package/dist-es/commands/SubscribeToEventCommand.js +0 -1
  98. package/dist-es/commands/UnsubscribeFromEventCommand.js +0 -1
  99. package/dist-es/commands/UpdateAssessmentTargetCommand.js +0 -1
  100. package/dist-es/endpoints.js +0 -1
  101. package/dist-es/index.js +0 -1
  102. package/dist-es/models/index.js +0 -1
  103. package/dist-es/models/models_0.js +0 -1
  104. package/dist-es/pagination/GetExclusionsPreviewPaginator.js +0 -1
  105. package/dist-es/pagination/Interfaces.js +0 -1
  106. package/dist-es/pagination/ListAssessmentRunAgentsPaginator.js +0 -1
  107. package/dist-es/pagination/ListAssessmentRunsPaginator.js +0 -1
  108. package/dist-es/pagination/ListAssessmentTargetsPaginator.js +0 -1
  109. package/dist-es/pagination/ListAssessmentTemplatesPaginator.js +0 -1
  110. package/dist-es/pagination/ListEventSubscriptionsPaginator.js +0 -1
  111. package/dist-es/pagination/ListExclusionsPaginator.js +0 -1
  112. package/dist-es/pagination/ListFindingsPaginator.js +0 -1
  113. package/dist-es/pagination/ListRulesPackagesPaginator.js +0 -1
  114. package/dist-es/pagination/PreviewAgentsPaginator.js +0 -1
  115. package/dist-es/protocols/Aws_json1_1.js +0 -1
  116. package/dist-es/runtimeConfig.browser.js +1 -2
  117. package/dist-es/runtimeConfig.js +2 -3
  118. package/dist-es/runtimeConfig.native.js +0 -1
  119. package/dist-es/runtimeConfig.shared.js +0 -1
  120. package/package.json +33 -30
  121. package/dist-cjs/Inspector.js.map +0 -1
  122. package/dist-cjs/InspectorClient.js.map +0 -1
  123. package/dist-cjs/commands/AddAttributesToFindingsCommand.js.map +0 -1
  124. package/dist-cjs/commands/CreateAssessmentTargetCommand.js.map +0 -1
  125. package/dist-cjs/commands/CreateAssessmentTemplateCommand.js.map +0 -1
  126. package/dist-cjs/commands/CreateExclusionsPreviewCommand.js.map +0 -1
  127. package/dist-cjs/commands/CreateResourceGroupCommand.js.map +0 -1
  128. package/dist-cjs/commands/DeleteAssessmentRunCommand.js.map +0 -1
  129. package/dist-cjs/commands/DeleteAssessmentTargetCommand.js.map +0 -1
  130. package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
  131. package/dist-cjs/commands/DescribeAssessmentRunsCommand.js.map +0 -1
  132. package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
  133. package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
  134. package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
  135. package/dist-cjs/commands/DescribeExclusionsCommand.js.map +0 -1
  136. package/dist-cjs/commands/DescribeFindingsCommand.js.map +0 -1
  137. package/dist-cjs/commands/DescribeResourceGroupsCommand.js.map +0 -1
  138. package/dist-cjs/commands/DescribeRulesPackagesCommand.js.map +0 -1
  139. package/dist-cjs/commands/GetAssessmentReportCommand.js.map +0 -1
  140. package/dist-cjs/commands/GetExclusionsPreviewCommand.js.map +0 -1
  141. package/dist-cjs/commands/GetTelemetryMetadataCommand.js.map +0 -1
  142. package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
  143. package/dist-cjs/commands/ListAssessmentRunsCommand.js.map +0 -1
  144. package/dist-cjs/commands/ListAssessmentTargetsCommand.js.map +0 -1
  145. package/dist-cjs/commands/ListAssessmentTemplatesCommand.js.map +0 -1
  146. package/dist-cjs/commands/ListEventSubscriptionsCommand.js.map +0 -1
  147. package/dist-cjs/commands/ListExclusionsCommand.js.map +0 -1
  148. package/dist-cjs/commands/ListFindingsCommand.js.map +0 -1
  149. package/dist-cjs/commands/ListRulesPackagesCommand.js.map +0 -1
  150. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  151. package/dist-cjs/commands/PreviewAgentsCommand.js.map +0 -1
  152. package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
  153. package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
  154. package/dist-cjs/commands/SetTagsForResourceCommand.js.map +0 -1
  155. package/dist-cjs/commands/StartAssessmentRunCommand.js.map +0 -1
  156. package/dist-cjs/commands/StopAssessmentRunCommand.js.map +0 -1
  157. package/dist-cjs/commands/SubscribeToEventCommand.js.map +0 -1
  158. package/dist-cjs/commands/UnsubscribeFromEventCommand.js.map +0 -1
  159. package/dist-cjs/commands/UpdateAssessmentTargetCommand.js.map +0 -1
  160. package/dist-cjs/endpoints.js.map +0 -1
  161. package/dist-cjs/index.js.map +0 -1
  162. package/dist-cjs/models/index.js.map +0 -1
  163. package/dist-cjs/models/models_0.js.map +0 -1
  164. package/dist-cjs/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
  165. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  166. package/dist-cjs/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
  167. package/dist-cjs/pagination/ListAssessmentRunsPaginator.js.map +0 -1
  168. package/dist-cjs/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
  169. package/dist-cjs/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
  170. package/dist-cjs/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
  171. package/dist-cjs/pagination/ListExclusionsPaginator.js.map +0 -1
  172. package/dist-cjs/pagination/ListFindingsPaginator.js.map +0 -1
  173. package/dist-cjs/pagination/ListRulesPackagesPaginator.js.map +0 -1
  174. package/dist-cjs/pagination/PreviewAgentsPaginator.js.map +0 -1
  175. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  176. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  177. package/dist-cjs/runtimeConfig.js.map +0 -1
  178. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  179. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  180. package/dist-es/Inspector.js.map +0 -1
  181. package/dist-es/InspectorClient.js.map +0 -1
  182. package/dist-es/commands/AddAttributesToFindingsCommand.js.map +0 -1
  183. package/dist-es/commands/CreateAssessmentTargetCommand.js.map +0 -1
  184. package/dist-es/commands/CreateAssessmentTemplateCommand.js.map +0 -1
  185. package/dist-es/commands/CreateExclusionsPreviewCommand.js.map +0 -1
  186. package/dist-es/commands/CreateResourceGroupCommand.js.map +0 -1
  187. package/dist-es/commands/DeleteAssessmentRunCommand.js.map +0 -1
  188. package/dist-es/commands/DeleteAssessmentTargetCommand.js.map +0 -1
  189. package/dist-es/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
  190. package/dist-es/commands/DescribeAssessmentRunsCommand.js.map +0 -1
  191. package/dist-es/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
  192. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
  193. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
  194. package/dist-es/commands/DescribeExclusionsCommand.js.map +0 -1
  195. package/dist-es/commands/DescribeFindingsCommand.js.map +0 -1
  196. package/dist-es/commands/DescribeResourceGroupsCommand.js.map +0 -1
  197. package/dist-es/commands/DescribeRulesPackagesCommand.js.map +0 -1
  198. package/dist-es/commands/GetAssessmentReportCommand.js.map +0 -1
  199. package/dist-es/commands/GetExclusionsPreviewCommand.js.map +0 -1
  200. package/dist-es/commands/GetTelemetryMetadataCommand.js.map +0 -1
  201. package/dist-es/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
  202. package/dist-es/commands/ListAssessmentRunsCommand.js.map +0 -1
  203. package/dist-es/commands/ListAssessmentTargetsCommand.js.map +0 -1
  204. package/dist-es/commands/ListAssessmentTemplatesCommand.js.map +0 -1
  205. package/dist-es/commands/ListEventSubscriptionsCommand.js.map +0 -1
  206. package/dist-es/commands/ListExclusionsCommand.js.map +0 -1
  207. package/dist-es/commands/ListFindingsCommand.js.map +0 -1
  208. package/dist-es/commands/ListRulesPackagesCommand.js.map +0 -1
  209. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  210. package/dist-es/commands/PreviewAgentsCommand.js.map +0 -1
  211. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
  212. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
  213. package/dist-es/commands/SetTagsForResourceCommand.js.map +0 -1
  214. package/dist-es/commands/StartAssessmentRunCommand.js.map +0 -1
  215. package/dist-es/commands/StopAssessmentRunCommand.js.map +0 -1
  216. package/dist-es/commands/SubscribeToEventCommand.js.map +0 -1
  217. package/dist-es/commands/UnsubscribeFromEventCommand.js.map +0 -1
  218. package/dist-es/commands/UpdateAssessmentTargetCommand.js.map +0 -1
  219. package/dist-es/endpoints.js.map +0 -1
  220. package/dist-es/index.js.map +0 -1
  221. package/dist-es/models/index.js.map +0 -1
  222. package/dist-es/models/models_0.js.map +0 -1
  223. package/dist-es/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
  224. package/dist-es/pagination/Interfaces.js.map +0 -1
  225. package/dist-es/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
  226. package/dist-es/pagination/ListAssessmentRunsPaginator.js.map +0 -1
  227. package/dist-es/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
  228. package/dist-es/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
  229. package/dist-es/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
  230. package/dist-es/pagination/ListExclusionsPaginator.js.map +0 -1
  231. package/dist-es/pagination/ListFindingsPaginator.js.map +0 -1
  232. package/dist-es/pagination/ListRulesPackagesPaginator.js.map +0 -1
  233. package/dist-es/pagination/PreviewAgentsPaginator.js.map +0 -1
  234. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  235. package/dist-es/runtimeConfig.browser.js.map +0 -1
  236. package/dist-es/runtimeConfig.js.map +0 -1
  237. package/dist-es/runtimeConfig.native.js.map +0 -1
  238. package/dist-es/runtimeConfig.shared.js.map +0 -1
  239. package/jest.config.js +0 -4
  240. package/src/Inspector.ts +0 -1425
  241. package/src/InspectorClient.ts +0 -428
  242. package/src/commands/AddAttributesToFindingsCommand.ts +0 -96
  243. package/src/commands/CreateAssessmentTargetCommand.ts +0 -102
  244. package/src/commands/CreateAssessmentTemplateCommand.ts +0 -98
  245. package/src/commands/CreateExclusionsPreviewCommand.ts +0 -97
  246. package/src/commands/CreateResourceGroupCommand.ts +0 -98
  247. package/src/commands/DeleteAssessmentRunCommand.ts +0 -96
  248. package/src/commands/DeleteAssessmentTargetCommand.ts +0 -96
  249. package/src/commands/DeleteAssessmentTemplateCommand.ts +0 -96
  250. package/src/commands/DescribeAssessmentRunsCommand.ts +0 -96
  251. package/src/commands/DescribeAssessmentTargetsCommand.ts +0 -99
  252. package/src/commands/DescribeAssessmentTemplatesCommand.ts +0 -101
  253. package/src/commands/DescribeCrossAccountAccessRoleCommand.ts +0 -104
  254. package/src/commands/DescribeExclusionsCommand.ts +0 -95
  255. package/src/commands/DescribeFindingsCommand.ts +0 -95
  256. package/src/commands/DescribeResourceGroupsCommand.ts +0 -96
  257. package/src/commands/DescribeRulesPackagesCommand.ts +0 -96
  258. package/src/commands/GetAssessmentReportCommand.ts +0 -96
  259. package/src/commands/GetExclusionsPreviewCommand.ts +0 -97
  260. package/src/commands/GetTelemetryMetadataCommand.ts +0 -96
  261. package/src/commands/ListAssessmentRunAgentsCommand.ts +0 -96
  262. package/src/commands/ListAssessmentRunsCommand.ts +0 -96
  263. package/src/commands/ListAssessmentTargetsCommand.ts +0 -97
  264. package/src/commands/ListAssessmentTemplatesCommand.ts +0 -96
  265. package/src/commands/ListEventSubscriptionsCommand.ts +0 -96
  266. package/src/commands/ListExclusionsCommand.ts +0 -95
  267. package/src/commands/ListFindingsCommand.ts +0 -96
  268. package/src/commands/ListRulesPackagesCommand.ts +0 -95
  269. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  270. package/src/commands/PreviewAgentsCommand.ts +0 -96
  271. package/src/commands/RegisterCrossAccountAccessRoleCommand.ts +0 -102
  272. package/src/commands/RemoveAttributesFromFindingsCommand.ts +0 -101
  273. package/src/commands/SetTagsForResourceCommand.ts +0 -96
  274. package/src/commands/StartAssessmentRunCommand.ts +0 -97
  275. package/src/commands/StopAssessmentRunCommand.ts +0 -96
  276. package/src/commands/SubscribeToEventCommand.ts +0 -96
  277. package/src/commands/UnsubscribeFromEventCommand.ts +0 -96
  278. package/src/commands/UpdateAssessmentTargetCommand.ts +0 -98
  279. package/src/endpoints.ts +0 -86
  280. package/src/index.ts +0 -51
  281. package/src/models/index.ts +0 -1
  282. package/src/models/models_0.ts +0 -3381
  283. package/src/pagination/GetExclusionsPreviewPaginator.ts +0 -59
  284. package/src/pagination/Interfaces.ts +0 -8
  285. package/src/pagination/ListAssessmentRunAgentsPaginator.ts +0 -59
  286. package/src/pagination/ListAssessmentRunsPaginator.ts +0 -59
  287. package/src/pagination/ListAssessmentTargetsPaginator.ts +0 -59
  288. package/src/pagination/ListAssessmentTemplatesPaginator.ts +0 -59
  289. package/src/pagination/ListEventSubscriptionsPaginator.ts +0 -59
  290. package/src/pagination/ListExclusionsPaginator.ts +0 -59
  291. package/src/pagination/ListFindingsPaginator.ts +0 -59
  292. package/src/pagination/ListRulesPackagesPaginator.ts +0 -59
  293. package/src/pagination/PreviewAgentsPaginator.ts +0 -59
  294. package/src/protocols/Aws_json1_1.ts +0 -5926
  295. package/src/runtimeConfig.browser.ts +0 -41
  296. package/src/runtimeConfig.native.ts +0 -17
  297. package/src/runtimeConfig.shared.ts +0 -17
  298. package/src/runtimeConfig.ts +0 -46
  299. package/tsconfig.es.json +0 -10
  300. package/tsconfig.json +0 -33
  301. package/tsconfig.types.json +0 -9
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
15
- import { GetAssessmentReportRequest, GetAssessmentReportResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1GetAssessmentReportCommand,
18
- serializeAws_json1_1GetAssessmentReportCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface GetAssessmentReportCommandInput extends GetAssessmentReportRequest {}
22
- export interface GetAssessmentReportCommandOutput extends GetAssessmentReportResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Produces an assessment report that includes detailed and comprehensive results of a
26
- * specified assessment run. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { InspectorClient, GetAssessmentReportCommand } from "@aws-sdk/client-inspector"; // ES Modules import
31
- * // const { InspectorClient, GetAssessmentReportCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
32
- * const client = new InspectorClient(config);
33
- * const command = new GetAssessmentReportCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetAssessmentReportCommandInput} for command's `input` shape.
38
- * @see {@link GetAssessmentReportCommandOutput} for command's `response` shape.
39
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class GetAssessmentReportCommand extends $Command<
43
- GetAssessmentReportCommandInput,
44
- GetAssessmentReportCommandOutput,
45
- InspectorClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: GetAssessmentReportCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: InspectorClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<GetAssessmentReportCommandInput, GetAssessmentReportCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "InspectorClient";
70
- const commandName = "GetAssessmentReportCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: GetAssessmentReportRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: GetAssessmentReportResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: GetAssessmentReportCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1GetAssessmentReportCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAssessmentReportCommandOutput> {
91
- return deserializeAws_json1_1GetAssessmentReportCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
15
- import { GetExclusionsPreviewRequest, GetExclusionsPreviewResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1GetExclusionsPreviewCommand,
18
- serializeAws_json1_1GetExclusionsPreviewCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface GetExclusionsPreviewCommandInput extends GetExclusionsPreviewRequest {}
22
- export interface GetExclusionsPreviewCommandOutput extends GetExclusionsPreviewResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by
26
- * the preview token. You can obtain the preview token by running the CreateExclusionsPreview
27
- * API.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { InspectorClient, GetExclusionsPreviewCommand } from "@aws-sdk/client-inspector"; // ES Modules import
32
- * // const { InspectorClient, GetExclusionsPreviewCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
33
- * const client = new InspectorClient(config);
34
- * const command = new GetExclusionsPreviewCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetExclusionsPreviewCommandInput} for command's `input` shape.
39
- * @see {@link GetExclusionsPreviewCommandOutput} for command's `response` shape.
40
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class GetExclusionsPreviewCommand extends $Command<
44
- GetExclusionsPreviewCommandInput,
45
- GetExclusionsPreviewCommandOutput,
46
- InspectorClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: GetExclusionsPreviewCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: InspectorClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<GetExclusionsPreviewCommandInput, GetExclusionsPreviewCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "InspectorClient";
71
- const commandName = "GetExclusionsPreviewCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: GetExclusionsPreviewRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: GetExclusionsPreviewResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: GetExclusionsPreviewCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1GetExclusionsPreviewCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetExclusionsPreviewCommandOutput> {
92
- return deserializeAws_json1_1GetExclusionsPreviewCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
15
- import { GetTelemetryMetadataRequest, GetTelemetryMetadataResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1GetTelemetryMetadataCommand,
18
- serializeAws_json1_1GetTelemetryMetadataCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface GetTelemetryMetadataCommandInput extends GetTelemetryMetadataRequest {}
22
- export interface GetTelemetryMetadataCommandOutput extends GetTelemetryMetadataResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Information about the data that is collected for the specified assessment
26
- * run.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { InspectorClient, GetTelemetryMetadataCommand } from "@aws-sdk/client-inspector"; // ES Modules import
31
- * // const { InspectorClient, GetTelemetryMetadataCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
32
- * const client = new InspectorClient(config);
33
- * const command = new GetTelemetryMetadataCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetTelemetryMetadataCommandInput} for command's `input` shape.
38
- * @see {@link GetTelemetryMetadataCommandOutput} for command's `response` shape.
39
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class GetTelemetryMetadataCommand extends $Command<
43
- GetTelemetryMetadataCommandInput,
44
- GetTelemetryMetadataCommandOutput,
45
- InspectorClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: GetTelemetryMetadataCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: InspectorClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<GetTelemetryMetadataCommandInput, GetTelemetryMetadataCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "InspectorClient";
70
- const commandName = "GetTelemetryMetadataCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: GetTelemetryMetadataRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: GetTelemetryMetadataResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: GetTelemetryMetadataCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1GetTelemetryMetadataCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetTelemetryMetadataCommandOutput> {
91
- return deserializeAws_json1_1GetTelemetryMetadataCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
15
- import { ListAssessmentRunAgentsRequest, ListAssessmentRunAgentsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListAssessmentRunAgentsCommand,
18
- serializeAws_json1_1ListAssessmentRunAgentsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListAssessmentRunAgentsCommandInput extends ListAssessmentRunAgentsRequest {}
22
- export interface ListAssessmentRunAgentsCommandOutput extends ListAssessmentRunAgentsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the agents of the assessment runs that are specified by the ARNs of the
26
- * assessment runs.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { InspectorClient, ListAssessmentRunAgentsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
31
- * // const { InspectorClient, ListAssessmentRunAgentsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
32
- * const client = new InspectorClient(config);
33
- * const command = new ListAssessmentRunAgentsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListAssessmentRunAgentsCommandInput} for command's `input` shape.
38
- * @see {@link ListAssessmentRunAgentsCommandOutput} for command's `response` shape.
39
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListAssessmentRunAgentsCommand extends $Command<
43
- ListAssessmentRunAgentsCommandInput,
44
- ListAssessmentRunAgentsCommandOutput,
45
- InspectorClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListAssessmentRunAgentsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: InspectorClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListAssessmentRunAgentsCommandInput, ListAssessmentRunAgentsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "InspectorClient";
70
- const commandName = "ListAssessmentRunAgentsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListAssessmentRunAgentsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListAssessmentRunAgentsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListAssessmentRunAgentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListAssessmentRunAgentsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAssessmentRunAgentsCommandOutput> {
91
- return deserializeAws_json1_1ListAssessmentRunAgentsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
15
- import { ListAssessmentRunsRequest, ListAssessmentRunsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListAssessmentRunsCommand,
18
- serializeAws_json1_1ListAssessmentRunsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListAssessmentRunsCommandInput extends ListAssessmentRunsRequest {}
22
- export interface ListAssessmentRunsCommandOutput extends ListAssessmentRunsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the assessment runs that correspond to the assessment templates that are
26
- * specified by the ARNs of the assessment templates.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { InspectorClient, ListAssessmentRunsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
31
- * // const { InspectorClient, ListAssessmentRunsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
32
- * const client = new InspectorClient(config);
33
- * const command = new ListAssessmentRunsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListAssessmentRunsCommandInput} for command's `input` shape.
38
- * @see {@link ListAssessmentRunsCommandOutput} for command's `response` shape.
39
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListAssessmentRunsCommand extends $Command<
43
- ListAssessmentRunsCommandInput,
44
- ListAssessmentRunsCommandOutput,
45
- InspectorClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListAssessmentRunsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: InspectorClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListAssessmentRunsCommandInput, ListAssessmentRunsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "InspectorClient";
70
- const commandName = "ListAssessmentRunsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListAssessmentRunsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListAssessmentRunsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListAssessmentRunsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListAssessmentRunsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAssessmentRunsCommandOutput> {
91
- return deserializeAws_json1_1ListAssessmentRunsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
15
- import { ListAssessmentTargetsRequest, ListAssessmentTargetsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListAssessmentTargetsCommand,
18
- serializeAws_json1_1ListAssessmentTargetsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListAssessmentTargetsCommandInput extends ListAssessmentTargetsRequest {}
22
- export interface ListAssessmentTargetsCommandOutput extends ListAssessmentTargetsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the ARNs of the assessment targets within this AWS account. For more
26
- * information about assessment targets, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html">Amazon Inspector Assessment
27
- * Targets</a>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { InspectorClient, ListAssessmentTargetsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
32
- * // const { InspectorClient, ListAssessmentTargetsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
33
- * const client = new InspectorClient(config);
34
- * const command = new ListAssessmentTargetsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link ListAssessmentTargetsCommandInput} for command's `input` shape.
39
- * @see {@link ListAssessmentTargetsCommandOutput} for command's `response` shape.
40
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class ListAssessmentTargetsCommand extends $Command<
44
- ListAssessmentTargetsCommandInput,
45
- ListAssessmentTargetsCommandOutput,
46
- InspectorClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: ListAssessmentTargetsCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: InspectorClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<ListAssessmentTargetsCommandInput, ListAssessmentTargetsCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "InspectorClient";
71
- const commandName = "ListAssessmentTargetsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: ListAssessmentTargetsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: ListAssessmentTargetsResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: ListAssessmentTargetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1ListAssessmentTargetsCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAssessmentTargetsCommandOutput> {
92
- return deserializeAws_json1_1ListAssessmentTargetsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
15
- import { ListAssessmentTemplatesRequest, ListAssessmentTemplatesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListAssessmentTemplatesCommand,
18
- serializeAws_json1_1ListAssessmentTemplatesCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListAssessmentTemplatesCommandInput extends ListAssessmentTemplatesRequest {}
22
- export interface ListAssessmentTemplatesCommandOutput extends ListAssessmentTemplatesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the assessment templates that correspond to the assessment targets that are
26
- * specified by the ARNs of the assessment targets.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { InspectorClient, ListAssessmentTemplatesCommand } from "@aws-sdk/client-inspector"; // ES Modules import
31
- * // const { InspectorClient, ListAssessmentTemplatesCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
32
- * const client = new InspectorClient(config);
33
- * const command = new ListAssessmentTemplatesCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListAssessmentTemplatesCommandInput} for command's `input` shape.
38
- * @see {@link ListAssessmentTemplatesCommandOutput} for command's `response` shape.
39
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListAssessmentTemplatesCommand extends $Command<
43
- ListAssessmentTemplatesCommandInput,
44
- ListAssessmentTemplatesCommandOutput,
45
- InspectorClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListAssessmentTemplatesCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: InspectorClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListAssessmentTemplatesCommandInput, ListAssessmentTemplatesCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "InspectorClient";
70
- const commandName = "ListAssessmentTemplatesCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListAssessmentTemplatesRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListAssessmentTemplatesResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListAssessmentTemplatesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListAssessmentTemplatesCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAssessmentTemplatesCommandOutput> {
91
- return deserializeAws_json1_1ListAssessmentTemplatesCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }