@aws-sdk/client-inspector 3.32.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 (422) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/Inspector.js +1 -2
  3. package/{dist/cjs → dist-cjs}/InspectorClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AddAttributesToFindingsCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateAssessmentTargetCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateAssessmentTemplateCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateExclusionsPreviewCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateResourceGroupCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteAssessmentRunCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteAssessmentTargetCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteAssessmentTemplateCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DescribeAssessmentRunsCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DescribeAssessmentTargetsCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DescribeAssessmentTemplatesCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DescribeCrossAccountAccessRoleCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DescribeExclusionsCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DescribeFindingsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DescribeResourceGroupsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DescribeRulesPackagesCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/GetAssessmentReportCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/GetExclusionsPreviewCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/GetTelemetryMetadataCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListAssessmentRunAgentsCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/ListAssessmentRunsCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/ListAssessmentTargetsCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/ListAssessmentTemplatesCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/ListEventSubscriptionsCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/ListExclusionsCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/ListFindingsCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/ListRulesPackagesCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/PreviewAgentsCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/RegisterCrossAccountAccessRoleCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/RemoveAttributesFromFindingsCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/SetTagsForResourceCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/StartAssessmentRunCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/StopAssessmentRunCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/SubscribeToEventCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/commands/UnsubscribeFromEventCommand.js +2 -3
  40. package/{dist/cjs → dist-cjs}/commands/UpdateAssessmentTargetCommand.js +2 -3
  41. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  42. package/{dist/cjs → dist-cjs}/index.js +0 -1
  43. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  44. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  45. package/{dist/cjs → dist-cjs}/pagination/GetExclusionsPreviewPaginator.js +1 -2
  46. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  47. package/{dist/cjs → dist-cjs}/pagination/ListAssessmentRunAgentsPaginator.js +1 -2
  48. package/{dist/cjs → dist-cjs}/pagination/ListAssessmentRunsPaginator.js +1 -2
  49. package/{dist/cjs → dist-cjs}/pagination/ListAssessmentTargetsPaginator.js +1 -2
  50. package/{dist/cjs → dist-cjs}/pagination/ListAssessmentTemplatesPaginator.js +1 -2
  51. package/{dist/cjs → dist-cjs}/pagination/ListEventSubscriptionsPaginator.js +1 -2
  52. package/{dist/cjs → dist-cjs}/pagination/ListExclusionsPaginator.js +1 -2
  53. package/{dist/cjs → dist-cjs}/pagination/ListFindingsPaginator.js +1 -2
  54. package/{dist/cjs → dist-cjs}/pagination/ListRulesPackagesPaginator.js +1 -2
  55. package/{dist/cjs → dist-cjs}/pagination/PreviewAgentsPaginator.js +1 -2
  56. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  57. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  58. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  59. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  60. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  61. package/{dist/es → dist-es}/Inspector.js +2 -9
  62. package/{dist/es → dist-es}/InspectorClient.js +2 -14
  63. package/{dist/es → dist-es}/commands/AddAttributesToFindingsCommand.js +4 -31
  64. package/dist-es/commands/CreateAssessmentTargetCommand.js +39 -0
  65. package/{dist/es → dist-es}/commands/CreateAssessmentTemplateCommand.js +4 -33
  66. package/{dist/es → dist-es}/commands/CreateExclusionsPreviewCommand.js +4 -32
  67. package/{dist/es → dist-es}/commands/CreateResourceGroupCommand.js +4 -33
  68. package/{dist/es → dist-es}/commands/DeleteAssessmentRunCommand.js +4 -31
  69. package/{dist/es → dist-es}/commands/DeleteAssessmentTargetCommand.js +4 -31
  70. package/{dist/es → dist-es}/commands/DeleteAssessmentTemplateCommand.js +4 -31
  71. package/{dist/es → dist-es}/commands/DescribeAssessmentRunsCommand.js +4 -31
  72. package/{dist/es → dist-es}/commands/DescribeAssessmentTargetsCommand.js +4 -31
  73. package/{dist/es → dist-es}/commands/DescribeAssessmentTemplatesCommand.js +4 -31
  74. package/{dist/es → dist-es}/commands/DescribeCrossAccountAccessRoleCommand.js +4 -31
  75. package/{dist/es → dist-es}/commands/DescribeExclusionsCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/DescribeFindingsCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/DescribeResourceGroupsCommand.js +4 -31
  78. package/{dist/es → dist-es}/commands/DescribeRulesPackagesCommand.js +4 -31
  79. package/{dist/es → dist-es}/commands/GetAssessmentReportCommand.js +4 -31
  80. package/{dist/es → dist-es}/commands/GetExclusionsPreviewCommand.js +4 -32
  81. package/{dist/es → dist-es}/commands/GetTelemetryMetadataCommand.js +4 -31
  82. package/{dist/es → dist-es}/commands/ListAssessmentRunAgentsCommand.js +4 -31
  83. package/{dist/es → dist-es}/commands/ListAssessmentRunsCommand.js +4 -31
  84. package/{dist/es → dist-es}/commands/ListAssessmentTargetsCommand.js +4 -32
  85. package/{dist/es → dist-es}/commands/ListAssessmentTemplatesCommand.js +4 -31
  86. package/{dist/es → dist-es}/commands/ListEventSubscriptionsCommand.js +4 -31
  87. package/{dist/es → dist-es}/commands/ListExclusionsCommand.js +4 -30
  88. package/{dist/es → dist-es}/commands/ListFindingsCommand.js +4 -31
  89. package/{dist/es → dist-es}/commands/ListRulesPackagesCommand.js +4 -30
  90. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  91. package/{dist/es → dist-es}/commands/PreviewAgentsCommand.js +4 -31
  92. package/{dist/es → dist-es}/commands/RegisterCrossAccountAccessRoleCommand.js +4 -31
  93. package/{dist/es → dist-es}/commands/RemoveAttributesFromFindingsCommand.js +4 -31
  94. package/{dist/es → dist-es}/commands/SetTagsForResourceCommand.js +4 -31
  95. package/{dist/es → dist-es}/commands/StartAssessmentRunCommand.js +4 -32
  96. package/{dist/es → dist-es}/commands/StopAssessmentRunCommand.js +4 -31
  97. package/{dist/es → dist-es}/commands/SubscribeToEventCommand.js +4 -31
  98. package/{dist/es → dist-es}/commands/UnsubscribeFromEventCommand.js +4 -31
  99. package/{dist/es → dist-es}/commands/UpdateAssessmentTargetCommand.js +4 -33
  100. package/{dist/es → dist-es}/endpoints.js +1 -2
  101. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  102. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  103. package/{dist/es → dist-es}/models/models_0.js +0 -325
  104. package/{dist/es → dist-es}/pagination/GetExclusionsPreviewPaginator.js +17 -30
  105. package/dist-es/pagination/Interfaces.js +1 -0
  106. package/{dist/es → dist-es}/pagination/ListAssessmentRunAgentsPaginator.js +17 -30
  107. package/{dist/es → dist-es}/pagination/ListAssessmentRunsPaginator.js +17 -30
  108. package/{dist/es → dist-es}/pagination/ListAssessmentTargetsPaginator.js +17 -30
  109. package/{dist/es → dist-es}/pagination/ListAssessmentTemplatesPaginator.js +17 -30
  110. package/{dist/es → dist-es}/pagination/ListEventSubscriptionsPaginator.js +17 -30
  111. package/{dist/es → dist-es}/pagination/ListExclusionsPaginator.js +17 -30
  112. package/{dist/es → dist-es}/pagination/ListFindingsPaginator.js +17 -30
  113. package/{dist/es → dist-es}/pagination/ListRulesPackagesPaginator.js +17 -30
  114. package/{dist/es → dist-es}/pagination/PreviewAgentsPaginator.js +17 -30
  115. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +912 -918
  116. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  117. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  118. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  119. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  120. package/{dist/types → dist-types}/Inspector.d.ts +2 -2
  121. package/{dist/types → dist-types}/InspectorClient.d.ts +8 -8
  122. package/{dist/types → dist-types}/commands/AddAttributesToFindingsCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/CreateAssessmentTargetCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/CreateAssessmentTemplateCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/CreateExclusionsPreviewCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/CreateResourceGroupCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/DeleteAssessmentRunCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/DeleteAssessmentTargetCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/DeleteAssessmentTemplateCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/DescribeAssessmentRunsCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/DescribeAssessmentTargetsCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/DescribeAssessmentTemplatesCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/DescribeCrossAccountAccessRoleCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/DescribeExclusionsCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/DescribeFindingsCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/DescribeResourceGroupsCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/DescribeRulesPackagesCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/GetAssessmentReportCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/GetExclusionsPreviewCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/GetTelemetryMetadataCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/ListAssessmentRunAgentsCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/ListAssessmentRunsCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/ListAssessmentTargetsCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/ListAssessmentTemplatesCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/ListEventSubscriptionsCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/ListExclusionsCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/ListFindingsCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/ListRulesPackagesCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/PreviewAgentsCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/RegisterCrossAccountAccessRoleCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/RemoveAttributesFromFindingsCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/SetTagsForResourceCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/StartAssessmentRunCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/StopAssessmentRunCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/SubscribeToEventCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/UnsubscribeFromEventCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/UpdateAssessmentTargetCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  160. package/{index.ts → dist-types/index.d.ts} +0 -0
  161. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  162. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  163. package/{dist/types → dist-types}/pagination/GetExclusionsPreviewPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  165. package/{dist/types → dist-types}/pagination/ListAssessmentRunAgentsPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/pagination/ListAssessmentRunsPaginator.d.ts +1 -1
  167. package/{dist/types → dist-types}/pagination/ListAssessmentTargetsPaginator.d.ts +1 -1
  168. package/{dist/types → dist-types}/pagination/ListAssessmentTemplatesPaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/pagination/ListEventSubscriptionsPaginator.d.ts +1 -1
  170. package/{dist/types → dist-types}/pagination/ListExclusionsPaginator.d.ts +1 -1
  171. package/{dist/types → dist-types}/pagination/ListFindingsPaginator.d.ts +1 -1
  172. package/{dist/types → dist-types}/pagination/ListRulesPackagesPaginator.d.ts +1 -1
  173. package/{dist/types → dist-types}/pagination/PreviewAgentsPaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  175. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  176. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  177. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  178. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  179. package/{dist/types → dist-types}/ts3.4/Inspector.d.ts +2 -2
  180. package/{dist/types → dist-types}/ts3.4/InspectorClient.d.ts +8 -8
  181. package/{dist/types → dist-types}/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/ts3.4/commands/CreateResourceGroupCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/ts3.4/commands/DescribeExclusionsCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/ts3.4/commands/DescribeFindingsCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +2 -2
  196. package/{dist/types → dist-types}/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/ts3.4/commands/GetAssessmentReportCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentRunsCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +2 -2
  205. package/{dist/types → dist-types}/ts3.4/commands/ListExclusionsCommand.d.ts +2 -2
  206. package/{dist/types → dist-types}/ts3.4/commands/ListFindingsCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/ts3.4/commands/ListRulesPackagesCommand.d.ts +2 -2
  208. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/ts3.4/commands/PreviewAgentsCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/ts3.4/commands/SetTagsForResourceCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/ts3.4/commands/StartAssessmentRunCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/ts3.4/commands/StopAssessmentRunCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/ts3.4/commands/SubscribeToEventCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  219. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  220. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  221. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  222. package/{dist/types → dist-types}/ts3.4/pagination/GetExclusionsPreviewPaginator.d.ts +1 -1
  223. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  224. package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentRunAgentsPaginator.d.ts +1 -1
  225. package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentRunsPaginator.d.ts +1 -1
  226. package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentTargetsPaginator.d.ts +1 -1
  227. package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentTemplatesPaginator.d.ts +1 -1
  228. package/{dist/types → dist-types}/ts3.4/pagination/ListEventSubscriptionsPaginator.d.ts +1 -1
  229. package/{dist/types → dist-types}/ts3.4/pagination/ListExclusionsPaginator.d.ts +1 -1
  230. package/{dist/types → dist-types}/ts3.4/pagination/ListFindingsPaginator.d.ts +1 -1
  231. package/{dist/types → dist-types}/ts3.4/pagination/ListRulesPackagesPaginator.d.ts +1 -1
  232. package/{dist/types → dist-types}/ts3.4/pagination/PreviewAgentsPaginator.d.ts +1 -1
  233. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  234. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  235. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  236. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  237. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  238. package/package.json +52 -49
  239. package/Inspector.ts +0 -1424
  240. package/InspectorClient.ts +0 -427
  241. package/commands/AddAttributesToFindingsCommand.ts +0 -95
  242. package/commands/CreateAssessmentTargetCommand.ts +0 -101
  243. package/commands/CreateAssessmentTemplateCommand.ts +0 -97
  244. package/commands/CreateExclusionsPreviewCommand.ts +0 -96
  245. package/commands/CreateResourceGroupCommand.ts +0 -97
  246. package/commands/DeleteAssessmentRunCommand.ts +0 -95
  247. package/commands/DeleteAssessmentTargetCommand.ts +0 -95
  248. package/commands/DeleteAssessmentTemplateCommand.ts +0 -95
  249. package/commands/DescribeAssessmentRunsCommand.ts +0 -95
  250. package/commands/DescribeAssessmentTargetsCommand.ts +0 -98
  251. package/commands/DescribeAssessmentTemplatesCommand.ts +0 -100
  252. package/commands/DescribeCrossAccountAccessRoleCommand.ts +0 -103
  253. package/commands/DescribeExclusionsCommand.ts +0 -94
  254. package/commands/DescribeFindingsCommand.ts +0 -94
  255. package/commands/DescribeResourceGroupsCommand.ts +0 -95
  256. package/commands/DescribeRulesPackagesCommand.ts +0 -95
  257. package/commands/GetAssessmentReportCommand.ts +0 -95
  258. package/commands/GetExclusionsPreviewCommand.ts +0 -96
  259. package/commands/GetTelemetryMetadataCommand.ts +0 -95
  260. package/commands/ListAssessmentRunAgentsCommand.ts +0 -95
  261. package/commands/ListAssessmentRunsCommand.ts +0 -95
  262. package/commands/ListAssessmentTargetsCommand.ts +0 -96
  263. package/commands/ListAssessmentTemplatesCommand.ts +0 -95
  264. package/commands/ListEventSubscriptionsCommand.ts +0 -95
  265. package/commands/ListExclusionsCommand.ts +0 -94
  266. package/commands/ListFindingsCommand.ts +0 -95
  267. package/commands/ListRulesPackagesCommand.ts +0 -94
  268. package/commands/ListTagsForResourceCommand.ts +0 -94
  269. package/commands/PreviewAgentsCommand.ts +0 -95
  270. package/commands/RegisterCrossAccountAccessRoleCommand.ts +0 -101
  271. package/commands/RemoveAttributesFromFindingsCommand.ts +0 -100
  272. package/commands/SetTagsForResourceCommand.ts +0 -95
  273. package/commands/StartAssessmentRunCommand.ts +0 -96
  274. package/commands/StopAssessmentRunCommand.ts +0 -95
  275. package/commands/SubscribeToEventCommand.ts +0 -95
  276. package/commands/UnsubscribeFromEventCommand.ts +0 -95
  277. package/commands/UpdateAssessmentTargetCommand.ts +0 -97
  278. package/dist/cjs/Inspector.js.map +0 -1
  279. package/dist/cjs/InspectorClient.js.map +0 -1
  280. package/dist/cjs/commands/AddAttributesToFindingsCommand.js.map +0 -1
  281. package/dist/cjs/commands/CreateAssessmentTargetCommand.js.map +0 -1
  282. package/dist/cjs/commands/CreateAssessmentTemplateCommand.js.map +0 -1
  283. package/dist/cjs/commands/CreateExclusionsPreviewCommand.js.map +0 -1
  284. package/dist/cjs/commands/CreateResourceGroupCommand.js.map +0 -1
  285. package/dist/cjs/commands/DeleteAssessmentRunCommand.js.map +0 -1
  286. package/dist/cjs/commands/DeleteAssessmentTargetCommand.js.map +0 -1
  287. package/dist/cjs/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
  288. package/dist/cjs/commands/DescribeAssessmentRunsCommand.js.map +0 -1
  289. package/dist/cjs/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
  290. package/dist/cjs/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
  291. package/dist/cjs/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
  292. package/dist/cjs/commands/DescribeExclusionsCommand.js.map +0 -1
  293. package/dist/cjs/commands/DescribeFindingsCommand.js.map +0 -1
  294. package/dist/cjs/commands/DescribeResourceGroupsCommand.js.map +0 -1
  295. package/dist/cjs/commands/DescribeRulesPackagesCommand.js.map +0 -1
  296. package/dist/cjs/commands/GetAssessmentReportCommand.js.map +0 -1
  297. package/dist/cjs/commands/GetExclusionsPreviewCommand.js.map +0 -1
  298. package/dist/cjs/commands/GetTelemetryMetadataCommand.js.map +0 -1
  299. package/dist/cjs/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
  300. package/dist/cjs/commands/ListAssessmentRunsCommand.js.map +0 -1
  301. package/dist/cjs/commands/ListAssessmentTargetsCommand.js.map +0 -1
  302. package/dist/cjs/commands/ListAssessmentTemplatesCommand.js.map +0 -1
  303. package/dist/cjs/commands/ListEventSubscriptionsCommand.js.map +0 -1
  304. package/dist/cjs/commands/ListExclusionsCommand.js.map +0 -1
  305. package/dist/cjs/commands/ListFindingsCommand.js.map +0 -1
  306. package/dist/cjs/commands/ListRulesPackagesCommand.js.map +0 -1
  307. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  308. package/dist/cjs/commands/PreviewAgentsCommand.js.map +0 -1
  309. package/dist/cjs/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
  310. package/dist/cjs/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
  311. package/dist/cjs/commands/SetTagsForResourceCommand.js.map +0 -1
  312. package/dist/cjs/commands/StartAssessmentRunCommand.js.map +0 -1
  313. package/dist/cjs/commands/StopAssessmentRunCommand.js.map +0 -1
  314. package/dist/cjs/commands/SubscribeToEventCommand.js.map +0 -1
  315. package/dist/cjs/commands/UnsubscribeFromEventCommand.js.map +0 -1
  316. package/dist/cjs/commands/UpdateAssessmentTargetCommand.js.map +0 -1
  317. package/dist/cjs/endpoints.js.map +0 -1
  318. package/dist/cjs/index.js.map +0 -1
  319. package/dist/cjs/models/index.js.map +0 -1
  320. package/dist/cjs/models/models_0.js.map +0 -1
  321. package/dist/cjs/package.json +0 -91
  322. package/dist/cjs/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
  323. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  324. package/dist/cjs/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
  325. package/dist/cjs/pagination/ListAssessmentRunsPaginator.js.map +0 -1
  326. package/dist/cjs/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
  327. package/dist/cjs/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
  328. package/dist/cjs/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
  329. package/dist/cjs/pagination/ListExclusionsPaginator.js.map +0 -1
  330. package/dist/cjs/pagination/ListFindingsPaginator.js.map +0 -1
  331. package/dist/cjs/pagination/ListRulesPackagesPaginator.js.map +0 -1
  332. package/dist/cjs/pagination/PreviewAgentsPaginator.js.map +0 -1
  333. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  334. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  335. package/dist/cjs/runtimeConfig.js.map +0 -1
  336. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  337. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  338. package/dist/es/Inspector.js.map +0 -1
  339. package/dist/es/InspectorClient.js.map +0 -1
  340. package/dist/es/commands/AddAttributesToFindingsCommand.js.map +0 -1
  341. package/dist/es/commands/CreateAssessmentTargetCommand.js +0 -72
  342. package/dist/es/commands/CreateAssessmentTargetCommand.js.map +0 -1
  343. package/dist/es/commands/CreateAssessmentTemplateCommand.js.map +0 -1
  344. package/dist/es/commands/CreateExclusionsPreviewCommand.js.map +0 -1
  345. package/dist/es/commands/CreateResourceGroupCommand.js.map +0 -1
  346. package/dist/es/commands/DeleteAssessmentRunCommand.js.map +0 -1
  347. package/dist/es/commands/DeleteAssessmentTargetCommand.js.map +0 -1
  348. package/dist/es/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
  349. package/dist/es/commands/DescribeAssessmentRunsCommand.js.map +0 -1
  350. package/dist/es/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
  351. package/dist/es/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
  352. package/dist/es/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
  353. package/dist/es/commands/DescribeExclusionsCommand.js.map +0 -1
  354. package/dist/es/commands/DescribeFindingsCommand.js.map +0 -1
  355. package/dist/es/commands/DescribeResourceGroupsCommand.js.map +0 -1
  356. package/dist/es/commands/DescribeRulesPackagesCommand.js.map +0 -1
  357. package/dist/es/commands/GetAssessmentReportCommand.js.map +0 -1
  358. package/dist/es/commands/GetExclusionsPreviewCommand.js.map +0 -1
  359. package/dist/es/commands/GetTelemetryMetadataCommand.js.map +0 -1
  360. package/dist/es/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
  361. package/dist/es/commands/ListAssessmentRunsCommand.js.map +0 -1
  362. package/dist/es/commands/ListAssessmentTargetsCommand.js.map +0 -1
  363. package/dist/es/commands/ListAssessmentTemplatesCommand.js.map +0 -1
  364. package/dist/es/commands/ListEventSubscriptionsCommand.js.map +0 -1
  365. package/dist/es/commands/ListExclusionsCommand.js.map +0 -1
  366. package/dist/es/commands/ListFindingsCommand.js.map +0 -1
  367. package/dist/es/commands/ListRulesPackagesCommand.js.map +0 -1
  368. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  369. package/dist/es/commands/PreviewAgentsCommand.js.map +0 -1
  370. package/dist/es/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
  371. package/dist/es/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
  372. package/dist/es/commands/SetTagsForResourceCommand.js.map +0 -1
  373. package/dist/es/commands/StartAssessmentRunCommand.js.map +0 -1
  374. package/dist/es/commands/StopAssessmentRunCommand.js.map +0 -1
  375. package/dist/es/commands/SubscribeToEventCommand.js.map +0 -1
  376. package/dist/es/commands/UnsubscribeFromEventCommand.js.map +0 -1
  377. package/dist/es/commands/UpdateAssessmentTargetCommand.js.map +0 -1
  378. package/dist/es/endpoints.js.map +0 -1
  379. package/dist/es/index.js +0 -52
  380. package/dist/es/index.js.map +0 -1
  381. package/dist/es/models/index.js +0 -2
  382. package/dist/es/models/index.js.map +0 -1
  383. package/dist/es/models/models_0.js.map +0 -1
  384. package/dist/es/package.json +0 -91
  385. package/dist/es/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
  386. package/dist/es/pagination/Interfaces.js +0 -2
  387. package/dist/es/pagination/Interfaces.js.map +0 -1
  388. package/dist/es/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
  389. package/dist/es/pagination/ListAssessmentRunsPaginator.js.map +0 -1
  390. package/dist/es/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
  391. package/dist/es/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
  392. package/dist/es/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
  393. package/dist/es/pagination/ListExclusionsPaginator.js.map +0 -1
  394. package/dist/es/pagination/ListFindingsPaginator.js.map +0 -1
  395. package/dist/es/pagination/ListRulesPackagesPaginator.js.map +0 -1
  396. package/dist/es/pagination/PreviewAgentsPaginator.js.map +0 -1
  397. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  398. package/dist/es/runtimeConfig.browser.js.map +0 -1
  399. package/dist/es/runtimeConfig.js.map +0 -1
  400. package/dist/es/runtimeConfig.native.js.map +0 -1
  401. package/dist/es/runtimeConfig.shared.js.map +0 -1
  402. package/endpoints.ts +0 -86
  403. package/jest.config.js +0 -4
  404. package/models/models_0.ts +0 -3381
  405. package/pagination/GetExclusionsPreviewPaginator.ts +0 -58
  406. package/pagination/Interfaces.ts +0 -7
  407. package/pagination/ListAssessmentRunAgentsPaginator.ts +0 -58
  408. package/pagination/ListAssessmentRunsPaginator.ts +0 -58
  409. package/pagination/ListAssessmentTargetsPaginator.ts +0 -58
  410. package/pagination/ListAssessmentTemplatesPaginator.ts +0 -58
  411. package/pagination/ListEventSubscriptionsPaginator.ts +0 -58
  412. package/pagination/ListExclusionsPaginator.ts +0 -58
  413. package/pagination/ListFindingsPaginator.ts +0 -58
  414. package/pagination/ListRulesPackagesPaginator.ts +0 -58
  415. package/pagination/PreviewAgentsPaginator.ts +0 -58
  416. package/protocols/Aws_json1_1.ts +0 -5925
  417. package/runtimeConfig.browser.ts +0 -40
  418. package/runtimeConfig.native.ts +0 -16
  419. package/runtimeConfig.shared.ts +0 -16
  420. package/runtimeConfig.ts +0 -45
  421. package/tsconfig.es.json +0 -12
  422. package/tsconfig.json +0 -32
