@aws-sdk/client-accessanalyzer 3.34.0 → 3.37.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 (368) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/AccessAnalyzer.js +0 -12
  3. package/dist-cjs/AccessAnalyzerClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/ApplyArchiveRuleCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/CancelPolicyGenerationCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateAccessPreviewCommand.js +2 -28
  7. package/{dist/cjs → dist-cjs}/commands/CreateAnalyzerCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/CreateArchiveRuleCommand.js +2 -29
  9. package/{dist/cjs → dist-cjs}/commands/DeleteAnalyzerCommand.js +2 -29
  10. package/{dist/cjs → dist-cjs}/commands/DeleteArchiveRuleCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/GetAccessPreviewCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/GetAnalyzedResourceCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/GetAnalyzerCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/GetArchiveRuleCommand.js +2 -28
  15. package/{dist/cjs → dist-cjs}/commands/GetFindingCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/GetGeneratedPolicyCommand.js +2 -28
  17. package/{dist/cjs → dist-cjs}/commands/ListAccessPreviewFindingsCommand.js +2 -28
  18. package/{dist/cjs → dist-cjs}/commands/ListAccessPreviewsCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/ListAnalyzedResourcesCommand.js +2 -28
  20. package/{dist/cjs → dist-cjs}/commands/ListAnalyzersCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/ListArchiveRulesCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/ListFindingsCommand.js +2 -28
  23. package/{dist/cjs → dist-cjs}/commands/ListPolicyGenerationsCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/StartPolicyGenerationCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/StartResourceScanCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/UpdateArchiveRuleCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/UpdateFindingsCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/ValidatePolicyCommand.js +2 -29
  32. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  33. package/{dist/cjs → dist-cjs}/index.js +0 -1
  34. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  35. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -316
  36. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  37. package/{dist/cjs → dist-cjs}/pagination/ListAccessPreviewFindingsPaginator.js +0 -11
  38. package/{dist/cjs → dist-cjs}/pagination/ListAccessPreviewsPaginator.js +0 -11
  39. package/{dist/cjs → dist-cjs}/pagination/ListAnalyzedResourcesPaginator.js +0 -11
  40. package/{dist/cjs → dist-cjs}/pagination/ListAnalyzersPaginator.js +0 -11
  41. package/{dist/cjs → dist-cjs}/pagination/ListArchiveRulesPaginator.js +0 -11
  42. package/{dist/cjs → dist-cjs}/pagination/ListFindingsPaginator.js +0 -11
  43. package/{dist/cjs → dist-cjs}/pagination/ListPolicyGenerationsPaginator.js +0 -11
  44. package/{dist/cjs → dist-cjs}/pagination/ValidatePolicyPaginator.js +0 -11
  45. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +14 -20
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  47. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  48. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  49. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  50. package/{dist/es → dist-es}/AccessAnalyzer.js +0 -1
  51. package/{dist/es → dist-es}/AccessAnalyzerClient.js +1 -2
  52. package/{dist/es → dist-es}/commands/ApplyArchiveRuleCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/CancelPolicyGenerationCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/CreateAccessPreviewCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/CreateAnalyzerCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/CreateArchiveRuleCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/DeleteAnalyzerCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/DeleteArchiveRuleCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/GetAccessPreviewCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/GetAnalyzedResourceCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/GetAnalyzerCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/GetArchiveRuleCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/GetFindingCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/GetGeneratedPolicyCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/ListAccessPreviewFindingsCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/ListAccessPreviewsCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/ListAnalyzedResourcesCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/ListAnalyzersCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/ListArchiveRulesCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/ListFindingsCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/ListPolicyGenerationsCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/StartPolicyGenerationCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/StartResourceScanCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/UpdateArchiveRuleCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/UpdateFindingsCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/ValidatePolicyCommand.js +2 -3
  80. package/{dist/es → dist-es}/endpoints.js +1 -2
  81. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  82. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  83. package/{dist/es → dist-es}/models/models_0.js +0 -1
  84. package/dist-es/pagination/Interfaces.js +1 -0
  85. package/{dist/es → dist-es}/pagination/ListAccessPreviewFindingsPaginator.js +0 -1
  86. package/{dist/es → dist-es}/pagination/ListAccessPreviewsPaginator.js +0 -1
  87. package/{dist/es → dist-es}/pagination/ListAnalyzedResourcesPaginator.js +0 -1
  88. package/{dist/es → dist-es}/pagination/ListAnalyzersPaginator.js +0 -1
  89. package/{dist/es → dist-es}/pagination/ListArchiveRulesPaginator.js +0 -1
  90. package/{dist/es → dist-es}/pagination/ListFindingsPaginator.js +0 -1
  91. package/{dist/es → dist-es}/pagination/ListPolicyGenerationsPaginator.js +0 -1
  92. package/{dist/es → dist-es}/pagination/ValidatePolicyPaginator.js +0 -1
  93. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1 -2
  94. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  95. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  96. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  97. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  98. package/{dist/types → dist-types}/AccessAnalyzer.d.ts +1 -1
  99. package/{dist/types → dist-types}/AccessAnalyzerClient.d.ts +8 -8
  100. package/{dist/types → dist-types}/commands/ApplyArchiveRuleCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/CancelPolicyGenerationCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/CreateAccessPreviewCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/CreateAnalyzerCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/CreateArchiveRuleCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/DeleteAnalyzerCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/DeleteArchiveRuleCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/GetAccessPreviewCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/GetAnalyzedResourceCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/GetAnalyzerCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/GetArchiveRuleCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/GetFindingCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/GetGeneratedPolicyCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/ListAccessPreviewFindingsCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/ListAccessPreviewsCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/ListAnalyzedResourcesCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/ListAnalyzersCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/ListArchiveRulesCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/ListFindingsCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/ListPolicyGenerationsCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/StartPolicyGenerationCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/StartResourceScanCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/UpdateArchiveRuleCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/UpdateFindingsCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/ValidatePolicyCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  129. package/{index.ts → dist-types/index.d.ts} +0 -0
  130. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  131. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  132. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  133. package/{dist/types → dist-types}/pagination/ListAccessPreviewFindingsPaginator.d.ts +1 -1
  134. package/{dist/types → dist-types}/pagination/ListAccessPreviewsPaginator.d.ts +1 -1
  135. package/{dist/types → dist-types}/pagination/ListAnalyzedResourcesPaginator.d.ts +1 -1
  136. package/{dist/types → dist-types}/pagination/ListAnalyzersPaginator.d.ts +1 -1
  137. package/{dist/types → dist-types}/pagination/ListArchiveRulesPaginator.d.ts +1 -1
  138. package/{dist/types → dist-types}/pagination/ListFindingsPaginator.d.ts +1 -1
  139. package/{dist/types → dist-types}/pagination/ListPolicyGenerationsPaginator.d.ts +1 -1
  140. package/{dist/types → dist-types}/pagination/ValidatePolicyPaginator.d.ts +1 -1
  141. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  142. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  143. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  144. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  145. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  146. package/{dist/types → dist-types}/ts3.4/AccessAnalyzer.d.ts +30 -109
  147. package/{dist/types → dist-types}/ts3.4/AccessAnalyzerClient.d.ts +32 -105
  148. package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +17 -0
  149. package/{dist/types → dist-types}/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +4 -22
  150. package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +17 -0
  156. package/{dist/types → dist-types}/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +4 -22
  157. package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +17 -0
  161. package/{dist/types → dist-types}/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +4 -23
  162. package/{dist/types → dist-types}/ts3.4/commands/ListAccessPreviewsCommand.d.ts +4 -22
  163. package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
  167. package/{dist/types → dist-types}/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +4 -22
  168. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  169. package/{dist/types → dist-types}/ts3.4/commands/StartPolicyGenerationCommand.d.ts +4 -22
  170. package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +17 -0
  176. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  177. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  178. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  179. package/dist-types/ts3.4/models/models_0.d.ts +1610 -0
  180. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  181. package/{dist/types → dist-types}/ts3.4/pagination/ListAccessPreviewFindingsPaginator.d.ts +1 -1
  182. package/{dist/types → dist-types}/ts3.4/pagination/ListAccessPreviewsPaginator.d.ts +1 -1
  183. package/{dist/types → dist-types}/ts3.4/pagination/ListAnalyzedResourcesPaginator.d.ts +1 -1
  184. package/{dist/types → dist-types}/ts3.4/pagination/ListAnalyzersPaginator.d.ts +1 -1
  185. package/{dist/types → dist-types}/ts3.4/pagination/ListArchiveRulesPaginator.d.ts +1 -1
  186. package/{dist/types → dist-types}/ts3.4/pagination/ListFindingsPaginator.d.ts +1 -1
  187. package/{dist/types → dist-types}/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +1 -1
  188. package/{dist/types → dist-types}/ts3.4/pagination/ValidatePolicyPaginator.d.ts +1 -1
  189. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  190. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  191. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  192. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  193. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  194. package/package.json +45 -42
  195. package/AccessAnalyzer.ts +0 -1031
  196. package/AccessAnalyzerClient.ts +0 -351
  197. package/commands/ApplyArchiveRuleCommand.ts +0 -95
  198. package/commands/CancelPolicyGenerationCommand.ts +0 -94
  199. package/commands/CreateAccessPreviewCommand.ts +0 -95
  200. package/commands/CreateAnalyzerCommand.ts +0 -94
  201. package/commands/CreateArchiveRuleCommand.ts +0 -96
  202. package/commands/DeleteAnalyzerCommand.ts +0 -96
  203. package/commands/DeleteArchiveRuleCommand.ts +0 -94
  204. package/commands/GetAccessPreviewCommand.ts +0 -94
  205. package/commands/GetAnalyzedResourceCommand.ts +0 -94
  206. package/commands/GetAnalyzerCommand.ts +0 -94
  207. package/commands/GetArchiveRuleCommand.ts +0 -95
  208. package/commands/GetFindingCommand.ts +0 -94
  209. package/commands/GetGeneratedPolicyCommand.ts +0 -95
  210. package/commands/ListAccessPreviewFindingsCommand.ts +0 -98
  211. package/commands/ListAccessPreviewsCommand.ts +0 -94
  212. package/commands/ListAnalyzedResourcesCommand.ts +0 -95
  213. package/commands/ListAnalyzersCommand.ts +0 -94
  214. package/commands/ListArchiveRulesCommand.ts +0 -94
  215. package/commands/ListFindingsCommand.ts +0 -95
  216. package/commands/ListPolicyGenerationsCommand.ts +0 -94
  217. package/commands/ListTagsForResourceCommand.ts +0 -94
  218. package/commands/StartPolicyGenerationCommand.ts +0 -94
  219. package/commands/StartResourceScanCommand.ts +0 -94
  220. package/commands/TagResourceCommand.ts +0 -94
  221. package/commands/UntagResourceCommand.ts +0 -94
  222. package/commands/UpdateArchiveRuleCommand.ts +0 -94
  223. package/commands/UpdateFindingsCommand.ts +0 -94
  224. package/commands/ValidatePolicyCommand.ts +0 -96
  225. package/dist/cjs/AccessAnalyzer.js.map +0 -1
  226. package/dist/cjs/AccessAnalyzerClient.js +0 -52
  227. package/dist/cjs/AccessAnalyzerClient.js.map +0 -1
  228. package/dist/cjs/commands/ApplyArchiveRuleCommand.js.map +0 -1
  229. package/dist/cjs/commands/CancelPolicyGenerationCommand.js.map +0 -1
  230. package/dist/cjs/commands/CreateAccessPreviewCommand.js.map +0 -1
  231. package/dist/cjs/commands/CreateAnalyzerCommand.js.map +0 -1
  232. package/dist/cjs/commands/CreateArchiveRuleCommand.js.map +0 -1
  233. package/dist/cjs/commands/DeleteAnalyzerCommand.js.map +0 -1
  234. package/dist/cjs/commands/DeleteArchiveRuleCommand.js.map +0 -1
  235. package/dist/cjs/commands/GetAccessPreviewCommand.js.map +0 -1
  236. package/dist/cjs/commands/GetAnalyzedResourceCommand.js.map +0 -1
  237. package/dist/cjs/commands/GetAnalyzerCommand.js.map +0 -1
  238. package/dist/cjs/commands/GetArchiveRuleCommand.js.map +0 -1
  239. package/dist/cjs/commands/GetFindingCommand.js.map +0 -1
  240. package/dist/cjs/commands/GetGeneratedPolicyCommand.js.map +0 -1
  241. package/dist/cjs/commands/ListAccessPreviewFindingsCommand.js.map +0 -1
  242. package/dist/cjs/commands/ListAccessPreviewsCommand.js.map +0 -1
  243. package/dist/cjs/commands/ListAnalyzedResourcesCommand.js.map +0 -1
  244. package/dist/cjs/commands/ListAnalyzersCommand.js.map +0 -1
  245. package/dist/cjs/commands/ListArchiveRulesCommand.js.map +0 -1
  246. package/dist/cjs/commands/ListFindingsCommand.js.map +0 -1
  247. package/dist/cjs/commands/ListPolicyGenerationsCommand.js.map +0 -1
  248. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  249. package/dist/cjs/commands/StartPolicyGenerationCommand.js.map +0 -1
  250. package/dist/cjs/commands/StartResourceScanCommand.js.map +0 -1
  251. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  252. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  253. package/dist/cjs/commands/UpdateArchiveRuleCommand.js.map +0 -1
  254. package/dist/cjs/commands/UpdateFindingsCommand.js.map +0 -1
  255. package/dist/cjs/commands/ValidatePolicyCommand.js.map +0 -1
  256. package/dist/cjs/endpoints.js.map +0 -1
  257. package/dist/cjs/index.js.map +0 -1
  258. package/dist/cjs/models/index.js.map +0 -1
  259. package/dist/cjs/models/models_0.js.map +0 -1
  260. package/dist/cjs/package.json +0 -93
  261. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  262. package/dist/cjs/pagination/ListAccessPreviewFindingsPaginator.js.map +0 -1
  263. package/dist/cjs/pagination/ListAccessPreviewsPaginator.js.map +0 -1
  264. package/dist/cjs/pagination/ListAnalyzedResourcesPaginator.js.map +0 -1
  265. package/dist/cjs/pagination/ListAnalyzersPaginator.js.map +0 -1
  266. package/dist/cjs/pagination/ListArchiveRulesPaginator.js.map +0 -1
  267. package/dist/cjs/pagination/ListFindingsPaginator.js.map +0 -1
  268. package/dist/cjs/pagination/ListPolicyGenerationsPaginator.js.map +0 -1
  269. package/dist/cjs/pagination/ValidatePolicyPaginator.js.map +0 -1
  270. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  271. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  272. package/dist/cjs/runtimeConfig.js.map +0 -1
  273. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  274. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  275. package/dist/es/AccessAnalyzer.js.map +0 -1
  276. package/dist/es/AccessAnalyzerClient.js.map +0 -1
  277. package/dist/es/commands/ApplyArchiveRuleCommand.js.map +0 -1
  278. package/dist/es/commands/CancelPolicyGenerationCommand.js.map +0 -1
  279. package/dist/es/commands/CreateAccessPreviewCommand.js.map +0 -1
  280. package/dist/es/commands/CreateAnalyzerCommand.js.map +0 -1
  281. package/dist/es/commands/CreateArchiveRuleCommand.js.map +0 -1
  282. package/dist/es/commands/DeleteAnalyzerCommand.js.map +0 -1
  283. package/dist/es/commands/DeleteArchiveRuleCommand.js.map +0 -1
  284. package/dist/es/commands/GetAccessPreviewCommand.js.map +0 -1
  285. package/dist/es/commands/GetAnalyzedResourceCommand.js.map +0 -1
  286. package/dist/es/commands/GetAnalyzerCommand.js.map +0 -1
  287. package/dist/es/commands/GetArchiveRuleCommand.js.map +0 -1
  288. package/dist/es/commands/GetFindingCommand.js.map +0 -1
  289. package/dist/es/commands/GetGeneratedPolicyCommand.js.map +0 -1
  290. package/dist/es/commands/ListAccessPreviewFindingsCommand.js.map +0 -1
  291. package/dist/es/commands/ListAccessPreviewsCommand.js.map +0 -1
  292. package/dist/es/commands/ListAnalyzedResourcesCommand.js.map +0 -1
  293. package/dist/es/commands/ListAnalyzersCommand.js.map +0 -1
  294. package/dist/es/commands/ListArchiveRulesCommand.js.map +0 -1
  295. package/dist/es/commands/ListFindingsCommand.js.map +0 -1
  296. package/dist/es/commands/ListPolicyGenerationsCommand.js.map +0 -1
  297. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  298. package/dist/es/commands/StartPolicyGenerationCommand.js.map +0 -1
  299. package/dist/es/commands/StartResourceScanCommand.js.map +0 -1
  300. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  301. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  302. package/dist/es/commands/UpdateArchiveRuleCommand.js.map +0 -1
  303. package/dist/es/commands/UpdateFindingsCommand.js.map +0 -1
  304. package/dist/es/commands/ValidatePolicyCommand.js.map +0 -1
  305. package/dist/es/endpoints.js.map +0 -1
  306. package/dist/es/index.js +0 -41
  307. package/dist/es/index.js.map +0 -1
  308. package/dist/es/models/index.js +0 -2
  309. package/dist/es/models/index.js.map +0 -1
  310. package/dist/es/models/models_0.js.map +0 -1
  311. package/dist/es/package.json +0 -93
  312. package/dist/es/pagination/Interfaces.js +0 -2
  313. package/dist/es/pagination/Interfaces.js.map +0 -1
  314. package/dist/es/pagination/ListAccessPreviewFindingsPaginator.js.map +0 -1
  315. package/dist/es/pagination/ListAccessPreviewsPaginator.js.map +0 -1
  316. package/dist/es/pagination/ListAnalyzedResourcesPaginator.js.map +0 -1
  317. package/dist/es/pagination/ListAnalyzersPaginator.js.map +0 -1
  318. package/dist/es/pagination/ListArchiveRulesPaginator.js.map +0 -1
  319. package/dist/es/pagination/ListFindingsPaginator.js.map +0 -1
  320. package/dist/es/pagination/ListPolicyGenerationsPaginator.js.map +0 -1
  321. package/dist/es/pagination/ValidatePolicyPaginator.js.map +0 -1
  322. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  323. package/dist/es/runtimeConfig.browser.js.map +0 -1
  324. package/dist/es/runtimeConfig.js.map +0 -1
  325. package/dist/es/runtimeConfig.native.js.map +0 -1
  326. package/dist/es/runtimeConfig.shared.js.map +0 -1
  327. package/dist/types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +0 -36
  328. package/dist/types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +0 -36
  329. package/dist/types/ts3.4/commands/CreateAnalyzerCommand.d.ts +0 -35
  330. package/dist/types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +0 -37
  331. package/dist/types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +0 -37
  332. package/dist/types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +0 -35
  333. package/dist/types/ts3.4/commands/GetAccessPreviewCommand.d.ts +0 -35
  334. package/dist/types/ts3.4/commands/GetAnalyzerCommand.d.ts +0 -35
  335. package/dist/types/ts3.4/commands/GetArchiveRuleCommand.d.ts +0 -36
  336. package/dist/types/ts3.4/commands/GetFindingCommand.d.ts +0 -35
  337. package/dist/types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +0 -36
  338. package/dist/types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +0 -36
  339. package/dist/types/ts3.4/commands/ListAnalyzersCommand.d.ts +0 -35
  340. package/dist/types/ts3.4/commands/ListArchiveRulesCommand.d.ts +0 -35
  341. package/dist/types/ts3.4/commands/ListFindingsCommand.d.ts +0 -36
  342. package/dist/types/ts3.4/commands/StartResourceScanCommand.d.ts +0 -35
  343. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  344. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  345. package/dist/types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +0 -35
  346. package/dist/types/ts3.4/commands/UpdateFindingsCommand.d.ts +0 -35
  347. package/dist/types/ts3.4/commands/ValidatePolicyCommand.d.ts +0 -37
  348. package/dist/types/ts3.4/models/models_0.d.ts +0 -2899
  349. package/endpoints.ts +0 -91
  350. package/jest.config.js +0 -4
  351. package/models/models_0.ts +0 -3591
  352. package/pagination/Interfaces.ts +0 -7
  353. package/pagination/ListAccessPreviewFindingsPaginator.ts +0 -58
  354. package/pagination/ListAccessPreviewsPaginator.ts +0 -58
  355. package/pagination/ListAnalyzedResourcesPaginator.ts +0 -58
  356. package/pagination/ListAnalyzersPaginator.ts +0 -58
  357. package/pagination/ListArchiveRulesPaginator.ts +0 -58
  358. package/pagination/ListFindingsPaginator.ts +0 -58
  359. package/pagination/ListPolicyGenerationsPaginator.ts +0 -58
  360. package/pagination/ValidatePolicyPaginator.ts +0 -58
  361. package/protocols/Aws_restJson1.ts +0 -5106
  362. package/runtimeConfig.browser.ts +0 -40
  363. package/runtimeConfig.native.ts +0 -16
  364. package/runtimeConfig.shared.ts +0 -16
  365. package/runtimeConfig.ts +0 -45
  366. package/tsconfig.es.json +0 -10
  367. package/tsconfig.json +0 -31
  368. package/tsconfig.types.json +0 -8
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetFindingCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves information about the specified finding.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, GetFindingCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, GetFindingCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new GetFindingCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetFindingCommandInput} for command's `input` shape.
21
- * @see {@link GetFindingCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class GetFindingCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetFindingCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetFindingCommand = GetFindingCommand;
61
- //# sourceMappingURL=GetFindingCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetGeneratedPolicyCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves the policy that was generated using <code>StartPolicyGeneration</code>.
10
- * </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { AccessAnalyzerClient, GetGeneratedPolicyCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
15
- * // const { AccessAnalyzerClient, GetGeneratedPolicyCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
16
- * const client = new AccessAnalyzerClient(config);
17
- * const command = new GetGeneratedPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetGeneratedPolicyCommandInput} for command's `input` shape.
22
- * @see {@link GetGeneratedPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
26
8
  class GetGeneratedPolicyCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetGeneratedPolicyCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetGeneratedPolicyCommand = GetGeneratedPolicyCommand;
62
- //# sourceMappingURL=GetGeneratedPolicyCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAccessPreviewFindingsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a list of access preview findings generated by the specified access
10
- * preview.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
15
- * // const { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
16
- * const client = new AccessAnalyzerClient(config);
17
- * const command = new ListAccessPreviewFindingsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListAccessPreviewFindingsCommandInput} for command's `input` shape.
22
- * @see {@link ListAccessPreviewFindingsCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
26
8
  class ListAccessPreviewFindingsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class ListAccessPreviewFindingsCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.ListAccessPreviewFindingsCommand = ListAccessPreviewFindingsCommand;
62
- //# sourceMappingURL=ListAccessPreviewFindingsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAccessPreviewsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a list of access previews for the specified analyzer.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, ListAccessPreviewsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, ListAccessPreviewsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new ListAccessPreviewsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListAccessPreviewsCommandInput} for command's `input` shape.
21
- * @see {@link ListAccessPreviewsCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListAccessPreviewsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListAccessPreviewsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListAccessPreviewsCommand = ListAccessPreviewsCommand;
61
- //# sourceMappingURL=ListAccessPreviewsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAnalyzedResourcesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a list of resources of the specified type that have been analyzed by the
10
- * specified analyzer..</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { AccessAnalyzerClient, ListAnalyzedResourcesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
15
- * // const { AccessAnalyzerClient, ListAnalyzedResourcesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
16
- * const client = new AccessAnalyzerClient(config);
17
- * const command = new ListAnalyzedResourcesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListAnalyzedResourcesCommandInput} for command's `input` shape.
22
- * @see {@link ListAnalyzedResourcesCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
26
8
  class ListAnalyzedResourcesCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class ListAnalyzedResourcesCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.ListAnalyzedResourcesCommand = ListAnalyzedResourcesCommand;
62
- //# sourceMappingURL=ListAnalyzedResourcesCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAnalyzersCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a list of analyzers.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, ListAnalyzersCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, ListAnalyzersCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new ListAnalyzersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListAnalyzersCommandInput} for command's `input` shape.
21
- * @see {@link ListAnalyzersCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListAnalyzersCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListAnalyzersCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListAnalyzersCommand = ListAnalyzersCommand;
61
- //# sourceMappingURL=ListAnalyzersCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListArchiveRulesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a list of archive rules created for the specified analyzer.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, ListArchiveRulesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, ListArchiveRulesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new ListArchiveRulesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListArchiveRulesCommandInput} for command's `input` shape.
21
- * @see {@link ListArchiveRulesCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListArchiveRulesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListArchiveRulesCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListArchiveRulesCommand = ListArchiveRulesCommand;
61
- //# sourceMappingURL=ListArchiveRulesCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListFindingsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a list of findings generated by the specified analyzer.</p>
10
- * <p>To learn about filter keys that you can use to retrieve a list of findings, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { AccessAnalyzerClient, ListFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
15
- * // const { AccessAnalyzerClient, ListFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
16
- * const client = new AccessAnalyzerClient(config);
17
- * const command = new ListFindingsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListFindingsCommandInput} for command's `input` shape.
22
- * @see {@link ListFindingsCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
26
8
  class ListFindingsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class ListFindingsCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.ListFindingsCommand = ListFindingsCommand;
62
- //# sourceMappingURL=ListFindingsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListPolicyGenerationsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Lists all of the policy generations requested in the last seven days.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, ListPolicyGenerationsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, ListPolicyGenerationsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new ListPolicyGenerationsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListPolicyGenerationsCommandInput} for command's `input` shape.
21
- * @see {@link ListPolicyGenerationsCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListPolicyGenerationsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListPolicyGenerationsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListPolicyGenerationsCommand = ListPolicyGenerationsCommand;
61
- //# sourceMappingURL=ListPolicyGenerationsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsForResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves a list of tags applied to the specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, ListTagsForResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new ListTagsForResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
61
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartPolicyGenerationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Starts the policy generation request.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, StartPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, StartPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new StartPolicyGenerationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartPolicyGenerationCommandInput} for command's `input` shape.
21
- * @see {@link StartPolicyGenerationCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class StartPolicyGenerationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class StartPolicyGenerationCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.StartPolicyGenerationCommand = StartPolicyGenerationCommand;
61
- //# sourceMappingURL=StartPolicyGenerationCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartResourceScanCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Immediately starts a scan of the policies applied to the specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, StartResourceScanCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, StartResourceScanCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new StartResourceScanCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartResourceScanCommandInput} for command's `input` shape.
21
- * @see {@link StartResourceScanCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class StartResourceScanCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class StartResourceScanCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.StartResourceScanCommand = StartResourceScanCommand;
61
- //# sourceMappingURL=StartResourceScanCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Adds a tag to the specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, TagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, TagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new TagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link TagResourceCommandInput} for command's `input` shape.
21
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class TagResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.TagResourceCommand = TagResourceCommand;
61
- //# sourceMappingURL=TagResourceCommand.js.map