@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,94 +0,0 @@
1
- import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
2
- import { ListArchiveRulesRequest, ListArchiveRulesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListArchiveRulesCommand,
5
- serializeAws_restJson1ListArchiveRulesCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListArchiveRulesCommandInput extends ListArchiveRulesRequest {}
21
- export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list of archive rules created for the specified analyzer.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AccessAnalyzerClient, ListArchiveRulesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
- * // const { AccessAnalyzerClient, ListArchiveRulesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
- * const client = new AccessAnalyzerClient(config);
31
- * const command = new ListArchiveRulesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListArchiveRulesCommandInput} for command's `input` shape.
36
- * @see {@link ListArchiveRulesCommandOutput} for command's `response` shape.
37
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListArchiveRulesCommand extends $Command<
41
- ListArchiveRulesCommandInput,
42
- ListArchiveRulesCommandOutput,
43
- AccessAnalyzerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListArchiveRulesCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AccessAnalyzerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListArchiveRulesCommandInput, ListArchiveRulesCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AccessAnalyzerClient";
68
- const commandName = "ListArchiveRulesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListArchiveRulesRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListArchiveRulesResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListArchiveRulesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListArchiveRulesCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListArchiveRulesCommandOutput> {
89
- return deserializeAws_restJson1ListArchiveRulesCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
2
- import { ListFindingsRequest, ListFindingsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListFindingsCommand,
5
- serializeAws_restJson1ListFindingsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListFindingsCommandInput extends ListFindingsRequest {}
21
- export interface ListFindingsCommandOutput extends ListFindingsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list of findings generated by the specified analyzer.</p>
25
- * <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>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AccessAnalyzerClient, ListFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
30
- * // const { AccessAnalyzerClient, ListFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
31
- * const client = new AccessAnalyzerClient(config);
32
- * const command = new ListFindingsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListFindingsCommandInput} for command's `input` shape.
37
- * @see {@link ListFindingsCommandOutput} for command's `response` shape.
38
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListFindingsCommand extends $Command<
42
- ListFindingsCommandInput,
43
- ListFindingsCommandOutput,
44
- AccessAnalyzerClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListFindingsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AccessAnalyzerClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListFindingsCommandInput, ListFindingsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AccessAnalyzerClient";
69
- const commandName = "ListFindingsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListFindingsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListFindingsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListFindingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListFindingsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListFindingsCommandOutput> {
90
- return deserializeAws_restJson1ListFindingsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
2
- import { ListPolicyGenerationsRequest, ListPolicyGenerationsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListPolicyGenerationsCommand,
5
- serializeAws_restJson1ListPolicyGenerationsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListPolicyGenerationsCommandInput extends ListPolicyGenerationsRequest {}
21
- export interface ListPolicyGenerationsCommandOutput extends ListPolicyGenerationsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists all of the policy generations requested in the last seven days.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AccessAnalyzerClient, ListPolicyGenerationsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
- * // const { AccessAnalyzerClient, ListPolicyGenerationsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
- * const client = new AccessAnalyzerClient(config);
31
- * const command = new ListPolicyGenerationsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListPolicyGenerationsCommandInput} for command's `input` shape.
36
- * @see {@link ListPolicyGenerationsCommandOutput} for command's `response` shape.
37
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListPolicyGenerationsCommand extends $Command<
41
- ListPolicyGenerationsCommandInput,
42
- ListPolicyGenerationsCommandOutput,
43
- AccessAnalyzerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListPolicyGenerationsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AccessAnalyzerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListPolicyGenerationsCommandInput, ListPolicyGenerationsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AccessAnalyzerClient";
68
- const commandName = "ListPolicyGenerationsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListPolicyGenerationsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListPolicyGenerationsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListPolicyGenerationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListPolicyGenerationsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPolicyGenerationsCommandOutput> {
89
- return deserializeAws_restJson1ListPolicyGenerationsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
2
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListTagsForResourceCommand,
5
- serializeAws_restJson1ListTagsForResourceCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
21
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list of tags applied to the specified resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AccessAnalyzerClient, ListTagsForResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
- * // const { AccessAnalyzerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
- * const client = new AccessAnalyzerClient(config);
31
- * const command = new ListTagsForResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
36
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
37
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListTagsForResourceCommand extends $Command<
41
- ListTagsForResourceCommandInput,
42
- ListTagsForResourceCommandOutput,
43
- AccessAnalyzerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListTagsForResourceCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AccessAnalyzerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AccessAnalyzerClient";
68
- const commandName = "ListTagsForResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
89
- return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
2
- import { StartPolicyGenerationRequest, StartPolicyGenerationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1StartPolicyGenerationCommand,
5
- serializeAws_restJson1StartPolicyGenerationCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface StartPolicyGenerationCommandInput extends StartPolicyGenerationRequest {}
21
- export interface StartPolicyGenerationCommandOutput extends StartPolicyGenerationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Starts the policy generation request.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AccessAnalyzerClient, StartPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
- * // const { AccessAnalyzerClient, StartPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
- * const client = new AccessAnalyzerClient(config);
31
- * const command = new StartPolicyGenerationCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link StartPolicyGenerationCommandInput} for command's `input` shape.
36
- * @see {@link StartPolicyGenerationCommandOutput} for command's `response` shape.
37
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class StartPolicyGenerationCommand extends $Command<
41
- StartPolicyGenerationCommandInput,
42
- StartPolicyGenerationCommandOutput,
43
- AccessAnalyzerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: StartPolicyGenerationCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AccessAnalyzerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<StartPolicyGenerationCommandInput, StartPolicyGenerationCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AccessAnalyzerClient";
68
- const commandName = "StartPolicyGenerationCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: StartPolicyGenerationRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: StartPolicyGenerationResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: StartPolicyGenerationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1StartPolicyGenerationCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartPolicyGenerationCommandOutput> {
89
- return deserializeAws_restJson1StartPolicyGenerationCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
2
- import { StartResourceScanRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1StartResourceScanCommand,
5
- serializeAws_restJson1StartResourceScanCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface StartResourceScanCommandInput extends StartResourceScanRequest {}
21
- export interface StartResourceScanCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Immediately starts a scan of the policies applied to the specified resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AccessAnalyzerClient, StartResourceScanCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
- * // const { AccessAnalyzerClient, StartResourceScanCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
- * const client = new AccessAnalyzerClient(config);
31
- * const command = new StartResourceScanCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link StartResourceScanCommandInput} for command's `input` shape.
36
- * @see {@link StartResourceScanCommandOutput} for command's `response` shape.
37
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class StartResourceScanCommand extends $Command<
41
- StartResourceScanCommandInput,
42
- StartResourceScanCommandOutput,
43
- AccessAnalyzerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: StartResourceScanCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AccessAnalyzerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<StartResourceScanCommandInput, StartResourceScanCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AccessAnalyzerClient";
68
- const commandName = "StartResourceScanCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: StartResourceScanRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: (output: any) => output,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: StartResourceScanCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1StartResourceScanCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartResourceScanCommandOutput> {
89
- return deserializeAws_restJson1StartResourceScanCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
2
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1TagResourceCommand,
5
- serializeAws_restJson1TagResourceCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface TagResourceCommandInput extends TagResourceRequest {}
21
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds a tag to the specified resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AccessAnalyzerClient, TagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
- * // const { AccessAnalyzerClient, TagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
- * const client = new AccessAnalyzerClient(config);
31
- * const command = new TagResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link TagResourceCommandInput} for command's `input` shape.
36
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
37
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class TagResourceCommand extends $Command<
41
- TagResourceCommandInput,
42
- TagResourceCommandOutput,
43
- AccessAnalyzerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: TagResourceCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AccessAnalyzerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AccessAnalyzerClient";
68
- const commandName = "TagResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1TagResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
89
- return deserializeAws_restJson1TagResourceCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }