@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
34
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
35
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -30,17 +30,6 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
30
30
  const UpdateArchiveRuleCommand_1 = require("./commands/UpdateArchiveRuleCommand");
31
31
  const UpdateFindingsCommand_1 = require("./commands/UpdateFindingsCommand");
32
32
  const ValidatePolicyCommand_1 = require("./commands/ValidatePolicyCommand");
33
- /**
34
- * <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
35
- * identify any policies that grant access to an external principal. It does this by using
36
- * logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
37
- * external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
38
- * federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
39
- * preview and validate public and cross-account access to your resources before deploying
40
- * permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
41
- * call programmatically. For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
42
- * <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
43
- */
44
33
  class AccessAnalyzer extends AccessAnalyzerClient_1.AccessAnalyzerClient {
45
34
  applyArchiveRule(args, optionsOrCb, cb) {
46
35
  const command = new ApplyArchiveRuleCommand_1.ApplyArchiveRuleCommand(args);
@@ -436,4 +425,3 @@ class AccessAnalyzer extends AccessAnalyzerClient_1.AccessAnalyzerClient {
436
425
  }
437
426
  }
438
427
  exports.AccessAnalyzer = AccessAnalyzer;
439
- //# sourceMappingURL=AccessAnalyzer.js.map
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccessAnalyzerClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class AccessAnalyzerClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.AccessAnalyzerClient = AccessAnalyzerClient;
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApplyArchiveRuleCommand = 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>Retroactively applies the archive rule to existing findings that meet the archive rule
10
- * criteria.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { AccessAnalyzerClient, ApplyArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
15
- * // const { AccessAnalyzerClient, ApplyArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
16
- * const client = new AccessAnalyzerClient(config);
17
- * const command = new ApplyArchiveRuleCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ApplyArchiveRuleCommandInput} for command's `input` shape.
22
- * @see {@link ApplyArchiveRuleCommandOutput} 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 ApplyArchiveRuleCommand 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 ApplyArchiveRuleCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.ApplyArchiveRuleCommand = ApplyArchiveRuleCommand;
62
- //# sourceMappingURL=ApplyArchiveRuleCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CancelPolicyGenerationCommand = 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>Cancels the requested policy generation.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, CancelPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, CancelPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new CancelPolicyGenerationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CancelPolicyGenerationCommandInput} for command's `input` shape.
21
- * @see {@link CancelPolicyGenerationCommandOutput} 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 CancelPolicyGenerationCommand 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 CancelPolicyGenerationCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CancelPolicyGenerationCommand = CancelPolicyGenerationCommand;
61
- //# sourceMappingURL=CancelPolicyGenerationCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAccessPreviewCommand = 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>Creates an access preview that allows you to preview IAM Access Analyzer findings for your
10
- * resource before deploying resource permissions.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { AccessAnalyzerClient, CreateAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
15
- * // const { AccessAnalyzerClient, CreateAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
16
- * const client = new AccessAnalyzerClient(config);
17
- * const command = new CreateAccessPreviewCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateAccessPreviewCommandInput} for command's `input` shape.
22
- * @see {@link CreateAccessPreviewCommandOutput} 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 CreateAccessPreviewCommand 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 CreateAccessPreviewCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.CreateAccessPreviewCommand = CreateAccessPreviewCommand;
62
- //# sourceMappingURL=CreateAccessPreviewCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAnalyzerCommand = 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>Creates an analyzer for your account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, CreateAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, CreateAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new CreateAnalyzerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateAnalyzerCommandInput} for command's `input` shape.
21
- * @see {@link CreateAnalyzerCommandOutput} 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 CreateAnalyzerCommand 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 CreateAnalyzerCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateAnalyzerCommand = CreateAnalyzerCommand;
61
- //# sourceMappingURL=CreateAnalyzerCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateArchiveRuleCommand = 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>Creates an archive rule for the specified analyzer. Archive rules automatically archive
10
- * new findings that meet the criteria you define when you create the rule.</p>
11
- * <p>To learn about filter keys that you can use to create an archive rule, 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>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { AccessAnalyzerClient, CreateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
16
- * // const { AccessAnalyzerClient, CreateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
17
- * const client = new AccessAnalyzerClient(config);
18
- * const command = new CreateArchiveRuleCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateArchiveRuleCommandInput} for command's `input` shape.
23
- * @see {@link CreateArchiveRuleCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
27
8
  class CreateArchiveRuleCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class CreateArchiveRuleCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
63
- //# sourceMappingURL=CreateArchiveRuleCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteAnalyzerCommand = 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>Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled
10
- * for the account or organization in the current or specific Region. All findings that were
11
- * generated by the analyzer are deleted. You cannot undo this action.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { AccessAnalyzerClient, DeleteAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
16
- * // const { AccessAnalyzerClient, DeleteAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
17
- * const client = new AccessAnalyzerClient(config);
18
- * const command = new DeleteAnalyzerCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteAnalyzerCommandInput} for command's `input` shape.
23
- * @see {@link DeleteAnalyzerCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
27
8
  class DeleteAnalyzerCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteAnalyzerCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteAnalyzerCommand = DeleteAnalyzerCommand;
63
- //# sourceMappingURL=DeleteAnalyzerCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteArchiveRuleCommand = 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>Deletes the specified archive rule.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, DeleteArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, DeleteArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new DeleteArchiveRuleCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteArchiveRuleCommandInput} for command's `input` shape.
21
- * @see {@link DeleteArchiveRuleCommandOutput} 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 DeleteArchiveRuleCommand 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 DeleteArchiveRuleCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteArchiveRuleCommand = DeleteArchiveRuleCommand;
61
- //# sourceMappingURL=DeleteArchiveRuleCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAccessPreviewCommand = 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 an access preview 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, GetAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, GetAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new GetAccessPreviewCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetAccessPreviewCommandInput} for command's `input` shape.
21
- * @see {@link GetAccessPreviewCommandOutput} 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 GetAccessPreviewCommand 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 GetAccessPreviewCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetAccessPreviewCommand = GetAccessPreviewCommand;
61
- //# sourceMappingURL=GetAccessPreviewCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAnalyzedResourceCommand = 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 a resource that was analyzed.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AccessAnalyzerClient, GetAnalyzedResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, GetAnalyzedResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new GetAnalyzedResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetAnalyzedResourceCommandInput} for command's `input` shape.
21
- * @see {@link GetAnalyzedResourceCommandOutput} 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 GetAnalyzedResourceCommand 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 GetAnalyzedResourceCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetAnalyzedResourceCommand = GetAnalyzedResourceCommand;
61
- //# sourceMappingURL=GetAnalyzedResourceCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAnalyzerCommand = 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 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, GetAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
14
- * // const { AccessAnalyzerClient, GetAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
15
- * const client = new AccessAnalyzerClient(config);
16
- * const command = new GetAnalyzerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetAnalyzerCommandInput} for command's `input` shape.
21
- * @see {@link GetAnalyzerCommandOutput} 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 GetAnalyzerCommand 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 GetAnalyzerCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetAnalyzerCommand = GetAnalyzerCommand;
61
- //# sourceMappingURL=GetAnalyzerCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetArchiveRuleCommand = 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 an archive rule.</p>
10
- * <p>To learn about filter keys that you can use to create an archive rule, 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, GetArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
15
- * // const { AccessAnalyzerClient, GetArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
16
- * const client = new AccessAnalyzerClient(config);
17
- * const command = new GetArchiveRuleCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetArchiveRuleCommandInput} for command's `input` shape.
22
- * @see {@link GetArchiveRuleCommandOutput} 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 GetArchiveRuleCommand 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 GetArchiveRuleCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetArchiveRuleCommand = GetArchiveRuleCommand;
62
- //# sourceMappingURL=GetArchiveRuleCommand.js.map