@@ -1,42 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateExclusionsPreviewRequest, CreateExclusionsPreviewResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateExclusionsPreviewCommand, serializeAws_json1_1CreateExclusionsPreviewCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Starts the generation of an exclusions preview for the specified assessment template.
8
- * The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can
9
- * detect before it runs the assessment. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { InspectorClient, CreateExclusionsPreviewCommand } from "@aws-sdk/client-inspector"; // ES Modules import
14
- * // const { InspectorClient, CreateExclusionsPreviewCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
15
- * const client = new InspectorClient(config);
16
- * const command = new CreateExclusionsPreviewCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateExclusionsPreviewCommandInput} for command's `input` shape.
21
- * @see {@link CreateExclusionsPreviewCommandOutput} for command's `response` shape.
22
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var CreateExclusionsPreviewCommand = /** @class */ (function (_super) {
4
+ import { CreateExclusionsPreviewRequest, CreateExclusionsPreviewResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateExclusionsPreviewCommand, serializeAws_json1_1CreateExclusionsPreviewCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateExclusionsPreviewCommand = (function (_super) {
26
7
  __extends(CreateExclusionsPreviewCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function CreateExclusionsPreviewCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  CreateExclusionsPreviewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +37,3 @@ var CreateExclusionsPreviewCommand = /** @class */ (function (_super) {
64
37
  return CreateExclusionsPreviewCommand;
65
38
  }($Command));
66
39
  export { CreateExclusionsPreviewCommand };
67
- //# sourceMappingURL=CreateExclusionsPreviewCommand.js.map
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateResourceGroupRequest, CreateResourceGroupResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateResourceGroupCommand, serializeAws_json1_1CreateResourceGroupCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a resource group using the specified set of tags (key and value pairs) that
8
- * are used to select the EC2 instances to be included in an Amazon Inspector assessment
9
- * target. The created resource group is then used to create an Amazon Inspector assessment
10
- * target. For more information, see <a>CreateAssessmentTarget</a>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { InspectorClient, CreateResourceGroupCommand } from "@aws-sdk/client-inspector"; // ES Modules import
15
- * // const { InspectorClient, CreateResourceGroupCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
16
- * const client = new InspectorClient(config);
17
- * const command = new CreateResourceGroupCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateResourceGroupCommandInput} for command's `input` shape.
22
- * @see {@link CreateResourceGroupCommandOutput} for command's `response` shape.
23
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var CreateResourceGroupCommand = /** @class */ (function (_super) {
4
+ import { CreateResourceGroupRequest, CreateResourceGroupResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateResourceGroupCommand, serializeAws_json1_1CreateResourceGroupCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateResourceGroupCommand = (function (_super) {
27
7
  __extends(CreateResourceGroupCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function CreateResourceGroupCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  CreateResourceGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +37,3 @@ var CreateResourceGroupCommand = /** @class */ (function (_super) {
65
37
  return CreateResourceGroupCommand;
66
38
  }($Command));
67
39
  export { CreateResourceGroupCommand };
68
- //# sourceMappingURL=CreateResourceGroupCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteAssessmentRunRequest } from "../models/models_0";
3
- import { deserializeAws_json1_1DeleteAssessmentRunCommand, serializeAws_json1_1DeleteAssessmentRunCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the assessment run that is specified by the ARN of the assessment
8
- * run.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DeleteAssessmentRunCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DeleteAssessmentRunCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DeleteAssessmentRunCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DeleteAssessmentRunCommandInput} for command's `input` shape.
20
- * @see {@link DeleteAssessmentRunCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DeleteAssessmentRunCommand = /** @class */ (function (_super) {
4
+ import { DeleteAssessmentRunRequest } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteAssessmentRunCommand, serializeAws_json1_1DeleteAssessmentRunCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteAssessmentRunCommand = (function (_super) {
25
7
  __extends(DeleteAssessmentRunCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DeleteAssessmentRunCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DeleteAssessmentRunCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DeleteAssessmentRunCommand = /** @class */ (function (_super) {
63
37
  return DeleteAssessmentRunCommand;
64
38
  }($Command));
65
39
  export { DeleteAssessmentRunCommand };
66
- //# sourceMappingURL=DeleteAssessmentRunCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteAssessmentTargetRequest } from "../models/models_0";
3
- import { deserializeAws_json1_1DeleteAssessmentTargetCommand, serializeAws_json1_1DeleteAssessmentTargetCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the assessment target that is specified by the ARN of the assessment
8
- * target.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DeleteAssessmentTargetCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DeleteAssessmentTargetCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DeleteAssessmentTargetCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DeleteAssessmentTargetCommandInput} for command's `input` shape.
20
- * @see {@link DeleteAssessmentTargetCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DeleteAssessmentTargetCommand = /** @class */ (function (_super) {
4
+ import { DeleteAssessmentTargetRequest } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteAssessmentTargetCommand, serializeAws_json1_1DeleteAssessmentTargetCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteAssessmentTargetCommand = (function (_super) {
25
7
  __extends(DeleteAssessmentTargetCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DeleteAssessmentTargetCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DeleteAssessmentTargetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DeleteAssessmentTargetCommand = /** @class */ (function (_super) {
63
37
  return DeleteAssessmentTargetCommand;
64
38
  }($Command));
65
39
  export { DeleteAssessmentTargetCommand };
66
- //# sourceMappingURL=DeleteAssessmentTargetCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteAssessmentTemplateRequest } from "../models/models_0";
3
- import { deserializeAws_json1_1DeleteAssessmentTemplateCommand, serializeAws_json1_1DeleteAssessmentTemplateCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the assessment template that is specified by the ARN of the assessment
8
- * template.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DeleteAssessmentTemplateCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DeleteAssessmentTemplateCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DeleteAssessmentTemplateCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DeleteAssessmentTemplateCommandInput} for command's `input` shape.
20
- * @see {@link DeleteAssessmentTemplateCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DeleteAssessmentTemplateCommand = /** @class */ (function (_super) {
4
+ import { DeleteAssessmentTemplateRequest } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteAssessmentTemplateCommand, serializeAws_json1_1DeleteAssessmentTemplateCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteAssessmentTemplateCommand = (function (_super) {
25
7
  __extends(DeleteAssessmentTemplateCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DeleteAssessmentTemplateCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DeleteAssessmentTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DeleteAssessmentTemplateCommand = /** @class */ (function (_super) {
63
37
  return DeleteAssessmentTemplateCommand;
64
38
  }($Command));
65
39
  export { DeleteAssessmentTemplateCommand };
66
- //# sourceMappingURL=DeleteAssessmentTemplateCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeAssessmentRunsRequest, DescribeAssessmentRunsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeAssessmentRunsCommand, serializeAws_json1_1DescribeAssessmentRunsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the assessment runs that are specified by the ARNs of the assessment
8
- * runs.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DescribeAssessmentRunsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DescribeAssessmentRunsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DescribeAssessmentRunsCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DescribeAssessmentRunsCommandInput} for command's `input` shape.
20
- * @see {@link DescribeAssessmentRunsCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DescribeAssessmentRunsCommand = /** @class */ (function (_super) {
4
+ import { DescribeAssessmentRunsRequest, DescribeAssessmentRunsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeAssessmentRunsCommand, serializeAws_json1_1DescribeAssessmentRunsCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeAssessmentRunsCommand = (function (_super) {
25
7
  __extends(DescribeAssessmentRunsCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DescribeAssessmentRunsCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DescribeAssessmentRunsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DescribeAssessmentRunsCommand = /** @class */ (function (_super) {
63
37
  return DescribeAssessmentRunsCommand;
64
38
  }($Command));
65
39
  export { DescribeAssessmentRunsCommand };
66
- //# sourceMappingURL=DescribeAssessmentRunsCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeAssessmentTargetsRequest, DescribeAssessmentTargetsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeAssessmentTargetsCommand, serializeAws_json1_1DescribeAssessmentTargetsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the assessment targets that are specified by the ARNs of the assessment
8
- * targets.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DescribeAssessmentTargetsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DescribeAssessmentTargetsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DescribeAssessmentTargetsCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DescribeAssessmentTargetsCommandInput} for command's `input` shape.
20
- * @see {@link DescribeAssessmentTargetsCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DescribeAssessmentTargetsCommand = /** @class */ (function (_super) {
4
+ import { DescribeAssessmentTargetsRequest, DescribeAssessmentTargetsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeAssessmentTargetsCommand, serializeAws_json1_1DescribeAssessmentTargetsCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeAssessmentTargetsCommand = (function (_super) {
25
7
  __extends(DescribeAssessmentTargetsCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DescribeAssessmentTargetsCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DescribeAssessmentTargetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DescribeAssessmentTargetsCommand = /** @class */ (function (_super) {
63
37
  return DescribeAssessmentTargetsCommand;
64
38
  }($Command));
65
39
  export { DescribeAssessmentTargetsCommand };
66
- //# sourceMappingURL=DescribeAssessmentTargetsCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeAssessmentTemplatesRequest, DescribeAssessmentTemplatesResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeAssessmentTemplatesCommand, serializeAws_json1_1DescribeAssessmentTemplatesCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the assessment templates that are specified by the ARNs of the assessment
8
- * templates.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DescribeAssessmentTemplatesCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DescribeAssessmentTemplatesCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DescribeAssessmentTemplatesCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DescribeAssessmentTemplatesCommandInput} for command's `input` shape.
20
- * @see {@link DescribeAssessmentTemplatesCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DescribeAssessmentTemplatesCommand = /** @class */ (function (_super) {
4
+ import { DescribeAssessmentTemplatesRequest, DescribeAssessmentTemplatesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeAssessmentTemplatesCommand, serializeAws_json1_1DescribeAssessmentTemplatesCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeAssessmentTemplatesCommand = (function (_super) {
25
7
  __extends(DescribeAssessmentTemplatesCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DescribeAssessmentTemplatesCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DescribeAssessmentTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DescribeAssessmentTemplatesCommand = /** @class */ (function (_super) {
63
37
  return DescribeAssessmentTemplatesCommand;
64
38
  }($Command));
65
39
  export { DescribeAssessmentTemplatesCommand };
66
- //# sourceMappingURL=DescribeAssessmentTemplatesCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeCrossAccountAccessRoleResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeCrossAccountAccessRoleCommand, serializeAws_json1_1DescribeCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the IAM role that enables Amazon Inspector to access your AWS
8
- * account.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DescribeCrossAccountAccessRoleCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DescribeCrossAccountAccessRoleCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DescribeCrossAccountAccessRoleCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DescribeCrossAccountAccessRoleCommandInput} for command's `input` shape.
20
- * @see {@link DescribeCrossAccountAccessRoleCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DescribeCrossAccountAccessRoleCommand = /** @class */ (function (_super) {
4
+ import { DescribeCrossAccountAccessRoleResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeCrossAccountAccessRoleCommand, serializeAws_json1_1DescribeCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeCrossAccountAccessRoleCommand = (function (_super) {
25
7
  __extends(DescribeCrossAccountAccessRoleCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DescribeCrossAccountAccessRoleCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DescribeCrossAccountAccessRoleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DescribeCrossAccountAccessRoleCommand = /** @class */ (function (_super) {
63
37
  return DescribeCrossAccountAccessRoleCommand;
64
38
  }($Command));
65
39
  export { DescribeCrossAccountAccessRoleCommand };
66
- //# sourceMappingURL=DescribeCrossAccountAccessRoleCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeExclusionsRequest, DescribeExclusionsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeExclusionsCommand, serializeAws_json1_1DescribeExclusionsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the exclusions that are specified by the exclusions' ARNs.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { InspectorClient, DescribeExclusionsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
12
- * // const { InspectorClient, DescribeExclusionsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
13
- * const client = new InspectorClient(config);
14
- * const command = new DescribeExclusionsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeExclusionsCommandInput} for command's `input` shape.
19
- * @see {@link DescribeExclusionsCommandOutput} for command's `response` shape.
20
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeExclusionsCommand = /** @class */ (function (_super) {
4
+ import { DescribeExclusionsRequest, DescribeExclusionsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeExclusionsCommand, serializeAws_json1_1DescribeExclusionsCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeExclusionsCommand = (function (_super) {
24
7
  __extends(DescribeExclusionsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeExclusionsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeExclusionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DescribeExclusionsCommand = /** @class */ (function (_super) {
62
37
  return DescribeExclusionsCommand;
63
38
  }($Command));
64
39
  export { DescribeExclusionsCommand };
65
- //# sourceMappingURL=DescribeExclusionsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeFindingsRequest, DescribeFindingsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeFindingsCommand, serializeAws_json1_1DescribeFindingsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the findings that are specified by the ARNs of the findings.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { InspectorClient, DescribeFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
12
- * // const { InspectorClient, DescribeFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
13
- * const client = new InspectorClient(config);
14
- * const command = new DescribeFindingsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeFindingsCommandInput} for command's `input` shape.
19
- * @see {@link DescribeFindingsCommandOutput} for command's `response` shape.
20
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeFindingsCommand = /** @class */ (function (_super) {
4
+ import { DescribeFindingsRequest, DescribeFindingsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeFindingsCommand, serializeAws_json1_1DescribeFindingsCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeFindingsCommand = (function (_super) {
24
7
  __extends(DescribeFindingsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeFindingsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeFindingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DescribeFindingsCommand = /** @class */ (function (_super) {
62
37
  return DescribeFindingsCommand;
63
38
  }($Command));
64
39
  export { DescribeFindingsCommand };
65
- //# sourceMappingURL=DescribeFindingsCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeResourceGroupsRequest, DescribeResourceGroupsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeResourceGroupsCommand, serializeAws_json1_1DescribeResourceGroupsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the resource groups that are specified by the ARNs of the resource
8
- * groups.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { InspectorClient, DescribeResourceGroupsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
13
- * // const { InspectorClient, DescribeResourceGroupsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
14
- * const client = new InspectorClient(config);
15
- * const command = new DescribeResourceGroupsCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DescribeResourceGroupsCommandInput} for command's `input` shape.
20
- * @see {@link DescribeResourceGroupsCommandOutput} for command's `response` shape.
21
- * @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DescribeResourceGroupsCommand = /** @class */ (function (_super) {
4
+ import { DescribeResourceGroupsRequest, DescribeResourceGroupsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeResourceGroupsCommand, serializeAws_json1_1DescribeResourceGroupsCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeResourceGroupsCommand = (function (_super) {
25
7
  __extends(DescribeResourceGroupsCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DescribeResourceGroupsCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DescribeResourceGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DescribeResourceGroupsCommand = /** @class */ (function (_super) {
63
37
  return DescribeResourceGroupsCommand;
64
38
  }($Command));
65
39
  export { DescribeResourceGroupsCommand };
66
- //# sourceMappingURL=DescribeResourceGroupsCommand.js.map